필터 지우기
필터 지우기

How to display the corner output of harris corner algorithm in different colour?

조회 수: 1 (최근 30일)
ezhil K
ezhil K 2018년 12월 20일
답변: KALYAN ACHARJYA 2018년 12월 20일
I have attached the screenshot of my output her.I don't need this output in white colour.Instead I need it in some other colour.What should I do?
  댓글 수: 5

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

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 12월 20일
I have attached the screenshot of my output her.I don't need this output in white colour.Instead I need it in some other colour.What should I do?
Based on this line, what I have undestood, you want different color in white pixels.
%Im here output binary image
r_comp=255*uint8(im);
g_comp=255*zeros(size(im),'uint8'); % Green Everywhere.
result_im=cat(3,r_comp,g_comp,r_comp);
imshow(result_im);
11.png

Community Treasure Hunt

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

Start Hunting!

Translated by