필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Any image processing expert?

조회 수: 1 (최근 30일)
Pradeep Gowda
Pradeep Gowda 2015년 5월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
when we extract the YIQ colors from RGB picture why do we do this
sNtsc = rgb2ntsc(sBmp);
picY = sNtsc(:,:,1)*256-128; % Y luminance component
picI = sNtsc(:,:,2)*256-128; % I chrominance component
picQ = sNtsc(:,:,3)*256-128; % Q chrominance component
each component of YIQ is being multiplied by 256 and subtracted by 128? why is that?

답변 (1개)

Image Analyst
Image Analyst 2015년 5월 10일
sNTSC will be in the range 0-1. sNTSC is already a YIQ image. Evidently the author wanted to scale the intensities to -128 to +127. I don't know why.
I wouldn't even bother using that color space. Why are you using that in preference to color spaces like HSV and LAB?

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by