Grid normalisation
I want to normalise the existing values in grid to 0-1
i use the equation in grid math:
G0 = (G1 - min(G1)) / (max(G1) - min(G1))
I also tried this
G0 = (G1 - min(G1, G1)) / (max(G1, G1) - min(G1, G1))
But both do not work.
please advice how to write the equation in grid math.
Answers
-
I think it should be
G0 = (G1 - G1.min)/(G1.max - G1.min)
0 -
it does not work.
its asking me to assign grids for g1.min and g1.max0 -
Interesting. I would report it as a bug to support.
0 -
i guess i understand you - you mean insert exact values for min and max?
i want grid math to insert these values automatically from grid or this is not possible?0 -
No, I was trying to use the syntax for the min and max function that is described in the help. I just tried it and it worked.
The stats of the output grid norm are between 0 and 1
Not sure why it doesn't work on your OM installation. That is why I suggested that you report it is a bug.
Sean
6
Categories
- All Categories
- Community
- 16 Latest Releases
- 15 Member Spotlight
- 38 Learning
- Products
- Geology
- 535 Leapfrog
- 1 Volsung
- 25 Visible Geology
- Data Management & Collaboration
- 14 MX Deposit
- 13 Central
- 9 Imago
- Geotechnical
- 136 GeoStudio
- Geophysics
- 319 Oasis montaj
- 1 Workbench
- SPIA
- 9 Res2DInv & Res3DInv
- 3 Evo
- 25 GX Developer


