I'm using this tutorial http://pythonvision.org/basic-tutorial
However when I pass a png image:
T = mahotas.thresholding.otsu(dna)
I get an error:
TypeError: mahotas.otsu: This function only accepts integer types (passed array of type float32)
Does anyone have exp. w/this issue? Thanks!