How to cut an object from this image?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I have to cut the central rectangle in this image, is a cell with lipids. I don´t know how I have to do that. Can anyone help me?
Thank you very much!
1 Kommentar
Akzeptierte Antwort
Siam
am 12 Nov. 2014
Bearbeitet: Siam
am 12 Nov. 2014
Could you please tell for what purpose you want to cut the rectangle?
You can use imcrop() to crop the region from the whole image.
As for example:
I = imread('your_image');
subplot(1,2,1);
imshow(I,[]);
I2 = imcrop(I);
subplot(1,2,2),
subimage(I2);
0 Kommentare
Weitere Antworten (2)
Miguel
am 12 Nov. 2014
1 Kommentar
Siam
am 12 Nov. 2014
Do you mean the rectangle or the whole rectangle region? Are you looking for a binary image after you detect the rectangle region? However; for your information you will not be able to detect the edges from the image using imcrop() but rather it will let you to crop the region that you want to crop only.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!