[vtkusers] Specify image subregion on which vtkImageMarchingCubes operates?

Karthik Krishnan karthik.krishnan at kitware.com
Sat Feb 25 01:13:30 EST 2012


(prior to the update of course..)

ie:
marchingCubes->GetOutput()->SetUpdateExtent( 10, 50, 10, 50, 10, 50 )
marchingCubes->Update();


On Sat, Feb 25, 2012 at 11:42 AM, Karthik Krishnan <
karthik.krishnan at kitware.com> wrote:

> Does setting the image update extent on the output of MC help. Something
> like ?
>
>   marchingCubes->GetOutput()->SetUpdateExtent( 10, 50, 10, 50, 10, 50 )
>
>
> On Fri, Feb 24, 2012 at 10:05 PM, Cory Quammen <cquammen at cs.unc.edu>wrote:
>
>> Hi all,
>>
>> I've looked at the VTK documentation and wiki examples, but couldn't
>> find an example of what I want to do.
>>
>> I'd like to generate an isocontour from a subregion of an image. I
>> could use a vtkExtractVOI to extract the subregion of interest, but
>> I'd like to avoid copying the image data. Is there a way to specify
>> the extent on which the vtkImageMarchingCubes filter operates on its
>> input?
>>
>> If there is an alternative that saves memory, I'd be happy to hear that
>> as well.
>>
>> Thanks in advance,
>> Cory
>>
>> --
>> Cory Quammen
>> Research Associate
>> Department of Computer Science
>> The University of North Carolina at Chapel Hill
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> --
> --
> karthik
>
>


-- 
--
karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120225/ea427f5c/attachment.htm>


More information about the vtkusers mailing list