图像分割
分割图像
图像分割是将图像分割成多个部分或区域的过程。这种分割通常基于图像中像素的特征。例如,在图像中查找区域的一种方法是寻找像素值中的突变不连续性,这通常表示边缘。这些边缘可以定义区域。其他方法根据颜色值或纹理将图像分成多个区域。
函数
主题
使用图像分割器进行分割
- Getting Started with Image Segmenter App
Segment an image using different techniques, refine and save the binary mask, and export the segmentation code by using Image Segmenter.
- Segment Image Using Thresholding in Image Segmenter
- Segment Image by Drawing Regions Using Image Segmenter
- Segment Image Using Active Contours in Image Segmenter
- Segment Image Using Graph Cut in Image Segmenter
- Segment Image Using Local Graph Cut (Grabcut) in Image Segmenter
- Segment Image Using Find Circles in Image Segmenter
- Segment Image Using Auto Cluster in Image Segmenter
- Refine Segmentation Using Morphology in Image Segmenter
- 使用附加功能资源管理器安装示例数据
Image Processing Toolbox 图像数据包包含三维体数据示例。
使用色彩分割器进行分割
- Segment Image and Create Mask Using Color Thresholder App
Segment an image based on color values and create a binary mask image using Color Thresholder. - Acquire Live Images in the Color Thresholder App
You can perform color thresholding on an image acquired from a live USB webcam. - Image Segmentation Using Point Clouds in the Color Thresholder App
This example shows how to segment an image using the point cloud control in the Color Thresholder app.
使用 Gabor 滤波器、超像素和其他技术进行分割
- Plot Land Classification with Color Features and Superpixels
This example shows how to perform land type classification based on color features using K-means clustering and superpixels. - Segment Lungs from 3-D Chest Scan
This example shows how to perform a 3-D segmentation using active contours (snakes) and view the results using the Volume Viewer app.
使用三维体分割器进行分割
- Create Binary Mask Using Volume Segmenter
This example shows how to segment a volume in the Volume Segmenter app. - Create Semantic Segmentation Using Volume Segmenter
This example shows how to create a semantic segmentation of a volume using the Volume Segmenter app. - Work with Blocked Images Using Volume Segmenter
This example shows how to work with a single-resolution blocked image in the Volume Segmenter app.