본문 바로가기
기타

Dithering된 이미지와 Grayscale 이미지의 차이

by sharekim 2023. 3. 29.

Grayscale Image?

a grayscale image is one in which the value of each pixel is a single sample representing only an amount of light.

Grayscale images, a kind of black-and-white or gray monochrome, are composed exclusively of shades of gray. The contrast ranges from black at the weakest intensity to white at the strongest.

 

그레이스케일 이미지는 빛의 양에 따라 회색으로 표현되는 이미지이며, 광도가 가장 여린 경우 검정 가장 센 경우 백색으로 표현된다. 0과 1의 값으로 검정 또는 흰색이 표현되는 모노크롬 이미지와는 회색이 포함된다는 점에서 다르다.

 

 

The Basic Concept Behind Dithering

Boiled down to its simplest form, dithering is fundamentally about error diffusion.

Error diffusion works as follows: let’s pretend to reduce a grayscale photograph to black and white, so we can print it on a printer that only supports pure black (ink) or pure white (no ink). The first pixel in the image is dark gray, with a value of 96 on a scale from 0 to 255, with zero being pure black and 255 being pure white.

 

 

 

디더링은 이미지의 회색 값을 검정 또는 흰색으로 변경하는 일이다. 에러디퓨전의 일종이며 광도의 값이 검정인 0과 흰색인 255 중 어떤 값에 가까운지에 따라 검정 또는 흰색으로 변환된다. 디더링 이미지는 이런 작업이 이루어진 이미지이다.

'기타' 카테고리의 다른 글

Captive Portal  (0) 2022.10.25
Access-Control-Request-Private-Network 헤더  (0) 2022.09.14
InteliJ Lisences : Ultimate, Community  (0) 2021.05.01
Case Naming Convention : CamelCase, snake_case, strHungarian  (0) 2021.04.30
pseudo-code (의사코드)  (0) 2021.04.28

댓글