construct_mesh_from_array# construct_mesh_from_array(array: ndarray, reference: ndarray) → vtkPolyData[source]# Construct a mesh from binary image array. Parameters: array – Binary image array. reference – Binary reference array that determines alignment angle and centroid. Returns: Mesh object.