필터 지우기
필터 지우기

How to use Figure obtained in imread ?

조회 수: 3 (최근 30일)
IPlover
IPlover 2014년 5월 24일
댓글: Image Analyst 2014년 5월 26일
I did an operation on an image and found out the output figure. Now, i want to use that figure and do operations on it. How should i read it using imread or any other way possible.
Thanks
  댓글 수: 1
IPlover
IPlover 2014년 5월 26일
I am converting grayscale image to binary and now i waant to do morphological operations on that binary image found. How do i do it ? Ofcourse i dont want the axes,tick marks etc...
i didnt get your last statement about the use of export_fig.

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

답변 (1개)

Image Analyst
Image Analyst 2014년 5월 24일
Give an example. You almost never want to do an operation on a figure (the gray background with axes, an image, tick marks, annotations, etc.). You almost always want to do operations directly on the image itself.
If you really want to save a figure window as an image and read it back in with imread, then use export_fig(), followed by imread(). http://matlab.wikia.com/wiki/FAQ#How_do_I_save_my_figure.2C_axes.2C_or_image.3F_I.27m_having_trouble_with_the_built_in_MATLAB_functions.
  댓글 수: 1
Image Analyst
Image Analyst 2014년 5월 26일
Then don't do anything on the figure. Do it on the image array. See my tutorials in the File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

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

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by