How can i use roifilt2 with a function that has more than 1 parameter?
3 次查看(过去 30 天)
显示 更早的评论
I need to use roifilt2 with a function that needs more than one parameter apart from the input image. i.e
I=imread('my_image');
BW=I>10;
fun=@chenvese;
roifilt2(I,BW,fun);
The function chenvese(File Exchange)that performs active contour without edges, is defined as
seg= chenvese(I,mask,num_iter,mu, method)
How can i pass these parameters through roifilt2? I would prefer this option than setting default values at the function, if no input is given.
Thanks for any ideas.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!