[vtkusers] [Insight-users] Overlay segmented binary image on vtkImageViewer2
Karthik Krishnan
karthik.krishnan at kitware.com
Thu Feb 17 08:02:45 EST 2011
You need to update just the slice extent and it should be razor fast, not
blend the whole image.
Take a look at the paintbrush widgets in VTKEdge. They do pretty much all of
what you are asking for and more. There's ample documentation and plenty of
tests to help you get started.
On Thu, Feb 17, 2011 at 6:29 PM, John Drescher <drescherjm at gmail.com> wrote:
> On Thu, Feb 17, 2011 at 7:40 AM, Xiaopeng Yang <yxp233 at postech.ac.kr>
> wrote:
> >
> > Wow, that’s a great project! But it is hard for me to understand it. I
> applied vtkImageBlend to combine the original and mask images. That’s a
> pretty easy way for me. But I cannot change the mask image color. Do you
> have any idea to change the mask image color?
> >
> >
> Is that fast enough for you? When I wrote my CT Viewer 2 years ago
> using a vtkImageBlend to blend a mask image with my CT data sets ended
> up taking a ridiculously large amount of memory (800+ MB per view
> axial, coronal,sagittal) and had a 20 to 60 second setup time.
> Overlaying a color mask slice over a grayscale slice was my solution
> and that was instant.
>
> John
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110217/76efb60e/attachment.htm>
More information about the vtkusers
mailing list