thank you! I am a little confused as to why the displayed image has its coloring all messed up…
edit: Ok the method does no scaling by default and so I have to rescale the 8bit image to the range (0,1)