How can I apply an algo of phase retrieval to an image in a specific axes created in my GUI?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have to apply an algo of phase retrieval to an image in a specific axes created in my GUI. I can load the image and aplly a Roi, after this step I wrote the following code in order to read the image with selectode ROI in axes and after to apply the algo. But I am not able to do this.
if true
fullname = fullfile(filepath, filename);% image read in axes1
handles.tifImage = imread(fullname);
imagesc(tifImage); colormap(gray);
end
2 件のコメント
Geoff Hayes
2017 年 1 月 31 日
nick - where are you calling your algorithm? Why do you read the image and save to the handles structure as
handles.tifImage = imread(fullname);
and then ignore handles on the following line (and so reference a variable that hasn't been defined)
imagesc(tifImage);
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!