MATLAB Answers

jack nn

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

Asked by jack nn
on 19 Jun 2015
Latest activity Commented on by jack nn
on 19 Jun 2015
hi I want to use batch processing that embedded in matlab2015. I studied some things about it in this link :
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:


Sign in to comment.

1 Answer

Answer by Ashish Uthama on 19 Jun 2015
Edited by Ashish Uthama on 19 Jun 2015
 Accepted Answer

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');

  1 Comment

thanks dear Ashish Uthama. it helps me a lot. if I find a parallel way I will come back here.

Sign in to comment.