Dear list,

I'm a student working on my own mitk application plug-in.
Basically it will analyze the pixels inside a ROI delimited by a closed
planarfigure. According to their pixelvalue they will be painted as black or
white in a new layer. I simply compare if the value belongs to a range I
previously calculated from some points from a pointset.

To get the pixel value from those points, I used the
method GetPixelValueByWorldCoordinate from the Image using as
argument pointSet->GetPoint(i). Everything went ok.
But now my question is: how can I iterate over ALL the points inside the
planarfigure? (not only the control points).

By the Statistics module you can get the statistics either from the whole
image or just from the mask, so I guess somehow they have to iterate every
single pixel inside the planarfigure. Analysing the code all I could do is
iterate over the planarfigure vertex. What am I missing? Is there any way to
do what I wanna do?

I'd appreciate any help.
Thanks in advance.
Francisco Javier
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to