[Vv] VV software and landmarks positions in px
Michal Srna
michal at srna.info
Sat Feb 12 18:36:35 CET 2011
Hello, now I am subscribed to mailinglist.
I would like to implement one change in VV, so coordinates of placed
landmarks wouldn't be in mm but in px.
I was told to change AddLandmark function in vvLandmarks.cxx, so that it
accepts coordinates in mm AND the pixel index, and also to change the
call to this function is vvSlicerManager.cxx so that it passes all these
arguments to the function.
I downloaded latest src code from CVS repository and found those
functions, but I am confused of making first step "so that it accepts
coordinates in mm AND the pixel index", now it looks like
vvLandmarks::AddLandmark(float x,float y,float z,float t,double value).
I don't want to add pixels position, but I want to change positions in
mm for px. So in window, where positions are shown I need it to show
pixel values and when clicking on "save" I need it to save also pixel
values. Not mm.
I suppose I need to change something, so those x,y,z values would be
pixels, not mm. Don't know where to change it?
I would be grateful for any more detailed description, thanks all!
--
S pozdravem Bc. Michal Srna
Fotografické portfolio:
http://michalsrna.cz
More information about the vv
mailing list