객체, 연결성분 또는 블롭이라고도 하는 영상 영역은 면적, 질량 중심, 방향, 경계 상자와 같은 속성이 있습니다. 이와 같은 다양한 속성을 계산하려면 영상 영역 분석기 앱 또는 regionprops
함수를 사용하십시오.
또한 영상의 어떤 경로를 따라 또는 영상 전체에 있는 픽셀 각각에 대해 픽셀 값을 측정할 수도 있습니다.
영상 영역 분석기 | Browse and filter connected components in an image |
Label and Measure Connected Components in a Binary Image
An object in a binary image is a set of connected pixels with the same value. You can count, label, and isolate objects, and you can measure object properties such as area.
Calculate Properties of Image Regions Using Image Region Analyzer
This example shows how to calculate the properties of regions in binary images by using the Image Region Analyzer app.
To determine the values of one or more pixels in an image, you can select points on an image interactively, or you can specify the pixel coordinates in an array.
개별 픽셀이나 픽셀의 작은 이웃에 대한 위치와 값 정보를 표시할 수 있습니다.
두 픽셀 사이에 그려진 선분의 길이를 측정할 수 있습니다. 선분의 위치를 미세 조정하여 여러 측정값을 계산할 수 있습니다.
The intensity profile of an image is the set of intensity values taken from regularly spaced points along a line or path in the image.
2차원 영상에서 모든 픽셀의 표준 통계량을 계산할 수 있습니다. 툴박스의 통계량은 영상의 각 열에서 개별적으로 연산하는 1차원에서의 해당 통계량과는 다릅니다.
이 예제에서는 회색조 영상의 명암 분포를 보여주는 히스토그램을 만드는 방법을 보여줍니다.
Distance Transform of a Binary Image
The distance transform of a binary image shows the distance from each pixel to a nonzero pixel. There are different ways to measure the distance between two pixels.
A contour is a path in an image along which intensity values are constant. Contour plots can show the outline of objects in an image or represent a 3-D shape in a 2-D plane.