[Insight-users] Re-running itk filter

Mark Foskey mark_foskey at unc . edu
Fri, 30 May 2003 09:41:00 -0400


It sounds like you want the filter to use its output as its new input, 
further eroding the image.  If you simply forced it to run a second 
time with no change, it would produce the same output that it produced 
the first time, since the input did not change.  I don't know the best 
idiom for repeatedly, interactively applying the same filter to an 
image, though.

Note, though, that some filters are in-place.  In those cases, simply 
repeating the operation may do what you want.

salah wrote:
> Hi all,
> 
> I have noticed that itk filter do not run if their input
> parameters do not change. i.e. the filter will not
> do anything if it is called a second time on the same
> inputs, for example, an erosion filter with the same 
> input image and the same radius for the structuring
> element. another example: the conntected threshold
> segmentation filter does not rerun for the same seed,
> thresholds, and input image. Is this right?? if yes, can
> I then force the filter to run, even with same inputs?
> 
> Thanks,
> Zein
> 
> 
> ->8<------------->8<------------->8<------------->8<------------->8<------------->8<-
> Zein I. Salah 
> University of Tübingen, WSI-GRIS, Sand 14, 72076 Tübingen 
> Email: salah at gris . uni-tuebingen . de
> Tel.: (07071) 29 75465 (GRIS),           Fax: (07071) 29 54 66
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at public . kitware . com
> http://public . kitware . com/mailman/listinfo/insight-users


-- 
Mark Foskey    (919) 843-5436  Computer-Aided Diagnosis and Display Lab
mark_foskey at unc . edu            Department of Radiology, CB 7515, UNC
http://www . cs . unc . edu/~foskey  Chapel Hill, NC  27599-7515