A simple question on image processing

조회 수: 5(최근 30일)
Shamima 2013년 4월 10일
답변: Ayshath Afra 2020년 6월 21일
Hello every body, I have uploaded a simple image on the website:
I would like to extract the outlined portion only. I just startted learning MATLAB. Could any body suggests how I can extract that part of image?
  댓글 수: 5
Image Analyst
Image Analyst 2013년 4월 15일
Basically about half way out the blob, there is a thin, faint, noisy, interrupted "ring" of dark pixels. That is what she wants to find.

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


Image Analyst
Image Analyst 2013년 4월 10일
What do you mean by "extract"? Do you mean you want an image with everything outside the circle blackened? Do you want the bounding box of it cropped out to another, smaller image? Do you just want a list of all pixels inside the circle in a 1D list?
  댓글 수: 15
Cedric Wannaz
Cedric Wannaz 2013년 4월 15일
편집: Cedric Wannaz 2013년 4월 15일
>> As I am not familiar with MATLAB, I find difficulty in using the MATLAB functions.
At this point, I would recommend the official documentation available here. If you are already familiar with another language, you would spend probably no more than a long day full time, which would prevent you from being constantly pulled back by lack of knowledge about MATLAB basics (which are not trivial, especially if you have a challenging application to develop). I would recommend the following actually:
Under MATLAB, you could get..
  • PDF labeled "MATLAB Primer" and study chapters 2 and 5.
  • PDF labeled "Mathematics", and train to have a good mastery of chapters 1 and 9.
  • PDF labeled "Programming Fundamentals" and have a look at the table of content so you can use it as a reference later.
There would also be the User's Guide under Image Processing Toolbox, which contains a significant amount of examples and illustrations.

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

Shamima 2013년 4월 10일
Yes, I would like to remove every thing outside the outlined boundary. I only need the portion that lies inside the boundary. Thanks.
  댓글 수: 4
Shamima 2013년 4월 10일
Hi, thanks for the comments. There won't be any red pixel boundary, I have put the original image to the following link:
I need to crop out a portion as shown with some indentation mark in the original image. How can I crop up that portion. Thanks.

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

Ayshath Afra
Ayshath Afra 2020년 6월 21일
% create pre-processed datastore
imdb = imageDatastore(db_path,...
Does anything wrong in this command


Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by