[Insight-developers] ConnectedComponentImageFilter: progress.CompletedPixel

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Sep 5 10:05:14 EDT 2007


Hi,

Le 5 sept. 07 à 15:20, Mathieu Malaterre a écrit :

> Hello,
>
>   I am looking at the code in ConnectedComponentImageFilter, and it
> contains two calls to progress.CompletedPixel() which means that
> output look like this:
>
>
> Progress  | 0 | 0.00976562 | 0.0195312 | 0.0292969 | 0.0390625 |
> 0.0488281 | 0.0585938 | 0.0683594 | 0.078125 | 0.0878906
> ...
>  | 2.63672 | 2.64648 | 2.65625 | 2.66602 | 2.67578 | 2.68555 | 2.69531
> | 2.70508 | 2.71484 | 1
>
>   Can I remove one call to CompletedPixel ?

According to your example, it won't be enough (progress is more than 2).
I have reproduced the problem. Not sure how I have missed it -  
perhaps because the filter is too fast now ;-)

I'm looking at what can be wrong.

Gaëtan

--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://www.itk.org/mailman/private/insight-developers/attachments/20070905/61919e72/PGP.pgp


More information about the Insight-developers mailing list