Image Processing - newlife-js/Wiki GitHub Wiki
by ์ฐ์ธ๋ํ๊ต ๊น์ ์ฃผ ๊ต์๋
Color
- Hue: ์์
- Value/Lightness/Brightness: ๋ช ๋
- Saturation/Chroma/Color Purity: ์ฑ๋
โ SPD(Spectral Power Distribution)
๊ฐ์๊ด์ ์ 390~700nm์ ์ฐ์์ ์ธ ์คํํธ๋ผ์ ๊ฐ์ง๋ง ๋์ receptor(cone cells)๋ RGB๋ก ์ํ๋ง
๋ค๋ฅธ distribution์ ๊ฐ๋๋ผ๋ RGB ์ํ๋ง์ด ๊ฐ๋ค๋ฉด ๊ฐ์ color๋ก ์ธ์ํจ(metamers)

์ฌ๋์ด ์ธ์ํ๋ ๋๋ก color๋ฅผ ์ ๋ํํ๊ธฐ ์ํด ๋ค์ํ color space๋ฅผ ์ ์ํจ
(CEI RGB, CEI XYZ, CEI xyY, sRGB)
Camera Imaging Pipeline

Camera = light-measuring device? no
CCD/CMOS Response(๋ฌผ๋ฆฌ์ ์ธ RAW๊ฐ)๋ฅผ ์ฌ๋์ด ์ธ์ํ๋ sRGB๋ก ๋ณํ + ๋ ๋ณด๊ธฐ ์ข๊ฒ processing๊น์ง ํจ
Image Sensor
์นด๋ฉ๋ผ ํ์ฌ๋ง๋ค camera color filter์ ์ฐจ์ด๊ฐ ์์ด ์ปฌ๋ฌ๊ฐ์ด ๋ค๋ฅด๋ค
Black light subtraction
๋ชจ๋ ๋น์ ๋ง์์ ๋ pixel์ด 0์ผ๋ก ์ธ์ํด์ผ ํ๋๋ฐ, ์๋ ๊ฒฝ์ฐ๊ฐ ์์
์ด๋ด ๋๋ ๊ทธ ๋งํผ์ offset๋งํผ ๋นผ์ค
Signal amplification
ISO setting์ผ๋ก sensor ๊ฐ์ ์ฆํญ
Defective pixel mask
Dead pixel์ interpolation์ผ๋ก ๋ณด์
White balance
๊ด์์ ์ํด์ ์ค์ ํฐ์์ด ํฐ์์ฒ๋ผ ๋ณด์ด์ง ์๋ ํ์์ด ์์ด ์ด๋ฅผ ๋ณด์ ํด์ฃผ๋ ๊ฒ
- AWB(Auto White Balance): input ์์ ํ๊ท ์ gray๋ผ๋ ๊ฐ์ ์ ์ํด ๋ณด์

CFA demosaicing
์ค์ input์ pixel๋น RGB์ค ํ๋๋ง ํ ๋น์ด ๋์ง๋ง, ๋ชจ๋ pixel์ด RGB ๊ฐ์ ๋ชจ๋ ๊ฐ๋๋ก ํ๋ ๊ฒ(interpolation ์ ์ฉ)

Noise Reduction(NR)
๋ชจ๋ ์ผ์์๋ noise๊ฐ ์กด์ฌํ๋ฏ๋ก noise๋ฅผ ์ค์ด๋ ๊ฒ์ด ํ์
Color transform
์นด๋ฉ๋ผ ๋ชจ๋ธ๋ง๋ค ๋ค๋ฅธ kernel space๋ฅผ ํต์ผ๋ canonical space(sRGB)๋ก ๋ณํ
Tone mapping
ํ์ฌ๋ณ๋ก ์ ํธํ๋ tone-reproduction์ ์งํ(Non-linear mapping of RGB tones)
Low-light Image Enhancement
๋น์ด ์์ฃผ ์ ์ ๋ ํ๋์ ์์ด ์ ๋ช ํ๊ฒ ์ฐํ๋๋ก ํ๋ ๊ธฐ์
multiple frames์ ํฉ์ฑ
Motion metering: motion์ ํฌ๊ธฐ๋ฅผ ์ธก์ ํด์ ํ๋ ์์ ์์ ๋ ธ์ถ ์๊ฐ์ ์ ํ๋ ๊ฒ
robust alignment, AWB, tone-mapping
Motion Metering

Downsampling๋ image์ ๋ํด์ motion์ ํฌ๊ธฐ๋ฅผ ์ธก์
์ค์์ object์ ๊ด์ฌ์ด ๋ง์ ๊ฒ์ด๋ฏ๋ก ์ค์ pixel์ ๋ ํฐ weight๋ฅผ ์ค
์์ด๋ก ์ผ์๋ฅผ ํตํด์ device stability๋ ๊ณ ๋ คํ์ฌ exposure schedule์ ์ ํจ
