let us not love with words or tongue but actions and truth.

IT/영상처리분석

컬러 이미지 처리

sarah0518 2022. 3. 21. 19:56

image의 bit depth

grey scale: 8bit

RGB: 24bit or 32bit

24bit에서 R, G, B 이렇게 3개(8*3?)를 표현하고

32bit에서는 RGB외의 8bit를 이미지의 다른 특성을 표현하는데에 사용함

** 참고로 analog image - film은

0~255의 discrete한 값을 갖는 것이 아니라, 연속적인 값을 갖는 것임

 

 

이미지 표현 bitmap or vector

이미지는 벡터형태로 처리하며 distance가 가까우면 동일인물과같이 유사성이 높은 것을 뜻함

이 외에도 matrix표현방법도 있음

** openCV는 C++기반 library이고 (0,0)이 기준점

** 참고로 matlab는 (1,1)이 기준점

 

 

 

이미지 복원 예시

c = a +b, f=a+e, e = b-noise(d활용)

(d)는 강한 high frequency영역만 취해서(threshold로 noise 제거) 만든 이미지

 

 

 

이미지 correction 예시

Geometric correction

 

 

 

카메라의 distortion을 해결하기위해 grid pattern을 촬영해서 원래 grid의 transformation관계를 구해서   원래 이미지에 적용을 해서 보정함

 

 

 

이미지와 선형대수

--> 상수값을 곱해준다는 것은 밝기조절과 같은 것임

 

 

 

색상 관련 용어정리

Radiance(복사열): total amount of energy that flow from the light source, measured in watts (W)

Luminance(밝기): amount of energy an observer perceives from a light source, measured in lumens

적외선 영역 넘어에서는 radiance는 높지만 luminance는 0임

(적외선 영역 넘어의 빛은 해로울 수 있음 : Far infrared light)

적외선은 열을 가지고 측정하는 것이라, 온도가지고 있는 것(생물체등)들이 다른색으로 잘 표현이 됨

• Brightness: subjective descriptor that is hard to measure, similar to the achromatic notion of intensity

 

 

잉크에서 표현되는 색(CYM)

G+B=Cyan, R+G=Yellow, R+B=Magenta

1-R=Cyan, 1-B=Yellow, 1-Y=Magenta

CMYK=CMY+Black

 

곡선으로 표현되어있는 가장 안쪽 부분이 프린터에서 사용하는 색상의 영역

 

[컴퓨터에서 사용하는 색상표현 방법]

 RGB model

• CYM model

• CYMK model

 

[사람 눈에서 사용하는 색상표현 방법]

• HSI model (match the human description)

 

 

HSI(HSV) color

• Hue: color attribute

• Saturation: purity of color (white->0, primary color->1)

• Brightness: achromatic notion of intensity(=value)

 

monochrome: 단색으로 된 이미지

 

컬러이미지 처리 방법

• Per-color-component processing: color component 별로 각자 처리하는 것

• Vector-based processing

: Process the color vector of each pixel

• When can the above methods be equivalent?(강의자료 다시 보기....ㅠㅠ)

• Process can be applied to both scalars and vectors

• Operation on each component of a vector must be independent of the other component

 

 

 

본 내용은 서강대학교 영상인식시스템 수업 내용을 정리한 것입니다.

'IT > 영상처리분석' 카테고리의 다른 글

Face Detection  (0) 2022.05.23
여러 종류의 Feature descriptor  (0) 2022.05.16
keypoint detection - Harris, SIFT, SURF, LIFT  (0) 2022.04.18
Line & Ellipse detection  (0) 2022.04.17
Edge Detection  (0) 2022.03.31