Main Content

ROI 기반 처리

ROI(관심 영역)를 정의하고 이에 대해 연산 수행

ROI(관심 영역)는 필터링하거나 어떤 식으로든 연산을 수행하려는 영상의 부분입니다. ROI를 이진 마스크 영상으로 표현할 수 있습니다. 마스크 영상에서 ROI 내부에 있는 픽셀은 1로, ROI 외부에 있는 픽셀은 0으로 설정됩니다. 툴박스는 ROI를 지정하고 이진 마스크를 생성하는 여러 옵션을 제공합니다.

툴박스는 원, 타원, 다각형, 직사각형, 손으로 그린 형태 등 여러 형태의 ROI를 만드는 데 사용할 수 있는 일련의 객체를 지원합니다. 객체를 만든 뒤에는 형태, 위치, 모양, 동작을 수정할 수 있습니다. ROI 형태에 대한 자세한 내용은 ROI 형태 만들기 항목을 참조하십시오.

함수

모두 확장

AssistedFreehandAssisted freehand region of interest
CircleCircular region of interest
CrosshairCrosshair region of interest (R2019b 이후)
CuboidCuboidal region of interest (R2019a 이후)
EllipseElliptical region of interest
FreehandFreehand region of interest
LineLine region of interest
PointPoint region of interest
PolygonPolygonal region of interest
PolylinePolyline region of interest
RectangleRectangular region of interest
drawassistedCreate customizable freehand ROI with assistance from object edges
drawcircleCreate customizable circular ROI
drawcrosshairCreate customizable crosshair ROI (R2019b 이후)
drawcuboidCreate customizable cuboidal ROI (R2019a 이후)
drawellipseCreate customizable elliptical ROI
drawfreehandCreate customizable freehand ROI
drawlineCreate customizable linear ROI
drawpointCreate customizable point ROI
drawpolygonCreate customizable polygonal ROI
drawpolylineCreate customizable polyline ROI
drawrectangleCreate customizable rectangular ROI
draw대화형 방식으로 ROI 그리기 시작
reduceReduce density of points in ROI (R2019b 이후)
beginDrawingFromPointBegin drawing ROI from specified point
inROIQuery if points are located in ROI
bringToFrontBring ROI to front of Axes stacking order (R2019a 이후)
waitBlock MATLAB command line until ROI operation is finished (R2019b 이후)
createMaskROI에서 이진 마스크 영상 만들기
roipoly다각형 관심 영역(ROI) 지정
poly2mask관심 영역(ROI) 다각형을 영역 마스크로 변환
regionfill안쪽 보간을 사용하여 영상에서 특정 영역 채우기
inpaintCoherentRestore specific image regions using coherence transport based image inpainting (R2019a 이후)
inpaintExemplarRestore specific image regions using exemplar-based image inpainting (R2019b 이후)
roicolorSelect region of interest (ROI) based on color
roifilt2회색조 영상의 관심 영역(ROI) 필터링
reducepolyReduce density of points in ROI using Ramer–Douglas–Peucker algorithm (R2019b 이후)

도움말 항목

ROI 지정하기

ROI 필터링하기

이벤트 및 콜백 함수를 사용하여 대화형 방식 ROI 만들기