FIELD: physics, image processing.
SUBSTANCE: invention is related to the field of image processing and may be used to edit image, when dimensions, proportions and mutual location of most important objects are not violated. In method and system for adaptive reformatting of digital photos and images of documents, rule is selected for calculation of cost function for pixel depending on results of image analysis; cost and history maps are generated; image dimensions are varied by addition / removal of at least one found path with application of interpolation, using both horizontal and vertical paths. Horizontal path is the chain of connected pixels, in which initial pixel of path is located on the left border of image, the final pixel of path - on the right border of image. Number of pixels in path is equal to width of image in pixels. Vertical path is the chain of connected pixels, in which initial pixel is located at upper border of image, the final pixel of path - at lower border of image. Number of pixels in path is equal to height of image in pixels. Searching of path is carried out by minimisation of total cost of path pixels. Generation of cost and history maps is repeated, as well as stages of image size variation, until one of two results is achieved: required image size is obtained; total cost of path exceeds preset threshold.
EFFECT: higher quality of reformatted images.
9 cl, 23 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD FOR INTERPOLATION OF IMAGES | 2006 |
|
RU2310911C1 |
METHOD AND SUBSYSTEM OF DETERMINING DIGITAL IMAGES OF FRAGMENTS CONTAINING DOCUMENTS | 2016 |
|
RU2626661C1 |
METHOD OF ENHANCING DIGITAL IMAGE QUALITY | 2006 |
|
RU2400815C2 |
METHOD AND SYSTEM TO GENERATE ANIMATED IMAGE FOR PRELIMINARY REVIEW | 2009 |
|
RU2411585C1 |
WAY OF FORMING OF SYMBOLS FOR MICROPRINTING | 2008 |
|
RU2365510C1 |
METHOD AND SYSTEM FOR DETERMINING EXPANDED CONTOURS ON DIGITAL IMAGES | 2016 |
|
RU2628172C1 |
RECOGNITION QUALITY ENHANCEMENTS BY INCREASING IMAGE RESOLUTION | 2013 |
|
RU2538941C1 |
AUTOMATED DETERMINATION AND CUTTING OF NON-SINGULAR CONTOUR OF A PICTURE ON AN IMAGE | 2017 |
|
RU2680765C1 |
RECORDING AND CREATING STEREO IMAGES AND STEREO VIDEO IN REAL TIME USING MONOSCOPIC LOW-POWER MOBILE DEVICE | 2007 |
|
RU2417548C2 |
METHOD OF IMPROVING DISPARITY MAP AND DEVICE FOR REALISING SAID METHOD | 2008 |
|
RU2382406C1 |
Authors
Dates
2009-09-20—Published
2008-01-10—Filed