示例#
展示如何使用 scikit-image 的示例库。一些示例展示了 API 的一般使用,而另一些则以教程形式展示了特定应用。
提示
查看我们的 用户指南 ,了解关键库约定和基本图像操作的叙述性介绍。
数据#
Datasets with 3 or more spatial dimensions
Scientific images
General-purpose images
Specific images
NumPy 数组的操作#
Using simple NumPy operations for manipulating images
Generate footprints (structuring elements)
Block views on images/arrays
Decompose flat footprints (structuring elements)
操作曝光和色彩通道#
RGB to grayscale
RGB to HSV
Histogram matching
Adapting gray-scale filters to RGB images
Filtering regional maxima
Separate colors in immunohistochemical staining
Gamma and log contrast adjustment
Histogram Equalization
Tinting gray-scale images
Local Histogram Equalization
3D adaptive histogram equalization
边和线#
Contour finding
Convex Hull
Canny edge detector
Marching Cubes
Active Contour Model
Ridge operators
Shapes
Random Shapes
Approximate and subdivide polygons
Straight line Hough transform
Circular and Elliptical Hough Transforms
Skeletonize
Edge operators
几何变换与配准#
Swirl
Interpolation: Edge Modes
Rescale, resize, and downscale
Build image pyramids
Piecewise Affine Transformation
Using geometric transformations
Structural similarity index
Types of homographies
Use thin-plate splines for image warping
Fundamental matrix estimation
Robust line model estimation using RANSAC
Radon transform
Robust matching using RANSAC
图像配准#
Image Registration
Masked Normalized Cross-Correlation
Registration using optical flow
Assemble images with simple image stitching
Using Polar and Log-Polar Transformations for Registration
过滤与恢复#
Removing small objects in grayscale images with a top hat filter
Hysteresis thresholding
Image Deconvolution
Using window functions with images
Mean filters
Unsharp masking
Image Deconvolution
Estimate strength of blur
Entropy
Calibrating Denoisers Using J-Invariance
Fill in defects with inpainting
Band-pass filtering by Difference of Gaussians
Denoising a picture
Shift-invariant wavelet denoising
Phase Unwrapping
Non-local means denoising for preserving textures
Attribute operators
Wavelet denoising
Butterworth Filters
Full tutorial on calibrating Denoisers Using J-Invariance
特征和物体的检测#
Dense DAISY feature description
Histogram of Oriented Gradients
Haar-like feature descriptor
Template Matching
Corner detection
Multi-Block Local Binary Pattern for texture classification
CENSURE feature detector
Filling holes and finding peaks
Removing objects
Blob Detection
ORB feature detector and binary descriptor
Gabors / Primary Visual Cortex "Simple Cells" from an Image
BRIEF binary descriptor
Fisher vector feature encoding
SIFT feature detector and descriptor extractor
GLCM Texture Features
Shape Index
Sliding window histogram
Gabor filter banks for texture classification
Local Binary Pattern for texture classification
对象分割#
Region Boundary based Region adjacency graphs (RAGs)
Region adjacency graph (RAG) Thresholding
Normalized Cut
Find Regular Segments Using Compact Watershed
Thresholding
Drawing Region Adjacency Graphs (RAGs)
Chan-Vese Segmentation
Finding local maxima
Niblack and Sauvola Thresholding
Multi-Otsu Thresholding
Apply maskSLIC vs SLIC
Random walker segmentation
Expand segmentation labels without overlap
Watershed segmentation
Markers for watershed transform
Label image regions
Comparison of segmentation and superpixel algorithms
Find the intersection of two segmentations
Region Adjacency Graphs (RAGs)
Region adjacency graph (RAG) Merging
Measure perimeters with different estimators
Hierarchical Merging of Region Boundary RAGs
Extrema
Explore and visualize region properties with pandas
Hausdorff Distance
Morphological Snakes
Trainable segmentation using local features and random forests
Measure region properties
Flood Fill
Evaluating segmentation metrics
Euler number
Use rolling-ball algorithm for estimating background intensity
更长的示例和演示#
Render text onto an image
Face detection using a cascade classifier
Interact with 3D images (of kidney tissue)
Use pixel graphs to find an object's geodesic center
Visual image comparison
Morphological Filtering
Estimate anisotropy in a 3D microscopy image
Comparing edge-based and region-based segmentation
Segment human cells (in mitosis)
Colocalization metrics
Restore spotted cornea image with inpainting
Thresholding
Track solidification of a metallic alloy
Measure fluorescence intensity at the nuclear envelope
Face classification using Haar-like feature descriptor
Explore 3D images (of cells)
Rank filters
开发者示例#
在此文件夹中,我们提供了高级主题的示例,包括对某些算法内部工作原理的详细解释。
这些示例需要一些图像处理的基本知识。它们面向现有的或未来的 scikit-image 开发者,旨在提升他们对图像处理算法的理解。