Channel L1 Norm
1 개요
소스 이미지 각각의 픽셀이 가진 n채널 값을 n차원 벡터로 고려하여, L1 Norm 값을 출력하는 알고리즘 입니다.
2 알고리즘 상세 설명
Source Image | Destination Image |
---|---|
![]() |
![]() |
Fig. The L1 Norm Circle
N 채널 이미지에서 L1 Norm 을 구하기 위해 각 채널 값의 절댓값 합을 출력합니다.
- : 픽셀 값 벡터
- : 채널 수
- : 번째 채널 값
Source Value | Destination Value |
---|---|
![]() |
![]() |
Fig. Input and output values of L1 Norm
3 예제
CChannelL1Norm channelL1Norm;
CFLImage fliSourceImage;
CFLImage fliDestinationImage;
channelL1Norm.SetSourceImage(fliSourceImage);
channelL1Norm.SetDestinationImage(fliDestinationImage);
channelL1Norm.Execute();
4 기타 사항
Supported Feature
- Source Image
- Destination Image
- Batch Processing
Supported Format
- Source
- Channel
- 1-10
- Combined, Separated
- Value Type & Depth
- Signed: 8, 9-16, 32, 64
- Unsigned: 8, 9-16, 32, 64
- Floating: 32, 64
- Channel
- Destination
- Channel
- 1
- Combined, Separated
- Value Type & Depth
- Destination 이미지가 있는 경우, Source 와 달라도 지원
- Destination 이미지를 생성하는 경우, Source 추종
- Size
- 소스 이미지와 동일한 경우 지원
- Channel
Overflow Method
Destination 타입에 의해 출력 범위가 제한되는 경우, overflow method 는 항상 clamping 방식으로 처리됩니다. Destination 타입이 Floating 인 경우, 출력 범위에 별도의 제한을 가하지 않습니다. 따라서 1 을 초과하는 값도 표현할 수 있습니다.