CN105825474A - Image amplification method and apparatus - Google Patents

Image amplification method and apparatus Download PDF

Info

Publication number
CN105825474A
CN105825474A CN201610200609.2A CN201610200609A CN105825474A CN 105825474 A CN105825474 A CN 105825474A CN 201610200609 A CN201610200609 A CN 201610200609A CN 105825474 A CN105825474 A CN 105825474A
Authority
CN
China
Prior art keywords
image
block
amplification
frequency region
collection module
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.)
Pending
Application number
CN201610200609.2A
Other languages
Chinese (zh)
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201610200609.2A priority Critical patent/CN105825474A/en
Publication of CN105825474A publication Critical patent/CN105825474A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4023Decimation- or insertion-based scaling, e.g. pixel or line decimation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20048Transform domain processing
    • G06T2207/20052Discrete cosine transform [DCT]

Abstract

The invention discloses an image amplification method and apparatus. According to the method, first of all, discrete cosine transform is performed on an original image, and a first image is obtained according to the transformed original image; then according to a magnification ratio, expansion pixels are added to the first image, and the expanded first image is taken as a second image, wherein RGB parameters of the filled expansion pixels are 0; reverse discrete cosine transform is performed on the second image, and a third image after the transform is obtained, discrete wavelet transformation is performed on the third image, and the transformed third image is taken as a fourth image; a low-frequency area in the fourth image is determined, the low-frequency area is replaced by use of the original image, and a fifth image is obtained; and then reverse discrete wavelet transformation is performed on the fifth image, and an image after the transformation is taken as an amplified image. According to the invention, when the amplified image is obtained, information of the original image is fully utilized, compared to prior arts of image amplification, loss of image information is reduced, and the image quality of the image can be improved.

Description

A kind of image magnification method and device
Technical field
The present embodiments relate to technical field of image processing, particularly relate to a kind of image magnification method and device.
Background technology
Along with the progress of science and technology, the function of terminal unit is the most diversified.Such as, some TVs can be connected with the external source of media such as DVD burner at present, thus user can be by television-viewing to videos such as DVD.
When the video of the source of media transmission external by television-viewing, it is sometimes desirable to play after each two field picture constituting video is amplified.Use prior art to carry out image when amplifying, newly-increased pixel can be added at each pixel periphery of original image, and using the meansigma methods of the color of neighboring pixel as the color of described newly-increased pixel, thus realize the amplification of image.
But, inventor finds in the research process of the application, uses existing image amplifying technique, the image quality of the image after missing image parts of images details after amplification, impact can be made to amplify.
Summary of the invention
For overcoming problem present in correlation technique, the embodiment of the present invention provides a kind of image magnification method and device.
In order to solve above-mentioned technical problem, the embodiment of the invention discloses following technical scheme:
First aspect according to embodiments of the present invention, it is provided that a kind of image magnification method, including:
Obtain pending original image, and described original image is carried out discrete cosine transform, obtain the first image according to the original image after conversion;
According to amplification, adding extension pixel in described first image, using the first image after extension as the second image, wherein, the RGB parameter of the described extension pixel of filling is 0;
Described second image is carried out reverse discrete cosine transform, obtains the 3rd image after conversion, and described 3rd image is carried out wavelet transform, using the 3rd image after conversion as the 4th image;
Determine the low frequency region in described 4th image, and replace described low frequency region with described original image, obtain the 5th image;
Described 5th image is carried out reversely dispersed small wave change, using the image after conversion as the image after amplification.
Preferably, described according to amplification, described first image adds extension pixel, including:
It is each block of pixels by described first image division;
Periphery in each block of pixels fills described extension pixel, forms each image block, wherein, the pixel count of each image block be n*n, n be amplification.
Preferably, described extension pixel is filled in the periphery at high-frequency region place of each block of pixels described.
Preferably, the described low frequency region determined in described 4th image, including:
Described 4th image averaging is divided into n2Individual image block, wherein, n is amplification;
Obtain the image block being positioned at top-left position, determine the low frequency region that image block is described 4th image being positioned at top-left position.
Second aspect according to embodiments of the present invention, it is provided that a kind of image amplifying device, including:
First image collection module, for obtaining pending original image, and carries out discrete cosine transform to described original image, obtains the first image according to the original image after conversion;
Second image collection module, for according to amplification, adds extension pixel in described first image, and using the first image after extension as the second image, wherein, the RGB parameter of the described extension pixel of filling is 0;
3rd image collection module, for described second image carries out reverse discrete cosine transform, obtains the 3rd image after conversion;
4th image collection module, for carrying out wavelet transform to described 3rd image, using the 3rd image after conversion as the 4th image;
5th image collection module, for determining the low frequency region in described 4th image, and replaces described low frequency region with described original image, obtains the 5th image;
Image collection module after amplification, for carrying out reversely dispersed small wave change to described 5th image, using the image after conversion as the image after amplification.
Preferably, described second image collection module includes:
Block of pixels division unit, being used for described first image division is each block of pixels;
Fill unit, fill described extension pixel for the periphery in each block of pixels, form each image block, wherein, the pixel count of each image block be n*n, n be amplification.
Preferably, described extension pixel is filled in the periphery at high-frequency region place of each block of pixels described.
Preferably, described 5th image collection module includes:
Image block division unit, for being divided into n by described 4th image averaging2Individual image block, wherein, n is amplification;
Determine unit, for obtaining the image block being positioned at top-left position, determine the low frequency region that image block is described 4th image being positioned at top-left position.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
Disclosure one image magnification method and device, by scheme disclosed in the present application when obtaining the image after amplifying, take full advantage of the information of original image, compared with existing image amplifying technique, decrease the loss of image information such that it is able to promote the image quality of image.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the present invention can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet embodiments of the invention, and for explaining the principle of the present invention together with description.
Fig. 1 is the workflow schematic diagram according to a kind of image magnification method shown in the present invention one exemplary embodiment;
Fig. 2 is according in a kind of image magnification method shown in the present invention one exemplary embodiment, the schematic diagram of each image got in image amplification;
Fig. 3 is the structural representation according to a kind of image amplifying device shown in the present invention one exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.When explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with describe in detail in appended claims, the present invention some in terms of the example of consistent apparatus and method.
Disclosure one image magnification method and device, to solve to use existing image amplifying technique, the problem of the image quality of the image after the missing image parts of images information after amplification, impact can be made to amplify.
The open a kind of image magnification method of embodiments herein one.Workflow schematic diagram shown in Figure 1, described image magnification method comprises the following steps:
Step S11, obtain pending original image, and described original image is carried out discrete cosine transform (DCT, DiscreteCosineTransform), obtain the first image according to the original image after conversion.
Wherein, the frequency domain of described first image original image after characterizing conversion.The schematic diagram of each image got in image amplification shown in Figure 2, after carrying out discrete cosine transform, in the first image got, usual low-frequency information is distributed in the upper left corner, and high-frequency information is distributed in the lower right corner.
Step S12, according to amplification, in described first image add extension pixel, will extension after the first image as the second image, wherein, the RGB parameter of the described extension pixel of filling is 0.
If desired original image being amplified n times, the most described amplification is n.Set the pixel count of original image as H*W, then the pixel count of the second image is nH*nW.
In the schematic diagram of each image got in the image amplification shown in Fig. 2, the amplification n set is as 2, say, that original image is amplified 2 times.In actual application, amplification can set according to the actual requirements, and this is not limited by the application.
It addition, each pixel is made up of R (red) G (green) B (blue) three primary colors, when adding extension pixel in the first image, the RGB parameter of described extension pixel is 0.
Step S13, described second image is carried out reverse discrete cosine transform (IDCT, InverseDiscreteCosineTransform), obtain the 3rd image after conversion, and described 3rd image is carried out wavelet transform (DWT, DiscreteWaveletTransform), using the 3rd image after conversion as the 4th image.
Step S14, the low frequency region determined in described 4th image, and replace described low frequency region with described original image, obtain the 5th image.
In this application, described 4th image can be divided, and after division, determine low frequency region therein, and replace this low frequency region with original image.
Step S15, described 5th image is carried out reversely dispersed small wave change (IDWT, InverseDiscreteWaveletTransform), by the image after conversion as the image after amplifying.
The open a kind of image magnification method of the first embodiment of the application, the method, when obtaining the image after amplifying, takes full advantage of the information of original image, compared with existing image amplifying technique, decreases the loss of image information such that it is able to promote the image quality of image.
Further, described according to amplification, described first image adds extension pixel, comprises the following steps:
First, it is each block of pixels by described first image division;
Then, the periphery in each block of pixels fills described extension pixel, forms each image block, wherein, the pixel count of each image block be n*n, n be amplification.
Schematic diagram shown in Figure 2, in this figure, amplification n is 2.In this case, after the periphery of each block of pixels fills extension pixel, the pixel of each image block of composition is 2*2.
It addition, when the periphery of block of pixels fills extension pixel, described extension pixel is filled in the periphery at the high-frequency region place of each block of pixels described.Such as, in the first image, low-frequency information is distributed in the upper left corner, and high-frequency information is distributed in the lower right corner, then extension pixel is filled in the periphery of lower right field.
Further, in this application, after obtaining the 4th image, it is thus necessary to determine that the low frequency region in described 4th image, in order to replace described low frequency region by original image.Wherein, the described low frequency region determined in described 4th image, comprise the following steps:
First, described 4th image averaging is divided into n2Individual image block, wherein, n is amplification;
Then, obtain the image block being positioned at top-left position, will be located in the image block low frequency region as described 4th image of top-left position.
Schematic diagram shown in Figure 2, in this figure, sets amplification n as 2, in this case, is 4 image blocks by the 4th image division, and will be located in the image block of top-left position as low frequency region.It addition, " LL " part is low frequency region in this figure, " HH " part is the high-frequency region of this image, and the region that " HL " and " LH " is partly between low frequency and high frequency.
If it addition, amplification n is 3, then need to be divided into the 4th image averaging 9 image blocks, and using the image block that is wherein positioned at top-left position as the low frequency region of described 4th image.
Accordingly, the open a kind of image amplifying device of second embodiment of the application.Structural representation shown in Figure 3, described image amplifying device disclosed in the present application includes: image collection module 600 after first image collection module the 100, second image collection module the 200, the 3rd image collection module the 300, the 4th image collection module the 400, the 5th image collection module 500 and amplification.
Wherein, described first image collection module 100, for obtaining pending original image, and described original image is carried out discrete cosine transform, obtain the first image according to the original image after conversion.
Wherein, the frequency domain of described first image original image after characterizing conversion.The schematic diagram of each image got in image amplification shown in Figure 2, after carrying out discrete cosine transform, in the first image got, usual low-frequency information is distributed in the upper left corner, and high-frequency information is distributed in the lower right corner.
Described second image collection module 200, for according to amplification, adds extension pixel in described first image, and using the first image after extension as the second image, wherein, the RGB parameter of the described extension pixel of filling is 0.
If desired original image being amplified n times, the most described amplification is n.Set the pixel count of original image as H*W, then the pixel count of the second image is nH*nW.
It addition, each pixel is made up of R (red) G (green) B (blue) three primary colors, when adding extension pixel in the first image, the RGB parameter of described extension pixel is 0.
Described 3rd image collection module 300, for described second image carries out reverse discrete cosine transform, obtains the 3rd image after conversion.
Described 4th image collection module 400, for carrying out wavelet transform to described 3rd image, using the 3rd image after conversion as the 4th image.
Described 5th image collection module 500, for determining the low frequency region in described 4th image, and replaces described low frequency region with described original image, obtains the 5th image.
Image collection module 600 after described amplification, for carrying out reversely dispersed small wave change to described 5th image, using the image after conversion as the image after amplification.
The open a kind of image amplifying device of second embodiment of the application, this device, when obtaining the image after amplifying, takes full advantage of the information of original image, compared with existing image amplifying technique, decreases the loss of image information such that it is able to promote the image quality of image.
Further, described second image collection module 200 includes:
Block of pixels division unit, being used for described first image division is each block of pixels;
Fill unit, fill described extension pixel for the periphery in each block of pixels, form each image block, wherein, the pixel count of each image block be n*n, n be amplification.
Further, when the periphery in block of pixels fills extension pixel, described extension pixel is filled in the periphery at the high-frequency region place of each block of pixels described.Such as, in the first image, low-frequency information is distributed in the upper left corner, and high-frequency information is distributed in the lower right corner, then extension pixel is filled in the periphery of lower right field.
Further, described 5th image collection module 500 includes:
Image block division unit, for being divided into n by described 4th image averaging2Individual image block, wherein, n is amplification;
Determine unit, for obtaining the image block being positioned at top-left position, determine the low frequency region that image block is described 4th image being positioned at top-left position.
Schematic diagram shown in Figure 2, in this figure, sets amplification n as 2, in this case, is 4 image blocks by the 4th image division, and will be located in the image block of top-left position as low frequency region.It addition, " LL " part is low frequency region in this figure, " HH " part is the high-frequency region of this image, and the region that " HL " and " LH " is partly between low frequency and high frequency.
If it addition, amplification n is 3, then need to be divided into the 4th image averaging 9 image blocks, and using the image block that is wherein positioned at top-left position as the low frequency region of described 4th image.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate has been described in detail in about the embodiment of the method, and explanation will be not set forth in detail herein.
Those skilled in the art, after considering description and putting into practice invention disclosed, will readily occur to other embodiments of the present invention.The application is intended to any modification, purposes or the adaptations of the present invention, and these modification, purposes or adaptations are followed the general principle of the present invention and include the undocumented common knowledge in the art of the present invention or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (8)

1. an image magnification method, it is characterised in that including:
Obtain pending original image, and described original image is carried out discrete cosine transform, obtain the first image according to the original image after conversion;
According to amplification, adding extension pixel in described first image, using the first image after extension as the second image, wherein, the RGB parameter of the described extension pixel of filling is 0;
Described second image is carried out reverse discrete cosine transform, obtains the 3rd image after conversion, and described 3rd image is carried out wavelet transform, using the 3rd image after conversion as the 4th image;
Determine the low frequency region in described 4th image, and replace described low frequency region with described original image, obtain the 5th image;
Described 5th image is carried out reversely dispersed small wave change, using the image after conversion as the image after amplification.
Image magnification method the most according to claim 1, it is characterised in that described according to amplification, adds extension pixel in described first image, including:
It is each block of pixels by described first image division;
Periphery in each block of pixels fills described extension pixel, forms each image block, wherein, the pixel count of each image block be n*n, n be amplification.
Image magnification method the most according to claim 2, it is characterised in that
Described extension pixel is filled in the periphery at the high-frequency region place of each block of pixels described.
Image magnification method the most according to claim 1, it is characterised in that the described low frequency region determined in described 4th image, including:
Described 4th image averaging is divided into n2Individual image block, wherein, n is amplification;
Obtain the image block being positioned at top-left position, determine the low frequency region that image block is described 4th image being positioned at top-left position.
5. an image amplifying device, it is characterised in that including:
First image collection module, for obtaining pending original image, and carries out discrete cosine transform to described original image, obtains the first image according to the original image after conversion;
Second image collection module, for according to amplification, adds extension pixel in described first image, and using the first image after extension as the second image, wherein, the RGB parameter of the described extension pixel of filling is 0;
3rd image collection module, for described second image carries out reverse discrete cosine transform, obtains the 3rd image after conversion;
4th image collection module, for carrying out wavelet transform to described 3rd image, using the 3rd image after conversion as the 4th image;
5th image collection module, for determining the low frequency region in described 4th image, and replaces described low frequency region with described original image, obtains the 5th image;
Image collection module after amplification, for carrying out reversely dispersed small wave change to described 5th image, using the image after conversion as the image after amplification.
Image amplifying device the most according to claim 5, it is characterised in that described second image collection module includes:
Block of pixels division unit, being used for described first image division is each block of pixels;
Fill unit, fill described extension pixel for the periphery in each block of pixels, form each image block, wherein, the pixel count of each image block be n*n, n be amplification.
Image amplifying device the most according to claim 6, it is characterised in that
Described extension pixel is filled in the periphery at the high-frequency region place of each block of pixels described.
Image amplifying device the most according to claim 5, it is characterised in that described 5th image collection module includes:
Image block division unit, for being divided into n by described 4th image averaging2Individual image block, wherein, n is amplification;
Determine unit, for obtaining the image block being positioned at top-left position, determine the low frequency region that image block is described 4th image being positioned at top-left position.
CN201610200609.2A 2016-03-31 2016-03-31 Image amplification method and apparatus Pending CN105825474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610200609.2A CN105825474A (en) 2016-03-31 2016-03-31 Image amplification method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610200609.2A CN105825474A (en) 2016-03-31 2016-03-31 Image amplification method and apparatus

Publications (1)

Publication Number Publication Date
CN105825474A true CN105825474A (en) 2016-08-03

Family

ID=56526607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610200609.2A Pending CN105825474A (en) 2016-03-31 2016-03-31 Image amplification method and apparatus

Country Status (1)

Country Link
CN (1) CN105825474A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945115A (en) * 2017-12-15 2018-04-20 深圳市图芯智能科技有限公司 A kind of image magnification method and its device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1698371A (en) * 2002-10-17 2005-11-16 数码士有限公司 Method for resizing images using the inverse discrete cosine transform
US7180948B2 (en) * 2001-04-05 2007-02-20 Nec Corporation Image decoder and image decoding method having a frame mode basis and a field mode basis
CN101639936A (en) * 2009-04-28 2010-02-03 北京捷科惠康科技有限公司 X-ray image enhancing method and system thereof
CN104869432A (en) * 2015-05-14 2015-08-26 邓家先 Multi-resolution compression encryption and grading decryption and display method for image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7180948B2 (en) * 2001-04-05 2007-02-20 Nec Corporation Image decoder and image decoding method having a frame mode basis and a field mode basis
CN1698371A (en) * 2002-10-17 2005-11-16 数码士有限公司 Method for resizing images using the inverse discrete cosine transform
CN101639936A (en) * 2009-04-28 2010-02-03 北京捷科惠康科技有限公司 X-ray image enhancing method and system thereof
CN104869432A (en) * 2015-05-14 2015-08-26 邓家先 Multi-resolution compression encryption and grading decryption and display method for image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945115A (en) * 2017-12-15 2018-04-20 深圳市图芯智能科技有限公司 A kind of image magnification method and its device

Similar Documents

Publication Publication Date Title
US20150363912A1 (en) Rgbw demosaic method by combining rgb chrominance with w luminance
US8717462B1 (en) Camera with color correction after luminance and chrominance separation
US20160364840A1 (en) Image Amplifying Method, Image Amplifying Device, and Display Apparatus
US5892850A (en) Signal processing apparatus capable of correcting high-frequency component of color signal with high precision
CN105230033B (en) It is converted using adaptive frequency intensity-controlled to create the details in image
TW200426750A (en) Image data set with embedded pre-subpixel rendered image
CN105230032B (en) The details in image is created using adaptive frequency raising
EP1901228A4 (en) Image processor
CN105210374B (en) The control of super-resolution is improved to frequency using characteristics of image
CN105144681B (en) The details in image is created with frequency raising
KR20170115503A (en) Apparatus and method for reverse-ton mapping images
CN105340268A (en) Image processing device, image processing method, and image processing program
US9858889B2 (en) Color compensation circuit, display apparatus, and color compensation method
CN102378011B (en) Method, device and system for up-sampling image
CN103780887B (en) A kind of video signal processing method and device
US20150215574A1 (en) Data transformation
CN102844786A (en) Image enlargement device, image enlargement program, memory medium on which image enlargement program is stored, and display device
CN105825474A (en) Image amplification method and apparatus
US20050201459A1 (en) Digital image signal decoder and decoding method
WO2015144566A1 (en) An image processing method and a corresponding device
CN104933671A (en) Image color fusion method
Yoshiyama et al. 19.5 L: LateNews Paper: A New Advantage of MultiPrimaryColor Displays
JP4997172B2 (en) Image signal processing apparatus, method and program for image division processing
Fiorucci et al. Objective and subjective quality assessment between JPEG XR with overlap and JPEG 2000
US7787700B2 (en) Signal processing method, signal processing apparatus, computer-readable medium and a data recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160803

WD01 Invention patent application deemed withdrawn after publication