|
"Alejandro Arrizabalaga " <arrizaba@nikhef.com> wrote in message <hg5nr7$gub$1@fred.mathworks.com>...
> Well, a cheap way to hide it is to change the color to the background. Not very elegant, but effective,
>
> h=waitbar;
> wb1c=get(h,'Children');
> wb1c2=get(wb1c(1),'Children')
> set(wb1c2(2),'FaceColor',[0.8 0.8 0.8]);
> set(wb1c2(2),'EdgeColor',[0.8 0.8 0.8]);
>
>
> GTGT <gtgt001@yahoo.com> wrote in message <3B29A5AF.B1364FF8@yahoo.com>...
> > when I use nlfilter in image processing toolbox,
> > it always shows a wait bar.
> > how can I hide it, or let the system does not show
> > it at all?
> >
> > thx
In addition to the other posters' suggestions, if you are just interested in removing the waitbar for nlfilter.m, a very simple solution is just to comment out two lines in the Matlab code:
on line 64:
f = waitbar(0,'Applying neighborhood operation...');
and on line 70:
waitbar(i/ma)
Obviously, something like John's suggestion is a broader-based solution.
Wayne
|