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

5 ビュー (過去 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 件のコメント
ezhil K
ezhil K 2018 年 12 月 20 日
I got this output
ezhil K
ezhil K 2018 年 12 月 20 日
This is what I pass as input

サインインしてコメントする。

回答 (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

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by