mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-02 13:03:48 +08:00
- model.params holds the legacy params (2D representation), - model.new_params holds the true ND line representation. The proposed LineModel behaves identically as the implementation in master in the 2D case. In the 3D case, it behaves similarly to the previously proposed LineModel3D, as long as new_params is used instead of params. This implementation thus takes advantage that the 2D case is a special case of the ND general model.
37 lines
1.2 KiB
Python
Executable File
37 lines
1.2 KiB
Python
Executable File
from ._find_contours import find_contours
|
|
from ._marching_cubes import (marching_cubes, mesh_surface_area,
|
|
correct_mesh_orientation)
|
|
from ._regionprops import regionprops, perimeter
|
|
from ._structural_similarity import structural_similarity
|
|
from ._polygon import approximate_polygon, subdivide_polygon
|
|
from ._pnpoly import points_in_poly, grid_points_in_poly
|
|
from ._moments import moments, moments_central, moments_normalized, moments_hu
|
|
from .profile import profile_line
|
|
from .fit import LineModel, CircleModel, EllipseModel, ransac
|
|
from .block import block_reduce
|
|
from ._label import label
|
|
|
|
|
|
__all__ = ['find_contours',
|
|
'regionprops',
|
|
'perimeter',
|
|
'structural_similarity',
|
|
'approximate_polygon',
|
|
'subdivide_polygon',
|
|
'LineModel',
|
|
'CircleModel',
|
|
'EllipseModel',
|
|
'ransac',
|
|
'block_reduce',
|
|
'moments',
|
|
'moments_central',
|
|
'moments_normalized',
|
|
'moments_hu',
|
|
'marching_cubes',
|
|
'mesh_surface_area',
|
|
'correct_mesh_orientation',
|
|
'profile_line',
|
|
'label',
|
|
'points_in_poly',
|
|
'grid_points_in_poly']
|