FL Auto Shading Correction
1 개요
이미지를 밝게 처리하며 불균일한 조명을 보정하는 알고리즘입니다.
2 알고리즘 상세 설명
이미지를 밝게 처리하는 알고리즘으로, 밝기 정보에 대한 입력 없이 자동적으로 조명 보정 처리를 진행합니다. 어두운 부분의 밝기는 크게 높이고, 밝은 부분의 밝기는 적게 높여 불균일한 조명으로 인해 생기는 밝기 편차를 줄이는 기능을 합니다.
Source | Result |
---|---|
![]() |
![]() |
![]() |
![]() |
Fig. FL Auto Shading Correction 을 적용한 결과 이미지
3 파라미터 설정 및 사용 방법
멤버함수 | 파라미터 | 설 명 | ||
---|---|---|---|---|
SetIntensity | double | f64Intensity | IN | 처리 강도를 설정합니다. |
EnableHighAccuracy | bool | bHighAccuracy | IN | 높은 정밀 처리 상태를 설정합니다. |
SetIteration | int64_t | i64Iteration | IN | 반복 횟수를 설정합니다. |
4 예제 코드
CFLAutoShadingCorrection FLAutoShadingCorrection;
CFLImage fliSourceImage;
CFLImage fliDestinationImage;
FLAutoShadingCorrection.SetSourceImage(fliSourceImage);
FLAutoShadingCorrection.SetDestinationImage(fliDestinationImage);
FLAutoShadingCorrection.SetIntensity(0.8);
FLAutoShadingCorrection.EnableHighAccuracy(false);
FLAutoShadingCorrection.SetIteration(1);
FLAutoShadingCorrection.Execute();