필터 지우기
필터 지우기

how to change color intensity with time in a given area of the image ?

조회 수: 1 (최근 30일)
kitty varghese
kitty varghese 2017년 7월 17일
댓글: Image Analyst 2017년 7월 18일
i have made an ellipse and inside that ellipse i have defined two region.i i want to change the intensity of the color inside the region as a factor of time .

답변 (1개)

Image Analyst
Image Analyst 2017년 7월 17일
Define "intensity". Do you mean brightness, L value, or V value? If so, just add a value to the image. Do you mean saturation or chroma, like how vivid or pure the color is? If so, convert to HSV colorspace with rgb2hsv() and increase the S channel.
  댓글 수: 3
Walter Roberson
Walter Roberson 2017년 7월 18일
Should it be the same color for each pixel, so the ellipse as a whole is changing?
If so then one of the easiest ways would be to change your colormap.
Image Analyst
Image Analyst 2017년 7월 18일
Kitty, do you have a full color RGB image, or a grayscale image that you want to pseudocolor? How many images in this sequence do you want? How many time points? What is the wavelength or period of the sine wave and how many images per second or wavelength do you want?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Red에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by