Post

3 followers Follow
0
Avatar

Maximum Intensity Projection

Hello,

I wonder if there is any way to do a maximum intensity projection with a 3d Dataset in Ensight. Anybody can point out to me where if and where that option is?

Cheers

Moritz Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Hi Moritz,

In the calculator function, you have the functions Radiograph_grid and Radiograph_mesh that give you the integration of a variable along a ray cast. In your case, you want to get the Max. of a variable, not its integrated value. This is possible in EnSight version 10.1.X, not in prior versions. To do this, define the environmental variable ENSIGHT_RADIOGRAPH_OPTION to 2. Then, open EnSight. Now the Radiograph functions will return the max. value instead of the integrated value of the variable (if you set it to 1, they'll return the min. value).

Note that the Radiographic functions are quite computationally slow. You might want to try this first using the Radiographic_grid function with a small number of points to sample, to check if the result is what you'd expect before doing the entire correct calculation. See The Help -> User Manual -> ch. 7.3 for the details on these functions.

Let us know if you have more questions or need more instructions on this.
Bests,

Marina

Marina Galvagni 0 votes
0
Avatar

Hey Mariana,
thanks a lot for the quick reply. I am relatively new to Ensight so I would need some more help.
Where can I set environmental variables?
I tried to run the Radiograh_grid calculation with a 3D Volume (Element) as Variable input. 1,2,3 as input for x,y,z directions.
However, when pressing the evaluate button I get the message " An error was encountered processing the expression". Do you have any idea what I could be doing wrong?

Thanks a lot!

Moritz 0 votes
0
Avatar

Moritz,

You need to set the environmental variable outside of EnSight, before opening it - for more details on environmental variables: https://en.wikipedia.org/wiki/Environment_variable

You will also need to use the Radiograph_grid on a 2D part, not the 3D volume. You can create a clip of the 3D volume and apply on it the Radiograph_grid.

At this link:

https://www.transferbigfiles.com/29817744-8960-4dab-ad81-be3c71e7aeac/gcibGr9L0N-R40h-D9cODw2

you can find a screenshot movie that shows you the steps to perform on a Windows machine. If you're on Linux, then the syntax for setting the env. variable will be different. I am also adding some settings in the palette editor to improve the final visualization.

Hope this helps - let me know if you have questions.

Marina

Marina Galvagni 0 votes