[Insight-users] Overlay segmented binary image on vtkImageViewer2

Xiaopeng Yang yxp233 at postech.ac.kr
Thu Feb 17 08:21:28 EST 2011


You are right John. It indeed cost a lot of memory. Then you mentioned overlaying a color mask slice over a grayscale slice. Could you please tell me how you made it?

Thanks,
Yang

-----邮件原件-----
发件人: John Drescher [mailto:drescherjm at gmail.com] 
发送时间: 2011년 2월 17일 목요일 오후 9:59
收件人: Xiaopeng Yang
抄送: David Doria; insight-users at itk.org; vtk
主题: Re: [Insight-users] Overlay segmented binary image on vtkImageViewer2

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











More information about the Insight-users mailing list