Export image from image segmenter and maintain the original image

5 visualizzazioni (ultimi 30 giorni)
I want to export this image from image segmenter to my computer while maintain the original image. what should I do?

Risposte (1)

Subhadeep Koley
Subhadeep Koley il 16 Dic 2020
1) Click on the "Export" button and then click on "Export Images"
2) Save the Final Segmentation mask with the name BW, click on "OK"
3) Go to MATLAB command window and execute
overlayedImg = imoverlay(originalImg, BW); % Here originalImg contains your original image data
4) Write the overlayedImg to your computer using
imwrite(overlayedImg, 'overlayedImage.png');
  1 Commento
Hazwani Mohmad Ramli
Hazwani Mohmad Ramli il 18 Dic 2020
I have try using this code but the image saved like this. I want to export the original that show the segmented ROI. The yellow color.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by