CN108133695B - Image display method, device, equipment and medium - Google Patents

Image display method, device, equipment and medium Download PDF

Info

Publication number
CN108133695B
CN108133695B CN201810002796.2A CN201810002796A CN108133695B CN 108133695 B CN108133695 B CN 108133695B CN 201810002796 A CN201810002796 A CN 201810002796A CN 108133695 B CN108133695 B CN 108133695B
Authority
CN
China
Prior art keywords
image
original image
resolution
determining
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810002796.2A
Other languages
Chinese (zh)
Other versions
CN108133695A (en
Inventor
刘子君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201810002796.2A priority Critical patent/CN108133695B/en
Publication of CN108133695A publication Critical patent/CN108133695A/en
Application granted granted Critical
Publication of CN108133695B publication Critical patent/CN108133695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The application discloses an image display method, an image display device, an image display apparatus and a medium. The method comprises the following steps: receiving an original image; determining the type of the original image based on the attribute information of the original image; processing the original image according to the type of the original image and different processing modes which are set aiming at different types in advance and can improve the image definition to obtain a target image; and displaying the target image. According to the technical scheme of the embodiment of the invention, different processing methods are adopted for different types of images, so that the obtained target images can be clearly displayed, and the display effect is improved.

Description

Image display method, device, equipment and medium
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to an image display method, apparatus, device, and medium.
Background
With the popularization of electronic devices, images are viewed and shared through the electronic devices more often.
When a user pushes an image to the electronic device, the electronic device can amplify and display the image to different degrees according to the resolution of the image. Some images pushed to the electronic equipment by the user are pictures from the network, the definition of the pictures is uneven, and the pictures with low resolution need to be amplified to a greater extent when being displayed on the electronic equipment, so that the display effect is poor.
Therefore, how to improve the display effect of the image on the electronic device is a problem that needs to be solved at present.
Disclosure of Invention
In view of the foregoing defects or shortcomings in the prior art, embodiments of the present application provide an image display scheme capable of improving the display effect of an image on an electronic device.
In a first aspect, an embodiment of the present invention provides an image display method, including:
receiving an original image;
determining the type of the original image based on the attribute information of the original image;
processing the original image according to the type of the original image and different processing modes which are set aiming at different types in advance and can improve the image definition to obtain a target image;
and displaying the target image.
Optionally, determining the type of the original image based on the attribute information of the original image includes:
when exchangeable image file EXIF information exists in the attribute information of the original image or the contained resolution is higher than a preset resolution threshold, determining the type of the original image as a high-resolution type;
and when the EXIF information does not exist in the attribute information of the original image or the contained resolution is not higher than the resolution threshold value, determining the type of the original image as a low resolution type.
Optionally, the type of the original image is a high resolution type;
processing the original image according to the type of the original image and different processing modes which are preset aiming at different types and can improve the image definition to obtain a target image, wherein the processing modes comprise:
performing sharpening processing on the original image, and determining the processed image as a target image; or
And directly determining the original image as a target image.
Optionally, the type of the original image is a low resolution type;
processing the original image according to the type of the original image and different processing modes which are preset aiming at different types and can improve the image definition to obtain a target image, wherein the processing modes comprise:
performing matching search on the original image from specified search content;
when a matching image of the original image is not searched, performing sharpening processing on the original image, and determining the processed image as a target image;
when a matched image of the original image is searched, selecting an image with the highest resolution from the matched images, and determining the image as a target image;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
Optionally, performing matching search on the original image from specified search content, including:
determining visual features of the original image;
and performing matching search on the original image from a network based on the visual characteristics of the original image and a preset image matching algorithm.
Optionally, selecting an image with the highest resolution from the matching images, and determining the image as a target image, including:
after selecting the image with the highest resolution from the matched images, sending an inquiry message for judging whether the selected image is displayed to a user;
and when an instruction which is sent by the user and agrees to display the selected image is received, determining the selected image as a target image.
Optionally, after sending an inquiry message to the user whether to display the selected image, the method further includes:
when an instruction which is sent by the user and does not agree with the selected image to be displayed is received, the original image is subjected to sharpening processing, and the processed image is determined as a target image.
Optionally, selecting an image with the highest resolution from the matching images, and determining the image as a target image, including:
after an image with the highest resolution is selected from the matched images, judging whether the resolution of the selected image is lower than that of the electronic equipment for displaying the target image;
when the resolution of the selected image is lower than that of the electronic equipment, performing definition processing on the selected image, and determining the processed image as a target image;
and when the resolution of the selected image is not lower than that of the electronic equipment, determining the selected image as a target image.
Optionally, the type of the original image is a low resolution type;
processing the original image according to the type of the original image and different processing modes which are preset aiming at different types and can improve the image definition to obtain a target image, wherein the processing modes comprise:
performing matching search on the original image from specified search content;
when a matching image of the original image is not searched, performing sharpening processing on the original image, and determining the processed image as a target image;
when a matched image of the original image is searched, selecting a specified number of images from the matched images according to the sequence of high matching degree to low matching degree;
sending the selected image to a user for selection by the user;
when a selection instruction sent by a user is received, determining an image indicated by the selection instruction as a target image;
when a rejection instruction sent by a user is received, carrying out sharpening processing on the original image, and determining the processed image as a target image;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
Optionally, after receiving the original image and before displaying the target image, the method further includes:
and displaying the original image.
In a second aspect, an embodiment of the present invention further provides an image display apparatus, including:
an image receiving unit for receiving an original image;
a type determining unit for determining a type of the original image based on attribute information of the original image;
the image processing unit is used for processing the original image according to the type of the original image and different processing modes which are set aiming at different types in advance and can improve the image definition to obtain a target image;
and the target image display unit is used for displaying the target image.
Optionally, the type determining unit is configured to:
when exchangeable image file EXIF information exists in the attribute information of the original image or the contained resolution is higher than a preset resolution threshold, determining the type of the original image as a high-resolution type;
and when the EXIF information does not exist in the attribute information of the original image or the contained resolution is not higher than the resolution threshold value, determining the type of the original image as a low resolution type.
Optionally, the type of the original image is a high resolution type;
the image processing unit is used for:
performing sharpening processing on the original image, and determining the processed image as a target image; or
And directly determining the original image as a target image.
Optionally, the type of the original image is a low resolution type;
the image processing unit includes:
the searching module is used for carrying out matching search on the original image from specified search content;
the first processing module is used for carrying out sharpening processing on the original image when a matched image of the original image is not searched, and determining the processed image as a target image;
the second processing module is used for selecting an image with the highest resolution from the matched images and determining the image as a target image when the matched images of the original images are searched;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
Optionally, the search module is configured to:
determining visual features of the original image;
and performing matching search on the original image from a network based on the visual characteristics of the original image and a preset image matching algorithm.
Optionally, the second processing module is configured to:
after selecting the image with the highest resolution from the matched images, sending an inquiry message for judging whether the selected image is displayed to a user;
and when an instruction which is sent by the user and agrees to display the selected image is received, determining the selected image as a target image.
Optionally, the second processing module is further configured to:
when an instruction which is sent by the user and does not agree with the selected image to be displayed is received, the original image is subjected to sharpening processing, and the processed image is determined as a target image.
Optionally, the second processing module is configured to:
after an image with the highest resolution is selected from the matched images, judging whether the resolution of the selected image is lower than that of the electronic equipment for displaying the target image;
when the resolution of the selected image is lower than that of the electronic equipment, performing definition processing on the selected image, and determining the processed image as a target image;
and when the resolution of the selected image is not lower than that of the electronic equipment, determining the selected image as a target image.
Optionally, the type of the original image is a low resolution type;
the image processing unit is used for:
performing matching search on the original image from specified search content;
when a matching image of the original image is not searched, performing sharpening processing on the original image, and determining the processed image as a target image;
when a matched image of the original image is searched, selecting a specified number of images from the matched images according to the sequence of high matching degree to low matching degree;
sending the selected image to a user for selection by the user;
when a selection instruction sent by a user is received, determining an image indicated by the selection instruction as a target image;
when a rejection instruction sent by a user is received, carrying out sharpening processing on the original image, and determining the processed image as a target image;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
Optionally, the apparatus further comprises:
and the original image display unit is used for displaying the original image after the image receiving unit receives the original image and before the target image display unit displays the target image.
In a third aspect, an embodiment of the present invention further provides an image display apparatus, including: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the image display method described above.
In a fourth aspect, the present invention also provides a computer-readable storage medium, on which computer program instructions are stored, which when executed by a processor implement the above-mentioned image display method.
According to the image display scheme provided by the embodiment of the invention, after the original image is received, the type of the original image is determined based on the attribute information of the original image, and then the original image is processed according to different processing modes which are preset aiming at different types and can improve the image definition, so that a target image is obtained and displayed. Compared with the prior art, the method adopts different processing methods for different types of images, so that the obtained target images can be clearly displayed, and the display effect is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic flowchart of an image display method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an image display method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an image display device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device suitable for implementing an embodiment of the present application according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
An embodiment of the present invention provides an image display method, as shown in fig. 1, including the following steps:
step 101, receiving an original image.
The original image may be an image selected by the user from his own mobile phone and pushed to the electronic device.
Step 102, determining the type of the original image based on the attribute information of the original image.
Specifically, when EXIF (Exchangeable Image File) information exists in the attribute information of the original Image, or the included resolution is higher than a preset resolution threshold, the type of the original Image is determined as a high resolution type;
when the EXIF information does not exist in the attribute information of the original image or the resolution included is not higher than the resolution threshold, the type of the original image is determined as the low resolution type.
In the embodiment of the present invention, the reason why the type of the original image is determined according to the resolution and the EXIF information in the attribute information is that:
1. the resolution can directly reflect the resolution of the original image;
2. the EXIF information includes metadata specifically customized for a photograph of the digital camera, and can record shooting parameters, thumbnails and other attribute information of the digital photograph. Therefore, if EXIF information exists in the attribute information of the original image, the original image is a photo taken by the digital camera, and the resolution is relatively high, otherwise, the original image is not a photo taken by the digital camera.
In summary, when the resolution of the original image is greater than the preset resolution threshold, EXIF information exists, and as long as one of the EXIF information and the resolution of the original image is satisfied, the type of the original image can be determined as a high resolution type, and neither of the EXIF information and the resolution of the original image is satisfied, that is, the resolution of the original image is not greater than the resolution threshold, and the EXIF information does not exist, the type of the original image is determined as a low resolution type.
And 103, processing the original image according to the type of the original image and different processing modes which are set aiming at different types in advance and can improve the image definition to obtain a target image.
In the embodiment of the present invention, the types of the original image are classified into a low resolution type and a high resolution type. Firstly, for an original image of a high resolution type, because the resolution is relatively high, when the electronic equipment displays the image, the image can be clearly displayed only by amplifying the image by a small multiple; for the low-resolution type original image, because the resolution is relatively low, according to the method in the prior art, when the electronic device displays the image, the electronic device needs to amplify the image by a larger multiple, which causes the display effect to be poor.
The processing modes of the low resolution type and the high resolution type are described below, respectively.
1. For the high resolution type of original image:
carrying out sharpening processing on an original image, and determining the processed image as a target image; or the original image is directly determined as the target image.
The sharpening process may be, but is not limited to, a difference amplification process.
2. For the low resolution type of original image:
first, a matching search is performed on an original image from specified search contents.
Specifically, the visual characteristics of the original image are determined, and then the original image is subjected to matching search from designated search contents based on the visual characteristics of the original image and a preset image matching algorithm.
The designated search content may be an image disclosed in the entire network or an image library established in advance by the electronic device.
The preset image matching algorithm can adopt a histogram matching algorithm, an image difference algorithm, a binarization processing algorithm, a corrosion/expansion algorithm, a connected domain area calculation algorithm and the like, bin parameters in the histogram matching algorithm can be adjusted according to different image definitions, and the higher the resolution of the image is, the smaller the interval represented by the bin is and the like.
And when the matched image of the original image is not searched, performing sharpening processing on the original image, and determining the processed image as the target image.
When a matching image of the original image is searched, an image with the highest resolution is selected from the matching images and determined as a target image.
Wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
Optionally, the image with the highest resolution is selected from the matching images and determined as the target image, which may be implemented, but not limited to, as follows:
after selecting the image with the highest resolution from the matched images, sending an inquiry message for judging whether the selected image is displayed to a user;
and when an instruction which is sent by the user and agrees to display the selected image is received, determining the selected image as the target image.
In addition, if an instruction sent by a user and not agreeing to display the selected image is received, the original image is subjected to sharpening processing, and the processed image is determined as a target image.
Optionally, the image with the highest resolution is selected from the matching images and determined as the target image, and the method may also be implemented, but is not limited to, as follows:
after selecting the image with the highest resolution from the matched images, judging whether the resolution of the selected image is lower than that of the electronic equipment for displaying the target image;
when the resolution of the selected image is lower than that of the electronic equipment, performing definition processing on the selected image, and determining the processed image as a target image;
and when the resolution of the selected image is not lower than that of the electronic equipment, determining the selected image as the target image.
Through the processing, the high-resolution type original image can be displayed directly or simply and clearly without searching on the network; the method comprises the steps of carrying out matching search on a low-resolution type original image on a network, confirming to carry out sharpening processing by a user after searching an image which is consistent with the original image pushed by the user and has the highest resolution, and carrying out sharpening processing with smaller magnification directly on the basis of the clearest image, so that distortion caused by higher image resolution magnification can be reduced. And the matching search is only carried out on the non-shot image with low resolution in a targeted manner, so that the calculated amount can be reduced, and the image processing efficiency can be improved.
In addition, for the low-resolution type original image, in addition to the above processing method, it is also conceivable to select several images with similar styles to recommend to the user for the user to select when pushing the images searched by the user. The method can be specifically realized as follows:
performing matching search on the original image from the specified search content;
when a matched image of the original image is not searched, performing sharpening processing on the original image, and determining the processed image as a target image;
when a matched image of the original image is searched, selecting a specified number of images from the matched images according to the sequence of high to low matching degree;
sending the selected image to a user for selection;
when a selection instruction sent by a user is received, determining an image indicated by the selection instruction as a target image;
when a rejection instruction sent by a user is received, carrying out sharpening processing on an original image, and determining the processed image as a target image;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
And 104, displaying the obtained target image.
Optionally, before the electronic device displays the obtained target image, the electronic device may display the original image first, that is, when the electronic device receives the original image, the electronic device displays the original image first regardless of the resolution of the original image. Therefore, the waiting time of the user can be reduced, and the user experience is improved.
The present invention will be further described with reference to the following examples, but the present invention is not limited to the following examples.
Fig. 2 is a schematic flow chart of an image display method according to an embodiment of the present invention. The image display method specifically comprises the following steps:
in step 201, the electronic device receives an original image pushed by a user.
In step 202, the electronic device displays the original image.
Step 203, determine whether the resolution of the original image is greater than the resolution threshold and whether EXIF information exists.
When the resolution of the original image is larger than the resolution threshold or EXIF information exists, executing step 204; when the resolution of the original image is not greater than the resolution threshold and the EXIF information is not present, step 205 is performed.
And 204, carrying out sharpening processing on the original image, and determining the processed image as a target image, or determining the original image as the target image without processing. Execution continues at step 212.
Step 205, matching search is performed on the original image from the network.
When no matching image is searched, step 206 is executed; when a matching image is searched, step 207 is executed.
Wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
And step 206, carrying out sharpening processing on the original image, and determining the processed image as a target image. Execution continues at step 212.
Step 207, selecting the image with the highest resolution from the matching images.
Step 208, an inquiry message is sent to the user whether to display the selected image.
When a rejection instruction which is sent by the user and does not agree to display the selected image is received, returning to execute the step 206; when receiving an approval instruction sent by the user to approve display of the selected image, step 209 is performed.
Step 209, determine whether the resolution of the selected image is lower than the resolution of the electronic device.
When the resolution of the selected image is lower than the resolution of the electronic device, executing step 210; when the resolution of the selected image is not lower than the resolution of the electronic device, step 211 is executed.
And step 210, performing definition processing on the selected image, and determining the processed image as a target image. Execution continues at step 212.
And step 211, directly determining the selected image as the target image.
In step 212, the electronic device displays the obtained target image.
In the embodiment of the invention, as for the picture (high-resolution type) shot by the user, the picture is clearest, searching on the network is not needed, and only simple clarification processing is needed to be carried out, so that the picture can be directly displayed; for the image (low resolution type) which is not shot by the user and has low resolution, matching search is carried out on the network, after the image which is consistent with the original image pushed by the user and has the highest resolution is searched, the image is subjected to sharpening processing through user confirmation, and sharpening processing with smaller magnification is directly carried out on the basis of the clearest image, so that distortion caused by higher image resolution magnification can be reduced. And the matching search is only carried out on the non-shot image with low resolution in a targeted manner, so that the calculated amount can be reduced, and the image processing efficiency can be improved.
Based on the same inventive concept, an embodiment of the present invention further provides an image display apparatus, as shown in fig. 3, including:
an image receiving unit 301 for receiving an original image;
a type determining unit 302 for determining a type of the original image based on attribute information of the original image;
an image processing unit 303, configured to process the original image according to the type of the original image and different processing manners that are set in advance for different types and are capable of improving image sharpness, so as to obtain a target image;
and an object image display unit 304 for displaying the object image.
Optionally, the type determining unit 302 is configured to:
when exchangeable image file EXIF information exists in the attribute information of the original image or the contained resolution is higher than a preset resolution threshold, determining the type of the original image as a high-resolution type;
and when the EXIF information does not exist in the attribute information of the original image or the contained resolution is not higher than the resolution threshold value, determining the type of the original image as a low resolution type.
Optionally, the type of the original image is a high resolution type;
the image processing unit 303 is configured to:
performing sharpening processing on the original image, and determining the processed image as a target image; or
And directly determining the original image as a target image.
Optionally, the type of the original image is a low resolution type;
the image processing unit 303 includes:
a search module 3031, configured to perform matching search on the original image from specified search content;
a first processing module 3032, configured to perform sharpening processing on the original image when a matching image of the original image is not searched, and determine the processed image as a target image;
a second processing module 3033, configured to select, when a matching image of the original image is searched, an image with the highest resolution from the matching image, and determine the image as a target image;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
Optionally, the search module 3031 is configured to:
determining visual features of the original image;
and performing matching search on the original image from a network based on the visual characteristics of the original image and a preset image matching algorithm.
Optionally, the second processing module 3033 is configured to:
after selecting the image with the highest resolution from the matched images, sending an inquiry message for judging whether the selected image is displayed to a user;
and when an instruction which is sent by the user and agrees to display the selected image is received, determining the selected image as a target image.
Optionally, the second processing module 3033 is further configured to:
when an instruction which is sent by the user and does not agree with the selected image to be displayed is received, the original image is subjected to sharpening processing, and the processed image is determined as a target image.
Optionally, the second processing module 3033 is configured to:
after an image with the highest resolution is selected from the matched images, judging whether the resolution of the selected image is lower than that of the electronic equipment for displaying the target image;
when the resolution of the selected image is lower than that of the electronic equipment, performing definition processing on the selected image, and determining the processed image as a target image;
and when the resolution of the selected image is not lower than that of the electronic equipment, determining the selected image as a target image.
Optionally, the type of the original image is a low resolution type;
the image processing unit 303 is configured to:
performing matching search on the original image from specified search content;
when a matching image of the original image is not searched, performing sharpening processing on the original image, and determining the processed image as a target image;
when a matched image of the original image is searched, selecting a specified number of images from the matched images according to the sequence of high matching degree to low matching degree;
sending the selected image to a user for selection by the user;
when a selection instruction sent by a user is received, determining an image indicated by the selection instruction as a target image;
when a rejection instruction sent by a user is received, carrying out sharpening processing on the original image, and determining the processed image as a target image;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
Optionally, the apparatus further comprises:
an original image display unit 305, configured to display the original image after the image receiving unit 301 receives the original image and before the target image display unit 304 displays the target image.
It should be understood that the subsystems or units recited in the apparatus correspond to the various steps in the method described with reference to fig. 1-2. Thus, the operations and features described above for the method are equally applicable to the apparatus and the units comprised therein and will not be described in further detail here.
Based on the same inventive concept, the embodiment of the present invention further provides a computer device suitable for implementing the embodiment of the present application, and referring to fig. 4, a schematic structural diagram of a computer device 400 suitable for implementing the embodiment of the present application is shown.
As shown in fig. 4, the computer apparatus 400 includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the computer apparatus 400 are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, the processes described above with reference to fig. 1-2 may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the methods of fig. 1-2. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor. The names of these units or modules do not in some cases constitute a limitation of the unit or module itself.
As another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiments; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the formula input methods described herein.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (20)

1. An image display method, comprising:
receiving an original image, wherein the original image is an image pushed by a sending terminal;
determining the type of the original image based on the attribute information of the original image;
processing the original image according to the type of the original image and different processing modes which are set aiming at different types in advance and can improve the image definition to obtain a target image;
the target image is displayed on the display unit,
when the type of the original image is a low-resolution type, processing the original image according to the type of the original image and different processing modes which are set in advance for different types and can improve the image definition to obtain a target image, including:
performing matching search on the original image from specified search content;
when a matching image of the original image is not searched, performing sharpening processing on the original image, and determining the processed image as a target image;
when a matched image of the original image is searched, selecting an image with the highest resolution from the matched images, and determining the image as a target image;
or selecting a specified number of images from the matched images according to the sequence of the matching degrees from high to low;
sending the selected image to a user for selection by the user;
when a selection instruction sent by a user is received, determining an image indicated by the selection instruction as a target image; wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
2. The method of claim 1, wherein determining the type of the original image based on the attribute information of the original image comprises:
when exchangeable image file EXIF information exists in the attribute information of the original image or the contained resolution is higher than a preset resolution threshold, determining the type of the original image as a high-resolution type;
and when the EXIF information does not exist in the attribute information of the original image or the contained resolution is not higher than the resolution threshold value, determining the type of the original image as a low resolution type.
3. The method according to claim 2, wherein the type of the original image is a high resolution type;
processing the original image according to the type of the original image and different processing modes which are preset aiming at different types and can improve the image definition to obtain a target image, wherein the processing modes comprise:
performing sharpening processing on the original image, and determining the processed image as a target image; or
And directly determining the original image as a target image.
4. The method of claim 1, wherein performing a match search on the original image from specified search content comprises:
determining visual features of the original image;
and performing matching search on the original image from a network based on the visual characteristics of the original image and a preset image matching algorithm.
5. The method of claim 1, wherein selecting the image with the highest resolution from the matching images to be determined as the target image comprises:
after selecting the image with the highest resolution from the matched images, sending an inquiry message for judging whether the selected image is displayed to a user;
and when an instruction which is sent by the user and agrees to display the selected image is received, determining the selected image as a target image.
6. The method of claim 5, wherein after sending a query message to a user whether to display the selected image, the method further comprises:
when an instruction which is sent by the user and does not agree with the selected image to be displayed is received, the original image is subjected to sharpening processing, and the processed image is determined as a target image.
7. The method of claim 1, wherein selecting the image with the highest resolution from the matching images to be determined as the target image comprises:
after an image with the highest resolution is selected from the matched images, judging whether the resolution of the selected image is lower than that of the electronic equipment for displaying the target image;
when the resolution of the selected image is lower than that of the electronic equipment, performing definition processing on the selected image, and determining the processed image as a target image;
and when the resolution of the selected image is not lower than that of the electronic equipment, determining the selected image as a target image.
8. The method of claim 1,
and sending the selected image to a user, and after the image is selected by the user, when a rejection instruction sent by the user is received, the method further comprises the following steps:
and carrying out sharpening processing on the original image, and determining the processed image as a target image.
9. The method of any of claims 1-8, wherein after receiving an original image and before displaying the target image, the method further comprises:
and displaying the original image.
10. An image display apparatus, comprising:
the image receiving unit is used for receiving an original image, wherein the original image is an image pushed by a sending terminal;
a type determining unit for determining a type of the original image based on attribute information of the original image;
the image processing unit is used for processing the original image according to the type of the original image and different processing modes which are set aiming at different types in advance and can improve the image definition to obtain a target image;
a target image display unit for displaying the target image,
the type of the original image is a low resolution type;
the image processing unit includes:
the searching module is used for carrying out matching search on the original image from specified search content;
the first processing module is used for carrying out sharpening processing on the original image when a matched image of the original image is not searched, and determining the processed image as a target image;
the second processing module is used for selecting an image with the highest resolution from the matched images and determining the image as a target image when the matched images of the original images are searched;
or selecting a specified number of images from the matched images according to the sequence of the matching degrees from high to low;
sending the selected image to a user for selection by the user;
when a selection instruction sent by a user is received, determining an image indicated by the selection instruction as a target image;
wherein the matching image satisfies: the resolution is greater than that of the original image, and the matching degree of the matching image and the original image is greater than a preset matching threshold.
11. The apparatus of claim 10, wherein the type determining unit is configured to:
when exchangeable image file EXIF information exists in the attribute information of the original image or the contained resolution is higher than a preset resolution threshold, determining the type of the original image as a high-resolution type;
and when the EXIF information does not exist in the attribute information of the original image or the contained resolution is not higher than the resolution threshold value, determining the type of the original image as a low resolution type.
12. The apparatus of claim 11, wherein the type of the original image is a high resolution type;
the image processing unit is used for:
performing sharpening processing on the original image, and determining the processed image as a target image; or
And directly determining the original image as a target image.
13. The apparatus of claim 10, wherein the search module is configured to:
determining visual features of the original image;
and performing matching search on the original image from a network based on the visual characteristics of the original image and a preset image matching algorithm.
14. The apparatus of claim 10, wherein the second processing module is configured to:
after selecting the image with the highest resolution from the matched images, sending an inquiry message for judging whether the selected image is displayed to a user;
and when an instruction which is sent by the user and agrees to display the selected image is received, determining the selected image as a target image.
15. The apparatus of claim 14, wherein the second processing module is further configured to:
when an instruction which is sent by the user and does not agree with the selected image to be displayed is received, the original image is subjected to sharpening processing, and the processed image is determined as a target image.
16. The apparatus of claim 10, wherein the second processing module is configured to:
after an image with the highest resolution is selected from the matched images, judging whether the resolution of the selected image is lower than that of the electronic equipment for displaying the target image;
when the resolution of the selected image is lower than that of the electronic equipment, performing definition processing on the selected image, and determining the processed image as a target image;
and when the resolution of the selected image is not lower than that of the electronic equipment, determining the selected image as a target image.
17. The apparatus of claim 10,
and after the selected image is sent to the user for selection by the user, and when a rejection instruction sent by the user is received, the second processing module is further configured to:
and carrying out sharpening processing on the original image, and determining the processed image as a target image.
18. The apparatus of any one of claims 10-17, further comprising:
and the original image display unit is used for displaying the original image after the image receiving unit receives the original image and before the target image display unit displays the target image.
19. An image display apparatus characterized by comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-9.
20. A computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-9.
CN201810002796.2A 2018-01-02 2018-01-02 Image display method, device, equipment and medium Active CN108133695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810002796.2A CN108133695B (en) 2018-01-02 2018-01-02 Image display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810002796.2A CN108133695B (en) 2018-01-02 2018-01-02 Image display method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN108133695A CN108133695A (en) 2018-06-08
CN108133695B true CN108133695B (en) 2020-08-14

Family

ID=62399499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810002796.2A Active CN108133695B (en) 2018-01-02 2018-01-02 Image display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN108133695B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816663B (en) * 2018-10-15 2021-04-20 华为技术有限公司 Image processing method, device and equipment
CN109442161B (en) * 2018-11-07 2021-08-03 京东方科技集团股份有限公司 Method and device for adjusting direction of electronic painted screen, electronic painted screen and storage medium
CN110992283A (en) * 2019-11-29 2020-04-10 Oppo广东移动通信有限公司 Image processing method, image processing apparatus, electronic device, and readable storage medium
CN113038267A (en) * 2021-03-09 2021-06-25 Oppo广东移动通信有限公司 Video processing method and device, computer readable storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW501035B (en) * 2001-03-20 2002-09-01 Ulead Systems Inc Interactive image searching method based on local object
KR20100077940A (en) * 2008-12-29 2010-07-08 삼성전자주식회사 Apparatus and method for processing a digital image
CN103366341A (en) * 2013-04-16 2013-10-23 广东欧珀移动通信有限公司 Method and device for adaptive-resolution display of image
CN103530079A (en) * 2013-09-30 2014-01-22 山西云途信息技术有限公司 Picture displaying method and device adaptive to mobile terminals of different resolution ratios
CN103985102A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image processing method and system
CN104077569A (en) * 2014-06-24 2014-10-01 纵横壹旅游科技(成都)有限公司 Image recognizing method and system
CN105489194A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Method and device for displaying images
CN105743771A (en) * 2016-01-22 2016-07-06 胡月鹏 Photo sharing method, photo sharing device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1185892C (en) * 2001-08-23 2005-01-19 华为技术有限公司 Method for implementing static picture display adaptation in mobile terminal
JP2006093810A (en) * 2004-09-21 2006-04-06 Seiko Epson Corp Image reading apparatus, image reading method, image reading program, copying machine, control method of copying machine, and control program of copying machine
WO2007102377A1 (en) * 2006-03-03 2007-09-13 Olympus Corporation Imaging device, processing method for obtaining high-resolution, processing program for obtaining high-resolution, and recording medium
JP2013085276A (en) * 2012-12-11 2013-05-09 Pfu Ltd Image processing device and image processing method
TWM501035U (en) * 2014-12-16 2015-05-11 Chi Yu Fen Wiring assembly installed on cable wiring box or distribution frame

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW501035B (en) * 2001-03-20 2002-09-01 Ulead Systems Inc Interactive image searching method based on local object
KR20100077940A (en) * 2008-12-29 2010-07-08 삼성전자주식회사 Apparatus and method for processing a digital image
CN103366341A (en) * 2013-04-16 2013-10-23 广东欧珀移动通信有限公司 Method and device for adaptive-resolution display of image
CN103530079A (en) * 2013-09-30 2014-01-22 山西云途信息技术有限公司 Picture displaying method and device adaptive to mobile terminals of different resolution ratios
CN103985102A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image processing method and system
CN104077569A (en) * 2014-06-24 2014-10-01 纵横壹旅游科技(成都)有限公司 Image recognizing method and system
CN105489194A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Method and device for displaying images
CN105743771A (en) * 2016-01-22 2016-07-06 胡月鹏 Photo sharing method, photo sharing device and electronic equipment

Also Published As

Publication number Publication date
CN108133695A (en) 2018-06-08

Similar Documents

Publication Publication Date Title
CN108133695B (en) Image display method, device, equipment and medium
US10187546B2 (en) Method and device for correcting document image captured by image pick-up device
US9754183B2 (en) System and method for providing additional information using image matching
CN109255337B (en) Face key point detection method and device
US10296997B2 (en) Image-based information acquisition method and apparatus
US20100331047A1 (en) Methods and apparatuses for facilitating generation and editing of multiframe images
US20180107686A1 (en) Search method and apparatus
CN110781823B (en) Screen recording detection method and device, readable medium and electronic equipment
CN111385484B (en) Information processing method and device
CN112907628A (en) Video target tracking method and device, storage medium and electronic equipment
WO2018052536A1 (en) Systems and methods for analyzing image quality
CN112565890B (en) Video clipping method and device, storage medium and electronic equipment
US9076207B1 (en) Image processing method, system and electronic device
CN111797266B (en) Image processing method and apparatus, storage medium, and electronic device
CN110852250B (en) Vehicle weight removing method and device based on maximum area method and storage medium
JP2003233799A (en) Image processing method
GB2555168A (en) Using labels to track high-frequency offsets for patch-matching algorithms
US20110161443A1 (en) Data management systems and methods for mobile devices
CN110765304A (en) Image processing method, image processing device, electronic equipment and computer readable medium
CN113905188B (en) Video stitching dynamic adjustment method, system, electronic device and storage medium
CN112487943B (en) Key frame de-duplication method and device and electronic equipment
CN110413603B (en) Method and device for determining repeated data, electronic equipment and computer storage medium
CN114862720A (en) Canvas restoration method and device, electronic equipment and computer readable medium
CN112084155B (en) Picture processing method, device, equipment, terminal and readable storage medium
US9978126B2 (en) Image resolution modification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant