Topographic Threshold
1 개요
Robert Haralick의 Topographic Primal Sketch를 수행하는 알고리즘입니다.
2 알고리즘 상세 설명
Topographic Threshold 알고리즘은 추정된 Image Intensity Surface를 통해 1차, 2차 방향도함수를 계산하여 픽셀별 분류를 진행합니다. Class는 총 11개 존재하며, 다음의 대응되는 숫자로 결과 이미지에 출력됩니다.
- Peak
- Pit
- Ridge
- Ravine
- Saddle
- Flat
- Hillside Slope
- Hillside Convex
- Hillside Concave
- Hillside Saddle
- Hillside Inflection
원본 이미지 | 결과 이미지 |
---|---|
![]() |
![]() |
Fig. Topographic Threshold 동작 예시(필터 크기: 9 x 9)
분류 결과를 명확히 보기 위해 결과 이미지 뷰에 Pixel Segmentation Mode
를 활성화한 모습입니다.
CTopographicThreshold topographicThreshold;
CFLImage fliSourceImage;
topographicThreshold.SetSourceImage(fliSourceImage);
topographicThreshold.SetKernel(9);
topographicThreshold.Execute();
3 파라미터 설정 및 사용 방법
멤버함수 | 파라미터 | 설 명 | ||
---|---|---|---|---|
SetKernel | int64_t | i64KernelSize | IN | 커널 크기 |
i64KernelSize
- Default Value : 5