CN109741274A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN109741274A
CN109741274A CN201811600260.7A CN201811600260A CN109741274A CN 109741274 A CN109741274 A CN 109741274A CN 201811600260 A CN201811600260 A CN 201811600260A CN 109741274 A CN109741274 A CN 109741274A
Authority
CN
China
Prior art keywords
image
high frequency
frequency subgraph
subgraph
low frequency
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.)
Granted
Application number
CN201811600260.7A
Other languages
Chinese (zh)
Other versions
CN109741274B (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.)
Xinjiang University
Original Assignee
Xinjiang University
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 Xinjiang University filed Critical Xinjiang University
Priority to CN201811600260.7A priority Critical patent/CN109741274B/en
Publication of CN109741274A publication Critical patent/CN109741274A/en
Application granted granted Critical
Publication of CN109741274B publication Critical patent/CN109741274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The problem of the invention discloses a kind of image processing method and devices, are related to the field of medical imaging, and what is be able to solve can not effectively enhance the contrast and resolution ratio of medical image in the prior art.Image processing method of the invention includes: that the first image of acquisition and the second image, the first image are identical with second image;Histogram equalization processing is carried out to the first image;By treated, the first image carries out two-dimensional discrete wavelet conversion, obtains the first high frequency subgraph and the first low frequency subgraph;Second image is subjected to two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph and the second low frequency subgraph;Fuzzy Processing is passivated to the second high frequency subgraph;Image co-registration is carried out to the first high frequency subgraph, first low frequency subgraph, treated the second high frequency subgraph and second low frequency subgraph based on wavelet transformation.It the composite can be widely applied in the scene of processing medical image.

Description

Image processing method and device
Technical field
The present invention relates to the field of medical imaging, more particularly to a kind of image processing method and device.
Background technique
Medical image refers to for medical treatment or medical research, to human body or human body part, obtained with non-intruding mode in The technology and treatment process of tissue image, portion.It includes the relatively independent research direction of following two: medical image system and doctor Learn image procossing.Medical Image Processing, which refers to, further processes the image obtained, original inadequate the purpose is to make Clearly image restoration, or in order to protrude certain characteristic informations in image etc..
Medical image generates some noise jammings in imaging process, and causing image to occur, contrast is low and resolution ratio is lower The problems such as.Therefore image enhancement processing can be carried out to image first in Medical Image Processing.Image enhancement is image preprocessing A highly important ring, can enhance clarity, visual effect and texture of image etc. in link.And utilize the prior art Carry out image enhancement processes in, the meeting after histogram equalization so that the mean value of image close to the midpoint of gray level, and and original image Picture intrinsic colour is unrelated, causes objects in images blur margin clear.Also, meeting after histogram equalization is so that a part is grey in image Degree grade is stretched, and another part gray level is degenerated into, and shows as image and crosses the unnatural phenomenon that enhancing occurs, i.e. black and white in image Hue difference is excessive, and image is distorted.
Summary of the invention
In view of this, the present invention provides a kind of image processing method and device, what is mainly solved can not have in the prior art The problem of contrast and resolution ratio of effect ground enhancing medical image.
In order to achieve the above objectives, present invention generally provides following technical solutions:
In a first aspect, the present invention provides a kind of image processing methods, which comprises
The first image and the second image are obtained, the first image is identical with second image;
Histogram equalization processing is carried out to the first image;
By treated, the first image carries out two-dimensional discrete wavelet conversion, obtains the first high frequency subgraph and the first low frequency Figure;
Second image is subjected to two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph and the second low frequency subgraph;
Fuzzy Processing is passivated to the second high frequency subgraph;
Based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated the second high frequency subgraph Image co-registration is carried out with second low frequency subgraph.
Optionally, based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, that treated is second high Frequency subgraph and second low frequency subgraph carry out image co-registration, comprising:
Obtain the high frequency coefficient that absolute value is big in the first high frequency subgraph and the second high frequency subgraph;
Calculate the quadratic sum of the low frequency coefficient of first low frequency subgraph and the second height subgraph;
High frequency coefficient of the high frequency coefficient that will acquire as blending image, using the quadratic sum of calculating as the low of blending image Frequency coefficient, and based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated second high frequency Subgraph and second low frequency subgraph carry out image co-registration, to obtain the blending image.
Optionally, after being passivated Fuzzy Processing to the second high frequency subgraph, the method also includes:
To treated, the second high frequency subgraph carries out median filter process.
Optionally, Fuzzy Processing is passivated to the second high frequency subgraph, comprising:
Fuzzy Processing is passivated twice to the second high frequency subgraph.
Second aspect, the present invention provides a kind of image processing apparatus, described device includes:
Acquiring unit is identical with second image for obtaining the first image and the second image, the first image;
Processing unit, for carrying out histogram equalization processing to the first image;
The obtaining unit is also used to treated the first image carrying out two-dimensional discrete wavelet conversion, it is high to obtain first Frequency subgraph and the first low frequency subgraph;
The obtaining unit is also used to second image carrying out two-dimensional discrete wavelet conversion, obtains the second high frequency Figure and the second low frequency subgraph;
The processing unit is also used to be passivated Fuzzy Processing to the second high frequency subgraph;
Integrated unit, for based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated Second high frequency subgraph and second low frequency subgraph carry out image co-registration.
Optionally, the integrated unit further include:
Module is obtained, for obtaining the high frequency system that absolute value is big in the first high frequency subgraph and the second high frequency subgraph Number;
Computing module, square of the low frequency coefficient for calculating first low frequency subgraph and the second height subgraph With;
Fusion Module, high frequency coefficient of the high frequency coefficient as blending image for will acquire make the quadratic sum of calculating For the low frequency coefficient of blending image, and based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, the place The second high frequency subgraph and second low frequency subgraph after reason carry out image co-registration, to obtain the blending image.
Optionally, the processing unit is also used to carry out median filter process to treated the second high frequency subgraph.
Optionally, the processing unit is also used to be passivated Fuzzy Processing twice to the second high frequency subgraph.
The third aspect, the present invention also provides a kind of storage medium, the storage medium includes the program of storage, wherein The image processing method of equipment as described in relation to the first aspect where controlling the storage medium in described program operation.
Fourth aspect, the present invention also provides a kind of processor, the processor is for running program, wherein the journey Image processing method as described in relation to the first aspect is executed when sort run.
By above-mentioned technical proposal, the call answering method and device of the communicating terminal of technical solution of the present invention offer is at least It has the advantage that
Image processing method provided by the invention is a kind of image enhancement side that new spatial domain and transform domain combine Method obtains two identical images, and only carries out histogram equalization processing to wherein piece image, improves picture contrast.So Two images are subjected to two-dimensional discrete wavelet conversion again afterwards, obtain include four of two high frequency subgraphs and two low frequency subgraphs not Same subgraph.And Fuzzy Processing is passivated to the second high frequency subgraph, improve its marginal definition.It is based on wavelet transformation again recently Image co-registration is carried out to all high frequency subgraphs and the second low frequency subgraph, a width is obtained and enhances the fusion figure of contrast and clarity Picture.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention and the accompanying drawings.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of image processing method provided in an embodiment of the present invention;
Fig. 2 shows the flow charts of another image processing method provided in an embodiment of the present invention;
Fig. 3 shows a kind of block diagram of image processing apparatus provided in an embodiment of the present invention;
Fig. 4 shows the block diagram of another image processing apparatus provided in an embodiment of the present invention.
Specific embodiment
It is of the invention to reach the technical means and efficacy that predetermined goal of the invention is taken further to illustrate, below in conjunction with Attached drawing and preferred embodiment, to image processing method proposed according to the present invention and device its specific embodiment, structure, feature And its effect, detailed description is as follows.In the following description, what different " embodiment " or " embodiment " referred to is not necessarily same Embodiment.In addition, the special characteristic, structure or feature in one or more embodiments can be combined by any suitable form.
Referring to shown in attached drawing 1, the embodiment of the invention provides a kind of image processing method, this method is specifically included that
101, the first image and the second image are obtained.
The image handled is replicated, two identical images, the first image and the second image are obtained.It will Identical first image of figure and the input of the second image, can obtain first image and second image.
102, histogram equalization processing is carried out to the first image.
After obtaining two identical images, since the noise of image is relatively low, first using histogram equalization to it In an image pre-processed, improve the contrast of first image.
103, by treated, the first image carries out two-dimensional discrete wavelet conversion, obtains the first high frequency subgraph and the first low frequency Subgraph.
After the pretreatment of the first image histogram equilibrium, in order to realize the reconstruct to image, then by first image into Row two-dimensional discrete wavelet conversion;First image is divided into two subgraphs, a high frequency subgraph (the first high frequency subgraph) and one it is low Frequency subgraph (the first low frequency subgraph), so that the subsequent subgraph by the subgraph of the first image and the second image merges.
104, the second image is subjected to two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph and the second low frequency subgraph.
Similarly, in order to realize the reconstruct to image, two-dimensional discrete wavelet conversion to also be carried out to the second image, also by second Image is divided into two subgraphs, a high frequency subgraph (the second high frequency subgraph) and a low frequency subgraph (the second low frequency subgraph).
105, Fuzzy Processing is passivated to the second high frequency subgraph.
Before being merged four subgraphs, need to be passivated Fuzzy Processing to the second high frequency subgraph, to overcome it The too low defect of contrast, shows that the edge of image clearly.
Further, in order to improve the contrast of image, repeatedly passivation Fuzzy Processing can be carried out to the second high frequency subgraph.
Wherein, step 102-103, which is accomplished that, carries out image procossing to the first image, and step 104-105 is accomplished that pair Second image carries out image procossing, and the execution sequence of the two does not influence the result of realization, therefore the present embodiment is to step The execution sequence of 102-103 and step 104-105 are not especially limited, and it is only that one of step executes sequence that Fig. 1, which is shown,.
106, based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated the second high frequency Subgraph and second low frequency subgraph carry out image co-registration.
First high frequency subgraph of generation, the first low frequency subgraph, the second low frequency subgraph before obtaining, and it is fuzzy by passivation This four different subgraphs are carried out image co-registration by the second high frequency subgraph of processing.Specially it is based on wavelet transformation, and root Wavelet Fusion processing is carried out to four subgraphs according to the high frequency coefficient and low frequency coefficient of setting, to obtain the high image of clarity.
Image processing method provided in an embodiment of the present invention is a kind of image increasing that new spatial domain and transform domain combine Strong method obtains two identical images, and only carries out histogram equalization processing to wherein piece image, improves image comparison Degree.Then two images are subjected to two-dimensional discrete wavelet conversion again, obtaining includes two high frequency subgraphs and two low frequency subgraphs Four different subgraphs.And Fuzzy Processing is passivated to the second high frequency subgraph, improve its marginal definition.Recently again based on small Wave conversion carries out image co-registration to all high frequency subgraphs and the second low frequency subgraph, obtains a width and enhances contrast and clarity Blending image.
Graphic processing method based on the above embodiment, another embodiment of the present invention further provide at another image Reason method, referring to shown in Fig. 2, this method is specifically included that
201, the first image and the second image are obtained.
The implementation and above-described embodiment step 101 of step 201 are identical, and details are not described herein.
202, histogram equalization processing is carried out to the first image.
The implementation and above-described embodiment step 102 of step 202 are identical, and details are not described herein.
203, by treated, the first image carries out two-dimensional discrete wavelet conversion, obtains the first high frequency subgraph and the first low frequency Subgraph.
When obtaining two subgraphs to the first image progress two-dimensional discrete wavelet conversion, the first high frequency subgraph is obtained respectively The low frequency coefficient of high frequency coefficient and the first low frequency subgraph, to be subsequently used for the high frequency coefficient and low frequency system when setting image co-registration Number.
204, the second image is subjected to two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph and the second low frequency subgraph.
Similarly, when obtaining two subgraphs to the second image progress two-dimensional discrete wavelet conversion, it is high that second is also obtained respectively The low frequency coefficient of the high frequency coefficient of frequency subgraph and the second low frequency subgraph, so as to the high frequency coefficient being subsequently used for when setting image co-registration And low frequency coefficient.
205, Fuzzy Processing is passivated twice to the second high frequency subgraph.
When being passivated Fuzzy Processing to the second high frequency subgraph, it is contemplated that the subjective visual effect and method of image The aspect of time complexity two, the present embodiment is passivated Fuzzy Processing to the second high frequency subgraph twice, so that the can be improved The contrast of two high frequency subgraphs, and will not increase too much and execute the time that step expends.
206, to treated, the second high frequency subgraph carries out median filter process.
After being passivated Fuzzy Processing to the second high frequency and improving its contrast, it is also necessary to be carried out at image denoising to it Reason reduces the noise jamming in image.Specifically, the present embodiment using the method for median filtering after fuzzy to passivation the Two high frequency subgraphs carry out image denoising.
Before all subgraphs to the first image and the second image carry out image co-registration, when needing first to calculate image co-registration The high frequency coefficient and low frequency coefficient used.Specific calculation method is as described below.
207, the high frequency coefficient that absolute value is big in the first high frequency subgraph and the second high frequency subgraph is obtained.
It is taken respectively absolutely according to the high frequency coefficient of the high frequency coefficient of the first high frequency subgraph obtained before and the second high frequency subgraph It to value, then compares, obtains the wherein biggish numerical value of absolute value.
208, the quadratic sum of the low frequency coefficient of the first low frequency subgraph and the second height subgraph is calculated.
According to the low frequency coefficient of the first low frequency subgraph obtained before and the progress square of the low frequency coefficient of the second low frequency subgraph And calculating, obtain its calculated result.
Wherein, step 205-206, which is accomplished that, carries out image procossing to the second high frequency subgraph, what step 207-208 was realized It is the calculating to the high frequency coefficient and low frequency coefficient of blending image, the execution sequence of the two does not influence the result of realization, because This present embodiment is not especially limited the execution of step 205-206 and step 207-208 sequence, and Fig. 2 shows be only wherein one Kind step executes sequence.
Step 207 is accomplished that the calculating to the high frequency coefficient of blending image, and step 207 is accomplished that blending image The calculating of low frequency coefficient.The execution sequence of the two does not influence the result of realization, therefore the present embodiment is to step 207 and step 208 execution sequence is not especially limited, and Fig. 2 shows be only that one of step executes sequence.
209, high frequency coefficient of the high frequency coefficient that will acquire as blending image, using the quadratic sum of calculating as blending image Low frequency coefficient, and based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, described treated second High frequency subgraph and second low frequency subgraph carry out image co-registration, to obtain the blending image.
Set the high frequency coefficient of above-mentioned acquisition to the high frequency coefficient of blending image, the quadratic sum data of calculating are set as melting Close the low frequency coefficient of image.Then the first high frequency subgraph for being obtained before extracting, the first low frequency subgraph, through passivation it is fuzzy and in Value filtering processing the second high frequency subgraph and the second low frequency subgraph, based on wavelet transformation to four different subgraphs according to The high frequency coefficient and low frequency coefficient of setting carry out image co-registration, and final obtain enhances the blending image of clarity.
Image processing method provided in an embodiment of the present invention, can be according to its corresponding high frequency subgraph to different images The low frequency coefficient of high frequency coefficient and corresponding low frequency subgraph, come the high frequency coefficient and low frequency coefficient used when image co-registration is arranged. Also, comprehensively consider visual effect and time complexity, selection is passivated Fuzzy Processing to the second high frequency subgraph twice, is protected Card can improve contrast and not will increase the time of consuming.But also it can be before blending image, to son of the passivation after fuzzy Figure is denoised, to reduce the noise jamming in image.
Image processing method based on the above embodiment, another embodiment of the present invention provides a kind of image processing apparatus, Referring to shown in Fig. 3, the device mainly includes: acquiring unit 31, processing unit 32, obtaining unit 33 and integrated unit 34.
Acquiring unit 31, for obtaining the first image and the second image.
The image handled is replicated, identical first image of content and the second image are obtained, it is same When input, acquiring unit 31 can obtain first image and second image.
Processing unit 32, for carrying out histogram equalization processing to the first image.
Since the signal noise ratio (snr) of image of acquisition is lower, processing unit 32 needs first to carry out histogram to one of image equal The pretreatment of weighing apparatus improves its contrast.
Obtaining unit 33 is also used to treated the first image carrying out two-dimensional discrete wavelet conversion, obtains the first high frequency Figure and the first low frequency subgraph.
In order to realize the reconstruct to image, obtaining unit 33 also needs that the first image and the second image are split and melted again It closes.First image is subjected to two-dimensional discrete wavelet conversion, the first image is divided into a high frequency subgraph (the first high frequency subgraph) With a low frequency subgraph (the first low frequency subgraph), so that the subsequent subgraph by the subgraph of the first image and the second image melts It closes.
Obtaining unit 33 is also used to second image carrying out two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph With the second low frequency subgraph.
Similarly, in order to realize the reconstruct to image, it is small that obtaining unit 33 also also will will carry out two-dimensional discrete to the second image Second image is also divided into the second high frequency subgraph and the second low frequency subgraph by wave conversion.
Processing unit 32 is also used to be passivated Fuzzy Processing to the second high frequency subgraph.
In view of two aspect of time complexity of the subjective visual effect and method of image, obtained in obtaining unit 33 After four subgraphs, processing unit 32 to the second high frequency subgraph can be passivated twice Fuzzy Processing, so that second can be improved The contrast of high frequency subgraph, and will not increase too much and execute the time that step expends.
Integrated unit 34, after being based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, processing The second high frequency subgraph and second low frequency subgraph carry out image co-registration.
The first high frequency subgraph, the first low frequency subgraph, the second low frequency subgraph are obtained in acquiring unit 33, and through transpassivation After second high frequency subgraph of Fuzzy Processing, integrated unit 34 can be based on wavelet transformation, and according to the high frequency coefficient and low frequency of setting Coefficient carries out Wavelet Fusion processing to four subgraphs, to obtain the high image of clarity.
Optionally, referring to shown in Fig. 3, integrated unit 34 further include:
Module 341 is obtained, for obtaining the high frequency coefficient that absolute value is big in the first high frequency subgraph and the second high frequency subgraph.
Computing module 342, the quadratic sum of the low frequency coefficient for calculating the first low frequency subgraph and the second height subgraph.
Before all subgraphs to the first image and the second image carry out image co-registration, when needing first to calculate image co-registration The high frequency coefficient and low frequency coefficient used.Specific calculation method are as follows: the first high frequency subgraph obtained by obtaining module 341 The high frequency coefficient of high frequency coefficient and the second high frequency subgraph, then it takes absolute value and compares respectively, obtain wherein absolute value compared with Big numerical value;The low frequency coefficient of first low frequency subgraph and the low frequency coefficient of the second low frequency subgraph are carried out by computing module 342 Quadratic sum calculates, and obtains its calculated result.
Fusion Module 343, high frequency coefficient of the high frequency coefficient as blending image for will acquire, by the quadratic sum of calculating As the low frequency coefficient of blending image, and based on wavelet transformation to the first high frequency subgraph, the first low frequency subgraph, treated second High frequency subgraph and the second low frequency subgraph carry out image co-registration, to obtain blending image.
Finally, the high frequency coefficient that Fusion Module 343 will acquire the acquisition of module 341 is set as the high frequency coefficient of blending image, Set the quadratic sum data that computing module 342 calculates to the low frequency coefficient of blending image.Wavelet transformation is then based on to acquisition Four different high frequency subgraphs and low frequency subgraph according to setting high frequency coefficient and low frequency coefficient carry out image co-registration, with final Acquisition enhances the blending image of clarity.
Optionally, processing unit 32 is also used to carry out median filter process to treated the second high frequency subgraph.
In order to reduce the noise jamming in image, processing unit 32 can also be passivated Fuzzy Processing to the second high frequency Afterwards, image denoising processing is carried out to it.Specifically, after processing unit 32 obscures passivation using the method for median filtering Second high frequency subgraph carries out image denoising.
Optionally, processing unit 32 is also used to be passivated Fuzzy Processing twice to the second high frequency subgraph.
In view of two aspect of time complexity of the subjective visual effect and method of image, processing unit 32 is to second High frequency subgraph can be handled twice it when being passivated Fuzzy Processing, can improve the comparison of the second high frequency subgraph in this way Degree, and will not increase too much and execute the time that step expends.
Image processing apparatus provided in an embodiment of the present invention is a kind of image increasing that new spatial domain and transform domain combine Strong method obtains two identical images by acquiring unit 31, and through the processing unit 32 pairs wherein piece image carry out it is straight Square figure equilibrium treatment improves picture contrast.Then two images are carried out two-dimensional discrete wavelet conversion again by obtaining unit 33, are obtained Obtain four different subgraphs including two high frequency subgraphs and two low frequency subgraphs.Then 32 pair of second high frequency through the processing unit Subgraph is passivated Fuzzy Processing, improves its marginal definition.Nearest integrated unit 34 is again based on wavelet transformation to all high frequencies Subgraph and the second low frequency subgraph carry out image co-registration, obtain a width and enhance the blending image of contrast and clarity.
Further, the device of the present embodiment can be according to the high frequency coefficient of its corresponding high frequency subgraph to different images With the low frequency coefficient of corresponding low frequency subgraph, the high frequency coefficient and low frequency used when image co-registration is set by integrated unit 34 Coefficient.Also, comprehensively consider visual effect and time complexity, the selection of processing unit 32 carries out twice the second high frequency subgraph It is passivated Fuzzy Processing, guarantee that contrast can be improved and not will increase the time of consuming.And processing unit 32 can also merge Before image, subgraph of the passivation after fuzzy is denoised, to reduce the noise jamming in image.
Described image processing unit includes processor and memory, above-mentioned acquiring unit, processing unit, obtaining unit and is melted It closes unit etc. to store in memory as program unit, above procedure unit stored in memory is executed by processor To realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, the contrast and resolution ratio that can not effectively enhance medical image in the prior art are solved by adjusting kernel parameter The problem of.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM), memory includes at least one storage Chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor Existing image processing method.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation Shi Zhihang described image processing method.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor perform the steps of when executing program
The first image and the second image are obtained, the first image is identical with second image;
Histogram equalization processing is carried out to the first image;
By treated, the first image carries out two-dimensional discrete wavelet conversion, obtains the first high frequency subgraph and the first low frequency Figure;
Second image is subjected to two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph and the second low frequency subgraph;
Fuzzy Processing is passivated to the second high frequency subgraph;
Based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated the second high frequency subgraph Image co-registration is carried out with second low frequency subgraph.
Optionally, based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, that treated is second high Frequency subgraph and second low frequency subgraph carry out image co-registration, comprising:
Obtain the high frequency coefficient that absolute value is big in the first high frequency subgraph and the second high frequency subgraph;
Calculate the quadratic sum of the low frequency coefficient of first low frequency subgraph and the second height subgraph;
High frequency coefficient of the high frequency coefficient that will acquire as blending image, using the quadratic sum of calculating as the low of blending image Frequency coefficient, and based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated second high frequency Subgraph and second low frequency subgraph carry out image co-registration, to obtain the blending image.
Optionally, after being passivated Fuzzy Processing to the second high frequency subgraph, the method also includes:
To treated, the second high frequency subgraph carries out median filter process.
Optionally, Fuzzy Processing is passivated to the second high frequency subgraph, comprising:
Fuzzy Processing is passivated twice to the second high frequency subgraph.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program code of beginningization there are as below methods step:
1, it obtains the first image and the second image, the first image is identical with second image;
2, histogram equalization processing is carried out to the first image;
3, by treated, the first image carries out two-dimensional discrete wavelet conversion, obtains the first high frequency subgraph and the first low frequency Figure.
4, second image is subjected to two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph and the second low frequency subgraph.
5, Fuzzy Processing is passivated to the second high frequency subgraph.
6, based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated the second high frequency Figure and second low frequency subgraph carry out image co-registration.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (10)

1. a kind of medical image processing method, which is characterized in that the described method includes:
The first image and the second image are obtained, the first image is identical with second image;
Histogram equalization processing is carried out to the first image;
By treated, the first image carries out two-dimensional discrete wavelet conversion, obtains the first high frequency subgraph and the first low frequency subgraph;
Second image is subjected to two-dimensional discrete wavelet conversion, obtains the second high frequency subgraph and the second low frequency subgraph;
Fuzzy Processing is passivated to the second high frequency subgraph;
Based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated the second high frequency subgraph and institute It states the second low frequency subgraph and carries out image co-registration.
2. the method according to claim 1, wherein based on wavelet transformation to the first high frequency subgraph, described First low frequency subgraph, treated the second high frequency subgraph and second low frequency subgraph carry out image co-registration, comprising:
Obtain the high frequency coefficient that absolute value is big in the first high frequency subgraph and the second high frequency subgraph;
Calculate the quadratic sum of the low frequency coefficient of first low frequency subgraph and the second height subgraph;
High frequency coefficient of the high frequency coefficient that will acquire as blending image, using the quadratic sum of calculating as the low frequency system of blending image Number, and based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated the second high frequency subgraph Image co-registration is carried out with second low frequency subgraph, to obtain the blending image.
3. method according to claim 1 or 2, which is characterized in that be passivated fuzzy place to the second high frequency subgraph After reason, the method also includes:
To treated, the second high frequency subgraph carries out median filter process.
4. method according to claim 1 or 2, which is characterized in that be passivated fuzzy place to the second high frequency subgraph Reason, comprising:
Fuzzy Processing is passivated twice to the second high frequency subgraph.
5. a kind of image processing apparatus, which is characterized in that described device includes:
Acquiring unit is identical with second image for obtaining the first image and the second image, the first image;
Processing unit, for carrying out histogram equalization processing to the first image;
The obtaining unit is also used to treated the first image carrying out two-dimensional discrete wavelet conversion, obtains the first high frequency Figure and the first low frequency subgraph;
The obtaining unit, be also used to by second image carry out two-dimensional discrete wavelet conversion, obtain the second high frequency subgraph and Second low frequency subgraph;
The processing unit is also used to be passivated Fuzzy Processing to the second high frequency subgraph;
Integrated unit, for based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, treated second High frequency subgraph and second low frequency subgraph carry out image co-registration.
6. the apparatus according to claim 1, which is characterized in that the integrated unit further include:
Module is obtained, for obtaining the high frequency coefficient that absolute value is big in the first high frequency subgraph and the second high frequency subgraph;
Computing module, the quadratic sum of the low frequency coefficient for calculating first low frequency subgraph and the second height subgraph;
Fusion Module, high frequency coefficient of the high frequency coefficient as blending image for will acquire, using the quadratic sum of calculating as melting Close image low frequency coefficient, and based on wavelet transformation to the first high frequency subgraph, first low frequency subgraph, the processing after The second high frequency subgraph and second low frequency subgraph carry out image co-registration, to obtain the blending image.
7. device according to claim 5 or 6, which is characterized in that the processing unit is also used to treated second High frequency subgraph carries out median filter process.
8. method according to claim 5 or 6, which is characterized in that the processing unit is also used to second high frequency Subgraph is passivated Fuzzy Processing twice.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require 1 to the image processing method described in any one of claim 4 Method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit requires 1 to the image processing method described in any one of claim 4.
CN201811600260.7A 2018-12-26 2018-12-26 Image processing method and device Active CN109741274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811600260.7A CN109741274B (en) 2018-12-26 2018-12-26 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811600260.7A CN109741274B (en) 2018-12-26 2018-12-26 Image processing method and device

Publications (2)

Publication Number Publication Date
CN109741274A true CN109741274A (en) 2019-05-10
CN109741274B CN109741274B (en) 2022-04-01

Family

ID=66359960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811600260.7A Active CN109741274B (en) 2018-12-26 2018-12-26 Image processing method and device

Country Status (1)

Country Link
CN (1) CN109741274B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111738946A (en) * 2020-06-16 2020-10-02 新疆大学 Method and device for enhancing sand-dust degraded image

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408745A (en) * 2014-11-18 2015-03-11 北京航空航天大学 Real-time smog scene detection method based on video image
CN105550998A (en) * 2015-12-09 2016-05-04 江苏理工学院 Image enhancement method and image enhancement system based on second-generation wavelet integer transform
CN105931201A (en) * 2016-04-20 2016-09-07 北京航空航天大学 Image subjective visual effect enhancing method based on wavelet transformation
CN106169181A (en) * 2016-06-30 2016-11-30 北京奇艺世纪科技有限公司 A kind of image processing method and system
CN106709891A (en) * 2016-11-15 2017-05-24 哈尔滨理工大学 Image processing method based on combination of wavelet transform and self-adaptive transform
CN108492268A (en) * 2018-03-20 2018-09-04 哈尔滨理工大学 Enhancement algorithm for low-illumination image based on wavelet coefficient fusion

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408745A (en) * 2014-11-18 2015-03-11 北京航空航天大学 Real-time smog scene detection method based on video image
CN105550998A (en) * 2015-12-09 2016-05-04 江苏理工学院 Image enhancement method and image enhancement system based on second-generation wavelet integer transform
CN105931201A (en) * 2016-04-20 2016-09-07 北京航空航天大学 Image subjective visual effect enhancing method based on wavelet transformation
CN106169181A (en) * 2016-06-30 2016-11-30 北京奇艺世纪科技有限公司 A kind of image processing method and system
CN106709891A (en) * 2016-11-15 2017-05-24 哈尔滨理工大学 Image processing method based on combination of wavelet transform and self-adaptive transform
CN108492268A (en) * 2018-03-20 2018-09-04 哈尔滨理工大学 Enhancement algorithm for low-illumination image based on wavelet coefficient fusion

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
LIANGLIANG LI等: "Remote Sensing Image Enhancement Based on adaptive thresholding in NSCT domain", 《2017 2ND INTERNATIONAL CONFERENCE ON IMAGE, VISION AND COMPUTING (ICIVC)》 *
季秀霞: "基于稀疏特征的SAR图像处理与应用研究", 《中国优秀博士学位论文全文数据库 (信息科技辑)》 *
张汶钊等: "基于小波变换的图像融合算法", 《江苏科技信息》 *
徐珊: "多尺度和直方图均衡的X光图像增强算法研究", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 *
贾振红: "基于NSCT域图像融合改进算法的SAR图像无监督变化检测", 《光电子·激光》 *
韩晶等: "基于NSST域的引导滤波遥感图像增强方法", 《计算机工程与设计》 *
黄炜等: "基于Haar小波域指标自适应选择载体的JPEG隐写", 《软件学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111738946A (en) * 2020-06-16 2020-10-02 新疆大学 Method and device for enhancing sand-dust degraded image
CN111738946B (en) * 2020-06-16 2022-04-08 新疆大学 Method and device for enhancing sand-dust degraded image

Also Published As

Publication number Publication date
CN109741274B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
Chang et al. Spatial-adaptive network for single image denoising
CN108205804B (en) Image processing method and device and electronic equipment
Pan et al. Physics-based generative adversarial models for image restoration and beyond
Lv et al. Attention guided low-light image enhancement with a large scale low-light simulation dataset
Yang et al. Band representation-based semi-supervised low-light image enhancement: Bridging the gap between signal fidelity and perceptual quality
Saladi et al. Analysis of denoising filters on MRI brain images
CN111275626A (en) Video deblurring method, device and equipment based on ambiguity
Lu et al. Deep texture and structure aware filtering network for image smoothing
US20150071533A1 (en) Guided image upsampling using bitmap tracing
Liu et al. Multi-scale grid network for image deblurring with high-frequency guidance
CN111681198A (en) Morphological attribute filtering multimode fusion imaging method, system and medium
Lee et al. Resolution-preserving generative adversarial networks for image enhancement
Zheng et al. T-net: Deep stacked scale-iteration network for image dehazing
Zhao et al. High resolution local structure-constrained image upsampling
Zheng et al. Constrained predictive filters for single image bokeh rendering
Zhu et al. Low-light image enhancement network with decomposition and adaptive information fusion
Liu et al. Facial image inpainting using multi-level generative network
CN113436112B (en) Image enhancement method, device and equipment
CN114862725A (en) Method and device for realizing motion perception fuzzy special effect based on optical flow method
Chaman et al. Truly shift-equivariant convolutional neural networks with adaptive polyphase upsampling
CN109741274A (en) Image processing method and device
Zhao et al. Saliency map-aided generative adversarial network for raw to rgb mapping
CN111161189A (en) Single image re-enhancement method based on detail compensation network
CN114827723B (en) Video processing method, device, electronic equipment and storage medium
Peng et al. MND-GAN: A Research on Image Deblurring Algorithm Based on Generative Adversarial Network

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