How to display the corner output of harris corner algorithm in different colour?
1 次查看(过去 30 天)
显示 更早的评论
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?
回答(1 个)
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);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Feature Detection and Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!