METHOD AND SYSTEM OF ADAPTIVE REFORMATTING OF DIGITAL IMAGE
First Claim
1. A system of adaptive reformatting of digital photos, which comprises a module to select a rule of calculation of function of value for a pixel, a generator of maps of values and history, a module to analyze the map of values and select a path, a module to add a path to an image, a module to remove a path from an image, a scaling module, a module to weaken the map of history, and a module to update the map of values,wherein an output of the module to select a rule of calculation of function of values for a pixel is connected with an input of the generator of maps of values and history, and also with an input of the module to update the map of values, an output of the generator of maps of values and history is connected with an input of the module to analyze the map of values and select a path, an output of the module to analyze the map of values and select a path is connected with inputs of the module to add a path to the image, of the module to remove a path from the image, and of the scaling module, outputs of the module to add a path to the image and of the module to remove a path from the image are connected with an input of the module to weaken the map of history, an output of the module to weaken the map of history is connected with an input of the module to update the map of values, and an output of the module to update the map of values is connected with an input of the module to analyze the map of values and select a path,wherein the module to select a rule of calculation of function of value for a pixel selects a rule of calculation of function of value for each pixel from a set of predetermined rules depending on information contained in the image,wherein the generator of maps of values and history generates an initial map of values and an initial map of history, using the selected rule,wherein the module to analyze the map of values and select a path determines at least one horizontal path from connected pixels, where an initial pixel of a path is on the left border of the image, a final pixel of the path is on the right border of the image, and the quantity of pixels in the path is equal to the width of the image of pixels, and also determines at least one vertical path from connected pixels, where an initial pixel of a path is on the top border of the image, a final pixel of the path is on the bottom border of the image, and the quantity of pixels in a path is equal to the height of the image of pixels, and if a sum of pixel values of all found paths is greater than or equal to a predetermined threshold, the image is transferred to the scaling module, and if the sum is less than the predetermined value, the image and the maps of values and history are transferred to the module to add a path to the image or the module to remove a path from the image depending on a current and required ratio of the sides of the image,wherein the module to add a path to the image increases the current image by adding the least one found path to the image using interpolation for several nearest pixels,wherein the module to remove a path from the image reduces the current image by removing the least one found path from the image,wherein the module to weaken the map of history reduces the values in the map of history, which correspond to environment of pixels of paths removed or added earlier,wherein the module to update the map of value recalculates a map of values, using the previously selected rule and map of history.
2 Assignments
0 Petitions
Accused Products
Abstract
Method and system of adaptive reformatting of digital photos and document image. The method includes selecting a rule of calculation of function of value for a pixel depending on results of analyzing an image, generating a map of value and a map of history, changing a size of the image by adding/removing at least one found path by means of interpolation, and repeating generation of the maps of values and history and change of a size of the image until a demanded size of the image is received or a sum of path values exceeds a predetermined threshold.
49 Citations
21 Claims
-
1. A system of adaptive reformatting of digital photos, which comprises a module to select a rule of calculation of function of value for a pixel, a generator of maps of values and history, a module to analyze the map of values and select a path, a module to add a path to an image, a module to remove a path from an image, a scaling module, a module to weaken the map of history, and a module to update the map of values,
wherein an output of the module to select a rule of calculation of function of values for a pixel is connected with an input of the generator of maps of values and history, and also with an input of the module to update the map of values, an output of the generator of maps of values and history is connected with an input of the module to analyze the map of values and select a path, an output of the module to analyze the map of values and select a path is connected with inputs of the module to add a path to the image, of the module to remove a path from the image, and of the scaling module, outputs of the module to add a path to the image and of the module to remove a path from the image are connected with an input of the module to weaken the map of history, an output of the module to weaken the map of history is connected with an input of the module to update the map of values, and an output of the module to update the map of values is connected with an input of the module to analyze the map of values and select a path, wherein the module to select a rule of calculation of function of value for a pixel selects a rule of calculation of function of value for each pixel from a set of predetermined rules depending on information contained in the image, wherein the generator of maps of values and history generates an initial map of values and an initial map of history, using the selected rule, wherein the module to analyze the map of values and select a path determines at least one horizontal path from connected pixels, where an initial pixel of a path is on the left border of the image, a final pixel of the path is on the right border of the image, and the quantity of pixels in the path is equal to the width of the image of pixels, and also determines at least one vertical path from connected pixels, where an initial pixel of a path is on the top border of the image, a final pixel of the path is on the bottom border of the image, and the quantity of pixels in a path is equal to the height of the image of pixels, and if a sum of pixel values of all found paths is greater than or equal to a predetermined threshold, the image is transferred to the scaling module, and if the sum is less than the predetermined value, the image and the maps of values and history are transferred to the module to add a path to the image or the module to remove a path from the image depending on a current and required ratio of the sides of the image, wherein the module to add a path to the image increases the current image by adding the least one found path to the image using interpolation for several nearest pixels, wherein the module to remove a path from the image reduces the current image by removing the least one found path from the image, wherein the module to weaken the map of history reduces the values in the map of history, which correspond to environment of pixels of paths removed or added earlier, wherein the module to update the map of value recalculates a map of values, using the previously selected rule and map of history.
-
2. A method of adaptive reformatting of digital photos and document images, the method comprising:
-
selecting a rule of calculation of function of value for a pixel depending on results of analyzing an image; generating a map of value and a map of history; changing a size of the image by adding/removing at least one found path by means of interpolation, wherein both of horizontal and vertical paths are used, and the horizontal path is a chain of the connected pixels where an initial pixel of the horizontal path is on the left border of the image, a final pixel of the horizontal path is on the right border of the image, and the quantity of pixels in the horizontal path is equal to the width of the image of pixels, whereas the vertical path is a chain of the connected pixels where an initial pixel of the vertical path is on the top border of the image, a final pixel of the vertical path is on the bottom border of the image, and the quantity of pixels in the vertical path is equal to the height of the image of pixels, and search for the path is executed by means of minimization of a sum of pixel values of the path; and repeating generation of the maps of values and history and change of a size of the image until a demanded size of the image is achieved or the sum of path values exceeds a predetermined threshold. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 21)
-
-
10. An image forming apparatus comprising:
-
a module to select a rule of calculation of function of value for a pixel from a set of predetermined rules depending on information contained in an image; a generator to generate an initial map of values and an initial map of history, using the selected rule; a module to search at least one horizontal or vertical path with a minimum sum of values by analyzing the initial map of values; and a module to change a size of the image by adding or removing a path to or from the image using the searched path. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification