Usage: matchrect in.pgm connex [rounded|axis] out.pgm
Description: Matches (rounded) rectangles to the contours of objects. Objects are connected components according to the connectivity given by connex . Option rounded is used to match rounded rectangles. Option axis is used to output only the big axis of the matched rectangle.
Types supported: byte 2D
Category: