Such a regional image, I want to find out the regional minimum and maximum width, implemented with a split, but limited to nearly rectangular strip, members of the opposite sex is not practical, what other way can be implemented? Use measuring operator, is probably what I use is not good, want to use too much loop, if you can turn this area into the lower edge of the a level, on the edge of the uneven area can also, but don't know how to turn, with which operator,
CodePudding user response:
Distance_transformCodePudding user response:
Hello, I want to have to deal with image of similar with you, but I'm more simple, two approximate line is detected in an image contour line, want to two line spacing, and don't know what to use the method, which operator to implementation, operation or use, refer to you,CodePudding user response:
With the distance between the contour, I has been to convert one into lattice, with the contours of the point-to-point distance, so that we can know the distance, also can know is the distance from the center of the coordinates