cutterfnx Detail

Diagram of the cutterfnx

cutterfnx

Upon receiving a borderless image, cutterfnx goes to work separating the three images from each other. There is a fair amount of work that goes on inside of this function. First (a.) the darkest lines separating the three images are identified. From there the borders of the component images are identified based on that information. The top image would be the area from the top of the source to the first separator. The middle image would be the area between the two separators. And the bottom image would be from the second separator to the bottom of the image. Once these boundaries are identified, the actual image boundaries are found. Starting at the horizontal bounds (b.), the average value is taken for each line, working inwards. Once the average is above a threshold the edge of the image is found, and anything outside of this area is discarded. This process (c.) is done on the vertical edges of the image as well. As a safe guard, if one of the images is significantly smaller than the others, the threshold is lowered recursively until three proper sized images are found. These images have the majority, if not all of the black removed from around the edges. The three, separated images, are now ready to be aligned.



Close this window.