Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cpmorphology shape broadcast error #324
Error doing grayscale erosion in Morph open operation:
Traceback (most recent call last):
The image was color with all 3 channels being the same. I made Morph do a gentle color -> gray (warns user if it's color, but converts to gray anyway, and from there, possibly it converts to binary for things like skeletonize).
The work-around for the user is to do the color to gray explicitly in the pipeline.