参考:https://scikit-image.org/docs/dev/api/skimage.measure.html#skimage.measure.regionprops
skimage的强大无需多言,但是木有想到厉害成这个亚子!简直是宝藏函数!
今天简单记录skimage.measure使用中遇到的惊喜。
一、汇总
函数 | 功能 |
---|---|
skimage.measure.find_contours(array, level) | Find iso-valued contours in a 2D array for a given level value. |
skimage.measure.regionprops(label_image[, …]) | Measure properties of labeled image regions. |
skimage.measure.regionprops_table(label_image) | Find image properties and convert them into a dictionary |
skimage.measure.perimeter(image[, neighbourhood]) | Calculate total perimeter of all objects in binary image. |
skimage.measure.approximate_polygon(coords, …) | Approximate a polygonal chain with the specified tolerance. |
skimage.measure.subdivide_polygon(coords[, …]) | Subdivision of polygonal curves using B-Splines. |
skimage.measure.ransac(data, model_class, …) | Fit a model to data with the RANSAC (random sample consensus) algorithm. |
skimage.measure.block_reduce(image, block_size) | Down-sample image by applying function to local blocks. |
skimage.measure.moments(image[, order]) | Calculate all raw image moments up to a certain order. |
skimage.measure.moments_central(image[, …]) | Calculate all central image moments up to a certain order. |
skimage.measure.moments_coords(coords[, order]) | Calculate all raw image moments up to a certain order. |
skimage.measure.moments_coords_central(coords) | Calculate all central image moments up to a certain order. |
skimage.measure.moments_normalized(mu[, order]) | Calculate all normalized central image moments up to a certain order. |
skimage.measure.moments_hu(nu) | Calculate Hu’s set of image moments (2D-only). |
skimage.measure.marching_cubes_lewiner(volume) | Lewiner marching cubes algorithm to find surf |