[vtkusers] bug in vtkImageSeedConnectivity

Odet Christophe christophe.odet at creatis.insa-lyon.fr
Fri Jul 20 08:08:23 EDT 2001


Hi,

the doc of vtkImageSeedConnectivity says that :

"...Any pixel with out value "InputTrueValue" is consider off. The output pixels values are 0 for any off pixel in
input..."

but off pixels are never set to 0 in the code. I propose a correction at the end of the ExecuteData method in
the attached file.

I tested it and it seems to work well now.

Christophe

--
********************************************************************
ODET Christophe
CREATIS, INSA 502, F-69621 Villeurbanne cedex (France)
tel 04 72 43 85 62
Fax 04 72 43 85 26
Email: christophe.odet at creatis.insa-lyon.fr
URL    :http://www.creatis.insa-lyon.fr
********************************************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkImageSeedConnectivity.cxx
Type: application/octet-stream
Size: 9533 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010720/43a28b6f/attachment.obj>


More information about the vtkusers mailing list