CN106971375B - Image amplification processing method and device - Google Patents

Image amplification processing method and device Download PDF

Info

Publication number
CN106971375B
CN106971375B CN201710190076.9A CN201710190076A CN106971375B CN 106971375 B CN106971375 B CN 106971375B CN 201710190076 A CN201710190076 A CN 201710190076A CN 106971375 B CN106971375 B CN 106971375B
Authority
CN
China
Prior art keywords
state parameter
correction state
image
correction
target
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
CN201710190076.9A
Other languages
Chinese (zh)
Other versions
CN106971375A (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.)
SHANGHAI NEW EYES MEDICAL Inc.
Original Assignee
Shanghai New Eyes Medical Inc
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 Shanghai New Eyes Medical Inc filed Critical Shanghai New Eyes Medical Inc
Priority to CN202010283055.3A priority Critical patent/CN111489294A/en
Priority to CN201710190076.9A priority patent/CN106971375B/en
Publication of CN106971375A publication Critical patent/CN106971375A/en
Application granted granted Critical
Publication of CN106971375B publication Critical patent/CN106971375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4092Image resolution transcoding, e.g. by using client-server architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof

Landscapes

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

Abstract

The embodiment of the invention discloses a processing method for image amplification, which comprises the following steps: acquiring a target magnification ratio, randomly selecting a first-class pixel region in a basic image, and carrying out magnification processing on the first-class pixel region by using the target magnification ratio to form an adjusted image; and performing correction processing on the adjusted image to form a first correction state parameter, and applying the first correction state parameter to the base image to form an image to be amplified. The embodiment of the invention can save the time for adjusting the amplification parameter value, improve the efficiency of image amplification processing, improve the quality of the amplified image and obtain good image amplification visual effect.

Description

Image amplification processing method and device
Technical Field
The embodiment of the invention relates to an image amplification technology, in particular to a processing method and device for image amplification.
Background
With the establishment and continuous development of an internet ecosystem and the gradual perfection of the internet of things technology, the connection between mobile terminal intelligent equipment and intelligent home is tighter and tighter, and the requirement for amplifying the image of the mobile terminal to a larger-size screen is more and more. However, only the vector image can be infinitely amplified, and a distortion phenomenon appears after the general image is amplified to a certain degree, and a mosaic effect appears, so that the visual effect is seriously influenced.
In the prior art, analog simulation is performed on an amplified image, and the display effect of the amplified image is adjusted by manually adjusting parameters, so that the whole adjustment process is greatly influenced by subjectivity, time and labor are wasted, and the efficiency of image amplification is low.
Disclosure of Invention
The embodiment of the invention provides a processing method and a processing device for image amplification, which aim to solve the problem of low image amplification processing efficiency in the prior art.
In a first aspect, an embodiment of the present invention provides a processing method for image magnification, including:
acquiring a target magnification ratio, randomly selecting a first-class pixel region in a basic image, and carrying out magnification processing on the first-class pixel region by using the target magnification ratio to form an adjusted image;
and performing correction processing on the adjusted image to form a first correction state parameter, and applying the first correction state parameter to the base image to form an image to be amplified.
Further, at least one second-type pixel region is obtained in any region of the image to be amplified, and the second-type pixel region is amplified according to the target amplification factor to form a verification image;
performing correction processing on the verification image to form at least one second correction state parameter;
judging whether the second correction state parameter is matched with the first correction state parameter;
under the condition that the second correction state parameter is matched with the first correction state parameter, forming a target correction state parameter by using the first correction state parameter or the second correction state parameter;
and under the condition that the second correction state parameter does not match the first correction state parameter, calculating to form a target correction state parameter according to the first correction state parameter and the second correction state parameter.
Further, determining whether the second correction state parameter matches the first correction state parameter includes:
calculating an error between the second correction state parameter and the first correction state parameter;
judging whether the error is matched with a preset error threshold value;
under the condition that the error is matched with a preset error threshold value, judging that the second correction state parameter is matched with the first correction state parameter;
and under the condition that the error does not match a preset error threshold value, judging that the second correction state parameter does not match the first correction state parameter.
Further, acquiring the target magnification includes:
acquiring current display parameters of the basic image;
acquiring a target amplification display parameter of the basic image;
and calculating to form the target magnification according to the current display parameters and the target magnification display parameters.
Further, acquiring a target magnification, selecting a first type of pixel region from the base image, and performing magnification processing on the first type of pixel region with the target magnification to form an adjusted image, wherein the steps of: the area of the first pixel region is calculated and formed according to the target magnification and the display parameter;
B=a/k;
wherein, B is the area of the first pixel region;
a is the display parameter;
k is the target magnification.
In a second aspect, an embodiment of the present invention further provides an image magnification processing apparatus, including:
the magnification processing module is used for acquiring a target magnification ratio, randomly selecting a first type of pixel area in a basic image, and magnifying the first type of pixel area by the target magnification ratio to form an adjusted image;
and the first correction processing module is used for performing correction processing on the adjusted image to form a first correction state parameter and applying the first correction state parameter to the basic image to form an image to be amplified.
Further, the apparatus further comprises:
the verification module is used for acquiring at least one second-class pixel region in any region of the image to be amplified and amplifying the second-class pixel region with the target amplification factor to form a verification image;
the second correction processing module is used for performing correction processing on the verification image to form at least one second correction state parameter;
the matching module is used for judging whether the second correction state parameter is matched with the first correction state parameter;
a first matching result module, configured to form a target correction state parameter by using the first correction state parameter or the second correction state parameter when the second correction state parameter matches the first correction state parameter;
and the second matching result module is used for calculating and forming a target correction state parameter according to the first correction state parameter and the second correction state parameter under the condition that the second correction state parameter does not match the first correction state parameter.
Further, the matching module comprises:
a calculation unit for calculating an error between the second correction state parameter and the first correction state parameter;
the judging unit is used for judging whether the error is matched with a preset error threshold value;
the first judgment result unit is used for judging that the second correction state parameter is matched with the first correction state parameter under the condition that the error is matched with a preset error threshold value;
and the second judgment result unit is used for judging that the second correction state parameter does not match the first correction state parameter under the condition that the error does not match the preset error threshold.
Further, the amplification processing module includes:
the first acquisition unit is used for acquiring the current display parameters of the basic image;
the second acquisition unit is used for acquiring a target amplification display parameter of the basic image;
and the target magnification calculation unit is used for calculating and forming the target magnification according to the current display parameters and the target magnification display parameters.
Further, the amplification processing module further includes:
the area calculation unit is used for calculating the area of the first pixel region according to the target magnification and the display parameter;
B=a/k;
wherein, B is the area of the first pixel region;
a is the display parameter;
k is the target magnification.
According to the embodiment of the invention, after the local image is amplified according to the target amplification factor, the correction state parameter acquired through the local image is used for amplifying the global image, so that the time for adjusting the amplification parameter value is saved, and the efficiency of image amplification is improved. Meanwhile, the correction state parameters are obtained by correcting the adjusted image, so that the accuracy is high, the quality of the amplified image is improved, and a good image amplification visual effect is obtained.
Drawings
FIG. 1 is a flowchart of a processing method for image magnification according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a processing method for image enlargement according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a processing method for image enlargement according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an image enlargement processing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an image enlargement processing apparatus in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an image enlargement processing method according to an embodiment of the present invention, where the embodiment is applicable to a case where an image is enlarged through a screen, and the method may be executed by an image enlargement processing apparatus, which may be implemented in software and/or hardware and is generally integrated in a display device.
The method of the first embodiment of the invention specifically comprises the following steps:
s101, acquiring a target magnification, randomly selecting a first-class pixel area in a basic image, and performing magnification processing on the first-class pixel area by using the target magnification to form an adjusted image.
Specifically, the target magnification is calculated based on the current size of the base image and the target magnification size to be magnified. One or more image block areas are selected from the basic image as a first type of pixel area at will, and each pixel point of the first pixel area is amplified according to the target amplification factor to obtain an adjusted image.
In this embodiment, taking a 5-inch image as an example, a basic image is a 5-inch image displayed on a mobile terminal, and needs to be enlarged to be displayed on a 50-inch television screen, which means that 100 images with the size of the mobile terminal can be sequentially placed on a 50-inch television screen, so that the basic image can be divided into 100 image block regions, which are respectively numbered as A1-a 100, and one or more image block regions are arbitrarily selected from the image block regions, and pixels of each image block region are enlarged. The image block area with the number a1 may be selected, or the image block areas with the numbers a1, a10, a20, and a30 may be selected at the same time. The specific amplification processing method may take an image of 10 × 10 pixels as an example, an image of 10 × 10 pixels needs to be amplified to an image of 100 × 100 pixels, the image is amplified from 100 pixels to 10000 pixels, each pixel is amplified by 100 times, and color values of pixels and parameters such as brightness, saturation, hue and the like need to be supplemented in other amplification regions except the pixel.
S102, carrying out correction processing on the adjusted image to form a first correction state parameter, and applying the first correction state parameter to the basic image to form an image to be amplified.
Specifically, parameters such as hue, saturation, brightness, exposure, sensitivity and a filter of the amplified adjustment image are obtained, the parameters are corrected to form first correction state parameters, namely, the parameters are compared with parameters of local pixel points of a basic image to learn, the change rule of the parameters of the amplified image is obtained, the first correction state parameters are led into the basic image, and the amplified image is expanded to a global image after the local image is compared and learned to form the image to be amplified. It should be noted that, if a plurality of image block regions are selected as the first type of pixel regions, the first correction state parameter is an average value obtained through average calculation.
The image amplification processing method provided by the embodiment of the invention can amplify the global image by using the first correction state parameter, so that the time for adjusting the amplification parameter value is saved, and the efficiency of image amplification processing is improved. Meanwhile, the first correction state parameter is obtained by correcting the adjusted image, so that the accuracy is high, the quality of the amplified image is improved, and a good image amplification visual effect is obtained.
Example two
Fig. 2 is a flowchart of an image enlargement processing method according to a second embodiment of the present invention, which is optimized based on the first embodiment, specifically, the second embodiment of the present invention further optimizes an operation of obtaining a target enlargement ratio, arbitrarily selecting a first type of pixel region in a base image, and enlarging the first type of pixel region with the target enlargement ratio to form an adjusted image, as shown in fig. 2, the second embodiment of the present invention specifically includes:
s201, obtaining the current display parameters of the basic image, obtaining the target magnification display parameters of the basic image, and calculating to form the target magnification ratio according to the current display parameters and the target magnification display parameters.
Specifically, first, display parameters such as the current image resolution and image size of the basic image are acquired, then, display parameters such as the resolution and image size of a target image to be enlarged by the basic image are acquired, and a target magnification ratio is calculated and formed according to the current display parameters and the target magnification display parameters. For example, a 5 inch image displayed on a mobile phone may be enlarged to a 50 inch image displayed on a television, and the target magnification calculated may be 100 times.
S202, arbitrarily selecting a first-class pixel region in a basic image, and carrying out amplification processing on the first-class pixel region by using the target amplification factor to form an adjusted image, wherein the area of the first pixel region is formed by calculation according to the target amplification factor and the display parameter;
B=a/k;
wherein B is an area of the first pixel region, a is the display parameter, and k is the target magnification.
Specifically, one or more image block regions are arbitrarily selected from the basic image as a first-type pixel region, and each pixel point of the first pixel region is amplified according to a target amplification factor to obtain an adjusted image. The selection of the area of the first type of pixel region, i.e. the blocking criterion for blocking the base image, is the display parameter of the base image divided by the target magnification. For example, if the base image is an image of 100 × 100 pixels, and the target magnification is 100 times, the area of the first type pixel region may be a10 × 10 pixel image block.
S203, performing correction processing on the adjusted image to form a first correction state parameter, and applying the first correction state parameter to the basic image to form an image to be amplified.
According to the image amplification processing method provided by the second embodiment of the invention, the local image is amplified according to the target amplification factor, the global image is amplified after the first correction state parameter is acquired, so that the small-size image can be clearly displayed on a larger-size screen, and the image amplification processing efficiency is improved.
EXAMPLE III
Fig. 3 is a flowchart of an image magnification processing method provided by a third embodiment of the present invention, which is optimized and improved based on the above embodiments, and further describes the acquisition of the correction state parameter, as shown in fig. 3, the method according to the third embodiment of the present invention specifically includes:
s301, acquiring a target magnification, randomly selecting a first-class pixel region in the basic image, and performing magnification processing on the first-class pixel region by using the target magnification to form an adjusted image.
S302, performing rectification processing on the adjusted image to form a first rectification state parameter, and applying the first rectification state parameter to the basic image to form an image to be amplified.
S303, acquiring at least one second-class pixel region in any region of the image to be amplified, and amplifying the second-class pixel region with the target amplification factor to form a verification image.
Specifically, at least one image block region is arbitrarily acquired in the image to be enlarged as the second-type pixel region, for example, if the image to be enlarged is divided into image block regions numbered from A1 to a100 according to the image enlargement ratio, the image blocks numbered from a2 or the image blocks numbered from A3 and a11 are selected as the second-type pixel regions, the pixel points of each image block region in the second-type pixel regions are enlarged, and the enlarged image is a verification image.
S304, carrying out correction processing on the verification image to form at least one second correction state parameter.
Specifically, parameters such as hue, saturation, brightness, exposure, sensitivity, and filter of the amplified verification image are acquired, and the parameters are corrected to form a second correction state parameter. If one image block is selected as a second type pixel area, a second correction state parameter is obtained, and if at least one image block is selected as the second type pixel area, at least one second correction state parameter is obtained, and an average value of the at least one second state correction parameter can be obtained to serve as the second state correction parameter.
S305, judging whether the second correction state parameter is matched with the first correction state parameter.
Preferably, the determining whether the second correction state parameter matches the first correction state parameter includes:
calculating an error between the second correction state parameter and the first correction state parameter;
judging whether the error is matched with a preset error threshold value;
under the condition that the error is matched with a preset error threshold value, judging that the second correction state parameter is matched with the first correction state parameter;
and under the condition that the error does not match a preset error threshold value, judging that the second correction state parameter does not match the first correction state parameter.
In this embodiment, a preferable way to determine whether the second correction state parameter matches the first correction state parameter is to calculate an error between the first correction state parameter and the second correction state parameter, where a preset error threshold may be set to 5%, if the error between the first correction state parameter and the second correction state parameter is less than or equal to 5%, the first correction state parameter and the second correction state parameter are considered to be matched, and if the error between the first correction state parameter and the second correction state parameter is greater than 5%, the first correction state parameter and the second correction state parameter are considered to be unmatched.
It should be noted that, error calculation may be performed on at least one second state correction parameter and the first correction state parameter, an error average value is calculated, and then the error average value is compared with a preset error threshold value, so as to determine whether the two are matched.
And S306, under the condition that the second correction state parameter is matched with the first correction state parameter, forming a target correction state parameter by using the first correction state parameter or the second correction state parameter.
Specifically, if the first correction state parameter and the second correction state parameter are matched, the first correction state parameter or the second correction state parameter may be selected as a target correction parameter, and the target correction state parameter is imported to the base image to form the image to be enlarged.
S307, under the condition that the second correction state parameter does not match the first correction state parameter, calculating to form a target correction state parameter according to the first correction state parameter and the second correction state parameter.
Specifically, if the first correction state parameter and the second correction state parameter are not matched, it indicates that there is a large error in obtaining the first correction state parameter, and at this time, introducing the first correction state parameter into the base image to form the image to be enlarged may cause a decrease in image quality, so that it is necessary to obtain the correction state parameter meeting the condition again. At least one image block region can be arbitrarily acquired from the basic image to serve as a third-type pixel region, after the pixel points of each image block region in the third-type pixel region are amplified, correction processing is performed to form at least one third correction state parameter, and an average value of the at least one third correction state parameter is obtained to serve as a third correction state parameter. And checking the third state correction parameter, and repeating the steps until the matched state correction parameter is obtained. And taking one of the matched state correction parameters as a target correction parameter, and introducing the target correction state parameter into the basic image to form the image to be amplified.
In the image amplification processing method provided by the third embodiment of the present invention, the correction state parameter that is most matched with the amplification processing operation is obtained by checking the correction state parameter, so that the accuracy of the adjusted correction state parameter is high, the quality of the amplified image is improved, a good image amplification visual effect is obtained, and meanwhile, the correction state parameter obtained through the local image is imported to the global image, thereby improving the efficiency of the image amplification processing.
Example four
Fig. 4 is a schematic structural diagram of an image enlargement processing apparatus in a fourth embodiment of the present invention, which is applied to a case where an image is enlarged and displayed on a larger-size screen. As shown in fig. 4, the apparatus includes:
the magnification processing module 401 is configured to obtain a target magnification ratio, choose a first type of pixel region in a base image, and perform magnification processing on the first type of pixel region with the target magnification ratio to form an adjusted image;
a first rectification processing module 402, configured to perform rectification processing on the adjusted image to form a first rectification state parameter, and apply the first rectification state parameter to the base image to form an image to be enlarged.
In this embodiment, in the magnification processing module, the target magnification is acquired. One or more image block areas are selected from the basic image as a first type of pixel area at will, and each pixel point of the first pixel area is amplified according to the target amplification factor to obtain an adjusted image. The method comprises the steps of obtaining parameters such as hue, saturation, brightness, exposure, light sensitivity and a filter of an amplified adjustment image in a first correction processing module, obtaining a change rule of the parameters after the image is amplified, forming a first correction state parameter through correction processing, and leading the first correction state parameter into a basic image to form an image to be amplified.
The image amplification processing device provided by the fourth embodiment of the invention can amplify the global image through the correction state parameter acquired by the local image, so that the time for adjusting the amplification parameter value is saved, and the image amplification processing efficiency is improved. Meanwhile, the correction state parameters are obtained by correcting the adjusted image, so that the accuracy is high, the quality of the amplified image is improved, and a good image amplification visual effect is obtained.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an image magnification processing apparatus in a fifth embodiment of the present invention, which is further optimized based on the fourth embodiment, and as shown in fig. 5, the apparatus includes:
the magnification processing module 501 is configured to obtain a target magnification, choose a first type of pixel region in a base image, and perform magnification processing on the first type of pixel region with the target magnification to form an adjusted image;
a first rectification processing module 502, configured to perform rectification processing on the adjusted image to form a first rectification state parameter, and apply the first rectification state parameter to the base image to form an image to be enlarged;
the verification module 503 is configured to obtain at least one second-type pixel region in any region of the image to be amplified, and amplify the second-type pixel region with the target amplification factor to form a verification image;
a second rectification processing module 504, configured to perform rectification processing on the verification image to form at least one second rectification state parameter;
a matching module 505, configured to determine whether the second correction state parameter matches the first correction state parameter;
a first matching result module 506, configured to form a target correction state parameter according to the first correction state parameter or the second correction state parameter when the second correction state parameter matches the first correction state parameter;
the second matching result module 507 is configured to calculate and form a target correction state parameter according to the first correction state parameter and the second correction state parameter when the second correction state parameter does not match the first correction state parameter.
On the basis of the above embodiments, the matching module includes:
a calculation unit for calculating an error between the second correction state parameter and the first correction state parameter;
the judging unit is used for judging whether the error is matched with a preset error threshold value;
the first judgment result unit is used for judging that the second correction state parameter is matched with the first correction state parameter under the condition that the error is matched with a preset error threshold value;
and the second judgment result unit is used for judging that the second correction state parameter does not match the first correction state parameter under the condition that the error does not match the preset error threshold.
On the basis of the above embodiments, the amplification processing module includes:
the first acquisition unit is used for acquiring the current display parameters of the basic image;
the second acquisition unit is used for acquiring a target amplification display parameter of the basic image;
and the target magnification calculation unit is used for calculating and forming the target magnification according to the current display parameters and the target magnification display parameters.
On the basis of the foregoing embodiments, the amplification processing module further includes:
the area calculation unit is used for calculating the area of the first pixel region according to the target magnification and the display parameter;
B=a/k;
wherein, B is the area of the first pixel region;
a is the display parameter;
k is the target magnification.
In this embodiment, a first obtaining unit in the magnification processing module obtains current display parameters of the basic image, a second obtaining unit obtains target magnification display parameters of the basic image, a target magnification calculation unit calculates a target magnification, and an area calculation unit calculates an area of the first pixel region according to the calculated area of the first pixel region, so as to arbitrarily select the first type of pixel region in the basic image. And amplifying each pixel point in the first type of pixel region according to the target amplification factor to obtain an adjusted image.
And correcting the adjusted image to form a first correction state parameter, verifying the accuracy of the first correction state parameter, acquiring at least one second-class pixel region in any region of the image to be amplified through a verification module, and amplifying each pixel point of the second-class pixel region according to the target amplification factor to obtain a verification image. And utilizing a second correction processing module to perform correction processing on the verification image to form at least one second correction state parameter. The first-state correction parameter and the second-state correction parameter may include parameters of hue, saturation, brightness, exposure, sensitivity, and filter. In the matching module, whether the second correction state parameter is matched with the first correction state parameter or not is judged, an error between the second correction state parameter and the first correction state parameter is calculated through a calculation unit in the matching module, whether the error is smaller than or equal to a preset error threshold value or not is judged through a judgment unit, if the error is smaller than or equal to the preset error threshold value, matching between the second correction state parameter and the first correction state parameter is judged through a first judgment result unit, and if the error is larger than the preset error threshold value, mismatching between the second correction state parameter and the first correction state parameter is judged through a second judgment result unit. In addition, the error calculation may be performed on at least one second state correction parameter and the first correction state parameter, and an error average value may be calculated, and then the error average value may be compared with a preset error threshold value, so as to determine whether the two are matched.
And if the second correction state parameter is matched with the first correction state parameter, selecting the first correction state parameter or the second correction state parameter as a target correction state parameter through the first matching result module, and importing the target correction state parameter into the basic image to form an image to be amplified. And if the second correction state parameter is not matched with the first correction state parameter, calculating the target correction state parameter through a second matching result module. At least one image block region can be arbitrarily acquired from the basic image to serve as a third-type pixel region, after the pixel points of each image block region in the third-type pixel region are amplified, correction processing is performed to form at least one third correction state parameter, and an average value of the at least one third correction state parameter is obtained to serve as a third correction state parameter. And checking the third state correction parameter, and repeating the steps until the matched state correction parameter is obtained. And taking one of the matched state correction parameters as a target correction parameter, and introducing the target correction state parameter into the basic image to form the image to be amplified.
The image amplification processing device provided by the fifth embodiment of the invention can clearly display small-sized images on a larger-sized screen, improves the quality of amplified images, obtains good image amplification visual effect, improves the image amplification processing efficiency, and has wide application range.
The image amplification processing device provided by the embodiment of the invention can execute the image amplification processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (4)

1. A processing method for image enlargement, comprising:
acquiring a target magnification ratio, randomly selecting a first-class pixel region in a basic image, and carrying out magnification processing on the first-class pixel region by using the target magnification ratio to form an adjusted image;
correcting the adjusted image to form a first correction state parameter, and applying the first correction state parameter to the base image to form an image to be amplified;
acquiring at least one second type pixel region in any region of the image to be amplified, and amplifying the second type pixel region with the target amplification factor to form a verification image;
performing correction processing on the verification image to form at least one second correction state parameter;
judging whether the second correction state parameter is matched with the first correction state parameter;
under the condition that the second correction state parameter is matched with the first correction state parameter, forming a target correction state parameter by using the first correction state parameter or the second correction state parameter;
under the condition that the second correction state parameter does not match the first correction state parameter, calculating to form a target correction state parameter according to the first correction state parameter and the second correction state parameter; judging whether the second correction state parameter matches the first correction state parameter includes:
calculating an error between the second correction state parameter and the first correction state parameter;
judging whether the error is matched with a preset error threshold value;
under the condition that the error is matched with a preset error threshold value, judging that the second correction state parameter is matched with the first correction state parameter;
and under the condition that the error does not match a preset error threshold value, judging that the second correction state parameter does not match the first correction state parameter.
2. The method of claim 1, wherein obtaining a target magnification comprises:
acquiring current display parameters of the basic image;
acquiring a target amplification display parameter of the basic image;
and calculating to form the target magnification according to the current display parameters and the target magnification display parameters.
3. A processing apparatus for image enlargement, comprising:
the magnification processing module is used for acquiring a target magnification ratio, randomly selecting a first type of pixel area in a basic image, and magnifying the first type of pixel area by the target magnification ratio to form an adjusted image;
the first correction processing module is used for performing correction processing on the adjusted image to form a first correction state parameter and applying the first correction state parameter to the basic image to form an image to be amplified;
the verification module is used for acquiring at least one second-class pixel region in any region of the image to be amplified and amplifying the second-class pixel region with the target amplification factor to form a verification image;
the second correction processing module is used for performing correction processing on the verification image to form at least one second correction state parameter;
the matching module is used for judging whether the second correction state parameter is matched with the first correction state parameter;
a first matching result module, configured to form a target correction state parameter by using the first correction state parameter or the second correction state parameter when the second correction state parameter matches the first correction state parameter;
the second matching result module is used for calculating and forming a target correction state parameter according to the first correction state parameter and the second correction state parameter under the condition that the second correction state parameter does not match the first correction state parameter;
a calculation unit for calculating an error between the second correction state parameter and the first correction state parameter;
the judging unit is used for judging whether the error is matched with a preset error threshold value;
the first judgment result unit is used for judging that the second correction state parameter is matched with the first correction state parameter under the condition that the error is matched with a preset error threshold value;
and the second judgment result unit is used for judging that the second correction state parameter does not match the first correction state parameter under the condition that the error does not match the preset error threshold.
4. The apparatus of claim 3, wherein the amplification processing module comprises:
the first acquisition unit is used for acquiring the current display parameters of the basic image;
the second acquisition unit is used for acquiring a target amplification display parameter of the basic image;
and the target magnification calculation unit is used for calculating and forming the target magnification according to the current display parameters and the target magnification display parameters.
CN201710190076.9A 2017-03-27 2017-03-27 Image amplification processing method and device Active CN106971375B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010283055.3A CN111489294A (en) 2017-03-27 2017-03-27 Image amplification processing method
CN201710190076.9A CN106971375B (en) 2017-03-27 2017-03-27 Image amplification processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710190076.9A CN106971375B (en) 2017-03-27 2017-03-27 Image amplification processing method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202010283055.3A Division CN111489294A (en) 2017-03-27 2017-03-27 Image amplification processing method

Publications (2)

Publication Number Publication Date
CN106971375A CN106971375A (en) 2017-07-21
CN106971375B true CN106971375B (en) 2020-06-05

Family

ID=59336143

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010283055.3A Withdrawn CN111489294A (en) 2017-03-27 2017-03-27 Image amplification processing method
CN201710190076.9A Active CN106971375B (en) 2017-03-27 2017-03-27 Image amplification processing method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010283055.3A Withdrawn CN111489294A (en) 2017-03-27 2017-03-27 Image amplification processing method

Country Status (1)

Country Link
CN (2) CN111489294A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430376B (en) * 2019-07-25 2021-12-28 西南交通大学 Image processing method and system
CN111667408B (en) * 2020-06-02 2023-06-02 中车青岛四方机车车辆股份有限公司 Vehicle image processing method and device, storage medium and processor
CN116188603A (en) * 2021-11-27 2023-05-30 华为技术有限公司 Image processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300083A (en) * 2011-09-27 2011-12-28 杭州华三通信技术有限公司 Method and equipment for magnifying local region image
CN103310214A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Image processing method and equipment
CN106204441A (en) * 2016-06-27 2016-12-07 Tcl集团股份有限公司 The method and device that a kind of image local amplifies
CN106373090A (en) * 2016-08-31 2017-02-01 广州视睿电子科技有限公司 Picture processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300083A (en) * 2011-09-27 2011-12-28 杭州华三通信技术有限公司 Method and equipment for magnifying local region image
CN103310214A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Image processing method and equipment
CN106204441A (en) * 2016-06-27 2016-12-07 Tcl集团股份有限公司 The method and device that a kind of image local amplifies
CN106373090A (en) * 2016-08-31 2017-02-01 广州视睿电子科技有限公司 Picture processing method and device

Also Published As

Publication number Publication date
CN111489294A (en) 2020-08-04
CN106971375A (en) 2017-07-21

Similar Documents

Publication Publication Date Title
US11113795B2 (en) Image edge processing method, electronic device, and computer readable storage medium
CN103531175B (en) Splicing display device screen intensity uniformity tuning method and system
KR100916073B1 (en) Apparatus and method of stretching histogram for enhancing contrast of image
US20050162620A1 (en) Image processing apparatus
CN107644607B (en) Color temperature adjusting method of display panel and display device
CN108009997B (en) Method and device for adjusting image contrast
JP5666407B2 (en) Correct defective pixels in digital color images
CN108022223B (en) Tone mapping method based on logarithm mapping function blocking processing fusion
CN109658427B (en) Image processing method and device
CN106971375B (en) Image amplification processing method and device
CN105185314A (en) Uniformity compensation method for LED display screen
CN109817170B (en) Pixel compensation method and device and terminal equipment
CN106204441B (en) Image local amplification method and device
CN114203087B (en) Configuration of compensation lookup table, compensation method, device, equipment and storage medium
CN110290365B (en) Edge fusion method
US11962917B2 (en) Color adjustment method, color adjustment device, electronic device and computer-readable storage medium
JP2010503896A (en) Masking visual defects
KR101279576B1 (en) Method for generating panorama image within digital image processing apparatus
CN106817542B (en) imaging method and imaging device of microlens array
JP2007049496A (en) Image processing method and apparatus
CN114078094A (en) Image edge brightness correction method, device and system
US20100091195A1 (en) De-ringing Device and Method
CN113793249A (en) Method and device for converting Pentile image into RGB image and storage medium
CN107305685A (en) Image comparison Enhancement Method and its device
CN101364303B (en) Edge pixel extracting and processing method

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200327

Address after: 750003 No. 561, Xinhua East Street, Xingqing District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant after: Hou Suhua

Address before: 200233, Shanghai, Jinshan District Jinshan Industrial Zone, Ting Wei highway 65584, room 1309

Applicant before: SHANGHAI WIND TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200429

Address after: Room 614, No. 65, Chifeng Road, Yangpu District, Shanghai

Applicant after: SHANGHAI NEW EYES MEDICAL Inc.

Address before: 750003 No. 561, Xinhua East Street, Xingqing District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant before: Hou Suhua

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant