[Paraview] Making a certain color in an image transparent

David Pont David.Pont at scionresearch.com
Mon Nov 8 14:41:16 EST 2010


David,
  I'm pretty sure I got TIFF files to display with transparency a while back. The files were RGBA, ie included an alpha channel and I had masked out a background. Can you pre-process your images and add an alpha channel with 0 where you want transparency? You should be able to find or make a test image pretty fast to see if it works.

  regards, Dave


-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit
Sent: Tuesday, 9 November 2010 8:34 a.m.
To: David Doria
Cc: ParaView
Subject: Re: [Paraview] Making a certain color in an image transparent

Nope, it's not currently possible with ParaView.

On Mon, Nov 8, 2010 at 2:19 PM, David Doria <daviddoria at gmail.com> wrote:
> I want to make one color of an image (a traditional 2D image) totally
> transparent and leave the rest in tact. I have some mask files (white
> and green pixels) and I want only the green pixels to be displayed in
> ParaView. The white pixels should be transparent so I can see the
> original image in that region (when I also have it opened in
> ParaView).
>
> I can do it in VTK using vtkImageMapToColors with a vtkLookupTable
> (http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency) but is
> it possible in ParaView?
>
> Thanks,
>
> David
> _______________________________________________
> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
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 ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Disclaimer: This e-mail and any attachments may contain information which is confidential or subject to copyright. If you receive this e-mail in error, please delete it.
Scion does not accept responsibility for anything in this e-mail which is not provided in the  course of Scion's usual business or for any computer virus, data corruption, interference or delay arising from this e-mail.


More information about the ParaView mailing list