Fw: [Insight-users] Get the image coordinate position
    yasser salman 
    yass71 at yahoo.com
       
    Tue Dec  5 14:40:37 EST 2006
    
    
  
----- Forwarded Message ----
From: yasser salman <yass71 at yahoo.com>
To: Iván Macía <imacia at vicomtech.es>
Cc: insight-users at itk.org
Sent: Saturday, December 2, 2006 11:30:42 PM
Subject: [Insight-users] Get the image coordinate position
Hi all,
I'm using a vtkimageplaneWidget to display 2D images and use itk-connected threshold filter to segment the regions in the images , so i set the seed manually , i need to do it by using 
vtkImagePlaneWidget::GetCursorData  (  double  xyzv[4]   )   To    Get the image coordinate position and voxel value. and then put it in the ITK filters.
i don't know how can i use it?
------------------------example---------------
vtkImagePlaneWidget *axialColors=  vtkImagePlaneWidget::New(); 
- axialColors->SetInput(imageData);
........
-double data[4];
  if (axialColors->GetCursorDataStatus())
   axialColors->GetCursorData(data);
-----------------------------------
is it the right way? to do ?
regards
yasser
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
 
____________________________________________________________________________________
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.
    
    
More information about the Insight-users
mailing list