[vtkusers] About vtkImageReslice

David Gobbi david.gobbi at gmail.com
Fri Jul 31 09:04:16 EDT 2015


Hi Waldo,

You will have to explain in more detail.  Do you mean that the window/level
does not work if you click and drag on the border of the image? If you
click and drag near the center of the image, do you see the brightness
change everywhere except for the border?

 - David


On Fri, Jul 31, 2015 at 3:07 AM, Waldo Valenzuela <
waldo.valenzuela at hotmail.com> wrote:

> Hi David,
>
> Thanks very much, works perfect, but now with the interactor
> (vtkInteractorStyleImage) is not changing the window/level of the borders.
> Do you know if I need to do additional configuration to interactor?
>
> Cheers,
>
> Waldo.
>
>
> On 30 Jul 2015, at 21:12, David Gobbi <david.gobbi at gmail.com> wrote:
>
> Hi Waldo,
>
> It is a mapper setting.  Use actor->GetMapper()->BorderOn().
>
>  - David
>
>
> On Thu, Jul 30, 2015 at 11:22 AM, Waldo Valenzuela <
> waldo.valenzuela at hotmail.com> wrote:
>
>> Hi guys,
>>
>> I have a problem with the class vtkImageReslice. I created a 3D image  of
>> 7x7x7 voxels, and after apply the vtkImageReslice (I used the example of
>> VTK for this class), all the voxels that are in the borders of the image
>> are cut to the half, I loaded the same image in ITK-SNAP and the
>> visualisation is ok.
>>
>> I attached the example with the image, and the screenshot of ITK-SNAP and
>> the vtk application.
>>
>> How I could visualise the 2D image correctly?, I need additional
>> configuration to the filter?
>>
>> Any help is welcome.
>>
>> Cheers,
>>
>> Waldo
>>
>
> On Thu, Jul 30, 2015 at 11:22 AM, Waldo Valenzuela <
> waldo.valenzuela at hotmail.com> wrote:
>
>> Hi guys,
>>
>> I have a problem with the class vtkImageReslice. I created a 3D image  of
>> 7x7x7 voxels, and after apply the vtkImageReslice (I used the example of
>> VTK for this class), all the voxels that are in the borders of the image
>> are cut to the half, I loaded the same image in ITK-SNAP and the
>> visualisation is ok.
>>
>> I attached the example with the image, and the screenshot of ITK-SNAP and
>> the vtk application.
>>
>> How I could visualise the 2D image correctly?, I need additional
>> configuration to the filter?
>>
>> Any help is welcome.
>>
>> Cheers,
>>
>> Waldo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150731/39a96047/attachment.html>


More information about the vtkusers mailing list