Hello Please keep the ML in the cc so everyone can provide.
You should be able to do that in the python shell. Views->Python Shell s = GetActiveSource() r=Show(s) l=r.LookupTable l.RGBPoints Best, Mathieu Westphal On Thu, Apr 12, 2018 at 3:14 PM, Andrei Cimpoeru < [email protected]> wrote: > Dear Mathieu, > > Please see the attached picture. I think that I can see a way to get back > to the original data. Is there a change to access the table with the *Color > Transfer Function Values?* > > Cheers, > > Andrei > > On Thu, Apr 12, 2018 at 2:10 PM, Mathieu Westphal < > [email protected]> wrote: > >> Dear Andrei >> >> There is no way to guess the pressure values with only the RGB data. One >> can only guess the range and the color map used for generating the image. >> You will need to find the original data. >> >> Best, >> >> Mathieu Westphal >> >> On Thu, Apr 12, 2018 at 2:59 PM, Andrei Cimpoeru < >> [email protected]> wrote: >> >>> >>> Hi Mathieu, >>> >>> Thanks for getting back to me. Let's say that I have the image below >>> (attached). If you load it in Paraview you have a vector field of PNG >>> consisting of RGB values. How do I turn these values back to pressure. >>> I am interested in this because I want to map the RGB colors back to >>> pressure field. Is there any way to this using vtk-python? >>> >>> Cheers, >>> >>> Andrei >>> >>> >>> >>> On Thu, Apr 12, 2018 at 12:00 PM, Mathieu Westphal < >>> [email protected]> wrote: >>> >>>> Dear Andrei, >>>> >>>> I'm not sure to follow what your are trying to achieve. Please explain >>>> again. >>>> >>>> In any case, the mapping between the pressure and the RGB values you >>>> see in paraview is controlled by >>>> the Color Map Editor and the range of the data. All these tools are >>>> accessible in the Toolbar visible in the attached image, I've highligthed >>>> the Color Editor button. >>>> >>>> Best regards, >>>> >>>> >>>> Mathieu Westphal >>>> >>>> On Thu, Apr 12, 2018 at 12:28 PM, Andrei Cimpoeru < >>>> [email protected]> wrote: >>>> >>>>> Hi , >>>>> >>>>> I am currently working with Paraview and deep learning models. I have >>>>> created a set of images (.png) using Paraview. The images are related to >>>>> the pressure field around a wing. When I load images back to Paraview all >>>>> I >>>>> can visualise are the RGB values. >>>>> *When the image are exported from Paraview the pressure field is >>>>> transferred into RGB values. Is there a way to obtain the function that >>>>> does that?* >>>>> Instead of exporting to .png a data format that I like is the .vti. >>>>> This format keep the current information about pressure, velocity, mach >>>>> number etc. Is there something that I could export a slice to .vti? >>>>> >>>>> Many thanks and I am looking forward to hear from you. >>>>> >>>>> Cheers, >>>>> >>>>> Andrei >>>>> >>>>> >>>>> >>>>> -- >>>>> *Andrei Cimpoeru* // CFD Engineer >>>>> >>>>> >>>>> <https://cfms.org.uk/news-events/events/2018/july/farnborough-international-airshow-2018/> >>>>> >>>>> *e: *[email protected] *t*: 0117 906 1106 *w: * >>>>> www.cfms.org.uk >>>>> CFMS Services Ltd // Bristol & Bath Science Park // Dirac Crescent // >>>>> Emersons >>>>> Green // Bristol // BS16 7FR >>>>> >>>>> CFMS Services Ltd is registered in England and Wales No 05742022 - a >>>>> subsidiary of CFMS Ltd >>>>> CFMS Services Ltd registered office // 43 Queens Square // Bristol // >>>>> BS1 4QP >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> https://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>> >>> >>> -- >>> *Andrei Cimpoeru* // CFD Engineer >>> >>> >>> <https://cfms.org.uk/news-events/events/2018/july/farnborough-international-airshow-2018/> >>> >>> *e: *[email protected] *t*: 0117 906 1106 *w: * >>> www.cfms.org.uk >>> CFMS Services Ltd // Bristol & Bath Science Park // Dirac Crescent // >>> Emersons >>> Green // Bristol // BS16 7FR >>> >>> CFMS Services Ltd is registered in England and Wales No 05742022 - a >>> subsidiary of CFMS Ltd >>> CFMS Services Ltd registered office // 43 Queens Square // Bristol // >>> BS1 4QP >>> >> >> > > > -- > *Andrei Cimpoeru* // CFD Engineer > > > <https://cfms.org.uk/news-events/events/2018/july/farnborough-international-airshow-2018/> > > *e: *[email protected] *t*: 0117 906 1106 *w: * > www.cfms.org.uk > CFMS Services Ltd // Bristol & Bath Science Park // Dirac Crescent // Emersons > Green // Bristol // BS16 7FR > > CFMS Services Ltd is registered in England and Wales No 05742022 - a > subsidiary of CFMS Ltd > CFMS Services Ltd registered office // 43 Queens Square // Bristol // BS1 > 4QP >
_______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
