High-level Application Use a for loop to generate successive images that make peppers.png appear to be glowing green. You may use the imsharpen() function.

조회 수: 2 (최근 30일)
High-level Application Use a for loop to generate successive images that make peppers.png appear to be glowing green. You may use the imsharpen() function

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 8월 14일
편집: KALYAN ACHARJYA 2019년 8월 14일
"Use a for loop to generate successive images that make peppers.png appear to be glowing green."
Is this one?
image_test=imread('peppers.png');
green_panel=image_test(:,:,2);
max_i=4; % Decide as per your requiremnets
for i=1:0.25:max_i
green_panel=1.5*image_test(:,:,2);
image_result=cat(3,image_test(:,:,1)./i,max_i*image_test(:,:,2),image_test(:,:,3)./i);
figure, imshow(image_result);
end
Use of imsharpen() function, and see the differences, you can easily incorporate this too.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by