Main Content

컬러스페이스 변환, ICC(International Color Consortium: 국제 컬러 협회) 프로파일 지원

툴박스는 색을 RGB 값으로 표현하지만, RGB 외에도 색을 숫자로 표현할 수 있는 다른 모델들이 있습니다. 컬러스페이스는 특정 계산을 더 간편하게 만드는 방식으로 색 정보를 나타내거나 색을 식별할 수 있는 더 직관적인 방법을 제공하기 때문에 다양한 컬러스페이스가 존재합니다. 툴박스는 색 데이터의 컬러스페이스를 변환할 수 있는 함수들을 제공합니다. 툴박스는 또한 색을 표현하기 위한 ICC(국제 컬러 협회) 프로파일을 지원합니다.

함수

모두 확장

rgb2hsvRGB 색을 HSV로 변환
rgb2labRGB를 CIE 1976 L*a*b*로 변환
rgb2ntscRGB 색 값을 NTSC 컬러스페이스로 변환
rgb2xyzRGB를 CIE 1931 XYZ로 변환
rgb2ycbcrRGB 색 값을 YCbCr 컬러스페이스로 변환
rgbwide2ycbcrConvert wide-gamut RGB color values to YCbCr color values (R2020b 이후)
rgbwide2xyzConvert wide-gamut RGB color values to CIE 1931 XYZ color values (R2020b 이후)
hsv2rgbHSV 색을 RGB로 변환
lab2rgbCIE 1976 L*a*b*를 RGB로 변환
lab2xyzCIE 1976 L*a*b*를 CIE 1931 XYZ로 변환
ntsc2rgbNTSC 값을 RGB 컬러스페이스로 변환
xyz2labCIE 1931 XYZ를 CIE 1976 L*a*b*로 변환
xyz2rgbCIE 1931 XYZ를 RGB로 변환
xyz2rgbwideConvert CIE 1931 XYZ color values to wide-gamut RGB color values (R2020b 이후)
ycbcr2rgbYCbCr 색 값을 RGB 컬러스페이스로 변환
ycbcr2rgbwideConvert YCbCr color values to wide-gamut RGB color values (R2020b 이후)
colorcloudDisplay 3-D color gamut as point cloud in specified color space
lab2doubleConvert L*a*b* color values to double
lab2uint16Convert L*a*b color values to uint16
lab2uint8Convert L*a*b color values to uint8
xyz2doubleConvert XYZ color values to double
xyz2uint16Convert XYZ color values to uint16
iccfindFind ICC profiles
iccreadRead ICC profile
iccrootFind system default ICC profile repository
iccwriteWrite ICC color profile data
isiccCheck for valid ICC profile data
makecformCreate color transformation structure
applycformApply device-independent color space transformation
imapprox색의 수 감소를 통한 인덱스 이미지 근사
chromadaptAdjust color balance of RGB image with chromatic adaptation
illumgrayEstimate illuminant using gray world algorithm
illumpcaEstimate illuminant using principal component analysis (PCA)
illumwhiteEstimate illuminant using White Patch Retinex algorithm
lin2rgbApply gamma correction to linear RGB values
rgb2linLinearize gamma-corrected RGB values
whitepointXYZ color values of standard illuminants
colorangleAngle between two RGB vectors
deltaEColor difference based on CIE76 standard (R2020b 이후)
imcolordiffColor difference based on CIE94 or CIE2000 standard (R2020b 이후)

도움말 항목

  • 컬러스페이스 및 컬러스페이스 변환 이해하기

    컬러스페이스는 다중모달 좌표계에서 색을 매핑합니다. 각각의 컬러스페이스는 색을 식별하거나 계산을 수행할 때 서로 다른 장점이 있습니다.

  • Device-Independent Color Spaces

    Device-independent color spaces define a standardized color space where three values represent a color. Different standards exist for many applications of color display.

  • Profile-Based Color Space Conversions

    Device profiles contain information about how input, output, and display devices reproduce colors. Convert the color space so displayed colors look the same across all devices.

  • Display Colors

    The bit depth of a screen display defines how many distinct colors the display can produce. You can determine and change the screen bit depth of your system.

  • Reduce the Number of Colors in an Image

    Reduce the number of colors in an image using quantization, colormap mapping, or dithering.