Just returning to CV_64F. But without the histogram study and a comparison about the edge counts, not sure what result shows better count to a possible cut in the image.