필터 지우기
필터 지우기

how to change size and color of regions in MSERFeatures?

조회 수: 1 (최근 30일)
mark palmer
mark palmer 2021년 3월 22일
편집: mark palmer 2021년 3월 22일
This uses the cameraman example here
Two questions. How to I save the colored figure generated below at original size of image? When I save as a tiff it gets shrunk to about 25%.
How do I change the colors of the regions? For instance, instead of red, say I want [255 129 45]
I = imread('cameraman.tif');
regions = detectMSERFeatures(I);
imshow(I); hold on;
plot(regions);
figure; imshow(I); hold on;
plot(regions,'showPixelList',true,'showEllipses',false);
hold off;
saveas(gcf,'MSERTest1.tif','tiffn')
Thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by