필터 지우기
필터 지우기

How to cut an object from this image?

조회 수: 3 (최근 30일)
Miguel
Miguel 2014년 11월 12일
댓글: Siam 2014년 11월 13일
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
Siam
Siam 2014년 11월 13일
There is no image in your question....

댓글을 달려면 로그인하십시오.

채택된 답변

Siam
Siam 2014년 11월 12일
편집: Siam 2014년 11월 12일
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);

추가 답변 (2개)

Miguel
Miguel 2014년 11월 12일
I have to extract the rectangle automatically, I do not have to do anything. Just, run it. After that, I need to make an adjustment to an exponential function.

Miguel
Miguel 2014년 11월 12일
How can I detect the edges of the image to cut with imcrop()?
  댓글 수: 1
Siam
Siam 2014년 11월 12일
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.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by