Borrar filtros
Borrar filtros

how to change size and color of regions in MSERFeatures?

1 visualización (últimos 30 días)
mark palmer
mark palmer el 22 de Mzo. de 2021
Editada: mark palmer el 22 de Mzo. de 2021
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!

Respuestas (0)

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by