[vtkusers] get vtkImageData point

Bill Lorensen bill.lorensen at gmail.com
Thu Oct 19 11:12:14 EDT 2017


Use
vtkImageData:: ComputeStructuredCoordinates

https://www.vtk.org/doc/nightly/html/classvtkImageData.html


On Thu, Oct 19, 2017 at 6:38 AM, arwtyxouymz <arw.tyx-ouy_mz at ezweb.ne.jp> wrote:
> Hi,
>
> I get the pixel value from x-y-z real-world coordinate.
> For getting pixel value, by vtkImageData Class Reference, GetScalarPoint is
> useful but its arguments are only int, i-j-k points of image.
>
> So I want to convert real-world x-y-z coordinate to image i-j-k points and
> get pixel value.
> If there is directory converting method, please tell me.
>
> Or
> I could convert x-y-z coordinate to vtkIdType by using FindPoint method.
> So, please tell me the method converting vtkIdType to image i-j-k points.
>
> Please help!
>
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list