This Nuke plugin remaps channel values to
fit between a min and a max value.
oldMin = what is considered to be the lowest value
oldMax = what is considered to be the highest value
newMin = the new values will go down towards this min value
newMax = the new values will go up towards this max value
Source code included.
Compiled for Nuke7.0.5->linux64
Enjoy and drop me a line if you have any questions.