Patent Document ID: 8368965
Application ID: 12908600
Patent Status: 1

Claim One:
1. An image cropping process of a multifunction peripheral, said multifunction peripheral being configured to scan a document to acquire an original image and print said original image, said original image comprising an object image, said original image being segmented into plural band images, each of said band images comprising plural line images, said image cropping process comprising steps of: (A) reading a band image of said original image; (B) judging whether a top edge endpoint coordinate of said object image is included in said read band image by sub-steps of: (B1) searching a first line image containing said object image from said read band image, and calculating two object endpoint coordinates of said first line image containing said object image; (B2) successively judging whether all of next plural line images of said first line image contain said two object endpoint coordinates; (B3) judging whether a width between two object endpoint coordinates of at least one line image of said next plural line images is greater than a preset width value, wherein if all of said judging conditions of said steps (B1), (B2) and (B3) are satisfied, each of said two object endpoint coordinates of said first line image is determined as said top edge endpoint coordinate, wherein if one of said judging conditions of said steps (B1), (B2) and (B3) is unsatisfied, said steps (A) and (B) are repeatedly performed until said top edge endpoint coordinate is determined; (C) calculating object endpoint coordinates of all line images following said plural line images of said band image; (D) outputting said object endpoint coordinate having the minimum X-axis coordinate value and said object endpoint coordinate having the maximum X-axis coordinate value among all object endpoint coordinates of said band image; (E) receiving said object endpoint coordinates outputted in said step (D) for further performing a printing processing operation; (F) reading a next band image, and searching all object endpoint coordinates of all line images of said next band image; (G) outputting said object endpoint coordinate having the minimum X-axis coordinate value and said object endpoint coordinate having the maximum X-axis coordinate value among all object endpoint coordinates of said next band image; (H) receiving said object endpoint coordinates outputted in said step (H) for further performing said printing processing operation; and (I) repeatedly performing said steps (F), (G) and (H).