[Insight-users] vtk-itk pipeline

Luis Ibanez luis.ibanez at kitware.com
Thu Dec 4 14:32:50 EST 2008


Hi Raghu,

This is a very common problem.

It simply means that you have not placed the vtkCamera in the proper
location.

Please pay attention to the coordinate system of the image, and then
place the camera accordingly.

You should look at the following vtkCamera methods:

     camera->SetPosition ( cameraPosition );
     camera->SetFocalPoint ( centerOfImage )
     camera->SetViewUp( 0, 1, 0 );
     camera->SetParallelProjection( true );
     camera->Zoom(2.0);


Make sure that you take into account the image origin and the
image orientation.


   Regards,


      Luis



--------------------
RAGHU PRASAD wrote:
> Hi,
>  
>               I have built a vtk-itk pipeline ,but when i open an image 
> of analyze format the image appears to be inverted in the vtk win32open 
> GL window.What could be the reason? does it indicate that my pipeline is 
> not built properly
> 
> 
> -- 
> Warm Regards
> 
> Raghu Prasad
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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