[Insight-users] Re: Split -View ?

Roxana Racz roxyracz at gmail.com
Thu Apr 28 12:41:50 EDT 2005


Hi Luis and James ,
 Thank you for your solutions . The filters you recomended seem to do what I 
want . I will try them . Thanks again ! 
 Roxana 
 On 4/27/05, Miller, James V (Research) <millerjv at crd.ge.com> wrote: 
> 
> VTK has a filter that allows you to mix two images where an output
> pixel will come from one or the other input images depending on
> some geometric constraint.
> 
> Take a look at the vtkImageRectilinearWipe. From the documentation
> 
> // vtkImageRectilinearWipe makes a rectilinear combination of two
> // images. The two input images must correspond in size, scalar type and
> // number of components.
> // The resulting image has four possible configurations
> // called:
> // Quad - alternate input 0 and input 1 horizontally and
> // vertically. Select this with SetWipeModeToQuad. The Position
> // specifies the location of the quad intersection.
> // Corner - 3 of one input and 1 of the other. Select the location of
> // input 0 with with SetWipeModeToLowerLeft, SetWipeModeToLowerRight,
> // SetWipeModeToUpperLeft and SetWipeModeToUpperRight. The Position
> // selects the location of the corner.
> // Horizontal - alternate input 0 and input 1 with a vertical
> // split. Select this with SetWipeModeToHorizontal. Position[0]
> // specifies the location of the vertical transition between input 0
> // and input 1.
> // Vertical - alternate input 0 and input 1 with a horizontal
> // split. Only the y The intersection point of the rectilinear points
> // is controlled with the Point ivar.
> 
> // .SECTION Thanks
> // This work was supported by PHS Research Grant No. 1 P41 RR13218-01
> // from the National Center for Research Resources.
> 
> 
> -----Original Message-----
> From: insight-users-bounces at itk.org
> [mailto:insight-users-bounces at itk.org]On Behalf Of Luis Ibanez
> Sent: Wednesday, April 27, 2005 10:41 AM
> To: Roxana Racz
> Cc: Insight-users at itk.org
> Subject: [Insight-users] Re: Split -View ?
> 
> Hi Roxana,
> 
> There may be better ways to do this (you may want to post your
> email to the VTK users-list), but the one that comes to mind
> at this point is to use the vtkImageClip filter in both images,
> then pass both to vtkImageActors for visualization.
> 
> http://www.vtk.org/doc/nightly/html/classvtkImageClip.html
> 
> Note that you will have to tie the GUI controls to the parameters
> of the Extent that you pass to the Clip filters. You will need
> one Clip filter for the fixed image and another Clip filter for the
> mapped moving image. Then make sure that the extents that you
> construct ar a partition of fidex image extent.
> 
> Regards,
> 
> Luis
> 
> ----------------------
> Roxana Racz wrote:
> 
> > Dear Luis,
> >
> > In the RegistrationMethodsOverview tutorial , a method for displaying
> > registered images is Split-View ; is there a class in itk , vtk for
> > this purpose ?
> > Any suggestion would be usefull !
> >
> > Thank you in advance!
> >
> > Roxana
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050428/c0c19b85/attachment.html


More information about the Insight-users mailing list