In some examples, a computing device can define a marked area of an image of analog imagery captured by the computing device, separate the analog imagery of the image from a background of the image, and generate a small vector image that includes the analog imagery of the image.
|
1. A computing device, comprising:
a processing resource; and
a memory resource storing machine readable instructions to cause the processing resource to:
capture an image of a substrate;
define a marked area of the image of the substrate as analog imagery, wherein the analog imagery includes markings that are drawn on the substrate;
separate the analog imagery of the image from a background of the image; and
generate a small vector image that includes the analog imagery of the image; and
display the small vector image over a graphical image such that the graphical image is viewable through a background of the small vector image, wherein the small vector image comprises a plurality of geometric objects to form the analog imagery.
7. A non-transitory machine readable storage medium having stored thereon machine readable instructions to cause a processing resource to:
capture an image from a substrate that includes analog imagery on a background of the substrate, wherein the analog imagery includes markings that are drawn on the substrate and the background includes the substrate surrounding the analog imagery;
separate the analog imagery from the background of the image, wherein the analog imagery is above a contrast threshold value and the background is below the contrast threshold value;
generate a small vector image that includes an image portion of the analog imagery and a transparent portion of the background, wherein the small vector image comprises a plurality of geometric objects to form the analog imagery;
position the small vector image into a digital image file, wherein the digital image file is visibly displayed through the transparent portion of the background; and
display the small vector image over a graphical image of the digital image file such that the graphical image is viewable through the background of the small vector image.
10. A method, comprising:
capturing a first image from a first substrate that includes analog imagery on the first substrate and a background of the first substrate surrounding the analog imagery on the first substrate, wherein the analog imagery includes markings that are drawn on the first substrate;
generating a first small vector image that includes the analog imagery of the first image, wherein the first small vector image comprises a plurality of geometric objects to form the analog imagery drawn on the first substrate;
capturing a second image from a second substrate that includes analog imagery on the second substrate and a background of the second substrate surrounding the analog imagery of the second substrate, wherein the analog imagery includes markings that are drawn on the second substrate;
generating a second small vector image over the first small vector image that includes the analog imagery of the second image; and
displaying the second small vector image over a graphical image such that the graphical image is viewable through a background of the second small vector image, wherein the second small vector image comprises a plurality of geometric objects to form the analog imagery drawn on the second substrate.
2. The computing device of
3. The computing device of
4. The computing device of
5. The computing device of
identify a first color that corresponds to a first portion of the analog imagery and a second color that corresponds to a second portion of the analog imagery;
select a third color for the background of the image; and
generate the small vector image to include the first portion of the analog imagery in the first color, the second portion of the analog imagery in the second color, and the background of the image in the third color.
6. The computing device of
8. The medium of
9. The medium of
11. The method of
12. The method of
13. The method of
14. The method of
|
Vector graphics can utilize shapes to represent images in some computer graphics. Vector graphics can be based on vectors, which lead through locations that can be referred to as control points or nodes. Vector graphics can comprise a plurality of paths along an x-axis and a y-axis of an image. The plurality of paths can be assigned various attributes such as stroke, color, shape, curve, thickness, and/or fill.
Small vector images (e.g., stickers, digital stickers, etc.) can be vector graphics that can be displayed on a display of a computing device. As used herein, small vector images can comprise a plurality of geometric objects to form analog imagery and/or a background of an image. In some examples, the small vector images can be positioned on other graphical images (e.g., pictures, text, etc.) via the display of the computing device. The small vector images can be stored in a database or by an application of the computing device. For example, a sticker application or signature application can be utilized to store a plurality of small vector images that can be positioned within or on other graphical images or documents displayed on the display of the computing device.
In some examples, the small vector images can be downloaded and/or purchased via the computing device and stored by an application. In some examples, the application can be an image editing application that can be utilized to edit a graphical image. In these examples, the image editing application can include a sticker application that can include a plurality of small vector images that can be added, adjusted, and/or positioned on a selected graphical image.
Small vector image generation as described herein can include generating custom small vector images from images. In some examples, the small vector image generation can include capturing an image from a substrate via a camera. For example, an image of a drawing on a piece of paper can be captured by a camera of a mobile computing device. In this example, the image can be utilized to generate a custom small vector image. In this example, the generated small vector image can be stored by an application with other small vector images downloaded or purchased by a user of the mobile computing device. In this way a mobile computing device can generate custom small vector images that can be stored and/or positioned within or on other graphical images,
Processing resource 104 may be a central processing unit (CPU), a semiconductor based microprocessor, and/or other hardware devices suitable for retrieval and execution of machine-readable instructions 108, 110, 112 stored in a memory resource 106. Processing resource 104 may fetch, decode, and execute instructions 108, 110, 112. As an alternative or in addition to retrieving and executing instructions 108, 110, 112 processing resource 104 may include a plurality of electronic circuits that include electronic components for performing the functionality of instructions 108, 110, 112.
Memory resource 106 may be any electronic, magnetic, optical, or other physical storage device that stores executable instructions 108, 110, 112 and/or data. Thus, memory resource 106 may be, for example, Random Access Memory (RAM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a storage drive, an optical disc, and the like, Memory resource 106 may be disposed within the computing device 102, as shown in
Processing resource 104 may execute define a marked area instructions 108 stored in memory resource 106 to define a marked area (e.g., area with markings, border of the image, etc.) of an image of analog imagery captured by the computing device 102. As used herein, analog imagery can, for example, include images, marks, text, and/or shapes on a substrate. For example, the analog imagery can be a drawing of an image and/or text on a piece of paper. In this example, the analog imagery can be captured by a camera (e.g., digital camera, etc.) coupled to the computing device 102.
In some examples, defining a marked area of the image can include defining an area of the image that includes the analog imagery and surrounding background. For example, defining a marked area can include determining a portion of an image to be utilized for generating a small vector image. In this example, defining the marked area can include selecting an area surrounding the analog imagery captured by the camera.
Processing resource 104 may execute separate instructions 110 stored in memory resource 106 to separate the analog imagery of the image from a background of the image. As described herein, the analog imagery can include images and/or text that is printed or drawn on a substrate such as paper. In some examples, the instructions 110 can separate the analog imagery from the substrate. For example, the analog imagery can be a drawing on a piece of paper. In this example, the instructions 110 can separate the drawing portions of the image from the paper background.
In some examples, the separating the analog imagery of the image from the background of the image can include utilizing a contrast threshold value to distinguish between the analog imagery and the background. In some examples, the contrast threshold value can be utilized by determining that the analog imagery is above a contrast threshold value and the background is below the contrast threshold value when the analog imagery is on a relatively light background compared to the analog imagery. For example, the analog imagery can be markings (e.g., pen markings, pencil markings, paint markings, etc.) drawn on a white paper. In this example, the markings would have a relatively high contrast and the white paper would have a relatively low contrast. In this example, a contrast threshold between the markings and the white paper can be utilized to separate the markings (e.g., analog imagery) from the white paper (e.g., background).
Processing resource 104 may execute generate a small vector image instructions 112 stored in memory resource 106 to generate a small vector image that includes the analog imagery of the image. In some examples, the small vector image can include the analog imagery and not include the background of the image. For example, the background of the image can be separated from the analog imagery and removed prior to generating the small vector image. In some examples, the background of the image can be made transparent. As used herein, a transparent background allows objects behind the background to be viewed without obstruction. For example, a small vector image can include a filled in circle with a transparent background. In this example, the small vector image can be placed on a graphical image that is displayed on a display of the computing device 102. In this example, the filled in circle can cover up a portion of the graphical image and the transparent background can show the graphical image “behind” the background.
In some examples, the generated small vector image can be stored by a small vector image application or signature application. For example, the captured image can be a signature that was written on paper. In this example, the generated small vector image can include signature (e.g., analog imagery) with a transparent background. The small vector image in this example can be stored in a signature application and retrieved when the signature application is opened with a graphical image. In this example, the small vector image of the signature can be positioned on a signature line of an image of a document (e.g., contract, etc.).
In some examples, the computing device 102 can identify a first color that corresponds to a first portion of the analog imagery and a second color that corresponds to a second portion of the analog imagery. For example, the analog imagery of the image can include a first portion that is a first color and a second portion that is a second color. In some examples, the computing device 102 can identify that a plurality of colors exist within the image and determine a corresponding color for each of the plurality of colors. For example, the computing device can identify that a first portion of the image is a first color that is blue and a second portion of the image is a second color that is magenta. In this example, the computing device 102 can determine a corresponding color for the first color to be black and a corresponding color for the second color to be red. In this example, the generated small vector image can be generated such that the first portion of the image is black and the second portion of the image is red.
In some examples, the computing device 102 can determine and/or select a color for the background of the image. As described herein, the background of the image can be transparent. However, in some examples, the background can be a particular color. In some examples, the particular color of the background can be determined and/or selected based on the corresponding colors utilized when generating the small vector image. For example, when relatively lighter colors are utilized as corresponding colors, a relatively darker color can be selected for the background color. In another example, when relatively darker colors are utilized as corresponding colors, a relatively lighter or transparent background can be selected.
In some examples, the computing device 102 can determine a pixel tolerance level for the small vector image that identifies a variation of color values between the analog imagery and the background. As used herein, a pixel tolerance level can be a threshold quantity of dead pixels between the analog imagery and the background of the image. As used herein, dead pixels are pixels that are not representative of the correct color or detail. For example, the pixel tolerance level can be adjusted so that relatively lighter marks and relatively darker marks of the same image can each be accepted or represented as analog imagery instead of the background.
In some examples, the computing device 102 can capture a plurality of images and generate a plurality of small vector images. In some examples, the plurality of small vector images can be layered on top of each other to generate a single small vector image that includes the plurality of small vector images. In some examples, each of the plurality of small vector images can be a different color and when layered with other small vector images can generate a small vector images that includes a plurality of colors. This process is described further in reference to
As described herein, the computing device 102 can utilize a camera to capture images of a substrate that includes analog imagery and generate small vector images of the analog imagery and/or background. This can allow the computing device 102 to generate custom small vector images that can be stored and/or utilized by other applications on the computing device 102.
Processing resource 204 may be a central processing unit (CPU), a semiconductor based microprocessor, and/or other hardware devices suitable for retrieval and execution of machine-readable instructions 222, 224, 226, 228 stored in a memory resource 206, Processing resource 204 may fetch, decode, and execute instructions 222, 224, 226, 228. As an alternative or in addition to retrieving and executing instructions 222, 224, 226, 228 processing resource 204 may include a plurality of electronic circuits that include electronic components for performing the functionality of instructions 222, 224, 226, 228.
Memory resource 206 may be any electronic, magnetic, optical, or other physical storage device that stores executable instructions 222, 224, 226, 228 and/or data, Thus, memory resource 206 may be, for example, Random Access Memory (RAM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a storage drive, an optical disc, and the like. Memory resource 206 may be disposed within a device. Additionally, and/or alternatively, memory resource 206 may be a portable, external or remote storage medium, for example, that allows the system 220 to download the instructions 222, 224, 226, 228 the portable/external/remote storage medium.
Processing resource 204 may execute capture instructions 222 stored in memory resource 206 to capture an image from a substrate that includes analog imagery and a background. In some examples, the system 220 can include a digital camera or other image capturing device to capture an image that is on a substrate. For example, capturing the image can include taking a picture of a drawing or text drawn on paper. In this example, the digital camera can include marks (e.g., analog imagery, image, shapes, text, etc.) on a substrate and a background that surrounds the marks.
Processing resource 204 may execute separate instructions 224 stored in memory resource 206 to separate the analog imagery from the background, wherein the analog imagery is above a contrast threshold value and the background is below the contrast threshold level. As described herein, the analog imagery of the image can be separated from the background of the image. In some examples, the contrast threshold value can be utilized to determine the analog imagery portion of the image and determine the background portion of the image. In some examples, the analog imagery portion and the background portion of the image can be separated and utilized to generate the small vector image as described herein.
Processing resource 204 may execute generate a small vector image instructions 226 stored in memory resource 206 to generate a small vector image that includes an image portion of the analog imagery and a transparent portion of the background. As described herein, a small vector image can be generated by removing the background from the analog imagery such that the analog imagery is a first color and the background is a second color. For example, the analog imagery can be displayed as black in the small vector image and the background can be transparent such that images can be viewed behind the background portion.
Processing resource 204 may execute position instructions 228 stored in memory resource 206 to position the small vector image into a digital image file, wherein the digital image file is visibly displayed through the transparent portion of the background. As described herein, a generated small vector image can be utilized by an application for editing or modifying digital image files. For example, the generated small vector image can be imported or positioned on top of a digital image file. In this example, the analog imagery can block a portion of the digital image file and the background can allow the digital image to be viewed behind the background.
In some examples, the system 220 can display the analog imagery and the background on a display and receive a positioning input to alter a position of the analog imagery on the display. For example, the small vector image can be positioned over a digital image file displayed on the display. In this example, a received input from a user or other device can alter a position of the small vector image via a positioning input. As used herein, a positioning input can include an input to instruct the system to alter a position of the generated small vector image.
In some examples, the system 220 can inverse a color of the analog imagery and the background of the generated small vector image. For example, a first color of the image portion and a second color of the transparent portion can be invisible to replace the image portion of the analog imagery to the second color and the transparent portion of the background to the first color. In another example, the analog imagery portion of the generated small vector image can be black and the background can be transparent. In this example, the system 220 can receive instructions or an input to inverse the colors. In this example, the system 220 can generate an additional small vector image where the analog imagery portion is transparent and the background portion is black.
At 332 the method 330 can include capturing a first image from a first substrate that includes analog imagery and a background. As described herein, a camera can be utilized to capture the first image. In some examples, the first image can be a first type of image or analog imagery. In some examples, the first image can be a portion of a complete image. For example, the first image can be a first portion of the analog imagery that is a first color. In this example, the complete image can be an image that includes a plurality of colors including the first color.
At 334 the method 330 can include generating a first small vector image that includes the analog imagery of the first image. As described herein, the first small vector image can be generated by separating the analog imagery from the background and generating a small vector image of the analog imagery. In some examples, the first small vector image can be displayed in a user interface on a display of a mobile device or computing device.
At 336 the method 330 can include capturing a second image from a second substrate that includes analog imagery and a background. In some examples, the second image from the second substrate can be captured by a camera in a similar manner as the first image. In some examples, the second image can be a second type of image or analog imagery. In some examples, the second image can be a portion of the complete image. For example, the second image can be a second portion of the analog imagery that is a second color.
At 338 the method 330 can include generating a second small vector image over the first small vector image that includes the analog imagery of the second image. In some examples, the second small vector image can be generated by separating the analog imagery from the background of the second image. In some examples, the generated second small vector image can be displayed in the user interface on the display of the mobile device or computing device. In some examples, the second small vector image can be positioned within the same user interface on the display as the first small vector image. In some examples, the first small vector image and the second small vector image can be positioned within the user interface at a particular position. In some examples, the method 330 can include generating a third small vector image that includes the first small vector image and the second small vector image at a defined position within the user interface.
In some examples, the method 330 can be utilized to generate a small vector image with a plurality of colors. For example, a first vector image that includes a first color and a second vector image that includes a second color can be combined to generate a small vector image that includes the first color and the second color. In some examples, the method 330 can include altering a position of the second small vector image within a border of the first small vector image. For example, the border of the user interface can be a border of the first small vector image and a position of the second small vector image can be altered within the user interface and/or the border of the first small vector.
In some examples, the image 442 can be an image captured by a camera as described herein. For example, a mobile device with an integrated camera can take a picture of a piece of paper with an image to generate the image 442. In some examples, the image 442 can be a picture of a drawing on a piece of paper.
The image 442 can include analog imagery 446 and a background 444. In some examples, the analog imagery 446 can be a portion of the image 442 that includes marks (e.g., images, shapes, drawings, text, etc.). In some examples, the background 444 can be a portion of the image 442 that does not include marks. For example, the background 444 can be blank paper that does include drawing marks.
As described herein, a computing device or system coupled to the display 440 can be utilize to separate the analog imagery 446 from the background 444 of the image 442. As described herein, a contrast threshold value can be utilized to separate the analog imagery 446 from the background 444. For example, the analog imagery 446 can be above a contrast threshold value and the background 444 can be below the contrast threshold value. As described further herein in reference to
As described herein, the analog imagery 546 can be a first color (e.g., black, etc.) and the background 544 can be a second color (e.g., transparent, etc.). In some examples, the background 544 can be transparent such that an image behind the background 544 can be visible behind the background 544. In some examples, the generated small vector image can be stored by an application for editing digital image files and/or digital documents. For example, the generated small vector image displayed on the display 540 can be positioned on a picture displayed on the display 540. In this example, the analog imagery 546 can cover the picture displayed on the display 540 and the background 544 can be transparent such that the picture is visible behind the background 544.
As used herein, “logic” is an alternative or additional processing resource to perform a particular action and/or element described herein. Logic can include hardware. The hardware can include processing resources such as circuitry, which are distinct from machine-readable instructions on a machine readable media. Further, as used herein, “a” can refer to one such thing or more than one such thing.
The above specification, examples and data provide a description of the method and applications, and use of the system and method of the disclosure. Since many examples can be made without departing from the spirit and scope of the system and method of the disclosure, this specification merely sets forth some of the many possible example configurations and implementations.
Mendez, Alejandro, Patel, Arjun Angur, Seitz, Andreas Karl, Gregorich, Alexis Katherine, Harris, Christine Murray, Toll, Lyndsay
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5280367, | May 28 1991 | Hewlett-Packard Company | Automatic separation of text from background in scanned images of complex documents |
6044172, | Dec 22 1997 | Ricoh Company, LTD | Method and apparatus for reversible color conversion |
20060101005, | |||
20080059889, | |||
20090262378, | |||
20090285487, | |||
20090297030, | |||
20100257210, | |||
20110007941, | |||
20110119265, | |||
20110167081, | |||
20110182508, | |||
20130191861, | |||
20150062602, | |||
20150331888, | |||
20160050169, | |||
JP2005352777, | |||
JP2006279545, | |||
JP2009296150, | |||
JP2015049257, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jun 15 2017 | SEITZ, ANDREAS KARL | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052113 | /0087 | |
Jun 15 2017 | PATEL, ARJUN ANGUR | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052113 | /0087 | |
Jun 15 2017 | GREGORICH, ALEXIS KATHERINE | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052113 | /0087 | |
Jun 15 2017 | MENDEZ, ALEJANDRO | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052113 | /0087 | |
Jun 15 2017 | TOLL, LYNDSAY | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052113 | /0087 | |
Jun 16 2017 | Hewlett-Packard Development Company, L.P. | (assignment on the face of the patent) | / | |||
Jun 16 2017 | HARRIS, CHRISTINE MURRAY | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052113 | /0087 |
Date | Maintenance Fee Events |
Dec 10 2019 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Date | Maintenance Schedule |
Mar 08 2025 | 4 years fee payment window open |
Sep 08 2025 | 6 months grace period start (w surcharge) |
Mar 08 2026 | patent expiry (for year 4) |
Mar 08 2028 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 08 2029 | 8 years fee payment window open |
Sep 08 2029 | 6 months grace period start (w surcharge) |
Mar 08 2030 | patent expiry (for year 8) |
Mar 08 2032 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 08 2033 | 12 years fee payment window open |
Sep 08 2033 | 6 months grace period start (w surcharge) |
Mar 08 2034 | patent expiry (for year 12) |
Mar 08 2036 | 2 years to revive unintentionally abandoned end. (for year 12) |