필터 지우기
필터 지우기

Writing data into an array

조회 수: 2 (최근 30일)
NITHIN BHARADWAJ
NITHIN BHARADWAJ 2012년 4월 29일
How can I store images in an array?

답변 (1개)

Wayne King
Wayne King 2012년 4월 29일
Can you be more specific what you mean by store? Images in MATLAB are naturally matrices, either 2-D matrices, or 3-D for something like an RGB image. For example:
imdata = imread('ngc6543a.jpg');
You can store the result in a .mat file, or you can use imwrite to write a specific image format, or a number of other more basic file writing routines.
  댓글 수: 2
NITHIN BHARADWAJ
NITHIN BHARADWAJ 2012년 4월 30일
I have a usual RGB image and I want to write it into an array. The procedure you have shown works when I have minimal images to work on. Say hundred images,I want all of them to be written into an array. How do I do that?
NITHIN BHARADWAJ
NITHIN BHARADWAJ 2012년 4월 30일
By the way, its a 2-D image.

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

카테고리

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