| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
- SERIAL
- public
- UNO
- wpf
- digitalRead
- compare
- sensor
- Encapusulation
- Class
- c++
- Contour
- subpixel
- parameter
- edge
- Filtering
- mfc
- APP
- flutter
- Unity
- Gradient
- memory
- Read
- Binary
- Android
- file access
- Pointer
- stream
- Gaussian
- atmega328
- aduino
- Today
- Total
목록direction (2)
폴크(FOLC)
1D gradient 기반 edge 검출에 이어, parabola 보간을 이용한 subpixel 정밀도 위치 추정, 그리고 gradient 방향(양/음)을 통한 edge 방향성 분석까지 포함하는 정밀한 CD 측정 알고리즘 예제#include #include using namespace std; using namespace cv; enum class EdgeDirection { POSITIVE, NEGATIVE }; struct EdgePoint { float position; // subpixel 위치 EdgeDirection direction; // gradient 방향 }; // 파라볼라 보간으로 subpixel 위치 추정 float parabolaSu..
edge 방향을 탐지하는 것은 **gradient의 부호(sign)**를 기반으로 각 edge가 어떤 밝기 변화 방향으로 이동하는지를 판별하는 것입니다. 이는 **양의 gradient (dark → bright)**와 **음의 gradient (bright → dark)**를 구분함으로써, Line & Space 구조의 시작점/끝점, 혹은 선폭(CD) 측정의 정확한 기준 edge 구분이 가능하다개념: gradient의 부호로 edge 방향 구분G(x)=I(x+1)−I(x−1)G(x) = I(x+1) - I(x-1)G(x)=I(x+1)−I(x−1)G(x)>0G(x) > 0G(x)>0: 양의 gradient → 밝아지는 edge (dark → bright)G(x)G(x)0: 음의 gradient → 어두워지..