changed exponent in IPF color mapping from 1/3 to 1/2 to get closer to TSL-OIM reference.

This commit is contained in:
Philip Eisenlohr 2013-12-09 18:57:38 +00:00
parent e4cea31a9d
commit 0e8fdaf59e
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ class Symmetry:
if color: # have to return color array
if inSST:
rgb = numpy.power(theComponents/numpy.linalg.norm(theComponents),0.3333333) # smoothen color ramps
rgb = numpy.power(theComponents/numpy.linalg.norm(theComponents),0.5) # smoothen color ramps
rgb = numpy.minimum(numpy.ones(3,'d'),rgb) # limit to maximum intensity
rgb /= max(rgb) # normalize to (HS)V = 1
else: