WO2015085894A1 - 图像展现方法、装置、设备及计算机程序产品 - Google Patents
图像展现方法、装置、设备及计算机程序产品 Download PDFInfo
- Publication number
- WO2015085894A1 WO2015085894A1 PCT/CN2014/093293 CN2014093293W WO2015085894A1 WO 2015085894 A1 WO2015085894 A1 WO 2015085894A1 CN 2014093293 W CN2014093293 W CN 2014093293W WO 2015085894 A1 WO2015085894 A1 WO 2015085894A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- scanned
- user
- enlargement
- size
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000004590 computer program Methods 0.000 title claims description 21
- 230000008569 process Effects 0.000 claims description 31
- 230000003321 amplification Effects 0.000 claims description 18
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 18
- 230000007246 mechanism Effects 0.000 claims description 6
- 238000003860 storage Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 abstract description 8
- 238000012545 processing Methods 0.000 description 13
- 238000013459 approach Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 239000011159 matrix material Substances 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000011084 recovery Methods 0.000 description 4
- 230000009467 reduction Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000004904 shortening Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/0035—User-machine interface; Control console
- H04N1/00405—Output means
- H04N1/00408—Display of information to the user, e.g. menus
- H04N1/00469—Display of information to the user, e.g. menus with enlargement of a selected area of the displayed information
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
- G06K19/06112—Constructional details the marking being simulated using a light source, e.g. a barcode shown on a display or a laser beam with time-varying intensity profile
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32101—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N1/32144—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N2201/3201—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N2201/3269—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of machine readable codes or marks, e.g. bar codes or glyphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N2201/3201—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N2201/3273—Display
Definitions
- the present invention relates to the field of image processing technologies, and in particular, to an image display method, apparatus, device, and computer program product.
- the two-dimensional code is a black and white graphic distributed in a plane (two-dimensional direction) according to a certain rule, and the two-dimensional code stores information such as numbers, characters or pictures.
- QR code technology can be applied to product anti-counterfeiting / traceability, advertising push, website link, data download, commodity trading, positioning / navigation, electronic voucher, vehicle management, information transfer, business card exchange, wireless fidelity (Wireless Fidelity, WIFI) and other technical fields.
- the two-dimensional code scanning technology is more common in subway, public transit, WeChat, Weibo and other close-range scanning scenarios, that is, the user needs the handheld terminal to scan the two-dimensional code image at close range.
- QR code scanning technology in the process of using smart TV.
- users can scan the QR code image displayed on the smart TV to realize account login and data. Downloads, merchandise transactions, etc., simplifying user operations.
- the distance between the user and the smart TV is generally two to three meters, the user needs to perform long-distance scanning when scanning the two-dimensional code image displayed by the smart television, and it is known that the size of the two-dimensional code image is relatively small.
- the user may not be able to successfully scan the QR code image, then the user needs to approach the smart TV to scan again, causing inconvenience to the user's normal use, making The flexibility of scanning a two-dimensional code image is poor, and in addition, the success rate of the scanned image is reduced, and the response time of the scanned two-dimensional code image is prolonged.
- the above problems may occur when the user scans other images (for example, one-dimensional barcode images) displayed on the smart TV.
- the embodiments of the present invention provide an image display method, device, device, and computer program product, which are used to solve the problem that the user scans an image with poor flexibility, a low scan success rate, and a long scan response time.
- An embodiment of the present invention provides an image display method, including:
- the enlarged image to be scanned is presented to the user.
- the image to be scanned may be enlarged and then displayed to the user, and the user may scan the enlarged image.
- the image avoids the scan failure caused by the small size of the image to be scanned, improves the scanning success rate, and does not require the user to approach the smart TV to scan again, thereby improving the flexibility of scanning images and shortening the response of the scanned image. time.
- receiving an image enlargement request of the user for the image to be scanned includes:
- the duration of the positioning focus on the image to be scanned is greater than the preset duration, it is confirmed that the image enlargement request of the user for the image to be scanned is received.
- the user can trigger the operation of enlarging the image to be scanned by moving the positioning focus, so that the user does not need to approach the smart TV to scan the image, thereby improving the flexibility of scanning the image.
- receiving an image enlargement request of the user for the image to be scanned includes:
- the user can perform a click operation on the scanned image by the remote controller to trigger an operation of enlarging the image to be scanned, so that the user does not need to approach the smart TV to scan the image, thereby improving the flexibility of scanning the image.
- the image to be scanned is enlarged according to a preset enlargement rule, and specifically includes:
- the image to be scanned is enlarged according to the determined size of the enlarged image to be scanned.
- the image to be scanned is directly enlarged to the maximum size, so that the user can easily scan the image, and the success rate of the scanned image is improved.
- the image to be scanned is enlarged according to a preset enlargement rule, and specifically includes:
- the image to be scanned is enlarged according to the set multiple
- the result of the determination is yes, determining the size of the enlarged image to be scanned according to the size of the image to be scanned and the size of the set display area, and according to the determined size of the enlarged image to be scanned, The image to be scanned is enlarged.
- the image to be scanned is gradually enlarged, and each time the user receives an enlargement request for the image to be scanned, the image to be scanned is enlarged and set to a maximum size until the maximum size is enlarged, so that the user can adjust the to-be-scan at will.
- the size of the image is drawn to increase the flexibility of the scanned image.
- the image to be scanned is a one-dimensional barcode image or a two-dimensional code image.
- An embodiment of the present invention provides an image display apparatus, including:
- a first image presentation unit for presenting an image to be scanned to a user
- An enlargement request receiving unit configured to receive an image enlargement request of the user for the image to be scanned
- An image enlargement unit configured to perform an enlargement process on the image to be scanned according to a preset enlargement rule
- a second image display unit configured to display the image to be scanned enlarged by the image enlargement unit to the user.
- the image to be scanned may be enlarged and then displayed to the user, and the user may scan the enlarged image.
- the image avoids the scan failure caused by the small size of the image to be scanned, improves the scanning success rate, and does not require the user to approach the smart TV to scan again, thereby improving the flexibility of scanning images and shortening the response of the scanned image. time.
- the amplification request receiving unit is configured to confirm that an image enlargement request of the user for the image to be scanned is received when the length of time when the positioning focus is located on the image to be scanned is greater than the preset duration.
- the user can trigger the operation of enlarging the image to be scanned by moving the positioning focus, so that the user does not need to approach the smart TV to scan the image, thereby improving the flexibility of scanning the image.
- the amplification request receiving unit is configured to confirm that an image enlargement request of the user for the image to be scanned is received when the user performs a click operation on the image to be scanned.
- the user can perform a click operation on the scanned image by the remote controller to trigger an operation of enlarging the image to be scanned, so that the user does not need to approach the smart TV to scan the image, thereby improving the flexibility of scanning the image.
- the image amplifying unit specifically includes:
- a first size determining subunit configured to determine a size of the enlarged image to be scanned according to a size of the image to be scanned and a size of the set display area
- a first image enlargement subunit configured to determine, according to the first size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image to be scanned is directly enlarged to the maximum size, so that the user can easily scan the image, and the success rate of the scanned image is improved.
- the image amplifying unit specifically includes:
- a determining subunit configured to determine whether the image to be scanned enlarged according to the set multiple exceeds a boundary of the set display area
- a second image enlargement subunit configured to perform an enlargement process on the image to be scanned according to a set multiple when the determination result of the determining subunit is negative;
- a second size determining subunit configured to: according to the to-be-scanned picture when the determining result of the determining subunit is YES Determining the size of the image to be scanned after the size of the image and setting the size of the display area;
- a third image enlargement subunit configured to determine, according to the second size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image to be scanned is gradually enlarged, and each time the user receives an enlargement request for the image to be scanned, the image to be scanned is enlarged and set to a maximum size until the maximum size is enlarged, so that the user can adjust the to-be-scanned at will.
- the size of the image increases the flexibility of the scanned image.
- the image to be scanned is a one-dimensional barcode image or a two-dimensional code image.
- An embodiment of the present invention provides an image display device, including the image display device described above, wherein the image display device includes:
- a first image presentation unit for presenting an image to be scanned to a user
- An enlargement request receiving unit configured to receive an image enlargement request of the user for the image to be scanned
- An image enlargement unit configured to perform an enlargement process on the image to be scanned according to a preset enlargement rule
- a second image display unit configured to display the image to be scanned enlarged by the image enlargement unit to the user.
- the enlargement request receiving unit is configured to confirm that the image enlargement request of the user for the image to be scanned is received when the time when the cursor of the user is placed on the image to be scanned is greater than the preset duration.
- the amplification request receiving unit is configured to confirm that an image enlargement request of the user for the image to be scanned is received when the user performs a click operation on the image to be scanned.
- the image amplifying unit specifically includes:
- a first size determining subunit configured to determine a size of the enlarged image to be scanned according to a size of the image to be scanned and a size of the set display area
- a first image enlargement subunit configured to determine, according to the first size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image amplifying unit specifically includes:
- a determining subunit configured to determine whether the image to be scanned enlarged according to the set multiple exceeds a boundary of the set display area
- a second image enlargement subunit configured to perform an enlargement process on the image to be scanned according to a set multiple when the determination result of the determining subunit is negative;
- a second size determining subunit configured to determine, according to a size of the image to be scanned and a size of the set display area, a size of the image to be scanned after the determining result of the determining subunit is YES;
- a third image enlargement subunit configured to determine, according to the second size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image to be scanned received by the amplification request receiving unit is a one-dimensional barcode image, a two-dimensional code image or a text image.
- An embodiment of the present invention provides an image display device, including a memory, and one or more processors, wherein the image display device further includes:
- One or more units the one or more units being stored in the memory and configured to be executed by the one or more processors, the one or more units including instructions for performing the following steps :
- the enlarged image to be scanned is presented to the user.
- Embodiments of the present invention provide a computer program product for use with an image presentation device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising performing the following steps instruction:
- the enlarged image to be scanned is presented to the user.
- FIG. 1 is a schematic diagram of a two-dimensional code image displayed on a smart television in the prior art
- FIG. 2 is a schematic flowchart of an image display method according to Embodiment 1 of the present invention.
- FIG. 3 is a schematic diagram of an image to be scanned before the enlargement process in the first embodiment of the present invention
- FIG. 4 is a schematic diagram of an image to be scanned before the enlargement process in the first embodiment of the present invention
- FIG. 5 is a schematic structural diagram of an image display apparatus according to Embodiment 2 of the present invention.
- FIG. 6 is a schematic structural diagram of an image display device according to Embodiment 3 of the present invention.
- FIG. 7 is a schematic structural diagram of an image display device according to Embodiment 4 of the present invention.
- the embodiment of the present invention provides an image display method. After receiving an image enlargement request for a to-be-scanned image, the image to be scanned may be enlarged and then presented to the user, and the user may scan.
- the enlarged image avoids the scan failure caused by the small size of the image to be scanned, improves the scanning success rate, and does not require the user to approach the smart TV to scan again, thereby improving the flexibility of scanning images and shortening the time.
- the response time of the scanned image After receiving an image enlargement request for a to-be-scanned image, the image to be scanned may be enlarged and then presented to the user, and the user may scan.
- the enlarged image avoids the scan failure caused by the small size of the image to be scanned, improves the scanning success rate, and does not require the user to approach the smart TV to scan again, thereby improving the flexibility of scanning images and shortening the time.
- FIG. 2 it is a flowchart of an image display method according to Embodiment 1 of the present invention, and the specific processing procedure is as follows:
- Step 21 After presenting the image to be scanned to the user, receiving an image enlargement request of the user for the image to be scanned.
- the image to be scanned may be, but is not limited to, a one-dimensional barcode image or a two-dimensional code image.
- the operation of the image to be scanned may be triggered by the digital remote controller.
- the operation of amplifying an image to be scanned may be triggered by using the following two methods, specifically:
- the user moves the positioning focus through the digital remote controller so that the positioning focus is on the image to be scanned. If the smart TV monitors that the positioning focus is on the image to be scanned for more than the preset duration, the user may think that the user wants An operation of amplifying the image to be scanned is triggered, thereby confirming receipt of an image enlargement request by the user for the image to be scanned.
- the preset duration is 2 seconds
- the smart TV detects that the user moves the positioning focus to the image to be scanned, and the positioning focus is on the image to be scanned for more than 2 seconds, the user may think that the user wants to trigger the zoom. The operation of the image to be scanned.
- the user moves the positioning focus through the digital remote controller so that the positioning focus is on the image to be scanned, and then the user clicks the “OK” button on the digital remote controller, which is equivalent to the user performing a click operation on the image to be scanned.
- the user wants to trigger an operation of enlarging the image to be scanned, and thus confirms that the image enlargement request of the user for the image to be scanned is received.
- Step 22 Perform amplification processing on the image to be scanned according to a preset enlargement rule.
- the image to be scanned may be directly enlarged to the maximum size after receiving the image enlargement request by the user for the image to be scanned, wherein the image is displayed in advance. Selecting a display area for presenting an image to be scanned in the display area of the screen, if at least two of the images to be scanned The edge of the strip is located on the boundary of the set display area, and the other side is located in the set display area, then the size of the image to be scanned is the maximum size. If the image to be scanned is further enlarged, the At least two sides of the scanned image are located outside the set display area.
- the size of the image to be scanned and the size of the display area are first determined, and then the size of the image to be scanned after the enlargement is determined according to the size of the image to be scanned and the size of the display area.
- the image to be scanned is further enlarged according to the determined size of the enlarged image to be scanned.
- the set display area for presenting the image to be scanned may be the entire display area of the display screen, that is, after receiving the image enlargement request of the image for the image to be scanned, the image to be scanned is directly directly received. Zoom in to the entire screen.
- the width of the display area is set to a, the height is b, and a is greater than b.
- the size of the image to be scanned before the amplification process is c*c, that is, the width and height are both c, as shown in the figure.
- the height and width of the enlarged image to be scanned are both b, which is equal to the height of the set display area, and therefore the size of the image to be scanned after the enlargement process is b*b.
- the image to be scanned may be enlarged by using a matrix transformation method, and the image to be scanned is regarded as a pixel matrix composed of pixel values of respective pixels, according to the size of the image to be scanned before being enlarged and The size of the image to be scanned after the enlargement is determined, and the transformation matrix when the image to be scanned is enlarged is determined, and then the pixel matrix of the image to be scanned before the enlargement is multiplied by the transformation matrix to obtain the pixel matrix of the image to be scanned after the enlargement.
- the image to be scanned may be gradually enlarged by the solution of the embodiment, and each time the user receives an amplification request for the image to be scanned, the image to be scanned is enlarged and set to a magnification. To the maximum size, the user can freely adjust the size of the image to be scanned, which improves the flexibility of scanning images.
- the enlarged image to be scanned may exceed the boundary of the set display area each time the enlargement process is performed, it is necessary to determine whether the image to be scanned enlarged according to the set multiple is exceeded before each enlargement process. Set the boundary of the display area. If the result of the determination is no, the image to be scanned is enlarged according to the set multiple. If the result of the determination is yes, the image to be scanned is enlarged to the maximum size. Specifically, the image to be scanned is determined.
- the image to be scanned is subjected to amplification processing.
- the above setting multiple is 2 times.
- the smart TV displays the image to be scanned to the user, the user thinks that the image to be scanned may not be successfully scanned, so the user may use the first trigger mode or the second trigger mode to trigger the zoom.
- the operation of the image to be scanned the smart television determines whether the image to be scanned is enlarged by 2 times and exceeds the boundary of the set display area. If not, the image to be scanned after being doubled is displayed to the user, if the user still feels If the image to be scanned cannot be successfully scanned, the operation of enlarging the image to be scanned may be continued, and the smart television determines whether the image to be scanned is doubled and then exceeds the boundary of the set display area. If it is exceeded, the The scanned image is displayed to the user after being enlarged to the maximum size.
- step 23 the enlarged image to be scanned is presented to the user.
- the enlarged image to be scanned when the enlarged image to be scanned is presented to the user, the enlarged image to be scanned can be displayed only in the display area of the display screen without displaying other information.
- the enlarged image may be scanned on top of other information in the display area.
- other information may be transparently faded.
- the enlarged image to be scanned may be placed in the middle of the display area.
- the image presentation method proposed in the first embodiment of the present invention can be, but is not limited to, being applied in a smart TV.
- the image to be scanned can be enlarged and then presented to the user, and the user can scan the enlarged image, thereby avoiding the image to be scanned.
- the small size caused by the scan failure, the scanning success rate is improved, and the user does not need to approach the smart TV to scan again, which improves the flexibility of the scanned image and shortens the response time of the scanned image.
- the operation of restoring the image to be scanned may be triggered by the digital remote controller, and the smart TV treats the image recovery request for the image to be scanned by the user.
- the scanned image is subjected to reduction processing, and then the reduced image to be scanned is presented to the user.
- the first embodiment of the present invention provides that the user can trigger the operation of restoring the image to be scanned by using the following two methods:
- the user moves the positioning focus through the digital remote controller, so that the positioning focus is located on the enlarged image to be scanned, and if the smart television monitors that the positioning focus is located on the enlarged image to be scanned, the duration is greater than If the duration is set, the user may want to resume the operation of the image to be scanned after the trigger, and thus confirm that the image recovery request of the user for the image to be scanned is received.
- the user moves the positioning focus through the digital remote controller so that the positioning focus is located on the enlarged image to be scanned, and then the user clicks the “OK” button on the digital remote controller, which is equivalent to the user
- the image to be scanned performs a click operation, and at this time, it can be considered that the user wants to trigger an operation of restoring the image to be scanned, and thus confirms that the image recovery request of the user for the image to be scanned is received.
- the enlarged image to be scanned can be directly reduced to the original size when the enlarged image to be scanned is subjected to reduction processing.
- the image to be scanned is enlarged, the image to be scanned is gradually enlarged, and each time the user receives an enlargement request for the image to be scanned, the image to be scanned is enlarged and set to a magnification until the maximum size is enlarged.
- the image to be scanned may be gradually reduced, and each time the user receives a recovery request for the image to be scanned, the image to be scanned is reduced by a set multiple until the original size is reduced.
- the second embodiment of the present invention provides an image display device, which has the structure shown in FIG. 5 and includes:
- a first image presentation unit 51 configured to display an image to be scanned to a user
- the enlargement request receiving unit 52 is configured to receive an image enlargement request of the user for the image to be scanned;
- An image enlargement unit 53 is configured to perform an enlargement process on the image to be scanned according to a preset enlargement rule
- the second image display unit 54 is configured to display the image to be scanned enlarged by the image amplifying unit 53 to the user.
- the amplification request receiving unit 52 is configured to confirm that the image enlargement request for the image to be scanned is received by the user when the duration of the cursor placed on the image to be scanned is greater than the preset duration. .
- the amplification request receiving unit 52 is configured to confirm that an image enlargement request of the user for the image to be scanned is received when the user performs a click operation on the image to be scanned.
- the image amplifying unit 53 specifically includes:
- a first size determining subunit configured to determine a size of the enlarged image to be scanned according to a size of the image to be scanned and a size of the set display area
- a first image enlargement subunit configured to determine, according to the first size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image amplifying unit 53 specifically includes:
- a determining subunit configured to determine whether the image to be scanned enlarged according to the set multiple exceeds a boundary of the set display area
- a second image enlargement subunit configured to perform an enlargement process on the image to be scanned according to a set multiple when the determination result of the determining subunit is negative;
- a second size determining subunit configured to determine, according to a size of the image to be scanned and a size of the set display area, a size of the image to be scanned after the determining result of the determining subunit is YES;
- a third image enlargement subunit configured to determine, according to the second size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image to be scanned is a one-dimensional barcode image, a two-dimensional code image or a text image.
- the image presentation device may be, but is not limited to, applied to a smart television.
- the third embodiment of the present invention provides an image display device, which is configured as shown in FIG. 6 and includes the above image display device, wherein the image display device includes:
- a first image display unit 61 configured to display an image to be scanned to a user
- the enlargement request receiving unit 62 is configured to receive an image enlargement request of the user for the image to be scanned;
- An image enlargement unit 63 is configured to perform an enlargement process on the image to be scanned according to a preset enlargement rule
- the second image display unit 64 is configured to display the image to be scanned enlarged by the image amplifying unit 63 to the user.
- the amplification request receiving unit 62 is configured to confirm that the image enlargement request for the image to be scanned is received by the user when the duration of the cursor placed on the image to be scanned is greater than the preset duration. .
- the enlargement request receiving unit 62 is configured to confirm that an image enlargement request of the user for the image to be scanned is received when the user performs a click operation on the image to be scanned.
- the image amplifying unit 63 specifically includes:
- a first size determining subunit configured to determine a size of the enlarged image to be scanned according to a size of the image to be scanned and a size of the set display area
- a first image enlargement subunit configured to determine, according to the first size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image amplifying unit 63 specifically includes:
- a determining subunit configured to determine whether the image to be scanned enlarged according to the set multiple exceeds a boundary of the set display area
- a second image enlargement subunit configured to perform an enlargement process on the image to be scanned according to a set multiple when the determination result of the determining subunit is negative;
- a second size determining subunit configured to determine, according to a size of the image to be scanned and a size of the set display area, a size of the image to be scanned after the determining result of the determining subunit is YES;
- a third image enlargement subunit configured to determine, according to the second size, the size of the enlarged image to be scanned determined by the subunit, and perform an enlargement process on the image to be scanned.
- the image to be scanned received by the amplification request receiving unit 62 is a one-dimensional barcode image, a two-dimensional code image or a character image.
- the image display device may be a smart TV or other device having a display function.
- an embodiment of the present invention provides an image presentation device, which is structured as shown in FIG. 7 and includes a memory 71, and one or more processors 72, wherein the image is displayed.
- the equipment also includes:
- One or more units the one or more units being stored in the memory 71 and configured to be executed by the one or more processors 72, the one or more units including steps for performing the following steps Instructions:
- the enlarged image to be scanned is presented to the user.
- the image display device may be a smart TV or other device having a display function.
- a fifth embodiment of the present invention provides a computer program product for use in combination with an image presentation device, the computer program product comprising a computer readable storage medium and embedded therein A computer program mechanism, the computer program mechanism comprising instructions to perform the following steps:
- the enlarged image to be scanned is presented to the user.
- inventions of the present invention can be provided as a method, system, or computer program product.
- the present invention can take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Optics & Photonics (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Editing Of Facsimile Originals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种图像展现方法、装置及设备,图像展现方法包括步骤:将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;按照预设的放大规则,对所述待扫描图像进行放大处理;将放大后的待扫描图像展现给用户。采用本发明技术方案,能够解决现有技术中用户扫描图像的灵活性较差,扫描成功率较低,且扫描响应时间较长的问题。
Description
本申请要求在2013年12月09日提交中国专利局、申请号为201310686424.3、发明名称为“图像展现方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及图像处理技术领域,尤其涉及一种图像展现方法、装置、设备及计算机程序产品。
二维码是按一定规律在平面(二维方向)上分布的黑白相间的图形,二维码中存储有数字、文字或图片等信息。通过扫描二维码,可以自动识读并处理二维码中存储的信息。在实际生活中,二维码技术可应用在产品防伪/溯源、广告推送、网站链接、数据下载、商品交易、定位/导航、电子凭证、车辆管理、信息传递、名片交流、无线保真(Wireless Fidelity,WIFI)共享等技术领域。
在日常生活中,二维码扫描技术多见于地铁、公交、微信、微博等可近距离扫描的场景,即用户需要手持终端近距离扫描二维码图像。随着智能电视技术的迅速发展,用户在使用智能电视的过程中也难免要用到二维码扫描技术,例如,用户可以通过扫描智能电视上展现的二维码图像,来实现账户登陆、数据下载、商品交易等目的,从而简化了用户的操作。但是,由于用户与智能电视之间的距离一般为二到三米,因此用户在扫描智能电视展现的二维码图像时,需要进行远距离扫描,而众所周知,二维码图像的尺寸比较小,且常常夹杂在各种文字或图像中间,如图1所示,用户很可能无法成功扫描到二维码图像,那么就需要用户走近智能电视再次进行扫描,给用户的正常使用造成不便,使得扫描二维码图像的灵活性较差,此外,也降低了扫描图像的成功率,延长了扫描二维码图像的响应时间。
此外,用户在扫描智能电视上展现的其他图像(例如一维条码图像)时也会存在上述问题。
发明内容
本发明实施例提供一种图像展现方法、装置、设备及计算机程序产品,用以解决现有技术中用户扫描图像的灵活性较差,扫描成功率较低,且扫描响应时间较长的问题。
本发明实施例技术方案如下:
本发明实施例提供一种图像展现方法,包括:
将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;
按照预设的放大规则,对所述待扫描图像进行放大处理;
将放大后的待扫描图像展现给用户。
由上可见,本发明实施例技术方案中,当接收到用户针对待扫描图像的图像放大请求后,可以对该待扫描图像进行放大处理,然后再展现给用户,用户就可以扫描放大处理后的图像,避免了由于待扫描图像的尺寸较小造成的扫描失败的情况,提高了扫描成功率,无需用户走近智能电视再次进行扫描,提高了扫描图像的灵活性,也缩短了扫描图像的响应时间。
优选的,接收用户针对所述待扫描图像的图像放大请求,具体包括:
若监测到定位焦点位于所述待扫描图像上的时长大于预设时长,则确认接收到用户针对所述待扫描图像的图像放大请求。
通过本实施例方案,用户可以通过移动定位焦点来触发放大待扫描图像的操作,因此用户无需走近智能电视来扫描图像,提高了扫描图像的灵活性。
优选的,接收用户针对所述待扫描图像的图像放大请求,具体包括:
若监测到用户针对所述待扫描图像执行了点击操作,则确认接收到用户针对所述待扫描图像的图像放大请求。
通过本实施例方案,用户可以通过遥控器对待扫描图像执行点击操作来触发放大待扫描图像的操作,因此用户无需走近智能电视来扫描图像,提高了扫描图像的灵活性。
优选的,按照预设的放大规则,对所述待扫描图像进行放大处理,具体包括:
根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
按照确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
通过本实施例方案,在接收到用户针对待扫描图像的放大请求后,直接将该待扫描图像放大到最大尺寸,使用户能够轻松扫描到图像,提高了扫描图像的成功率。
优选的,按照预设的放大规则,对所述待扫描图像进行放大处理,具体包括:
判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;
若判断结果为否,则按照设定倍数,对所述待扫描图像进行放大处理;
若判断结果为是,则根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸,并按照确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
通过本实施例方案,将待扫描图像逐步放大,每次接收到用户针对待扫描图像的放大请求后,均将待扫描图像放大设定倍数,直至放大到最大尺寸,使用户能够随意调整待扫
描图像的尺寸,提高了扫描图像的灵活性。
优选的,所述待扫描图像为一维条码图像或二维码图像。
本发明实施例提供一种图像展现装置,包括:
第一图像展现单元,用于将待扫描图像展现给用户;
放大请求接收单元,用于接收用户针对所述待扫描图像的图像放大请求;
图像放大单元,用于按照预设的放大规则,对所述待扫描图像进行放大处理;
第二图像展现单元,用于将图像放大单元放大后的待扫描图像展现给用户。
由上可见,本发明实施例技术方案中,当接收到用户针对待扫描图像的图像放大请求后,可以对该待扫描图像进行放大处理,然后再展现给用户,用户就可以扫描放大处理后的图像,避免了由于待扫描图像的尺寸较小造成的扫描失败的情况,提高了扫描成功率,无需用户走近智能电视再次进行扫描,提高了扫描图像的灵活性,也缩短了扫描图像的响应时间。
优选的,所述放大请求接收单元,具体用于在监测到定位焦点位于所述待扫描图像上的时长大于预设时长时,确认接收到用户针对所述待扫描图像的图像放大请求。
通过本实施例方案,用户可以通过移动定位焦点来触发放大待扫描图像的操作,因此用户无需走近智能电视来扫描图像,提高了扫描图像的灵活性。
优选的,所述放大请求接收单元,具体用于在监测到用户针对所述待扫描图像执行了点击操作时,确认接收到用户针对所述待扫描图像的图像放大请求。
通过本实施例方案,用户可以通过遥控器对待扫描图像执行点击操作来触发放大待扫描图像的操作,因此用户无需走近智能电视来扫描图像,提高了扫描图像的灵活性。
优选的,所述图像放大单元具体包括:
第一尺寸确定子单元,用于根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第一图像放大子单元,用于按照第一尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
通过本实施例方案,在接收到用户针对待扫描图像的放大请求后,直接将该待扫描图像放大到最大尺寸,使用户能够轻松扫描到图像,提高了扫描图像的成功率。
优选的,所述图像放大单元具体包括:
判断子单元,用于判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;
第二图像放大子单元,用于在所述判断子单元的判断结果为否时,按照设定倍数,对所述待扫描图像进行放大处理;
第二尺寸确定子单元,用于在所述判断子单元的判断结果为是时,根据所述待扫描图
像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第三图像放大子单元,用于按照第二尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
通过本实施例方案,将待扫描图像逐步放大,每次接收到用户针对待扫描图像的放大请求后,均将待扫描图像放大设定倍数,直至放大到最大尺寸,使用户能够随意调整待扫描图像的尺寸,提高了扫描图像的灵活性。
优选的,所述待扫描图像为一维条码图像或二维码图像。
本发明实施例提供一种图像展现设备,包括上述图像展现装置,其中,该图像展现装置包括:
第一图像展现单元,用于将待扫描图像展现给用户;
放大请求接收单元,用于接收用户针对所述待扫描图像的图像放大请求;
图像放大单元,用于按照预设的放大规则,对所述待扫描图像进行放大处理;
第二图像展现单元,用于将图像放大单元放大后的待扫描图像展现给用户。
优选的,所述放大请求接收单元,具体用于在监测到用户的光标置于所述待扫描图像上的时长大于预设时长时,确认接收到用户针对所述待扫描图像的图像放大请求。
优选的,所述放大请求接收单元,具体用于在监测到用户针对所述待扫描图像执行了点击操作时,确认接收到用户针对所述待扫描图像的图像放大请求。
优选的,所述图像放大单元具体包括:
第一尺寸确定子单元,用于根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第一图像放大子单元,用于按照第一尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
优选的,所述图像放大单元具体包括:
判断子单元,用于判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;
第二图像放大子单元,用于在所述判断子单元的判断结果为否时,按照设定倍数,对所述待扫描图像进行放大处理;
第二尺寸确定子单元,用于在所述判断子单元的判断结果为是时,根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第三图像放大子单元,用于按照第二尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
优选的,所述放大请求接收单元接收到的待扫描图像为一维条码图像、二维码图像或文字图像。
本发明实施例提供一种图像展现设备,包括存储器,以及一个或者多个处理器,其中,图像展现设备还包括:
一个或多个单元,所述一个或多个单元被存储在所述存储器中并被配置成由所述一个或多个处理器执行,所述一个或多个单元包括用于执行以下步骤的指令:
将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;
按照预设的放大规则,对所述待扫描图像进行放大处理;
将放大后的待扫描图像展现给用户。
本发明实施例提供一种与图像展现设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括执行以下步骤的指令:
将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;
按照预设的放大规则,对所述待扫描图像进行放大处理;
将放大后的待扫描图像展现给用户。
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术中,智能电视上展现的二维码图像的示意图;
图2为本发明实施例一中,图像展现方法流程示意图;
图3为本发明实施例一中,放大处理前的待扫描图像示意图;
图4为本发明实施例一中,放大处理前的待扫描图像示意图;
图5为本发明实施例二中,图像展现装置结构示意图;
图6为本发明实施例三中,图像展现设备的结构示意图;
图7为本发明实施例四中,图像展现设备的结构示意图。
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
现有技术中,用户在扫描智能电视上展现的图像(二维码图像或一维条码图像)时,需要进行远距离扫描,由于图像的尺寸比较小,且常常夹杂在各种文字或图像中间,因此用户很可能无法成功扫描到图像,那么就需要用户走近智能电视进行扫描,从而给用户的正常使用造成不便,使得扫描图像的灵活性较差,此外,也延长了扫描图像的响应时间。
有鉴于此,本发明实施例提出了一种图像展现方法,当接收到用户针对待扫描图像的图像放大请求后,可以对该待扫描图像进行放大处理,然后再展现给用户,用户就可以扫描放大处理后的图像,避免了由于待扫描图像的尺寸较小造成的扫描失败的情况,提高了扫描成功率,无需用户走近智能电视再次进行扫描,提高了扫描图像的灵活性,也缩短了扫描图像的响应时间。
下面通过具体实施例对本发明方案进行详细描述,当然,本发明并不限于以下实施例。
实施例一
如图2所示,为本发明实施例一提出的图像展现方法流程图,其具体处理过程如下:
步骤21,将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求。
其中,上述待扫描图像可以但不限于为一维条码图像或二维码图像。
智能电视将待扫描图像通过显示屏幕展现给用户后,用户如果认为展现的待扫描图像的尺寸比较小,可能无法成功扫描,则可以通过数字遥控器触发放大待扫描图像的操作,本发明实施例一提出,可以但不限于采用下述两种方式来触发放大待扫描图像的操作,具体为:
第一种触发方式,用户通过数字遥控器移动定位焦点,使定位焦点位于待扫描图像上,智能电视若监测到定位焦点位于该待扫描图像上的时长大于预设时长,则可以认为用户想要触发放大该待扫描图像的操作,因此确认接收到用户针对该待扫描图像的图像放大请求。
例如,上述预设时长为2秒,智能电视若监测到用户将定位焦点移动至该待扫描图像上,且定位焦点位于该待扫描图像上的时长大于2秒时,可以认为用户想要触发放大该待扫描图像的操作。
第二种触发方式,用户通过数字遥控器移动定位焦点,使定位焦点位于待扫描图像上,然后用户点击数字遥控器上的“确定”按键,相当于用户针对该待扫描图像执行了点击操作,此时可以认为用户想要触发放大该待扫描图像的操作,因此确认接收到用户针对该待扫描图像的图像放大请求。
步骤22,按照预设的放大规则,对所述待扫描图像进行放大处理。
本发明实施例一提出,为了使用户能够轻松扫描到待扫描图像,可以在接收到用户针对该待扫描图像的图像放大请求后,直接将该待扫描图像放大到最大尺寸,其中,预先在显示屏幕的显示区域中选取用于呈现待扫描图像的设定显示区域,若待扫描图像的至少两
条边位于设定显示区域的边界上,而其他边位于设定显示区域内,则此时待扫描图像的尺寸即为最大尺寸,若对该待扫描图像继续进行放大处理,则会使得该待扫描图像的至少两条边位于设定显示区域外。
将该待扫描图像进行放大处理时,先确定待扫描图像的尺寸以及设定显示区域的尺寸,然后根据待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸,再按照确定出的放大后的待扫描图像的尺寸,对该待扫描图像进行放大处理。
较优的,上述用于呈现待扫描图像的设定显示区域可以为显示屏幕的整个显示区域,也就是说,在接收到用户针对该待扫描图像的图像放大请求后,直接将该待扫描图像放大到整个屏幕。
例如,设定显示区域的宽为a,高为b,且a大于b,如图3所示,待扫描图像在放大处理前的尺寸为c*c,即宽和高均为c,如图4所示,放大后的待扫描图像的高和宽均为b,与设定显示区域的高相等,因此待扫描图像在放大处理后的尺寸为b*b。
本发明实施例一提出,可以采用矩阵变换的方式,对待扫描图像进行放大处理,将待扫描图像看作一个由各个像素点的像素值组成的像素矩阵,根据放大前的待扫描图像的尺寸以及放大后的待扫描图像的尺寸,确定放大待扫描图像时的变换矩阵,然后将放大前的待扫描图像的像素矩阵与该变换矩阵相乘,就可以得到放大后的待扫描图像的像素矩阵。
此外,本发明实施例一提出,也可以通过本实施例方案,将待扫描图像逐步放大,每次接收到用户针对待扫描图像的放大请求后,均将待扫描图像放大设定倍数,直至放大到最大尺寸,使用户能够随意调整待扫描图像的尺寸,提高了扫描图像的灵活性。
由于在每次进行放大处理时,放大后的待扫描图像有可能超出了设定显示区域的边界,因此在每次放大处理前,需要先判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界,若判断结果为否,则按照设定倍数,对待扫描图像进行放大处理,若判断结果为是,则将该待扫描图像放大至最大尺寸,具体的,确定待扫描图像的尺寸以及设定显示区域的尺寸,然后根据待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸,再按照确定出的放大后的待扫描图像的尺寸,对该待扫描图像进行放大处理。
例如,上述设定倍数为2倍,智能电视将待扫描图像展现给用户后,用户认为可能无法成功扫描该待扫描图像,因此用户可以采用上述第一种触发方式或第二种触发方式触发放大待扫描图像的操作,智能电视判断将该待扫描图像放大2倍后是否超出了设定显示区域的边界,若未超出,则将放大2倍后的待扫描图像展现给用户,若用户仍然觉得无法成功扫描该待扫描图像,则可以继续触发放大待扫描图像的操作,智能电视判断将该待扫描图像再放大2倍后是否超出了设定显示区域的边界,若已超出,则将该待扫描图像放大至最大尺寸后展现给用户。
步骤23,将放大后的待扫描图像展现给用户。
本发明实施例一提出,在将放大后的待扫描图像展现给用户时,可以只在显示屏幕的显示区域内展现放大后的待扫描图像,而不展现其他信息。
也可以在显示区域内将放大后的待扫描图像置于其他信息之上。较优的,为了在显示区域中突出放大后的待扫描图像,提高扫描图像的成功率,也可以将其他信息进行透明淡化处理。
本发明实施例一提出,为了便于用户扫描,提高扫描图像的成功率,可以将放大后的待扫描图像置于显示区域的中间位置。
本发明实施例一提出的图像展现方法可以但不限于应用在智能电视中。
由上可见,当接收到用户针对待扫描图像的图像放大请求后,可以对该待扫描图像进行放大处理,然后再展现给用户,用户就可以扫描放大处理后的图像,避免了由于待扫描图像的尺寸较小造成的扫描失败的情况,提高了扫描成功率,无需用户走近智能电视再次进行扫描,提高了扫描图像的灵活性,也缩短了扫描图像的响应时间。
此外,若用户想要将放大后的待扫描图像恢复为原尺寸,则可以通过数字遥控器触发恢复待扫描图像的操作,智能电视在接收到用户针对该待扫描图像的图像恢复请求后,对待扫描图像进行缩小处理,然后将缩小后的待扫描图像展现给用户。本发明实施例一提出,用户可以但不限于采用下述两种方式来触发恢复待扫描图像的操作,具体为:
与上述第一种触发方式对应,用户通过数字遥控器移动定位焦点,使定位焦点位于放大后的待扫描图像上,智能电视若监测到定位焦点位于该放大后的待扫描图像上的时长大于预设时长,则可以认为用户想要触发后恢复该待扫描图像的操作,因此确认接收到用户针对该待扫描图像的图像恢复请求。
与上述第二种触发方式对应,用户通过数字遥控器移动定位焦点,使定位焦点位于放大后的待扫描图像上,然后用户点击数字遥控器上的“确定”按键,相当于用户针对该放大后的待扫描图像执行了点击操作,此时可以认为用户想要触发恢复该待扫描图像的操作,因此确认接收到用户针对该待扫描图像的图像恢复请求。
若在对待扫描图像进行放大处理时,直接将该待扫描图像放大到最大尺寸,则在对放大后的待扫描图像进行缩小处理时,可以直接将放大后的待扫描图像缩小至原始尺寸。
若在对待扫描图像进行放大处理时,将待扫描图像逐步放大,每次接收到用户针对待扫描图像的放大请求后,均将待扫描图像放大设定倍数,直至放大到最大尺寸,则在对放大后的待扫描图像进行缩小处理时,可以将待扫描图像逐步缩小,每次接收到用户针对待扫描图像的恢复请求后,均将待扫描图像缩小设定倍数,直至缩小到原始尺寸。在每次缩小处理前,需要先判断按照设定倍数缩小后的待扫描图像是否小于该待扫描图像的原始尺寸,若判断结果为否,则按照设定倍数,对待扫描图像进行缩小处理,若判断结果为是,
则将该待扫描图像缩小至原始尺寸。
实施例二
与本发明实施例一提出的图像展现方法对应,本发明实施例二提出一种图像展现装置,其结构如图5所示,包括:
第一图像展现单元51,用于将待扫描图像展现给用户;
放大请求接收单元52,用于接收用户针对所述待扫描图像的图像放大请求;
图像放大单元53,用于按照预设的放大规则,对所述待扫描图像进行放大处理;
第二图像展现单元54,用于将图像放大单元53放大后的待扫描图像展现给用户。
优选的,所述放大请求接收单元52,具体用于在监测到用户的光标置于所述待扫描图像上的时长大于预设时长时,确认接收到用户针对所述待扫描图像的图像放大请求。
优选的,所述放大请求接收单元52,具体用于在监测到用户针对所述待扫描图像执行了点击操作时,确认接收到用户针对所述待扫描图像的图像放大请求。
优选的,所述图像放大单元53具体包括:
第一尺寸确定子单元,用于根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第一图像放大子单元,用于按照第一尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
优选的,所述图像放大单元53具体包括:
判断子单元,用于判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;
第二图像放大子单元,用于在所述判断子单元的判断结果为否时,按照设定倍数,对所述待扫描图像进行放大处理;
第二尺寸确定子单元,用于在所述判断子单元的判断结果为是时,根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第三图像放大子单元,用于按照第二尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
优选的,所述待扫描图像为一维条码图像、二维码图像或文字图像。
所述图像展现装置可以但不限于应用在智能电视中。
实施例三
与本发明实施例一提出的图像展现方法对应,本发明实施例三提出一种图像展现设备,其结构如图6所示,包括上述图像展现装置,其中,该图像展现装置包括:
第一图像展现单元61,用于将待扫描图像展现给用户;
放大请求接收单元62,用于接收用户针对所述待扫描图像的图像放大请求;
图像放大单元63,用于按照预设的放大规则,对所述待扫描图像进行放大处理;
第二图像展现单元64,用于将图像放大单元63放大后的待扫描图像展现给用户。
优选的,所述放大请求接收单元62,具体用于在监测到用户的光标置于所述待扫描图像上的时长大于预设时长时,确认接收到用户针对所述待扫描图像的图像放大请求。
优选的,所述放大请求接收单元62,具体用于在监测到用户针对所述待扫描图像执行了点击操作时,确认接收到用户针对所述待扫描图像的图像放大请求。
优选的,所述图像放大单元63具体包括:
第一尺寸确定子单元,用于根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第一图像放大子单元,用于按照第一尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
优选的,所述图像放大单元63具体包括:
判断子单元,用于判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;
第二图像放大子单元,用于在所述判断子单元的判断结果为否时,按照设定倍数,对所述待扫描图像进行放大处理;
第二尺寸确定子单元,用于在所述判断子单元的判断结果为是时,根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;
第三图像放大子单元,用于按照第二尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
优选的,所述放大请求接收单元62接收到的待扫描图像为一维条码图像、二维码图像或文字图像。
上述图像展现设备可以为智能电视,也可以为其他具备显示功能的设备。
实施例四
与本发明实施例一提出的图像展现方法对应,本发明实施例四提出一种图像展现设备,其结构如图7所示,包括存储器71,以及一个或者多个处理器72,其中,图像展现设备还包括:
一个或多个单元,所述一个或多个单元被存储在所述存储器71中并被配置成由所述一个或多个处理器72执行,所述一个或多个单元包括用于执行以下步骤的指令:
将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;
按照预设的放大规则,对所述待扫描图像进行放大处理;
将放大后的待扫描图像展现给用户。
上述图像展现设备可以为智能电视,也可以为其他具备显示功能的设备。
实施例五
与本发明实施例一提出的图像展现方法对应,本发明实施例五提出一种与图像展现设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括执行以下步骤的指令:
将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;
按照预设的放大规则,对所述待扫描图像进行放大处理;
将放大后的待扫描图像展现给用户。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
Claims (20)
- 一种图像展现方法,其特征在于,包括:将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;按照预设的放大规则,对所述待扫描图像进行放大处理;将放大后的待扫描图像展现给用户。
- 如权利要求1所述的方法,其特征在于,接收用户针对所述待扫描图像的图像放大请求,具体包括:若监测到定位焦点位于所述待扫描图像上的时长大于预设时长,则确认接收到用户针对所述待扫描图像的图像放大请求。
- 如权利要求1所述的方法,其特征在于,接收用户针对所述待扫描图像的图像放大请求,具体包括:若监测到用户针对所述待扫描图像执行了点击操作,则确认接收到用户针对所述待扫描图像的图像放大请求。
- 如权利要求1所述的方法,其特征在于,按照预设的放大规则,对所述待扫描图像进行放大处理,具体包括:根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;按照确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
- 如权利要求1所述的方法,其特征在于,按照预设的放大规则,对所述待扫描图像进行放大处理,具体包括:判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;若判断结果为否,则按照设定倍数,对所述待扫描图像进行放大处理;若判断结果为是,则根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸,并按照确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
- 如权利要求1~5中任一权利要求所述的方法,其特征在于,所述待扫描图像为一维条码图像或二维码图像。
- 一种图像展现装置,其特征在于,包括:第一图像展现单元,用于将待扫描图像展现给用户;放大请求接收单元,用于接收用户针对所述待扫描图像的图像放大请求;图像放大单元,用于按照预设的放大规则,对所述待扫描图像进行放大处理;第二图像展现单元,用于将图像放大单元放大后的待扫描图像展现给用户。
- 如权利要求7所述的装置,其特征在于,所述放大请求接收单元,具体用于在监测到定位焦点位于所述待扫描图像上的时长大于预设时长时,确认接收到用户针对所述待扫描图像的图像放大请求。
- 如权利要求7所述的装置,其特征在于,所述放大请求接收单元,具体用于在监测到用户针对所述待扫描图像执行了点击操作时,确认接收到用户针对所述待扫描图像的图像放大请求。
- 如权利要求7所述的装置,其特征在于,所述图像放大单元具体包括:第一尺寸确定子单元,用于根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;第一图像放大子单元,用于按照第一尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
- 如权利要求7所述的装置,其特征在于,所述图像放大单元具体包括:判断子单元,用于判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;第二图像放大子单元,用于在所述判断子单元的判断结果为否时,按照设定倍数,对所述待扫描图像进行放大处理;第二尺寸确定子单元,用于在所述判断子单元的判断结果为是时,根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;第三图像放大子单元,用于按照第二尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
- 如权利要求7~11中任一权利要求所述的装置,其特征在于,所述放大请求接收单元接收的待扫描图像为一维条码图像或二维码图像。
- 一种图像展现设备,其特征在于,包括图像展现装置,其中,所述图像展现装置包括:第一图像展现单元,用于将待扫描图像展现给用户;放大请求接收单元,用于接收用户针对所述待扫描图像的图像放大请求;图像放大单元,用于按照预设的放大规则,对所述待扫描图像进行放大处理;第二图像展现单元,用于将图像放大单元放大后的待扫描图像展现给用户。
- 如权利要求13所述的设备,其特征在于,所述放大请求接收单元,具体用于在监测到定位焦点位于所述待扫描图像上的时长大于预设时长时,确认接收到用户针对所述待扫描图像的图像放大请求。
- 如权利要求13所述的设备,其特征在于,所述放大请求接收单元,具体用于在 监测到用户针对所述待扫描图像执行了点击操作时,确认接收到用户针对所述待扫描图像的图像放大请求。
- 如权利要求13所述的设备,其特征在于,所述图像放大单元具体包括:第一尺寸确定子单元,用于根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;第一图像放大子单元,用于按照第一尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
- 如权利要求13所述的设备,其特征在于,所述图像放大单元具体包括:判断子单元,用于判断按照设定倍数放大后的待扫描图像是否超出了设定显示区域的边界;第二图像放大子单元,用于在所述判断子单元的判断结果为否时,按照设定倍数,对所述待扫描图像进行放大处理;第二尺寸确定子单元,用于在所述判断子单元的判断结果为是时,根据所述待扫描图像的尺寸以及设定显示区域的尺寸,确定放大后的待扫描图像的尺寸;第三图像放大子单元,用于按照第二尺寸确定子单元确定出的放大后的待扫描图像的尺寸,对所述待扫描图像进行放大处理。
- 如权利要求13~17中任一权利要求所述的设备,其特征在于,放大请求接收单元接收的待扫描图像为一维条码图像或二维码图像。
- 一种图像展现设备,其特征在于,包括:存储器;一个或多个处理器;一个或多个单元,所述一个或多个单元被存储在所述存储器中并被配置成由所述一个或多个处理器执行,所述一个或多个单元包括用于执行以下步骤的指令:将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;按照预设的放大规则,对所述待扫描图像进行放大处理;将放大后的待扫描图像展现给用户。
- 一种与图像展现设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,其特征在于,所述计算机程序机制包括执行以下步骤的指令:将待扫描图像展现给用户后,接收用户针对所述待扫描图像的图像放大请求;按照预设的放大规则,对所述待扫描图像进行放大处理;将放大后的待扫描图像展现给用户。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/102,565 US20160314560A1 (en) | 2013-12-09 | 2014-12-08 | Image displaying method, apparatus, and device, and computer program product |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310686424.3 | 2013-12-09 | ||
CN201310686424.3A CN103702217A (zh) | 2013-12-09 | 2013-12-09 | 图像展现方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015085894A1 true WO2015085894A1 (zh) | 2015-06-18 |
Family
ID=50363599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/093293 WO2015085894A1 (zh) | 2013-12-09 | 2014-12-08 | 图像展现方法、装置、设备及计算机程序产品 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20160314560A1 (zh) |
CN (1) | CN103702217A (zh) |
WO (1) | WO2015085894A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12067224B2 (en) * | 2020-09-29 | 2024-08-20 | Shimadzu Corporation | Data processing system |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702217A (zh) * | 2013-12-09 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | 图像展现方法及装置 |
JP6330442B2 (ja) * | 2014-04-10 | 2018-05-30 | 富士通株式会社 | 端末装置、表示制御プログラム及び表示制御方法 |
EP3221690B1 (en) | 2014-11-21 | 2023-07-19 | Le Hénaff, Guy | System and method for detecting the authenticity of products |
CN104703020B (zh) * | 2015-03-17 | 2018-09-21 | 北京酷云互动科技有限公司 | 二维码的处理方法、装置和视频播放设备 |
CN105306836B (zh) * | 2015-10-23 | 2019-04-30 | 北大方正集团有限公司 | 一种图像显示方法及装置 |
CN105578046A (zh) * | 2015-12-21 | 2016-05-11 | 魅族科技(中国)有限公司 | 一种图像采集的方法及终端 |
CN106056027A (zh) * | 2016-05-25 | 2016-10-26 | 努比亚技术有限公司 | 一种实现远距离扫描二维码的终端、系统和方法 |
CN109756621A (zh) * | 2018-12-25 | 2019-05-14 | 维沃移动通信有限公司 | 一种二维码显示方法及终端设备 |
CN110109546A (zh) * | 2019-05-05 | 2019-08-09 | 南京信息职业技术学院 | 一种基于视力强弱的字符缩放装置及方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6135353A (en) * | 1997-10-27 | 2000-10-24 | Denso Corporation | 2-dimensional code reader |
CN103218595A (zh) * | 2013-03-29 | 2013-07-24 | 深圳市金立通信设备有限公司 | 一种终端及二维码的识别方法 |
CN103702217A (zh) * | 2013-12-09 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | 图像展现方法及装置 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008269396A (ja) * | 2007-04-23 | 2008-11-06 | Sony Corp | 画像処理装置、画像処理方法、およびプログラム |
EP2360563A1 (en) * | 2010-02-15 | 2011-08-24 | Research In Motion Limited | Prominent selection cues for icons |
-
2013
- 2013-12-09 CN CN201310686424.3A patent/CN103702217A/zh active Pending
-
2014
- 2014-12-08 WO PCT/CN2014/093293 patent/WO2015085894A1/zh active Application Filing
- 2014-12-08 US US15/102,565 patent/US20160314560A1/en not_active Abandoned
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6135353A (en) * | 1997-10-27 | 2000-10-24 | Denso Corporation | 2-dimensional code reader |
CN103218595A (zh) * | 2013-03-29 | 2013-07-24 | 深圳市金立通信设备有限公司 | 一种终端及二维码的识别方法 |
CN103702217A (zh) * | 2013-12-09 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | 图像展现方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12067224B2 (en) * | 2020-09-29 | 2024-08-20 | Shimadzu Corporation | Data processing system |
Also Published As
Publication number | Publication date |
---|---|
CN103702217A (zh) | 2014-04-02 |
US20160314560A1 (en) | 2016-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015085894A1 (zh) | 图像展现方法、装置、设备及计算机程序产品 | |
US10115015B2 (en) | Method for recognizing a specific object inside an image and electronic device thereof | |
US8459560B1 (en) | Converting digital wallet credential from displayed code into audio code | |
US20180189083A1 (en) | Method and device for operating target application on corresponding equipment | |
JP2004004565A (ja) | 画像処理装置及び方法、並びにプログラム | |
CN112955896A (zh) | 用于读取条形码的方法和电子设备 | |
US10048857B2 (en) | Shared system and terminal device | |
US20240004676A1 (en) | Screen Capture Method and Apparatus, Electronic Device, and Readable Storage Medium | |
CN108268200A (zh) | 图像处理方法和装置、电子设备、计算机程序和存储介质 | |
TWI686725B (zh) | 展現敏感資訊的方法和裝置 | |
US10503977B2 (en) | Displaying augmented images via paired devices | |
CN106878151B (zh) | 一种用于传输信息的方法、设备及系统 | |
US20170372681A1 (en) | Method, apparatus, and storage medium | |
JP5862772B2 (ja) | 情報処理装置、情報処理方法および記録媒体 | |
US9858646B2 (en) | Resolution enhancer for electronic visual displays | |
CN112445394A (zh) | 一种截图方法和装置 | |
CN115756461A (zh) | 标注模板生成方法、图像识别方法、装置和电子设备 | |
US9753675B2 (en) | Providing promotional content for printers | |
CN114140805A (zh) | 图像处理方法、装置、电子设备及存储介质 | |
JP6322288B2 (ja) | コンピューティングデバイス、セカンダリディスプレイデバイスでデータを表示する、コンピュータ生成の方法、プログラム、及び、機械可読記録媒体 | |
JP6829391B2 (ja) | 情報処理装置、情報配信方法、及び情報配信プログラム | |
CN113706662A (zh) | 电子海报生成方法、设备及存储介质 | |
US10535121B2 (en) | Creation and rasterization of shapes using geometry, style settings, or location | |
WO2018159224A1 (ja) | 操作支援装置、操作支援方法、及びコンピュータ読み取り可能な記録媒体 | |
JP6864978B2 (ja) | 配信装置、配信方法、配信プログラム、端末装置、変更方法、及び変更プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 15102565 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14870445 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14870445 Country of ref document: EP Kind code of ref document: A1 |