フィルターのクリア

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 Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by