[Insight-users] Shape Objects
    Luis Ibanez 
    luis.ibanez at kitware.com
       
    Sat Feb  7 12:46:04 EST 2009
    
    
  
Hi David,
When you refer to "Shape Label Objects", *exactly* what ITK class are
you using to represent them ?
It will be very useful if you could provide an example of the source
code that you are writing.
    Thanks
       Luis
----------------------
David Pastor wrote:
> Hello,
>  
> I'm creating an image " img"of centroids of Shape Label Objects. I 
> create the background image setting all to 0 and the larges possible 
> region of the original image. Then i get the LabelMap and retrieve the 
> enumeration of shape objects, get the centroid of each of them. For each 
> centroid i use "img"->PhysicalPointToIndex and finally SetPixel.
>  
> The result is unexpected as it seems to be scaled (pixel size is about 
> 1.4) and also scrolled.
>  
> david
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
    
    
More information about the Insight-users
mailing list