chickadee » leptonica » pix-close-gray

pix-close-gray pix h-size v-sizeprocedure

h-size and v-size must be odd values: they denote the size of gray block to find. Returns a pointer to a new pix, based on the given pix, removing parts that do not fit a h-size x v-size block.