[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matrix of strings for image reading
From: |
Kai Torben Ohlhus |
Subject: |
Re: Matrix of strings for image reading |
Date: |
Wed, 22 May 2019 10:35:42 +0200 |
On Wed, May 22, 2019 at 9:04 AM madhav <address@hidden> wrote:
>
> Hi,
>
> I would like to create a matrix of strings of image file names such that
> later in a function I can call individual string of the matrix for image
> reading purpose. But matrices and cell arrays cant call the strings for image
> reading. Please let me know if there is a way to read image matrices .
>
Sorry, I do not fully understand the problem. Do you want something like this?
img_names = {"img1.jpg", "img2.jpg"};
for i = 1:length (img_names)
imshow (img_names{i});
endfor
Otherwise be a bit more verbose with short code snippets to outline
your intentions.
Best,
Kai
- [no subject], madhav, 2019/05/22
- Re: Matrix of strings for image reading,
Kai Torben Ohlhus <=