how can use more than one function in batch processing app that embedded in matlab2015 ?

조회 수: 2 (최근 30일)
hi I want to use batch processing that embedded in matlab2015. I studied some things about it in this link : http://www.mathworks.com/help/images/batch-processing-using-the-image-batch-processor-app.html
in this link there is an example that shows attaching a code for segmentation and we can see the result of this in the right side of window. now I have a question Is there any way to attach more than one function to this app? and see all the results of 2 function once? like below:

채택된 답변

Ashish Uthama
Ashish Uthama 2015년 6월 19일
편집: Ashish Uthama 2015년 6월 19일
Unfortunately not.
One cludgy alternative if you only want to visualize - use imfuse to fuse the two outputs.
function imout = myimfcn(im)
bw1 = im>50; % or call segment1(im);
bw2 = im>100; % or call segment2(im);
imout = imfuse(bw1,bw2,'montage');
end
  댓글 수: 1
jack nn
jack nn 2015년 6월 19일
thanks dear Ashish Uthama. it helps me a lot. if I find a parallel way I will come back here.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by