|
[Sponsors] |
August 16, 2016, 07:45 |
Color does not match scalar data
|
#1 |
New Member
Christian Valdemar Hansen
Join Date: Aug 2016
Posts: 1
Rep Power: 0 |
Hi.
I do simulations on objects from images. I would like to put my simulation "back on an image". Such that the scalar values from the simulation (range 0-255 - could be decimals) correspond to the pixel value in the final animation. The screenshot illustrates my problem. At the point where I have a scalar value 222 (see the cursor) the RGB colours are (174,171,165) (see window upper right corner), where I expected it to be approximately (222,222,222). (With the shown setting the pixel value seems always to be 25% lower than the scalar value) I've tried to play with the opacity, lighting, different colours (like only one color channel), other presets and so one. But I cannot find a correct setting for this. Do anyone have any ideas on how to do this? Thank you. Screenshot.jpg EDIT: It seems like it is the opportunity to adjust the lighting, that kind of decrease the colour range from 0-255 to a smaller range, which only spans a range of size approx. 200. Do anyone know how to deactivate the lighting/specular? |
|
April 1, 2021, 13:43 |
|
#2 |
New Member
Johannes Schneider
Join Date: Mar 2021
Posts: 3
Rep Power: 5 |
Hello Christian,
in case this is still relevant for anyone. Paraview adds a light effect for 3D objects, this changes the brightness of some areas. You can turn it off by opening View > Light Inspector and unticking the box Light Kit. |
|
Tags |
exact colouring, transfer function |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 21:06 |
Reading a list of scalar data as a constant source term in the governing equation | Lewis Liang | OpenFOAM Programming & Development | 2 | August 9, 2018 04:24 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
Saving scalar data into a user file | Julie | Siemens | 5 | October 26, 2004 02:43 |