From: Christian Eschermann on
Hello,

for 150 0-1-pictures I need the 0-1-arrays. I can watch the pictures by using "imshow" but "imread" doesn't work.

_____________________________________________________________

[FileName, PathName] = uigetfile('*.mat','Daten auswählen');

A = importdata(FileName);

imshow(A(:,:,50),[0 1])
______________________________________________________________

imread(A(:,:,50),[0 1]) doesn't work. Why not? Is there any alternative?

Thank you.

Christian