[vtkusers] Does vtkImageBlend or vtkAppendPolyData generate 3D / Volumetric representation of 2D Image Data or PolyData respectively

Cory Quammen cory.quammen at kitware.com
Tue Jul 21 14:18:24 EDT 2015


Well, let's see, it is failing to allocate a buffer of size 7.4 GB. On a 16
GB system, that seems plausible.

One of the difficulties with applying the vtkThreshold filter to a
vtkImageData is that the entire image is converted to a tetrahedral mesh
before the thresholding is applied. No doubt there is a more memory
efficient way to operate, but that is how things are implemented at the
moment.

If the object in your image occupies a relatively small portion of the
image, you could first try to extract just the volume in which the object
resides with vtkExtractVOI, then apply the vtkThreshold filter to the
output of vtkExtractVOI.

HTH,
Cory

On Tue, Jul 21, 2015 at 1:46 PM, Neel007 <sayanmaity.10 at gmail.com> wrote:

> Hi Cory,
>
> Thanks a lot for your reply.
>
> I have build VTK using CMake in Windows: Using 'Visual Studio 10 win 64'
> generator & also the Visual Studio project is configured in 'x64' Debug
> mode.
>
> Please let me know if I should check something else.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Does-vtkImageBlend-or-vtkAppendPolyData-generate-3D-Volumetric-representation-of-2D-Image-Data-or-Poy-tp5732834p5733022.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150721/c7c73e3a/attachment.html>


More information about the vtkusers mailing list