How can i use roifilt2 with a function that has more than 1 parameter?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!