フィルターのクリア

how to get image from axes in other function?

2 ビュー (過去 30 日間)
Gytis Raudonius
Gytis Raudonius 2016 年 3 月 26 日
コメント済み: Gytis Raudonius 2016 年 3 月 26 日
Hi, how i can take image after loaded into gui and take this image to read other function. I add to files so i want to know how to take image from Gui and read to Nuajas.
Thans for answers.

採用された回答

Adam
Adam 2016 年 3 月 26 日
In Naujas, change the first few lines to:
function Naujas( img )
% imshow(img);
i.e. pass the image in as an argument instead of calling your function.
In test pushbutton2_Callback, add the line:
Naujas( image1 );
I haven't looked at any of what the rest of the code does to see whether there are other problems, but that will let you pass the image variable to your function.
  1 件のコメント
Gytis Raudonius
Gytis Raudonius 2016 年 3 月 26 日
huge thanks it works !!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by