필터 지우기
필터 지우기

how to represent an image in grid format?

조회 수: 2 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 10월 7일
how to represent an image in grid format?

답변 (1개)

Image Analyst
Image Analyst 2012년 10월 7일
imageArray = imread(filename);
imageArray will be a rectangular grid/array/matrix.
  댓글 수: 2
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 10월 7일
Thanks Image Analyst !! I was asked by a student to represent the input image in grid format. how to do it?
Image Analyst
Image Analyst 2012년 10월 7일
Well maybe I don't know what he means. In MATLAB, an image is a 2D array, unlike vector formats like EPS. What type of file is the student's image stored in? Is it a PNG, BMP, TIFF, or JPG file? If so it's already in a rectangular grid and you can simply use the imread code I gave you. If it's a vector format like EPS, I have no idea because I don't do image analysis on those types of computer graphics (clip art) files.

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by