[IGSTK-Users] Problem in seeing the loaded image in Navigator

Alvaro Gómez agomez at fing.edu.uy
Fri Jun 4 10:21:49 EDT 2010


If you are using 4.2 there is a problem with the debug version that does 
not happen in release.
http://public.kitware.com/pipermail/igstk-users/2009-February/000598.html

It is corrected in the CVS version.

The problem is related to the initialization of the crosshair. In 
Navigator::ConnectImageRepresentation you will find:
___________________________________________________
// Set initial crosshair possition
   // This initialization is important, otherwise, images will not load 
properly
   // under debug mode
   ImageSpatialObjectType::IndexType index;
   index[0] = xslice;
   index[1] = yslice;
   index[2] = zslice;

   PointType point;
   m_ImageSpatialObject->TransformIndexToPhysicalPoint( index, point);
   const double *data = point.Get_vnl_vector().data_block();
   m_CrossHair->RequestSetCursorPosition(data);
_____________________________________________________





El día viernes, 04 de junio de 2010 07:41:52 a.m.
aaryan g <aaryan_g25 at yahoo.com>
escribió:
> Hello all,
> 
> I am trying to run the Navigator application in IGSTK.  When I load the 
> data in : IGSTK-4-2/Testing/Data/Input/E000192 ,
> 
>  In the log file it says  :    (DEBUG) 
> igstk::DICOMImageReader::ReportImageReadingSuccessProcessing: called...
> 
> But, I am unable to see anything on the four quadrants, its just black. 
> Could anyone plz tell me whats wrong here.
> 
> Regards,
> Aarya
> 
> Log File:
> 
> 
> *************************************************************************************************
> 2010 Jun 04, 11:08:38  :    (DEBUG) Successfully opened Log 
> file:logNavigator_2010_06_04_11_08_38.txt
> 2010 Jun 04, 11:08:40  :    (DEBUG) Navigator::RequestLoadImage called...
> 2010 Jun 04, 11:08:40  :    (DEBUG) State transition is being made : 
> Navigator  PointerID 0032E188 InitialState(597)  with 
> LoadImageInput(620) ---> LoadingImageState(598).
> 2010 Jun 04, 11:08:40  :    (DEBUG) Navigator::LoadImageProcessing called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) Set ImageReader directory: 
> d:/IGSTK-4-2/Testing/Data/Input/E000192
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> igstk::DICOMImageReader::RequestSetDirectory called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) State transition is being made : 
> CTImageReader  PointerID 07673BC0 IdleState(682)  with 
> ResetReaderInput(691) ---> IdleState(682).
> 2010 Jun 04, 11:08:54  :    (DEBUG) igstk::DICOMImageReader::ResetReader 
> called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) State transition is being made : 
> CTImageReader  PointerID 07673BC0 IdleState(682)  with 
> ImageDirectoryNameValidInput(688) ---> 
> 
> ImageDirectoryNameReadState(683).
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> igstk::DICOMImageReader::SetDirectoryName called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> igstk::DICOMImageReader::ReadDirectoryFileNames called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) igstk::DICOMImageReader::seriesUID 
> 1.3.12.2.1107.5.1.4.24515.4.0.6772320513041275.555125124
> 2010 Jun 04, 11:08:54  :    (DEBUG) igstk::DICOMImageReader will open 
> seriesUID: 1.3.12.2.1107.5.1.4.24515.4.0.6772320513041275.555125124
> 2010 Jun 04, 11:08:54  :    (DEBUG) State transition is being made : 
> CTImageReader  PointerID 07673BC0 ImageDirectoryNameReadState(683)  with 
> 
> ImageSeriesFileNamesGeneratingSuccessInput(690) ---> 
> ImageSeriesFileNamesGeneratedState(685).
> 2010 Jun 04, 11:08:54  :    (DEBUG) igstk::DICOMImageReader::         
> ReportImageSeriesFileNamesGeneratingSuccessProcessing: called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> igstk::DICOMImageReader::RequestReadImage called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) State transition is being made : 
> CTImageReader  PointerID 07673BC0 
> ImageSeriesFileNamesGeneratedState(685)  with ReadImageInput(687) ---> 
> 
> AttemptingToReadImageState(684).
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> igstk::DICOMImageReader::AttemptReadImage called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) Gantry Tilt = 0 
> 2010 Jun 04, 11:08:54  :    (DEBUG) Modality     = CT
> 2010 Jun 04, 11:08:54  :    (DEBUG) State transition is being made : 
> CTImageReader  PointerID 07673BC0 AttemptingToReadImageState(684)  with 
> ImageReadingSuccessInput(689) ---> 
> 
> ImageReadState(686).
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> igstk::DICOMImageReader::ReportImageReadingSuccessProcessing: called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) Patient Name = liver set           
> 2010 Jun 04, 11:08:54  :    (DEBUG) Patient ID = 9999          
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> igstk::DICOMImageReader::RequestGetImage called...
> 2010 Jun 04, 11:08:54  :    (DEBUG) State transition is being made : 
> CTImageReader  PointerID 07673BC0 ImageReadState(686)  with 
> GetImageInput(692) ---> ImageReadState(686).
> 2010 Jun 04, 11:08:54  :    (DEBUG) State transition is being made : 
> Navigator  PointerID 0032E188 LoadingImageState(598)  with 
> SuccessInput(618) ---> 
> 
> ConfirmingImagePatientNameState(599).
> 2010 Jun 04, 11:08:54  :    (DEBUG) 
> Navigator::ConfirmPatientNameProcessing called...
> 2010 Jun 04, 11:08:54  :    (CRITICAL) 
> igstk::DICOMImageReader::GetPatientName unsafe method called...
> 2010 Jun 04, 11:09:00  :    (DEBUG) Navigator::RequestAcceptImageLoad 
> called...
> 2010 Jun 04, 11:09:01  :    (DEBUG) Navigator::ReadFiducials called...
> 2010 Jun 04, 11:09:01  :    (DEBUG) Reading fiducials from 
> d:/IGSTK-4-2/Testing/Data/Input/E000192/Fiducials.igstk
> 2010 Jun 04, 11:09:01  :    (DEBUG) 
> Navigator::RequestChangeSelectedFiducial called...
> 2010 Jun 04, 11:09:01  :    (DEBUG) This point is not defined in the 
> image...
> 2010 Jun 04, 11:09:01  :    (DEBUG) 
> Navigator::RequestChangeSelectedFiducial called...
> 2010 Jun 04, 11:09:01  :    (DEBUG) This point is not defined in the 
> image...
> 2010 Jun 04, 11:09:01  :    (DEBUG) State transition is being made : 
> Navigator  PointerID 0032E188 ConfirmingImagePatientNameState(599)  with 
> SuccessInput(618) ---> 
> 
> ImageReadyState(600).
> 2010 Jun 04, 11:09:01  :    (DEBUG) 
> igstk::Navigator::ReportSuccessImageLoadedProcessing called...
> 2010 Jun 04, 11:09:09  :    (DEBUG) Navigator::RequestLoadMesh called...
> 2010 Jun 04, 11:09:09  :    (DEBUG) State transition is being made : 
> Navigator  PointerID 0032E188 ImageReadyState(600)  with 
> LoadMeshInput(622) ---> LoadingMeshState(602).
> 2010 Jun 04, 11:09:09  :    (DEBUG) Navigator::LoadMeshProcessing called.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users



More information about the IGSTK-Users mailing list