WO2017070841A1 - Image processing method and apparatus - Google Patents

Image processing method and apparatus Download PDF

Info

Publication number
WO2017070841A1
WO2017070841A1 PCT/CN2015/092946 CN2015092946W WO2017070841A1 WO 2017070841 A1 WO2017070841 A1 WO 2017070841A1 CN 2015092946 W CN2015092946 W CN 2015092946W WO 2017070841 A1 WO2017070841 A1 WO 2017070841A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
matrix
processed
subset
objective function
Prior art date
Application number
PCT/CN2015/092946
Other languages
French (fr)
Chinese (zh)
Inventor
杨文明
田亚鹏
周飞
郑成林
陈海
Original Assignee
华为技术有限公司
清华大学深圳研究生院
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 华为技术有限公司, 清华大学深圳研究生院 filed Critical 华为技术有限公司
Priority to PCT/CN2015/092946 priority Critical patent/WO2017070841A1/en
Priority to CN201580083784.1A priority patent/CN108475414B/en
Publication of WO2017070841A1 publication Critical patent/WO2017070841A1/en

Links

Images

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

Definitions

  • Embodiments of the present invention relate to image processing technologies, and in particular, to an image processing method and apparatus.
  • the super-resolution technology can be divided into two categories: super-resolution technology based on multi-frame image reconstruction and super-resolution based on single-frame image learning.
  • Super-resolution technology based on single-frame image learning has wider applicability and flexibility than super-resolution technology based on multi-frame low-resolution images.
  • a representative technical solution uses sparse coding to perform image super-resolution, which is to force the corresponding high-low resolution image blocks to share the same sparse representation: by performing sparse constraint before regularization, low-resolution image
  • the block is regarded as an over-complete dictionary for encoding, and then the sparse expression coefficient is obtained.
  • the high-resolution image block corresponding to the linear combination of the coefficients can be used to complete the image super-resolution reconstruction.
  • the potential assumption that high and low resolution image blocks have the "same sparse representation" is difficult to achieve under practical conditions.
  • Embodiments of the present invention provide an image processing method and apparatus for improving high-resolution image reconstruction quality.
  • a corresponding output image having a higher resolution can be obtained for each input image.
  • an embodiment of the present invention provides an image processing method, including: a sample training phase and an image reconstruction phase.
  • the sample training phase can be performed offline or online, usually in an offline manner.
  • the samples in the randomly obtained sample set may be referred to as high-resolution image samples, and the same low-resolution image samples are obtained by using the same image processing methods such as downsampling and blur.
  • the samples within the randomly obtained sample set are more suitable for selecting a richly detailed image with a higher original resolution.
  • the downsampling or blurring is a typical image processing method, and a degraded image is obtained by selectively discarding the information of the original image.
  • the degraded image is a low resolution image. It should be understood that in order to achieve this, any well-known technique known to those skilled in the art can be selected, and is not limited to the downsampling or fuzzy image processing method.
  • the sample set is divided into a plurality of sample subsets by using the same image feature as a classification criterion.
  • image samples in each subset have the same image characteristics, and the so-called image samples are a pair of image samples, ie high resolution image samples and their corresponding low resolution image samples.
  • image features include visual features of images, statistical features, transform coefficient features, algebraic features, etc.
  • feature extraction methods including principal component analysis, support vector machines, etc., "Research on Image Feature Extraction Methods" (Digital Object Uniform Identifier (GOI): CNKI: CDMD: 2.2007.058439) The full text is introduced here.
  • the first chapter and the second chapter of the paper give an example description of the image features and extraction methods.
  • the image features and the extraction method of the present invention may be any well-known technologies known to those skilled in the art, such as the above-mentioned image features and extraction methods, and are not limited.
  • this step is implemented by a clustering method.
  • Clustering also known as group analysis, is a statistical analysis technique that divides research objects into clusters of relatively homogeneous nature.
  • clustering methods include partitioning methods, hierarchical methods, density-based methods, grid-based methods, model-based methods, transformation-based methods, etc., "Cluster-based image classification and segmentation algorithms" (GOI) :CNKI: CDMD:2.1012.023680)
  • GOI cluster-based image classification and segmentation algorithms
  • the full text is introduced here.
  • the second chapter to the fifth chapter of the paper give an example description of the clustering method.
  • the clustering method of the present invention may be any well-known technology known to those skilled in the art, such as the above clustering method, and is not limited.
  • the high-resolution image samples and the low-resolution image samples are independently trained under the constraint of the first objective function, correspondingly, Obtaining a first feature matrix corresponding to the low-resolution image sample, which may be referred to as a low-resolution dictionary, obtains a second feature matrix corresponding to the high-resolution image sample, which may be referred to as a high-resolution dictionary. It should be understood that the training process for high resolution image samples and low resolution image samples is independent, in no particular order.
  • the first objective function is min(
  • the first characteristic matrix, ⁇ represents a matrix of expression coefficients corresponding to low-resolution image samples,
  • the first objective function is min(
  • the function and the high-resolution image sample obtain a second feature matrix corresponding to the subset of the image samples, comprising: iteratively updating D and ⁇ by a preset number of times under the constraint of the first objective function, obtaining a second satisfying the first objective function Feature matrix.
  • the training parameters D and a that obtain the first feature matrix and obtain the second feature matrix may be different.
  • the training of the high-resolution image samples and the low-resolution image samples is performed independently, and the high-resolution dictionary and the low-resolution dictionary are independently obtained.
  • the fourth step for each subset, high-resolution and low-resolution image samples in the subset are encoded according to the high-resolution and low-resolution dictionary of the set image feature, and a high-resolution expression coefficient matrix is obtained.
  • the low-resolution expression coefficient matrix is obtained, and the mapping relationship matrix between the high-low resolution image samples of the image sample subset is obtained by the high-resolution expression coefficient matrix and the low-resolution expression coefficient matrix.
  • the first feature matrix encoding the low resolution image samples under the constraint of the first objective function, obtaining a first expression coefficient matrix, ie, a low resolution expression coefficient matrix; according to the second feature matrix, Under the constraint of the first objective function, the high-resolution image samples are encoded to obtain a second expression coefficient matrix, that is, a high-resolution expression coefficient matrix; in the second objective function Under the constraint, obtain a mapping relationship matrix, where ⁇ l represents the first expression coefficient matrix, ⁇ h represents the second expression coefficient matrix, and M represents the mapping relationship matrix, Represents a full 1 matrix,
  • each sample subset is trained, that is, a high-resolution dictionary, a low-resolution dictionary, and a mapping matrix between high- and low-resolution image samples of each image feature.
  • the parameters obtained by the above training will be applied to the image reconstruction stage.
  • determining a subset of image samples corresponding to the image to be processed that is, determining image features of the image to be processed, for selecting a suitable high-resolution dictionary, a low-resolution dictionary, and a mapping matrix between high- and low-resolution image samples. deal with.
  • the step may be decomposed into image features for extracting an image to be processed; comparing image features of the image to be processed with image features of each subset of image samples in the image sample set; determining image samples corresponding to the image to be processed Subsets are the smallest subset of samples.
  • the image feature extraction and clustering correlation methods have been detailed. In order to obtain a better classification effect, it is more suitable to determine the image sample subset corresponding to the image to be processed by using the method consistent with the sample training phase.
  • the mapping relationship matrix between the high-resolution dictionary, the low-resolution dictionary, and the high-low resolution image samples to which the image sample subset of the image to be processed belongs is applied to the image to be processed, and the first stage used in the sample training phase is used.
  • An objective function obtains a high resolution image corresponding to the image to be processed.
  • the image to be processed is encoded, and the third expression coefficient matrix corresponding to the image to be processed is obtained, that is, the low-resolution expression coefficient.
  • a matrix according to the mapping relationship matrix and the third expression coefficient matrix, under the constraint of the second objective function, obtaining a fourth expression coefficient matrix corresponding to the image to be processed, that is, a high-resolution expression coefficient matrix; a fourth expression coefficient matrix and the second
  • the feature matrix that is, the high-resolution dictionary multiplication, obtains high-frequency components of the image to be processed; the high-frequency component and the enlarged image to be processed are added to obtain a high-resolution image corresponding to the image to be processed.
  • an embodiment of the present invention provides an image processing apparatus, including:
  • a first classification module configured to classify the image sample set according to the image feature, to obtain a plurality of image sample subsets, wherein the image sample subset includes a high resolution image sample and a low resolution image sample, the low resolution image
  • the sample is obtained by downsampling the high resolution image sample; a first obtaining module, configured to obtain an image sample according to the first objective function and the low resolution image sample a first feature matrix corresponding to the subset; a second acquiring module, configured to obtain a second feature matrix corresponding to the subset of image samples according to the first objective function and the high-resolution image sample; and a third acquiring module, configured to The feature matrix, the second feature matrix, the low resolution image sample, the high resolution image sample, obtain a mapping relationship matrix between the high and low resolution image samples of the image sample subset; the second classification module is configured to determine the corresponding image to be processed a fourth image acquisition module, configured to: according to the first objective function and the determined mapping relationship between the first feature matrix, the second feature matrix, and the high-
  • an embodiment of the present invention provides an apparatus for processing an image, the apparatus comprising a processor configured to: the operation is the method of operation described in the first aspect.
  • an embodiment of the present invention provides a computer readable storage medium storing instructions that, when executed, are used by one or more processors of a device that processes an image to perform the following operations: The operation is the method of operation described in the first aspect.
  • the technical solution described in the present invention can also be used for image deblurring processing. Specifically, with the image processing apparatus of the present invention or the image processing method of the present invention, a corresponding relatively clear output image can be obtained for each blurred input image.
  • an embodiment of the present invention provides an image processing method, including:
  • an embodiment of the present invention provides an image processing apparatus, including:
  • a first classification module configured to classify the image sample set according to the image feature, to obtain a plurality of image sample subsets, wherein the image sample subset includes a clear image sample and a blurred image sample, and the blurred image sample passes the clear Obtaining image samples;
  • first acquisition module for Obtaining, according to the first objective function and the blurred image sample, a first feature matrix corresponding to the subset of image samples; and
  • a second acquiring module configured to obtain a second feature matrix corresponding to the subset of image samples according to the first objective function and the clear image sample a third obtaining module, configured to obtain a mapping relationship matrix between the clear and blurred image samples of the image sample subset according to the first feature matrix, the second feature matrix, the blurred image sample, and the clear image sample;
  • the second classification module uses Determining a subset of image samples corresponding to the image to be processed;
  • a fourth acquiring module configured to: according to the first objective function and the determined image feature subset corresponding to the image to be processed
  • an embodiment of the present invention provides an apparatus for processing an image, the apparatus including a processor configured to: the operation is the operation method described in the fifth aspect.
  • an embodiment of the present invention provides a computer readable storage medium storing instructions that, when executed, are used by one or more processors of a device that processes an image to perform the following operations: The operation is the method of operation described in the fifth aspect.
  • the technical solution described in the present invention can also be applied to recovery processing of other types of image degradation.
  • a corresponding de-degraded output image can be obtained for each degraded input image.
  • FIG. 1 is a schematic flowchart of an embodiment of an image processing method according to the present invention.
  • FIG. 2 is a schematic diagram of a manner of extracting an image block according to the present invention.
  • Figure 3 is a schematic block diagram of an embodiment of an image processing apparatus of the present invention.
  • FIG. 4 is a schematic block diagram of another embodiment of an image processing apparatus according to the present invention.
  • Embodiment 1 is a flowchart of Embodiment 1 of an image processing method according to the present invention. As shown in FIG. 1, the method 1000 of this embodiment includes:
  • S1100 classify an image sample set according to image features, to obtain a subset of image samples, wherein the image sample subset includes high-resolution image samples and corresponding low-resolution image samples;
  • the specific downsampling operation method for generating the low resolution image Y here is not limited, and a high resolution image is generated.
  • the specific interpolation method is not limited.
  • One or two stepwise operator pairs in horizontal and vertical directions Filtering is performed to obtain four filtered images, and the first and second step information is the extracted low-resolution image features.
  • High frequency detail image Perform sufficient sampling to collect N sizes as The image block, where n is the width of the image block, and N is a positive integer, which can be preset and not limited.
  • the same image block size is sampled at the same position of the four images generated by the filtering, and the acquisition is completed, and the training sample set can be obtained.
  • y i represents a column vector jointly formed by four image blocks acquired at the same position on the four filtered images
  • x i represents a column vector formed by the image block acquired on the high-frequency detail image at the corresponding position.
  • K cluster centers are According to the clustering result, according to the correspondence between the high and low resolution image blocks Divided into the corresponding categories, thus generating a subset of each sample.
  • the first objective function is min(
  • the obtaining, according to the first objective function and the low-resolution image sample, the first feature matrix corresponding to the subset of image samples, comprising: preset times under the constraint of the first objective function
  • the D and ⁇ are iteratively updated to obtain the first feature matrix that satisfies the first objective function.
  • low resolution image block for the ith subset Perform principal component analysis, extract the principal component of the first m-dimensional to obtain the matrix P l i , and use P l i to initialize the low-resolution dictionary in this embodiment.
  • principal component analysis refers to a multivariate statistical analysis method that uses multiple variables to linearly transform to select fewer important variables.
  • the third step is to fix ⁇ l by Update Equivalent
  • the fourth step after iterating the second step and the third step N times, obtaining a low resolution dictionary Where N is a positive integer and is not limited.
  • the norm constraint of the L2 norm is used as the first objective function
  • the L1 norm is also used as the norm constraint of the first objective function, that is, the objective function is min(
  • the L2 norm refers to the square root of the sum of the squares of the elements of the vector
  • the L1 norm refers to the sum of the absolute values of the elements in the vector.
  • the first step in this embodiment uses the principal component of the m-dimensional pre-mesh of the low-resolution image block set to obtain the matrix P l i as the initial value of the low-resolution dictionary, and then trains to obtain an under-complete dictionary, which may also be adopted. Correct The principal component analysis is performed to obtain the orthogonal matrix P l i as the initial value of the low-resolution dictionary, and then the training dictionary is obtained, which is not limited.
  • the first objective function is min(
  • the obtaining, according to the first objective function and the high-resolution image sample, the second feature matrix corresponding to the subset of image samples comprising: pre-constraining under the constraint of the first objective function
  • the set number of iterations updates D and ⁇ to obtain the second feature matrix that satisfies the first objective function.
  • the implementation of the S1300 is similar to that of the S1200, and is not described here.
  • the first feature matrix encoding the low resolution image sample to obtain a first expression coefficient matrix under the constraint of the first objective function;
  • the second feature matrix in the Encoding the high resolution image sample to obtain a second expression coefficient matrix under the constraint of an objective function; in the second objective function Obtaining the mapping relationship matrix, wherein ⁇ l represents the first expression coefficient matrix, ⁇ h represents the second expression coefficient matrix, and M represents the mapping relationship matrix, Represents a full 1 matrix,
  • the third step in the second objective function Obtaining the mapping relationship matrix, wherein ⁇ l represents the first expression coefficient matrix, ⁇ h represents the second expression coefficient matrix, and M represents the mapping relationship matrix, Represents an all-one matrix, Indicates the L2 norm operation, and min denotes the minimum value operation.
  • S1500 Determine a subset of image samples corresponding to the image to be processed
  • extracting image features of the image to be processed comparing image features of the image to be processed with image features of each subset of image samples in the image sample set; and determining image samples corresponding to the image to be processed
  • the subset is the subset of samples with the least difference.
  • the resolution is the resolution of the target high resolution image.
  • One or two stepwise operator pairs in horizontal and vertical directions Filtering is performed to obtain four filtered images.
  • n is the width of the image block
  • s is a positive integer, which can be preset, not limited
  • FIG. 2 shows the image block. Schematic diagram of the starting position of the extraction.
  • clustering algorithms or constraints may be selected in this step, which are not limited. Feasibly, the clustering algorithm in this step is consistent with the clustering algorithm used in S1100.
  • the first feature matrix under the constraint of the first objective function, encoding the image to be processed, acquiring a third expression coefficient matrix corresponding to the image to be processed; according to the mapping relationship matrix and Obtaining, according to the second objective function, a fourth expression coefficient matrix corresponding to the image to be processed; the fourth expression coefficient matrix and the second feature matrix are multiplied, Obtaining a high frequency component of the image to be processed; adding the high frequency component and the enlarged image to be processed to obtain a high resolution image corresponding to the image to be processed.
  • the expression coefficient ⁇ of the image to be processed y is calculated according to the low-resolution dictionary D. This step is consistent with S1200, and the specific calculation process is also consistent with S1200, and will not be described again.
  • the expression coefficient of the training image and the expression coefficient of the image can be used, the same objective function can be used, and the accuracy of generating high-frequency components of the image by the expression coefficient is improved, thereby improving the high resolution.
  • Image reconstruction quality Since the training process of the high-low resolution dictionary is no longer coupled, the expression coefficient of the training image and the expression coefficient of the image can be used, the same objective function can be used, and the accuracy of generating high-frequency components of the image by the expression coefficient is improved, thereby improving the high resolution. Image reconstruction quality.
  • the expression coefficient corresponding to the target high-resolution image is calculated, and a linear regression algorithm is used, and vector regression (SVR), Ridge Regression, or other nonlinear regression algorithms may also be used, without limitation. .
  • the high-frequency component of the image to be processed refers to the to-be-processed image after being enlarged by an algorithm such as upsampling.
  • the high-frequency components of the image to be processed are arranged in the order in which the corresponding image blocks are extracted, and the overlapping portions are averaged as the high-frequency components of the target high-resolution image.
  • Image X h After obtaining the high-frequency components of all the extracted image blocks, the high-frequency components of the image to be processed are arranged in the order in which the corresponding image blocks are extracted, and the overlapping portions are averaged as the high-frequency components of the target high-resolution image.
  • the constraints on the same sparse representation are appropriately relaxed, and the sample information can be utilized more flexibly, and at the same time, the solution of the training process of the high-low resolution dictionary is obtained. Coupling, the process of reconstructing the image and the process of sample training can be completely consistent.
  • the expression coefficient of the training image and the expression coefficient of the image generated during the reconstruction phase use the same objective function, the same calculation and derivation process, and improve the reliability of the training result. Sex, which improves the accuracy of generating high-frequency components of images by expression coefficients and improves the quality of high-resolution image reconstruction.
  • the present invention is also applicable to image deblurring processing, specifically:
  • the training sample set for image deblurring processing includes clear image samples and corresponding blurred image samples.
  • the clear image corresponds to the high resolution image
  • the blurred image corresponds to the low resolution image
  • the process of obtaining the clear image from the blurred image corresponds to the process of obtaining the high resolution image from the low resolution image.
  • the method is the same as that of Embodiment 1, and will not be described again.
  • FIG. 3 is a block diagram of a second embodiment of an image processing apparatus according to the present invention. As shown in FIG. 3, the apparatus 10 of the embodiment includes:
  • the first classification module 11 is configured to classify the image sample set according to the image feature to obtain a subset of the image samples, wherein the image sample subset includes the high resolution image sample and the corresponding low resolution image sample;
  • a first acquiring module 12 configured to obtain, according to the first objective function and the low-resolution image sample, a first feature matrix corresponding to the subset of image samples;
  • the second obtaining module 13 is configured to obtain, according to the first objective function and the high-resolution image sample, a second feature matrix corresponding to the subset of image samples;
  • the third obtaining module 14 is configured to obtain high and low resolutions of the subset of image samples according to the first feature matrix, the second feature matrix, the low resolution image sample, and the high resolution image sample. a mapping relationship matrix between image samples;
  • a second classification module 15 configured to determine a subset of image samples corresponding to the image to be processed
  • the fourth obtaining module 16 is configured to: according to the first objective function and the mapping relationship matrix between the first feature matrix, the second feature matrix, and the high and low resolution image samples corresponding to the image sample subset corresponding to the image to be processed, Obtaining a high resolution image corresponding to the image to be processed.
  • the image processing apparatus 10 may correspond to the method 1000 of performing image processing in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the image processing apparatus 10 are respectively implemented for The corresponding processes of the respective methods in FIG. 1 are not described herein for the sake of brevity.
  • the constraints on the same sparse representation are appropriately relaxed, and the sample information can be utilized more flexibly, and at the same time, the solution of the training process of the high-low resolution dictionary is obtained. Coupling, the process of reconstructing the image and the process of sample training can be completely consistent.
  • the expression coefficient of the training image and the expression coefficient of the image generated during the reconstruction phase make Using the same objective function, the same calculation and derivation process, the reliability of the training result is improved, and the accuracy of generating high-frequency components of the image by the expression coefficient is improved, and the quality of high-resolution image reconstruction is improved.
  • the apparatus 20 of the present embodiment includes a processor 21, a memory 22, and a bus system 23.
  • the processor 21 and the memory 22 are connected by a bus system 23 for storing instructions for executing instructions stored by the memory 22.
  • the memory 22 of the image processing device 20 stores the program code, and the processor 21 can call the program code stored in the memory 22 to perform an operation of classifying the image sample set according to the image feature to obtain a subset of the image samples, wherein the image sample subset include a high resolution image sample and a corresponding low resolution image sample; obtain a first feature matrix corresponding to the image sample subset according to the first objective function and the low resolution image sample; according to the first objective function and the high resolution image sample Obtaining a second feature matrix corresponding to the image sample subset; obtaining mapping between high and low resolution image samples of the image sample subset according to the first feature matrix, the second feature matrix, the low resolution image sample, and the high resolution image sample a relationship matrix; determining a subset of image samples corresponding to the image to be processed; and mapping between the first feature matrix, the second feature matrix, and the high-low resolution image samples corresponding to the image object subset corresponding to the image to be processed according to the first objective function Matrix, obtaining the high resolution corresponding to the
  • the processor 21 may be a central processing unit (“CPU"), and the processor 21 may also be other general-purpose processors and digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 22 can include read only memory and random access memory and provides instructions and data to the processor 21. A portion of the memory 22 may also include a non-volatile random access memory. For example, the memory 22 can also store information of the device type.
  • the bus system 23 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as the bus system 23 in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in the processor 21 or an instruction in the form of software.
  • the steps of the method disclosed in connection with the embodiments of the present invention may be It is implemented directly as a hardware processor, or by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 22, and the processor 21 reads the information in the memory 22 and combines the hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the processor 21 is specifically configured to: the first objective function is min(
  • the processor 21 is specifically configured to: the first objective function is min(
  • the processor 21 is configured to: according to the first feature matrix, encode the low resolution image sample under the constraint of the first objective function, to obtain the first expression coefficient matrix;
  • the processor 21 is specifically configured to: extract image features of an image to be processed; compare image features of the image to be processed with image features of each subset of image samples in the image sample set; The subset of image samples corresponding to the image to be processed is the subset of samples with the smallest difference.
  • the processor 21 is specifically configured to: according to the first feature matrix, Encoding the image to be processed under the constraint of the first objective function, obtaining a third expression coefficient matrix corresponding to the image to be processed; obtaining the image to be processed under the constraint of the second objective function according to the mapping relationship matrix and the third expression coefficient matrix Corresponding fourth expression coefficient matrix; the fourth expression coefficient matrix and the second feature matrix are multiplied to obtain a high frequency component of the image to be processed; the high frequency component and the enlarged image to be processed are added to obtain a corresponding image to be processed Resolution image.
  • the image processing apparatus 20 may correspond to the method 1000 of performing image processing in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the image processing apparatus 20 are respectively implemented for The corresponding processes of the respective methods in FIG. 1 are not described herein for the sake of brevity.
  • the constraints on the same sparse representation are appropriately relaxed, and the sample information can be utilized more flexibly, and at the same time, the solution of the training process of the high-low resolution dictionary is obtained. Coupling, the process of reconstructing the image and the process of sample training can be completely consistent.
  • the expression coefficient of the training image and the expression coefficient of the image generated during the reconstruction phase use the same objective function, the same calculation and derivation process, and improve the reliability of the training result. Sex, which improves the accuracy of generating high-frequency components of images by expression coefficients and improves the quality of high-resolution image reconstruction.
  • system and “network” are used interchangeably herein. It should be understood that the term “and/or” herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • B corresponding to A means that B is associated with A, and B can be determined from A.
  • determining B from A does not mean that B is only determined based on A, and that B can also be determined based on A and/or other information.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution in essence or the part contributing to the prior art or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making one
  • the computer device (which may be a personal computer, server, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk or a CD.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Abstract

Provided in the embodiments of the present invention are an image processing method and apparatus, the image processing method comprising: on the basis of image features, classifying an image sample set to obtain image sample subsets, the image sample subsets comprising high resolution image samples and corresponding low resolution image samples; on the basis of a first and a second target function and the low and high resolution image samples, acquiring a first and a second feature matrix and a mapping relationship matrix between the high and low resolution image samples corresponding to the image sample subsets; determining an image sample subset corresponding to an image to be processed; and, on the basis of the first target function and the first feature matrix, the second feature matrix, and the mapping relationship matrix between the high and low resolution image samples corresponding to the image sample subset corresponding to the image to be processed, acquiring a high resolution image corresponding to the image to be processed.

Description

图像处理方法和装置Image processing method and device 技术领域Technical field
本发明实施例涉及图像处理技术,尤其涉及一种图像处理方法和装置。Embodiments of the present invention relate to image processing technologies, and in particular, to an image processing method and apparatus.
背景技术Background technique
在现代社会,人们对于高质量、高清晰的图像信息要求越来越高。例如,在家庭数字媒体应用中,1080p以及4K×2K电视的越来越普及,然而现在的大多数电视节目源以及DVD格式视频都是标清格式的视频,这就需要超分辨率技术将标清格式视频转换到高清或者超高清格式视频;另外,在网络视频应用中,由于受带宽的影响,许多网上的视频的质量都比较差,要将其在大屏幕的移动终端、电脑或者数字电视上显示时,就可以利用超分辨率技术。另外,图像超分辨率在医学成像,遥感卫星等领域也都有着重要的应用。In modern society, people are increasingly demanding high-quality, high-definition image information. For example, in home digital media applications, 1080p and 4K x 2K TVs are becoming more and more popular. However, most TV programs and DVD-format videos are SD-format video, which requires super-resolution technology to standardize formats. Video is converted to high-definition or ultra-high-definition video; in addition, in network video applications, due to the bandwidth, many online videos are of poor quality, and they should be displayed on large-screen mobile terminals, computers or digital TVs. When you can use the super resolution technology. In addition, image super-resolution has important applications in medical imaging, remote sensing satellites and other fields.
根据输入低分辨率图像的数目,超分辨率技术可以分成基于多帧图像重建的超分辨率技术和基于单帧图像学习的超分辨率这两大类。基于单帧图像学习的超分辨率技术与基于多帧低分辨率图像的超分辨率技术相比,拥有更广泛的实用性和灵活性。一种具有代表性的技术方案采用了稀疏编码来进行图像超分辨率,其具体做法是强制对应的高低分辨率图像块共享相同的稀疏表示:通过在正则化之前进行稀疏约束,低分辨率图像块被看作是一个过完备字典进行编码,则得到稀疏表达系数,使用此系数线性组合对应的高分辨率图像块即可完成图像超分辨率重建。然而,高低分辨率图像块具有“相同的稀疏表示”这一潜在假设在实际情况下很难达到。According to the number of input low-resolution images, the super-resolution technology can be divided into two categories: super-resolution technology based on multi-frame image reconstruction and super-resolution based on single-frame image learning. Super-resolution technology based on single-frame image learning has wider applicability and flexibility than super-resolution technology based on multi-frame low-resolution images. A representative technical solution uses sparse coding to perform image super-resolution, which is to force the corresponding high-low resolution image blocks to share the same sparse representation: by performing sparse constraint before regularization, low-resolution image The block is regarded as an over-complete dictionary for encoding, and then the sparse expression coefficient is obtained. The high-resolution image block corresponding to the linear combination of the coefficients can be used to complete the image super-resolution reconstruction. However, the potential assumption that high and low resolution image blocks have the "same sparse representation" is difficult to achieve under practical conditions.
发明内容Summary of the invention
本发明实施例提供一种提高高分辨率图像重建质量的图像处理方法和装置。通过本发明图像处理装置或者使用本发明图像处理方法,对于每一幅输入图像,都可以获得一幅相应的具有更高分辨率的输出图像。Embodiments of the present invention provide an image processing method and apparatus for improving high-resolution image reconstruction quality. With the image processing apparatus of the present invention or using the image processing method of the present invention, a corresponding output image having a higher resolution can be obtained for each input image.
第一个方面,本发明实施例提供一种图像处理方法,包括:样本训练阶段和图像重建阶段。 In a first aspect, an embodiment of the present invention provides an image processing method, including: a sample training phase and an image reconstruction phase.
样本训练阶段可以离线进行,或者在线进行,通常情况采用离线进行的方式。The sample training phase can be performed offline or online, usually in an offline manner.
在样本训练阶段:During the sample training phase:
第一步,对随机获得的样本集合内的样本,不妨称其为高分辨率图像样本,使用相同的下采样、模糊等图像处理方法,获得其所对应的低分辨图像样本。应理解,为了获得更好的训练效果,所述随机获得的样本集合内的样本更适合选择细节丰富的具有较高原始分辨率的图像。所述下采样或者模糊都是典型的图像处理方法,通过选择性地丢弃原始图像的信息,获得退化的图像。就本实施例而言,退化的图像即为低分辨率图像。应理解,为达到此目的,可以选择任意本领域技术人员所掌握的公知技术,而不仅限定于下采样或模糊的图像处理方法。In the first step, the samples in the randomly obtained sample set may be referred to as high-resolution image samples, and the same low-resolution image samples are obtained by using the same image processing methods such as downsampling and blur. It should be understood that in order to obtain a better training effect, the samples within the randomly obtained sample set are more suitable for selecting a richly detailed image with a higher original resolution. The downsampling or blurring is a typical image processing method, and a degraded image is obtained by selectively discarding the information of the original image. For the present embodiment, the degraded image is a low resolution image. It should be understood that in order to achieve this, any well-known technique known to those skilled in the art can be selected, and is not limited to the downsampling or fuzzy image processing method.
第二步,以相同的图像特征为分类标准,将上述的样本集合,分成若干样本子集合。应理解,每一个子集合中的图像样本具有相同的图像特征,并且所谓图像样本为一对图像样本,即高分辨率图像样本和其对应的低分辨率图像样本。所谓的图像特征包括图像的视觉特征,统计特征,变换系数特征,代数特征等,相对应的,特征提取方法,包括主分量分析法、支持向量机等等,文献《图像特征提取方法的研究》(数字对象统一标示符(GOI):CNKI:CDMD:2.2007.058439)全文引入于此,文中第一章和第二章对图像特征及提取方法做了举例性的描述。应理解,本发明所述的图像特征及提取方法可以采用上述图像特征及提取方法在内的任意本领域技术人员所掌握的公知技术,不做限定。一般地,通过聚类的方法来实现本步骤。所谓聚类,又称为群分析,是将研究对象划分为相对同性质的集群的统计分析技术。常用的聚类计算方法包括,划分方法,层次方法,基于密度的方法,基于网格的方法,基于模型的方法,基于变换的方法等,文献《基于聚类的图像分类和分割算法》(GOI:CNKI:CDMD:2.1012.023680)全文引入于此,文中第二章到第五章对聚类的方法做了举例性的描述。应理解,本发明所述的聚类方法可以采用上述聚类方法在内的任意本领域技术人员所掌握的公知技术,不做限定。In the second step, the sample set is divided into a plurality of sample subsets by using the same image feature as a classification criterion. It should be understood that the image samples in each subset have the same image characteristics, and the so-called image samples are a pair of image samples, ie high resolution image samples and their corresponding low resolution image samples. The so-called image features include visual features of images, statistical features, transform coefficient features, algebraic features, etc. Corresponding, feature extraction methods, including principal component analysis, support vector machines, etc., "Research on Image Feature Extraction Methods" (Digital Object Uniform Identifier (GOI): CNKI: CDMD: 2.2007.058439) The full text is introduced here. The first chapter and the second chapter of the paper give an example description of the image features and extraction methods. It should be understood that the image features and the extraction method of the present invention may be any well-known technologies known to those skilled in the art, such as the above-mentioned image features and extraction methods, and are not limited. Generally, this step is implemented by a clustering method. Clustering, also known as group analysis, is a statistical analysis technique that divides research objects into clusters of relatively homogeneous nature. Commonly used clustering methods include partitioning methods, hierarchical methods, density-based methods, grid-based methods, model-based methods, transformation-based methods, etc., "Cluster-based image classification and segmentation algorithms" (GOI) :CNKI: CDMD:2.1012.023680) The full text is introduced here. The second chapter to the fifth chapter of the paper give an example description of the clustering method. It should be understood that the clustering method of the present invention may be any well-known technology known to those skilled in the art, such as the above clustering method, and is not limited.
第三步,对于每一个子集合,即对应于每一个图像特征,在第一目标函数的约束下,分别独立训练高分辨率图像样本和低分辨率图像样本,对应的, 获得对应低分辨率图像样本的第一特征矩阵,不妨称为低分辨率词典,获得对应高分辨率图像样本的第二特征矩阵,不妨称为高分辨率词典。应理解,高分辨率图像样本和低分辨率图像样本的训练过程是独立的,不分先后次序的。In the third step, for each sub-set, corresponding to each image feature, the high-resolution image samples and the low-resolution image samples are independently trained under the constraint of the first objective function, correspondingly, Obtaining a first feature matrix corresponding to the low-resolution image sample, which may be referred to as a low-resolution dictionary, obtains a second feature matrix corresponding to the high-resolution image sample, which may be referred to as a high-resolution dictionary. It should be understood that the training process for high resolution image samples and low resolution image samples is independent, in no particular order.
在一些实施例中,第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示样本子集合的低分辨率图像样本,D表示样本子集合的第一特征矩阵,α表示低分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;根据第一目标函数和低分辨率图像样本,获得图像样本子集合对应的第一特征矩阵,包括:在第一目标函数的约束下,以预置次数迭代更新D和α,获得满足第一目标函数的第一特征矩阵。In some embodiments, the first objective function is min(||y-Dα|| F +λ||α|| F ), where y represents a low resolution image sample of the sample subset and D represents a sample subset The first characteristic matrix, α represents a matrix of expression coefficients corresponding to low-resolution image samples, ||·|| F represents an exemplary operation, min represents a minimum operation, and λ is a regularization constant parameter; according to the first objective function and low And obtaining the first feature matrix corresponding to the subset of the image samples, comprising: iteratively updating D and α by a preset number of times under the constraint of the first objective function, to obtain a first feature matrix satisfying the first objective function.
在一些实施例中,第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示样本子集合的高分辨率图像样本,D表示样本子集合的第二特征矩阵,α表示高分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;对应地,根据第一目标函数和高分辨率图像样本,获得图像样本子集合对应的第二特征矩阵,包括:在第一目标函数的约束下,以预置次数迭代更新D和α,获得满足第一目标函数的第二特征矩阵。In some embodiments, the first objective function is min(||y-Dα|| F +λ||α|| F ), where y represents a high resolution image sample of the sample subset and D represents a sample subset a second feature matrix, α represents a matrix of expression coefficients corresponding to high-resolution image samples, ||·|| F represents an exemplary operation, min represents a minimum operation, and λ is a regularization constant parameter; correspondingly, according to the first target The function and the high-resolution image sample obtain a second feature matrix corresponding to the subset of the image samples, comprising: iteratively updating D and α by a preset number of times under the constraint of the first objective function, obtaining a second satisfying the first objective function Feature matrix.
应理解,因为高分辨率图像样本和低分辨率图像样本的训练过程是独立的,获得第一特征矩阵和获得第二特征矩阵的训练参数D和α可以是不同的。It should be understood that because the training process of the high resolution image samples and the low resolution image samples is independent, the training parameters D and a that obtain the first feature matrix and obtain the second feature matrix may be different.
在这一步骤中,高分辨率图像样本和低分辨率图像样本的训练独立进行,独立地获得高分辨率词典和低分辨率词典。In this step, the training of the high-resolution image samples and the low-resolution image samples is performed independently, and the high-resolution dictionary and the low-resolution dictionary are independently obtained.
第四步,对于每一个子集合,根据该集合图像特征的高分辨率和低分辨率词典,对子集合内的高分辨率和低分辨率图像样本进行编码,获得高分辨率表达系数矩阵和低分辨率表达系数矩阵,并通过所述高分辨率表达系数矩阵和低分辨率表达系数矩阵,获得该图像样本子集合的高低分辨率图像样本间的映射关系矩阵。In the fourth step, for each subset, high-resolution and low-resolution image samples in the subset are encoded according to the high-resolution and low-resolution dictionary of the set image feature, and a high-resolution expression coefficient matrix is obtained. The low-resolution expression coefficient matrix is obtained, and the mapping relationship matrix between the high-low resolution image samples of the image sample subset is obtained by the high-resolution expression coefficient matrix and the low-resolution expression coefficient matrix.
在一些实施例中,根据第一特征矩阵,在第一目标函数的约束下,编码低分辨率图像样本,获得第一表达系数矩阵,即低分辨率表达系数矩阵;根据第二特征矩阵,在第一目标函数的约束下,编码高分辨率图像样本,获得第二表达系数矩阵,即高分辨率表达系数矩阵;在第二目标函数
Figure PCTCN2015092946-appb-000001
的约束下,获得映射关系矩阵,其中αl表示第一表达系数矩阵,αh表示第二表 达系数矩阵,M表示映射关系矩阵,
Figure PCTCN2015092946-appb-000002
表示全1矩阵,||·||F表示范数运算,min表示求最小值运算。
In some embodiments, according to the first feature matrix, encoding the low resolution image samples under the constraint of the first objective function, obtaining a first expression coefficient matrix, ie, a low resolution expression coefficient matrix; according to the second feature matrix, Under the constraint of the first objective function, the high-resolution image samples are encoded to obtain a second expression coefficient matrix, that is, a high-resolution expression coefficient matrix; in the second objective function
Figure PCTCN2015092946-appb-000001
Under the constraint, obtain a mapping relationship matrix, where α l represents the first expression coefficient matrix, α h represents the second expression coefficient matrix, and M represents the mapping relationship matrix,
Figure PCTCN2015092946-appb-000002
Represents a full 1 matrix, ||·|| F table demonstrates the number operation, and min represents the minimum value operation.
至此,样本训练阶段完成,训练得到每一个样本子集合,即每一种图像特征的高分辨率词典、低分辨率词典、高低分辨率图像样本间的映射关系矩阵。上述训练所得到的参数将应用于图像重建阶段。At this point, the sample training phase is completed, and each sample subset is trained, that is, a high-resolution dictionary, a low-resolution dictionary, and a mapping matrix between high- and low-resolution image samples of each image feature. The parameters obtained by the above training will be applied to the image reconstruction stage.
在图像重建阶段:In the image reconstruction phase:
第一步,确定待处理图像对应的图像样本子集合,即确定待处理图像的图像特征,用以选择合适的高分辨率词典、低分辨率词典、高低分辨率图像样本间的映射关系矩阵进行处理。In the first step, determining a subset of image samples corresponding to the image to be processed, that is, determining image features of the image to be processed, for selecting a suitable high-resolution dictionary, a low-resolution dictionary, and a mapping matrix between high- and low-resolution image samples. deal with.
在一些实施例中,该步骤可以分解为提取待处理图像的图像特征;比较待处理图像的图像特征与图像样本集合中各图像样本子集合的图像特征的差别;确定待处理图像对应的图像样本子集合为差别最小的样本子集合。In some embodiments, the step may be decomposed into image features for extracting an image to be processed; comparing image features of the image to be processed with image features of each subset of image samples in the image sample set; determining image samples corresponding to the image to be processed Subsets are the smallest subset of samples.
在样本训练阶段已经详述了图像特征提取以及聚类的相关方法,为了取得更好的分类效果,更适于采用与样本训练阶段一致的方法确定待处理图像对应的图像样本子集合。In the sample training phase, the image feature extraction and clustering correlation methods have been detailed. In order to obtain a better classification effect, it is more suitable to determine the image sample subset corresponding to the image to be processed by using the method consistent with the sample training phase.
第二步,将待处理图像所述的图像样本子集合所属的高分辨率词典、低分辨率词典、高低分辨率图像样本间的映射关系矩阵作用于待处理图像,使用样本训练阶段采用的第一目标函数,获得待处理图像对应的高分辨率图像。In the second step, the mapping relationship matrix between the high-resolution dictionary, the low-resolution dictionary, and the high-low resolution image samples to which the image sample subset of the image to be processed belongs is applied to the image to be processed, and the first stage used in the sample training phase is used. An objective function obtains a high resolution image corresponding to the image to be processed.
在一些实施例中,根据第一特征矩阵,即低分辨率词典,在第一目标函数的约束下,编码待处理图像,获取待处理图像对应的第三表达系数矩阵,即低分辨率表达系数矩阵;根据映射关系矩阵和第三表达系数矩阵,在第二目标函数的约束下,获得待处理图像对应的第四表达系数矩阵,即高分辨率表达系数矩阵;第四表达系数矩阵和第二特征矩阵,即高分辨率词典相乘,获得待处理图像的高频分量;高频分量和放大后的待处理图像相加,获得待处理图像对应的高分辨率图像。In some embodiments, according to the first feature matrix, that is, the low-resolution dictionary, under the constraint of the first objective function, the image to be processed is encoded, and the third expression coefficient matrix corresponding to the image to be processed is obtained, that is, the low-resolution expression coefficient. a matrix; according to the mapping relationship matrix and the third expression coefficient matrix, under the constraint of the second objective function, obtaining a fourth expression coefficient matrix corresponding to the image to be processed, that is, a high-resolution expression coefficient matrix; a fourth expression coefficient matrix and the second The feature matrix, that is, the high-resolution dictionary multiplication, obtains high-frequency components of the image to be processed; the high-frequency component and the enlarged image to be processed are added to obtain a high-resolution image corresponding to the image to be processed.
第二个方面,本发明实施例提供一种图像处理装置,包括:In a second aspect, an embodiment of the present invention provides an image processing apparatus, including:
第一分类模块,用于根据图像特征,对图像样本集合分类,得到多个图像样本子集合,其中,图像样本子集合包含高分辨率图像样本和低分辨率图像样本,所述低分辨率图像样本通过对所述高分辨率图像样本下采样获得;第一获取模块,用于根据第一目标函数和低分辨率图像样本,获得图像样本 子集合对应的第一特征矩阵;第二获取模块,用于根据第一目标函数和高分辨率图像样本,获得图像样本子集合对应的第二特征矩阵;第三获取模块,用于根据第一特征矩阵、第二特征矩阵、低分辨率图像样本、高分辨率图像样本,获得图像样本子集合的高低分辨率图像样本间的映射关系矩阵;第二分类模块,用于确定待处理图像对应的图像样本子集合;第四获取模块,用于根据第一目标函数和确定的待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和高低分辨率图像样本间的映射关系矩阵,获得待处理图像对应的高分辨率图像。a first classification module, configured to classify the image sample set according to the image feature, to obtain a plurality of image sample subsets, wherein the image sample subset includes a high resolution image sample and a low resolution image sample, the low resolution image The sample is obtained by downsampling the high resolution image sample; a first obtaining module, configured to obtain an image sample according to the first objective function and the low resolution image sample a first feature matrix corresponding to the subset; a second acquiring module, configured to obtain a second feature matrix corresponding to the subset of image samples according to the first objective function and the high-resolution image sample; and a third acquiring module, configured to The feature matrix, the second feature matrix, the low resolution image sample, the high resolution image sample, obtain a mapping relationship matrix between the high and low resolution image samples of the image sample subset; the second classification module is configured to determine the corresponding image to be processed a fourth image acquisition module, configured to: according to the first objective function and the determined mapping relationship between the first feature matrix, the second feature matrix, and the high-low resolution image samples corresponding to the image sample subset corresponding to the image to be processed A matrix that obtains a high resolution image corresponding to the image to be processed.
第三个方面,本发明实施例提供一种用于对图像进行处理的设备,所述设备包括经配置以进行以下操作的处理器:所述操作为第一个方面所述的操作方法。In a third aspect, an embodiment of the present invention provides an apparatus for processing an image, the apparatus comprising a processor configured to: the operation is the method of operation described in the first aspect.
第四个方面,本发明实施例提供了一种存储有指令的计算机可读存储媒体,所述指令在被执行时使用于对图像进行处理的设备的一或多个处理器进行以下操作:所述操作为第一个方面所述的操作方法。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium storing instructions that, when executed, are used by one or more processors of a device that processes an image to perform the following operations: The operation is the method of operation described in the first aspect.
本发明所述的技术方案,还可以用于图像去模糊处理。具体的,通过本发明图像处理装置或者使用本发明图像处理方法,对于每一幅模糊的输入图像,都可以获得一幅相应的相对清晰的输出图像。The technical solution described in the present invention can also be used for image deblurring processing. Specifically, with the image processing apparatus of the present invention or the image processing method of the present invention, a corresponding relatively clear output image can be obtained for each blurred input image.
第五个方面,本发明实施例提供一种图像处理方法,包括:In a fifth aspect, an embodiment of the present invention provides an image processing method, including:
根据图像特征,对图像样本集合分类,得到多个图像样本子集合,其中,图像样本子集合包含清晰图像样本和模糊图像样本,所述模糊图像样本通过对所述清晰图像样本模糊获得;根据第一目标函数和模糊图像样本,获得图像样本子集合对应的第一特征矩阵;根据第一目标函数和清晰图像样本,获得图像样本子集合对应的第二特征矩阵;根据第一特征矩阵、第二特征矩阵、模糊图像样本、清晰图像样本,获得图像样本子集合的清晰、模糊图像样本间的映射关系矩阵;确定待处理图像对应的图像样本子集合;根据第一目标函数和确定的待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和清晰、模糊图像样本间的映射关系矩阵,获得待处理图像对应的清晰图像。Sorting the image sample set according to the image feature to obtain a plurality of image sample subsets, wherein the image sample subset includes a clear image sample and a blurred image sample, wherein the blurred image sample is obtained by blurring the clear image sample; Obtaining a first feature matrix corresponding to the image sample subset according to the objective function and the blurred image sample; obtaining a second feature matrix corresponding to the image sample subset according to the first objective function and the clear image sample; according to the first feature matrix, the second Feature matrix, blurred image sample, clear image sample, obtaining a clear relationship between the image sample subset and a mapping relationship matrix between the blurred image samples; determining a subset of image samples corresponding to the image to be processed; according to the first objective function and the determined image to be processed Corresponding image feature subsets corresponding to the first feature matrix, the second feature matrix, and the mapping matrix between the clear and blurred image samples, to obtain a clear image corresponding to the image to be processed.
第六个方面,本发明实施例提供一种图像处理装置,包括:In a sixth aspect, an embodiment of the present invention provides an image processing apparatus, including:
第一分类模块,用于根据图像特征,对图像样本集合分类,得到多个图像样本子集合,其中,图像样本子集合包含清晰图像样本和模糊图像样本,所述模糊图像样本通过对所述清晰图像样本模糊获得;第一获取模块,用于 根据第一目标函数和模糊图像样本,获得图像样本子集合对应的第一特征矩阵;第二获取模块,用于根据第一目标函数和清晰图像样本,获得图像样本子集合对应的第二特征矩阵;第三获取模块,用于根据第一特征矩阵、第二特征矩阵、模糊图像样本、清晰图像样本,获得图像样本子集合的清晰、模糊图像样本间的映射关系矩阵;第二分类模块,用于确定待处理图像对应的图像样本子集合;第四获取模块,用于根据第一目标函数和确定的待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和清晰、模糊图像样本间的映射关系矩阵,获得待处理图像对应的清晰图像。a first classification module, configured to classify the image sample set according to the image feature, to obtain a plurality of image sample subsets, wherein the image sample subset includes a clear image sample and a blurred image sample, and the blurred image sample passes the clear Obtaining image samples; first acquisition module, for Obtaining, according to the first objective function and the blurred image sample, a first feature matrix corresponding to the subset of image samples; and a second acquiring module, configured to obtain a second feature matrix corresponding to the subset of image samples according to the first objective function and the clear image sample a third obtaining module, configured to obtain a mapping relationship matrix between the clear and blurred image samples of the image sample subset according to the first feature matrix, the second feature matrix, the blurred image sample, and the clear image sample; the second classification module uses Determining a subset of image samples corresponding to the image to be processed; a fourth acquiring module, configured to: according to the first objective function and the determined image feature subset corresponding to the image to be processed, the first feature matrix, the second feature matrix, and the clear The mapping relationship matrix between the blurred image samples obtains a clear image corresponding to the image to be processed.
第七个方面,本发明实施例提供一种用于对图像进行处理的设备,所述设备包括经配置以进行以下操作的处理器:所述操作为第五个方面所述的操作方法。In a seventh aspect, an embodiment of the present invention provides an apparatus for processing an image, the apparatus including a processor configured to: the operation is the operation method described in the fifth aspect.
第八个方面,本发明实施例提供了一种存储有指令的计算机可读存储媒体,所述指令在被执行时使用于对图像进行处理的设备的一或多个处理器进行以下操作:所述操作为第五个方面所述的操作方法。In an eighth aspect, an embodiment of the present invention provides a computer readable storage medium storing instructions that, when executed, are used by one or more processors of a device that processes an image to perform the following operations: The operation is the method of operation described in the fifth aspect.
本发明所述的技术方案,还可以用于其它类型图像退化的恢复处理。具体的,通过本发明图像处理装置或者使用本发明图像处理方法,对于每一幅退化的输入图像,都可以获得一幅相应的去退化的输出图像。The technical solution described in the present invention can also be applied to recovery processing of other types of image degradation. In particular, with the image processing apparatus of the present invention or using the image processing method of the present invention, a corresponding de-degraded output image can be obtained for each degraded input image.
本发明的上述各方面和实现方式,将在具体实施方式部分详细说明。The above various aspects and implementations of the present invention will be described in detail in the Detailed Description.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本发明图像处理方法的一个实施例的示意性流程图;1 is a schematic flowchart of an embodiment of an image processing method according to the present invention;
图2为本发明提取图像块的方式的示意图;2 is a schematic diagram of a manner of extracting an image block according to the present invention;
图3为本发明图像处理装置的一个实施例的示意性框图;Figure 3 is a schematic block diagram of an embodiment of an image processing apparatus of the present invention;
图4为本发明图像处理装置的另一个实施例的示意性框图;4 is a schematic block diagram of another embodiment of an image processing apparatus according to the present invention;
具体实施方式 detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为本发明图像处理方法实施例一的流程图,如图1所示,本实施例的方法1000,包括:1 is a flowchart of Embodiment 1 of an image processing method according to the present invention. As shown in FIG. 1, the method 1000 of this embodiment includes:
S1100、根据图像特征,对图像样本集合分类,得到图像样本子集合,其中,所述图像样本子集合包含高分辨率图像样本和对应的低分辨率图像样本;S1100: classify an image sample set according to image features, to obtain a subset of image samples, wherein the image sample subset includes high-resolution image samples and corresponding low-resolution image samples;
一种可行的方式为:One possible way is:
选取多张纹理细节丰富的高分辨率图像组成训练库。Select multiple high-resolution images with rich texture details to form a training library.
对训练库中的每张图高分辨图像X进行相同的模糊和下采样操作产生相应的高频细节丢失的低分辨率图像Y,将低分辨率图像Y通过插值的方法放大到与高分辨率图像相同大小得到图像
Figure PCTCN2015092946-appb-000003
The same blur and down sampling operation is performed on each of the image high resolution images X in the training library to generate a corresponding low frequency image Y with high frequency detail loss, and the low resolution image Y is enlarged to a high resolution by interpolation. Images get the same size
Figure PCTCN2015092946-appb-000003
应理解,这里生成低分辨率图像Y的具体下采样操作方法不做限定,生成高分辨率图像
Figure PCTCN2015092946-appb-000004
的具体插值方法也不做限定。
It should be understood that the specific downsampling operation method for generating the low resolution image Y here is not limited, and a high resolution image is generated.
Figure PCTCN2015092946-appb-000004
The specific interpolation method is not limited.
将高分辨图像X减去其对应的低分辨图像插值放大后的图像
Figure PCTCN2015092946-appb-000005
得到高频细节图
Figure PCTCN2015092946-appb-000006
高频细节即为提取的高分辨率图像特征。
Subtracting the high resolution image X from its corresponding low resolution image interpolation and magnifying image
Figure PCTCN2015092946-appb-000005
Get high frequency detail map
Figure PCTCN2015092946-appb-000006
The high frequency detail is the extracted high resolution image feature.
在水平与竖直方向用一、二阶梯度算子对
Figure PCTCN2015092946-appb-000007
进行滤波,得到四副滤波后图像,一、二阶梯度信息即为提取的低分辨率图像特征。
One or two stepwise operator pairs in horizontal and vertical directions
Figure PCTCN2015092946-appb-000007
Filtering is performed to obtain four filtered images, and the first and second step information is the extracted low-resolution image features.
对高频细节图像
Figure PCTCN2015092946-appb-000008
进行足量的采样,采集N个大小为
Figure PCTCN2015092946-appb-000009
的图像块,其中n为图像块的宽度,N为正整数,可以预先设定,不做限定。
High frequency detail image
Figure PCTCN2015092946-appb-000008
Perform sufficient sampling to collect N sizes as
Figure PCTCN2015092946-appb-000009
The image block, where n is the width of the image block, and N is a positive integer, which can be preset and not limited.
在滤波产生的四幅图像的相同位置进行相同图像块大小的采样,采集完成,可以得到训练样本集
Figure PCTCN2015092946-appb-000010
其中yi表示四幅滤波后图像上相同位置采集的四个图像块联合展成的列向量,xi表示相应位置上高频细节图像上采集的图像块展成的列向量。
The same image block size is sampled at the same position of the four images generated by the filtering, and the acquisition is completed, and the training sample set can be obtained.
Figure PCTCN2015092946-appb-000010
Where y i represents a column vector jointly formed by four image blocks acquired at the same position on the four filtered images, and x i represents a column vector formed by the image block acquired on the high-frequency detail image at the corresponding position.
通过聚类算法将低分辨率图像块
Figure PCTCN2015092946-appb-000011
聚为K类,K个聚类中心为
Figure PCTCN2015092946-appb-000012
根据聚类结果,根据高、低分辨率图像块之间的对应关系将
Figure PCTCN2015092946-appb-000013
划分到相应的类别中,这样就生成了各个样本子集合。
Low resolution image block by clustering algorithm
Figure PCTCN2015092946-appb-000011
Gathered into K class, K cluster centers are
Figure PCTCN2015092946-appb-000012
According to the clustering result, according to the correspondence between the high and low resolution image blocks
Figure PCTCN2015092946-appb-000013
Divided into the corresponding categories, thus generating a subset of each sample.
应理解,上述聚类算法已将具有相同特征的图像块划归一类为目的,不限定具体的聚类算法。It should be understood that the above clustering algorithm has classified image blocks having the same feature into one class, and does not limit a specific clustering algorithm.
S1200、根据第一目标函数和所述低分辨率图像样本,获得所述图像样本子集合对应的第一特征矩阵;S1200. Obtain a first feature matrix corresponding to the subset of image samples according to the first objective function and the low resolution image sample.
具体的,所述第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示所述样本子集合的低分辨率图像样本,D表示所述样本子集合的第一特征矩阵,α表示所述低分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;Specifically, the first objective function is min(||y-Dα|| F +λ||α|| F ), where y represents a low-resolution image sample of the sample subset, and D represents the sample a first feature matrix of the subset, α represents a matrix of expression coefficients corresponding to the low-resolution image samples, ||·|| F represents an exemplary operation, min represents a minimum operation, and λ is a regularization constant parameter;
对应地,所述根据第一目标函数和所述低分辨率图像样本,获得所述图像样本子集合对应的第一特征矩阵,包括:在所述第一目标函数的约束下,以预置次数迭代更新D和α,获得满足所述第一目标函数的所述第一特征矩阵。Correspondingly, the obtaining, according to the first objective function and the low-resolution image sample, the first feature matrix corresponding to the subset of image samples, comprising: preset times under the constraint of the first objective function The D and α are iteratively updated to obtain the first feature matrix that satisfies the first objective function.
一种可行的方式为:One possible way is:
第一步骤,对第i个子集合的低分辨率图像块
Figure PCTCN2015092946-appb-000014
进行主成分分析,提取其前m维的主成分得到矩阵Pl i,在本实施例中使用Pl i来初始化低分辨率词典
Figure PCTCN2015092946-appb-000015
First step, low resolution image block for the ith subset
Figure PCTCN2015092946-appb-000014
Perform principal component analysis, extract the principal component of the first m-dimensional to obtain the matrix P l i , and use P l i to initialize the low-resolution dictionary in this embodiment.
Figure PCTCN2015092946-appb-000015
其中,主成分分析是指将多个变量通过线性变换以选出较少个数重要变量的一种多元统计分析方法。Among them, principal component analysis refers to a multivariate statistical analysis method that uses multiple variables to linearly transform to select fewer important variables.
第二步骤,固定
Figure PCTCN2015092946-appb-000016
Figure PCTCN2015092946-appb-000017
更新αl,等价的,计算
Figure PCTCN2015092946-appb-000018
Second step, fixed
Figure PCTCN2015092946-appb-000016
by
Figure PCTCN2015092946-appb-000017
Update α l , equivalent, calculate
Figure PCTCN2015092946-appb-000018
第三步骤,固定αl,由
Figure PCTCN2015092946-appb-000019
更新
Figure PCTCN2015092946-appb-000020
等价的,计算
Figure PCTCN2015092946-appb-000021
The third step is to fix α l by
Figure PCTCN2015092946-appb-000019
Update
Figure PCTCN2015092946-appb-000020
Equivalent
Figure PCTCN2015092946-appb-000021
第四步骤,迭代第二步骤和第三步骤N次后,得到低分辨率词典
Figure PCTCN2015092946-appb-000022
其中N为正整数,不作限定。
The fourth step, after iterating the second step and the third step N times, obtaining a low resolution dictionary
Figure PCTCN2015092946-appb-000022
Where N is a positive integer and is not limited.
应理解,本实施例中采用了L2范数作为第一目标函数的范数约束,也可以采用L1范数作为第一目标函数的范数约束,即目标函数为min(||y-Dα||1+λ||α||1),不作限定。其中,L2范数是指对向量各元素的平方和求平方根,L1范数是指向量中各个元素绝对值之和。It should be understood that, in this embodiment, the norm constraint of the L2 norm is used as the first objective function, and the L1 norm is also used as the norm constraint of the first objective function, that is, the objective function is min(||y-Dα| | 1 +λ||α|| 1 ), not limited. Among them, the L2 norm refers to the square root of the sum of the squares of the elements of the vector, and the L1 norm refers to the sum of the absolute values of the elements in the vector.
应理解,本实施例中的第一步骤采用提取低分辨率图像块集合前m维的主成分得到矩阵Pl i,作为低分辨率词典的初始值,进而训练得到欠完备词典, 也可以采用对
Figure PCTCN2015092946-appb-000023
进行主成分分析,得到正交矩阵Pl i,作为低分辨率词典的初始值,进而训练得到完备词典,不作限定。
It should be understood that the first step in this embodiment uses the principal component of the m-dimensional pre-mesh of the low-resolution image block set to obtain the matrix P l i as the initial value of the low-resolution dictionary, and then trains to obtain an under-complete dictionary, which may also be adopted. Correct
Figure PCTCN2015092946-appb-000023
The principal component analysis is performed to obtain the orthogonal matrix P l i as the initial value of the low-resolution dictionary, and then the training dictionary is obtained, which is not limited.
S1300、根据所述第一目标函数和所述高分辨率图像样本,获得所述图像样本子集合对应的第二特征矩阵;S1300. Obtain a second feature matrix corresponding to the subset of image samples according to the first objective function and the high resolution image sample.
具体的,所述第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示所述样本子集合的高分辨率图像样本,D表示所述样本子集合的第二特征矩阵,α表示所述高分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;Specifically, the first objective function is min(||y-Dα|| F +λ||α|| F ), where y represents a high-resolution image sample of the sample subset, and D represents the sample a second feature matrix of the subset, α represents a matrix of expression coefficients corresponding to the high-resolution image samples, ||·|| F represents an exemplary operation, min represents a minimum operation, and λ is a regularization constant parameter;
对应地,所述根据所述第一目标函数和所述高分辨率图像样本,获得所述图像样本子集合对应的第二特征矩阵,包括:在所述第一目标函数的约束下,以预置次数迭代更新D和α,获得满足所述第一目标函数的所述第二特征矩阵。Correspondingly, the obtaining, according to the first objective function and the high-resolution image sample, the second feature matrix corresponding to the subset of image samples, comprising: pre-constraining under the constraint of the first objective function The set number of iterations updates D and α to obtain the second feature matrix that satisfies the first objective function.
S1300与S1200的实现方式类似,不再赘述。The implementation of the S1300 is similar to that of the S1200, and is not described here.
应理解,S1300和S1200是完全独立的过程,低分辨率词典的训练和高分辨率词典的训练完全独立,且没有先后次序,也可以并行进行。It should be understood that the S1300 and S1200 are completely independent processes, and the training of the low-resolution dictionary and the training of the high-resolution dictionary are completely independent, and there is no order, and it can also be performed in parallel.
通过独立地训练并获得低分辨率和高分辨率词典,适当放松了对相同稀疏表示的约束,能够更灵活地利用样本信息,提高了通过表达系数生成图像高频分量的精准度,进而提高高分辨率图像重建质量。By independently training and obtaining low-resolution and high-resolution dictionaries, the constraints on the same sparse representation are appropriately relaxed, and the sample information can be more flexibly utilized, thereby improving the accuracy of generating high-frequency components of the image by expressing coefficients, thereby increasing the accuracy. Resolution image reconstruction quality.
S1400、根据所述第一特征矩阵、所述第二特征矩阵、所述低分辨率图像样本、所述高分辨率图像样本,获得所述图像样本子集合的高低分辨率图像样本间的映射关系矩阵;S1400. Obtain a mapping relationship between high and low resolution image samples of the subset of image samples according to the first feature matrix, the second feature matrix, the low resolution image sample, and the high resolution image sample. matrix;
具体的,根据所述第一特征矩阵,在所述第一目标函数的约束下,编码所述低分辨率图像样本,获得第一表达系数矩阵;根据所述第二特征矩阵,在所述第一目标函数的约束下,编码所述高分辨率图像样本,获得第二表达系数矩阵;在第二目标函数
Figure PCTCN2015092946-appb-000024
的约束下,获得所述映射关系矩阵,其中αl表示所述第一表达系数矩阵,αh表示所述第二表达系数矩阵,M表示所述映射关系矩阵,
Figure PCTCN2015092946-appb-000025
表示全1矩阵,||·||F表示范数运算,min表示求最小值运算。
Specifically, according to the first feature matrix, encoding the low resolution image sample to obtain a first expression coefficient matrix under the constraint of the first objective function; according to the second feature matrix, in the Encoding the high resolution image sample to obtain a second expression coefficient matrix under the constraint of an objective function; in the second objective function
Figure PCTCN2015092946-appb-000024
Obtaining the mapping relationship matrix, wherein α l represents the first expression coefficient matrix, α h represents the second expression coefficient matrix, and M represents the mapping relationship matrix,
Figure PCTCN2015092946-appb-000025
Represents a full 1 matrix, ||·|| F table demonstrates the number operation, and min represents the minimum value operation.
一种可行的方式为:One possible way is:
第一步骤,根据所述第一特征矩阵
Figure PCTCN2015092946-appb-000026
在所述第一目标函数的约束下,编码所述低分辨率图像样本yi,获得第一表达系数矩阵αl,等价的,通过下述公式计算
Figure PCTCN2015092946-appb-000027
a first step, according to the first feature matrix
Figure PCTCN2015092946-appb-000026
Encoding the low resolution image sample y i under the constraint of the first objective function to obtain a first expression coefficient matrix α l , equivalent, calculated by the following formula
Figure PCTCN2015092946-appb-000027
第二步骤,根据所述第二特征矩阵
Figure PCTCN2015092946-appb-000028
在所述第一目标函数的约束下,编码所述高分辨率图像样本yi,获得第二表达系数矩阵αh,等价的,通过下述公式计算
Figure PCTCN2015092946-appb-000029
a second step, according to the second feature matrix
Figure PCTCN2015092946-appb-000028
Encoding the high resolution image sample y i under the constraint of the first objective function, obtaining a second expression coefficient matrix α h , equivalent, calculated by the following formula
Figure PCTCN2015092946-appb-000029
应理解,第二步骤中的正则参数常量λ和第一步骤中的λ可以相同,也可以不同,不作限定。It should be understood that the regular parameter constant λ in the second step and the λ in the first step may be the same or different and are not limited.
第三步骤,在第二目标函数
Figure PCTCN2015092946-appb-000030
的约束下,获得所述映射关系矩阵,其中αl表示所述第一表达系数矩阵,αh表示所述第二表达系数矩阵,M表示所述映射关系矩阵,
Figure PCTCN2015092946-appb-000031
表示全1矩阵,
Figure PCTCN2015092946-appb-000032
表示L2范数运算,min表示求最小值运算。
The third step, in the second objective function
Figure PCTCN2015092946-appb-000030
Obtaining the mapping relationship matrix, wherein α l represents the first expression coefficient matrix, α h represents the second expression coefficient matrix, and M represents the mapping relationship matrix,
Figure PCTCN2015092946-appb-000031
Represents an all-one matrix,
Figure PCTCN2015092946-appb-000032
Indicates the L2 norm operation, and min denotes the minimum value operation.
S1500、确定待处理图像对应的图像样本子集合;S1500: Determine a subset of image samples corresponding to the image to be processed;
具体的,提取所述待处理图像的图像特征;比较所述待处理图像的图像特征与所述图像样本集合中各图像样本子集合的图像特征的差别;确定所述待处理图像对应的图像样本子集合为所述差别最小的样本子集合。Specifically, extracting image features of the image to be processed; comparing image features of the image to be processed with image features of each subset of image samples in the image sample set; and determining image samples corresponding to the image to be processed The subset is the subset of samples with the least difference.
一种可行的方式为:One possible way is:
通过插值将低分辨率图像Y放大得到图像
Figure PCTCN2015092946-appb-000033
图像
Figure PCTCN2015092946-appb-000034
的分辨率为目标高分辨率图像的分辨率。
Enlarge the low resolution image Y by interpolation to obtain an image
Figure PCTCN2015092946-appb-000033
image
Figure PCTCN2015092946-appb-000034
The resolution is the resolution of the target high resolution image.
在水平与竖直方向用一、二阶梯度算子对
Figure PCTCN2015092946-appb-000035
进行滤波,得到四副滤波后图像。
One or two stepwise operator pairs in horizontal and vertical directions
Figure PCTCN2015092946-appb-000035
Filtering is performed to obtain four filtered images.
对每幅滤波后的图像按光栅扫描顺序自左上角开始从左向右,从上向下,提取大小
Figure PCTCN2015092946-appb-000036
的图像块,提取图像块的起点从前一个相邻图像块的倒数第s像素开始,其中n为图像块的宽度,s为正整数,可以预先设定,不做限定,图2表示了图像块提取的起始位置的示意图。
For each filtered image, start from the upper left corner and from left to right in the raster scan order, and extract the size from top to bottom.
Figure PCTCN2015092946-appb-000036
The image block, the starting point of the extracted image block starts from the last s pixel of the previous adjacent image block, where n is the width of the image block, and s is a positive integer, which can be preset, not limited, and FIG. 2 shows the image block. Schematic diagram of the starting position of the extraction.
将四副滤波后图像中的每张图像对应位置提取的图像块联合起来展开成一个列向量yi
Figure PCTCN2015092946-appb-000037
i=1,2,...,Nt,其中Nt是从输入图像提取的图像块总数。
Combining image blocks extracted corresponding to each image in the four filtered images into a column vector y i ,
Figure PCTCN2015092946-appb-000037
i = 1, 2, ..., N t , where N t is the total number of image blocks extracted from the input image.
根据目标函数
Figure PCTCN2015092946-appb-000038
计算当前图像特征yi与每一个图像样本子集合的图像特征,即聚类中心cj间的距离,取距离最近的聚类中心所属的图像样本子集合k,作为待处理图像对应的图像样本子集合。
According to the objective function
Figure PCTCN2015092946-appb-000038
Calculating the image feature of the current image feature y i and each image sample subset, that is, the distance between the cluster centers c j , and taking the image sample subset k to which the cluster center closest to the cluster belongs, as the image sample corresponding to the image to be processed Subcollection.
应理解,在这一步骤中也可以选择其他的聚类算法或者添加约束条件,不作限定。可行地,该步骤中的聚类算法与S1100中所采用的聚类算法保持一致。It should be understood that other clustering algorithms or constraints may be selected in this step, which are not limited. Feasibly, the clustering algorithm in this step is consistent with the clustering algorithm used in S1100.
S1600、根据所述第一目标函数和所述待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和高低分辨率图像样本间的映射关系矩阵,获得所述待处理图像对应的高分辨率图像;S1600. Obtain the image to be processed according to the mapping relationship matrix between the first feature matrix, the second feature matrix, and the high-low resolution image samples corresponding to the first target function and the image sample subset corresponding to the image to be processed. Corresponding high resolution image;
具体的,根据所述第一特征矩阵,在所述第一目标函数的约束下,编码所述待处理图像,获取所述待处理图像对应的第三表达系数矩阵;根据所述映射关系矩阵和所述第三表达系数矩阵,在所述第二目标函数的约束下,获得所述待处理图像对应的第四表达系数矩阵;所述第四表达系数矩阵和所述第二特征矩阵相乘,获得所述待处理图像的高频分量;所述高频分量和放大后的所述待处理图像相加,获得所述待处理图像对应的高分辨率图像。Specifically, according to the first feature matrix, under the constraint of the first objective function, encoding the image to be processed, acquiring a third expression coefficient matrix corresponding to the image to be processed; according to the mapping relationship matrix and Obtaining, according to the second objective function, a fourth expression coefficient matrix corresponding to the image to be processed; the fourth expression coefficient matrix and the second feature matrix are multiplied, Obtaining a high frequency component of the image to be processed; adding the high frequency component and the enlarged image to be processed to obtain a high resolution image corresponding to the image to be processed.
一种可行的方式为:One possible way is:
在目标函数
Figure PCTCN2015092946-appb-000039
的约束下,根据低分辨率词典D,计算待处理图像y的表达系数α,该步骤与S1200保持一致,且具体的计算过程也与S1200保持一致,不再赘述。
In the objective function
Figure PCTCN2015092946-appb-000039
Under the constraint, the expression coefficient α of the image to be processed y is calculated according to the low-resolution dictionary D. This step is consistent with S1200, and the specific calculation process is also consistent with S1200, and will not be described again.
由于高低分辨率词典的训练过程不再耦合,训练图像的表达系数和分成图像的表达系数,可以采用相同的目标函数,提高了通过表达系数生成图像高频分量的精准度,进而提高高分辨率图像重建质量。Since the training process of the high-low resolution dictionary is no longer coupled, the expression coefficient of the training image and the expression coefficient of the image can be used, the same objective function can be used, and the accuracy of generating high-frequency components of the image by the expression coefficient is improved, thereby improving the high resolution. Image reconstruction quality.
在目标函数
Figure PCTCN2015092946-appb-000040
的约束下,根据映射关系矩阵M,待处理图像的表达系数αl,计算目标高分辨率图像对应的表达系数αh,等价的,
Figure PCTCN2015092946-appb-000041
In the objective function
Figure PCTCN2015092946-appb-000040
Under the constraint, according to the mapping relationship matrix M, the expression coefficient α l of the image to be processed, the expression coefficient α h corresponding to the target high-resolution image is calculated, which is equivalent,
Figure PCTCN2015092946-appb-000041
应理解,在本实施例中计算目标高分辨率图像对应的表达系数,使用了线性回归算法,还可以使用向量回归(SVR)、脊回归(Ridge Regression)或者其他非线性回归算法,不做限定。It should be understood that, in this embodiment, the expression coefficient corresponding to the target high-resolution image is calculated, and a linear regression algorithm is used, and vector regression (SVR), Ridge Regression, or other nonlinear regression algorithms may also be used, without limitation. .
根据高分辨率图像对应的表达系数αh和高分辨率词典Dh,计算待处理图像的高频分量xh,即xh=DhαhΑ h and D h The expression dictionary high resolution coefficient corresponding to a high resolution image, the high-frequency component calculation image to be processed x h, i.e. x h = D h α h.
待处理图像的高频分量是指相对于采用上采样等算法放大后的待处理图 像相对于目标高分辨率图像缺失的图像细节部分的数字化表示。The high-frequency component of the image to be processed refers to the to-be-processed image after being enlarged by an algorithm such as upsampling. A digital representation of the image detail portion that is missing relative to the target high resolution image.
得到所有的被抽取图像块的高频分量以后,将待处理图像的高频分量按照对应的图像块抽取时的顺序排列,重叠的部分求取平均值,作为目标高分辨率图像的高频分量图像XhAfter obtaining the high-frequency components of all the extracted image blocks, the high-frequency components of the image to be processed are arranged in the order in which the corresponding image blocks are extracted, and the overlapping portions are averaged as the high-frequency components of the target high-resolution image. Image X h .
根据放大后的待处理图像
Figure PCTCN2015092946-appb-000042
和高频分量图像Xh,得到目标高分辨率图像X,即
Figure PCTCN2015092946-appb-000043
According to the enlarged image to be processed
Figure PCTCN2015092946-appb-000042
And the high-frequency component image X h to obtain the target high-resolution image X, that is,
Figure PCTCN2015092946-appb-000043
为了更好的证明本发明实施例相对比现有技术的有益效果,测试了采用本发明实施例的方法和现有技术中的方法进行了对比,结果如表1所示In order to better prove the advantages of the embodiments of the present invention over the prior art, the method using the embodiment of the present invention and the method in the prior art are tested, and the results are shown in Table 1.
表1仿真结果Table 1 simulation results
Figure PCTCN2015092946-appb-000044
Figure PCTCN2015092946-appb-000044
通过表1可以看写出,采用本发明实施例的图像处理方法,优于其他现有技术的重建效果。It can be seen from Table 1 that the image processing method according to the embodiment of the present invention is superior to other prior art reconstruction effects.
在本发明实施例,通过独立地训练并获得低分辨率和高分辨率词典,适当放松了对相同稀疏表示的约束,能够更灵活地利用样本信息,同时,高低分辨率词典的训练过程的解耦合,重建图像的过程和样本训练的过程可以完全一致,训练阶段训练图像的表达系数和重建阶段生成图像的表达系数,使用相同的目标函数,相同的计算、推导流程,提高了训练结果的可靠性,进而提高了通过表达系数生成图像高频分量的精准度,提高高分辨率图像重建质量。In the embodiment of the present invention, by independently training and obtaining a low-resolution and high-resolution dictionary, the constraints on the same sparse representation are appropriately relaxed, and the sample information can be utilized more flexibly, and at the same time, the solution of the training process of the high-low resolution dictionary is obtained. Coupling, the process of reconstructing the image and the process of sample training can be completely consistent. The expression coefficient of the training image and the expression coefficient of the image generated during the reconstruction phase use the same objective function, the same calculation and derivation process, and improve the reliability of the training result. Sex, which improves the accuracy of generating high-frequency components of images by expression coefficients and improves the quality of high-resolution image reconstruction.
在本发明的另一实施例中,本发明还可以用于图像去模糊处理,具体为: In another embodiment of the present invention, the present invention is also applicable to image deblurring processing, specifically:
相对于实施例一包含高分辨率图像样本和对应的低分辨率图像样本的训练样本集合,用于图像去模糊处理的训练样本集包含清晰的图像样本和对应的模糊的图像样本。具体实施方案中,清晰图像对应于高分辨率图像,模糊图像对应于低分辨率图像,由模糊图像求取清晰图像的过程对应于由低分辨率图像求取高分辨率图像的过程,具体实现方式和实施例一相同,不再赘述。With respect to the training sample set including the high resolution image samples and the corresponding low resolution image samples, the training sample set for image deblurring processing includes clear image samples and corresponding blurred image samples. In a specific implementation, the clear image corresponds to the high resolution image, the blurred image corresponds to the low resolution image, and the process of obtaining the clear image from the blurred image corresponds to the process of obtaining the high resolution image from the low resolution image. The method is the same as that of Embodiment 1, and will not be described again.
图3为本发明图像处理装置实施例二的框图,如图3所示,本实施例的装置10,包括:FIG. 3 is a block diagram of a second embodiment of an image processing apparatus according to the present invention. As shown in FIG. 3, the apparatus 10 of the embodiment includes:
第一分类模块11,用于根据图像特征,对图像样本集合分类,得到图像样本子集合,其中,所述图像样本子集合包含高分辨率图像样本和对应的低分辨率图像样本;The first classification module 11 is configured to classify the image sample set according to the image feature to obtain a subset of the image samples, wherein the image sample subset includes the high resolution image sample and the corresponding low resolution image sample;
第一获取模块12,用于根据第一目标函数和所述低分辨率图像样本,获得所述图像样本子集合对应的第一特征矩阵;a first acquiring module 12, configured to obtain, according to the first objective function and the low-resolution image sample, a first feature matrix corresponding to the subset of image samples;
第二获取模块13,用于根据所述第一目标函数和所述高分辨率图像样本,获得所述图像样本子集合对应的第二特征矩阵;The second obtaining module 13 is configured to obtain, according to the first objective function and the high-resolution image sample, a second feature matrix corresponding to the subset of image samples;
第三获取模块14,用于根据所述第一特征矩阵、所述第二特征矩阵、所述低分辨率图像样本、所述高分辨率图像样本,获得所述图像样本子集合的高低分辨率图像样本间的映射关系矩阵;The third obtaining module 14 is configured to obtain high and low resolutions of the subset of image samples according to the first feature matrix, the second feature matrix, the low resolution image sample, and the high resolution image sample. a mapping relationship matrix between image samples;
第二分类模块15,用于确定待处理图像对应的图像样本子集合;a second classification module 15 configured to determine a subset of image samples corresponding to the image to be processed;
第四获取模块16,用于根据所述第一目标函数和所述待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和高低分辨率图像样本间的映射关系矩阵,获得所述待处理图像对应的高分辨率图像。The fourth obtaining module 16 is configured to: according to the first objective function and the mapping relationship matrix between the first feature matrix, the second feature matrix, and the high and low resolution image samples corresponding to the image sample subset corresponding to the image to be processed, Obtaining a high resolution image corresponding to the image to be processed.
应理解,根据本发明实施例的图像处理装置10可对应于执行本发明实施例中的图像处理的方法1000,并且图像处理装置10中的各个模块的上述和其它操作和/或功能分别为了实现图1中的各个方法的相应流程,为了简洁,在此不再赘述。It should be understood that the image processing apparatus 10 according to an embodiment of the present invention may correspond to the method 1000 of performing image processing in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the image processing apparatus 10 are respectively implemented for The corresponding processes of the respective methods in FIG. 1 are not described herein for the sake of brevity.
在本发明实施例,通过独立地训练并获得低分辨率和高分辨率词典,适当放松了对相同稀疏表示的约束,能够更灵活地利用样本信息,同时,高低分辨率词典的训练过程的解耦合,重建图像的过程和样本训练的过程可以完全一致,训练阶段训练图像的表达系数和重建阶段生成图像的表达系数,使 用相同的目标函数,相同的计算、推导流程,提高了训练结果的可靠性,进而提高了通过表达系数生成图像高频分量的精准度,提高高分辨率图像重建质量。In the embodiment of the present invention, by independently training and obtaining a low-resolution and high-resolution dictionary, the constraints on the same sparse representation are appropriately relaxed, and the sample information can be utilized more flexibly, and at the same time, the solution of the training process of the high-low resolution dictionary is obtained. Coupling, the process of reconstructing the image and the process of sample training can be completely consistent. The expression coefficient of the training image and the expression coefficient of the image generated during the reconstruction phase make Using the same objective function, the same calculation and derivation process, the reliability of the training result is improved, and the accuracy of generating high-frequency components of the image by the expression coefficient is improved, and the quality of high-resolution image reconstruction is improved.
图4为本发明图像处理装置实施例三的框图,如图4所示,本实施例的装置20,包括:处理器21、存储器22和总线系统23。其中,处理器21和存储器22通过总线系统23相连,该存储器22用于存储指令,该处理器21用于执行该存储器22存储的指令。图像处理装置20的存储器22存储程序代码,且处理器21可以调用存储器22中存储的程序代码执行以下操作:根据图像特征,对图像样本集合分类,得到图像样本子集合,其中,图像样本子集合包含高分辨率图像样本和对应的低分辨率图像样本;根据第一目标函数和低分辨率图像样本,获得图像样本子集合对应的第一特征矩阵;根据第一目标函数和高分辨率图像样本,获得图像样本子集合对应的第二特征矩阵;根据第一特征矩阵、第二特征矩阵、低分辨率图像样本、高分辨率图像样本,获得图像样本子集合的高低分辨率图像样本间的映射关系矩阵;确定待处理图像对应的图像样本子集合;根据第一目标函数和待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和高低分辨率图像样本间的映射关系矩阵,获得待处理图像对应的高分辨率图像。4 is a block diagram of a third embodiment of an image processing apparatus according to the present invention. As shown in FIG. 4, the apparatus 20 of the present embodiment includes a processor 21, a memory 22, and a bus system 23. The processor 21 and the memory 22 are connected by a bus system 23 for storing instructions for executing instructions stored by the memory 22. The memory 22 of the image processing device 20 stores the program code, and the processor 21 can call the program code stored in the memory 22 to perform an operation of classifying the image sample set according to the image feature to obtain a subset of the image samples, wherein the image sample subset Include a high resolution image sample and a corresponding low resolution image sample; obtain a first feature matrix corresponding to the image sample subset according to the first objective function and the low resolution image sample; according to the first objective function and the high resolution image sample Obtaining a second feature matrix corresponding to the image sample subset; obtaining mapping between high and low resolution image samples of the image sample subset according to the first feature matrix, the second feature matrix, the low resolution image sample, and the high resolution image sample a relationship matrix; determining a subset of image samples corresponding to the image to be processed; and mapping between the first feature matrix, the second feature matrix, and the high-low resolution image samples corresponding to the image object subset corresponding to the image to be processed according to the first objective function Matrix, obtaining the high resolution corresponding to the image to be processed Like.
应理解,在本发明实施例中,该处理器21可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器21还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present invention, the processor 21 may be a central processing unit ("CPU"), and the processor 21 may also be other general-purpose processors and digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器22可以包括只读存储器和随机存取存储器,并向处理器21提供指令和数据。存储器22的一部分还可以包括非易失性随机存取存储器。例如,存储器22还可以存储设备类型的信息。The memory 22 can include read only memory and random access memory and provides instructions and data to the processor 21. A portion of the memory 22 may also include a non-volatile random access memory. For example, the memory 22 can also store information of the device type.
该总线系统23除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统23。The bus system 23 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as the bus system 23 in the figure.
在实现过程中,上述方法的各步骤可以通过处理器21中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可 以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器22,处理器21读取存储器22中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 21 or an instruction in the form of software. The steps of the method disclosed in connection with the embodiments of the present invention may be It is implemented directly as a hardware processor, or by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 22, and the processor 21 reads the information in the memory 22 and combines the hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here.
可选地,作为一个实施例,该处理器21,具体用于:第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示样本子集合的低分辨率图像样本,D表示样本子集合的第一特征矩阵,α表示低分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;对应地,根据第一目标函数和低分辨率图像样本,获得图像样本子集合对应的第一特征矩阵,包括:在第一目标函数的约束下,以预置次数迭代更新D和α,获得满足第一目标函数的第一特征矩阵。Optionally, as an embodiment, the processor 21 is specifically configured to: the first objective function is min(||y-Dα|| F +λ||α|| F ), where y represents a sample subset Low-resolution image samples, D represents the first feature matrix of the sample subset, α represents the expression coefficient matrix corresponding to the low-resolution image samples, ||·|| F table demonstrates the number operation, min represents the minimum value operation, λ is Regularizing a constant parameter; correspondingly, obtaining a first feature matrix corresponding to the subset of image samples according to the first objective function and the low-resolution image sample, comprising: iteratively updating D with a preset number of times under the constraint of the first objective function And α, obtain a first feature matrix that satisfies the first objective function.
可选地,作为一个实施例,该处理器21,具体用于:第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示样本子集合的高分辨率图像样本,D表示样本子集合的第二特征矩阵,α表示高分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;对应地,根据第一目标函数和高分辨率图像样本,获得图像样本子集合对应的第二特征矩阵,包括:在第一目标函数的约束下,以预置次数迭代更新D和α,获得满足第一目标函数的第二特征矩阵。Optionally, as an embodiment, the processor 21 is specifically configured to: the first objective function is min(||y-Dα|| F +λ||α|| F ), where y represents a sample subset High-resolution image samples, D represents the second feature matrix of the sample subset, α represents the expression coefficient matrix corresponding to the high-resolution image samples, ||·|| F table demonstrates the number operation, min represents the minimum value operation, λ is Regularizing a constant parameter; correspondingly, obtaining a second feature matrix corresponding to the subset of image samples according to the first objective function and the high-resolution image sample, comprising: iteratively updating D by a preset number of times under the constraint of the first objective function And α, obtain a second characteristic matrix that satisfies the first objective function.
可选地,作为一个实施例,该处理器21,具体用于:根据第一特征矩阵,在第一目标函数的约束下,编码低分辨率图像样本,获得第一表达系数矩阵;根据第二特征矩阵,在第一目标函数的约束下,编码高分辨率图像样本,获得第二表达系数矩阵;在第二目标函数
Figure PCTCN2015092946-appb-000045
的约束下,获得映射关系矩阵,其中αl表示第一表达系数矩阵,αh表示第二表达系数矩阵,M表示映射关系矩阵,
Figure PCTCN2015092946-appb-000046
表示全1矩阵,||·||F表示范数运算,min表示求最小值运算。
Optionally, as an embodiment, the processor 21 is configured to: according to the first feature matrix, encode the low resolution image sample under the constraint of the first objective function, to obtain the first expression coefficient matrix; The feature matrix, under the constraint of the first objective function, encodes the high resolution image sample to obtain the second expression coefficient matrix; in the second objective function
Figure PCTCN2015092946-appb-000045
Under the constraint, obtain the mapping relationship matrix, where α l represents the first expression coefficient matrix, α h represents the second expression coefficient matrix, and M represents the mapping relationship matrix,
Figure PCTCN2015092946-appb-000046
Represents a full 1 matrix, ||·|| F table demonstrates the number operation, and min represents the minimum value operation.
可选地,作为一个实施例,该处理器21,具体用于:提取待处理图像的图像特征;比较待处理图像的图像特征与图像样本集合中各图像样本子集合的图像特征的差别;确定待处理图像对应的图像样本子集合为差别最小的样本子集合。Optionally, as an embodiment, the processor 21 is specifically configured to: extract image features of an image to be processed; compare image features of the image to be processed with image features of each subset of image samples in the image sample set; The subset of image samples corresponding to the image to be processed is the subset of samples with the smallest difference.
可选地,作为一个实施例,该处理器21,具体用于:根据第一特征矩阵, 在第一目标函数的约束下,编码待处理图像,获取待处理图像对应的第三表达系数矩阵;根据映射关系矩阵和第三表达系数矩阵,在第二目标函数的约束下,获得待处理图像对应的第四表达系数矩阵;第四表达系数矩阵和第二特征矩阵相乘,获得待处理图像的高频分量;高频分量和放大后的待处理图像相加,获得待处理图像对应的高分辨率图像。Optionally, as an embodiment, the processor 21 is specifically configured to: according to the first feature matrix, Encoding the image to be processed under the constraint of the first objective function, obtaining a third expression coefficient matrix corresponding to the image to be processed; obtaining the image to be processed under the constraint of the second objective function according to the mapping relationship matrix and the third expression coefficient matrix Corresponding fourth expression coefficient matrix; the fourth expression coefficient matrix and the second feature matrix are multiplied to obtain a high frequency component of the image to be processed; the high frequency component and the enlarged image to be processed are added to obtain a corresponding image to be processed Resolution image.
应理解,根据本发明实施例的图像处理装置20可对应于执行本发明实施例中的图像处理的方法1000,并且图像处理装置20中的各个模块的上述和其它操作和/或功能分别为了实现图1中的各个方法的相应流程,为了简洁,在此不再赘述。It should be understood that the image processing apparatus 20 according to an embodiment of the present invention may correspond to the method 1000 of performing image processing in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the image processing apparatus 20 are respectively implemented for The corresponding processes of the respective methods in FIG. 1 are not described herein for the sake of brevity.
在本发明实施例,通过独立地训练并获得低分辨率和高分辨率词典,适当放松了对相同稀疏表示的约束,能够更灵活地利用样本信息,同时,高低分辨率词典的训练过程的解耦合,重建图像的过程和样本训练的过程可以完全一致,训练阶段训练图像的表达系数和重建阶段生成图像的表达系数,使用相同的目标函数,相同的计算、推导流程,提高了训练结果的可靠性,进而提高了通过表达系数生成图像高频分量的精准度,提高高分辨率图像重建质量。In the embodiment of the present invention, by independently training and obtaining a low-resolution and high-resolution dictionary, the constraints on the same sparse representation are appropriately relaxed, and the sample information can be utilized more flexibly, and at the same time, the solution of the training process of the high-low resolution dictionary is obtained. Coupling, the process of reconstructing the image and the process of sample training can be completely consistent. The expression coefficient of the training image and the expression coefficient of the image generated during the reconstruction phase use the same objective function, the same calculation and derivation process, and improve the reliability of the training result. Sex, which improves the accuracy of generating high-frequency components of images by expression coefficients and improves the quality of high-resolution image reconstruction.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It is to be understood that the phrase "one embodiment" or "an embodiment" or "an" Thus, "in one embodiment" or "in an embodiment" or "an" In addition, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
在本发明的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In the various embodiments of the present invention, it should be understood that the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
另外,本文中术语“系统”和“网络”在本文中常可互换使用。应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。 Additionally, the terms "system" and "network" are used interchangeably herein. It should be understood that the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
在本申请所提供的实施例中,应理解,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined from A. However, it should also be understood that determining B from A does not mean that B is only determined based on A, and that B can also be determined based on A and/or other information.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明 的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称为“ROM”)、随机存取存储器(Random Access Memory,简称为“RAM”)、磁碟或者光盘等各种可以存储程序代码的介质。An integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium. Based on such understanding, the present invention The technical solution in essence or the part contributing to the prior art or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making one The computer device (which may be a personal computer, server, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk or a CD. A variety of media that can store program code.
以上所述仅为本发明的几个实施例,本领域的技术人员依据申请文件公开的可以对本发明进行各种改动或变型而不脱离本发明的精神和范围。本领域普通技术人员可以理解所述实施例间或不同实施例的特征间在不发生冲突的情况下可以互相结合形成新的实施例。 The above is only a few embodiments of the present invention, and various modifications and changes may be made thereto without departing from the spirit and scope of the invention. A person skilled in the art can understand that the features of the embodiments or different embodiments can be combined with each other to form a new embodiment without conflict.

Claims (12)

  1. 一种图像处理方法,其特征在于,包括:An image processing method, comprising:
    根据图像特征,对图像样本集合分类,得到多个图像样本子集合,其中,所述图像样本子集合包含高分辨率图像样本和低分辨率图像样本,所述低分辨率图像样本通过对所述高分辨率图像样本下采样获得;Sorting the image sample set according to the image feature to obtain a plurality of image sample subsets, wherein the image sample subset includes high resolution image samples and low resolution image samples, the low resolution image samples being High-resolution image sample down sampling;
    根据第一目标函数和所述低分辨率图像样本,获得所述图像样本子集合对应的第一特征矩阵;Obtaining, according to the first objective function and the low resolution image sample, a first feature matrix corresponding to the subset of image samples;
    根据所述第一目标函数和所述高分辨率图像样本,获得所述图像样本子集合对应的第二特征矩阵;Obtaining, according to the first objective function and the high resolution image sample, a second feature matrix corresponding to the subset of image samples;
    根据所述第一特征矩阵、所述第二特征矩阵、所述低分辨率图像样本、所述高分辨率图像样本,获得所述图像样本子集合的高低分辨率图像样本间的映射关系矩阵;Obtaining, according to the first feature matrix, the second feature matrix, the low resolution image sample, and the high resolution image sample, a mapping relationship matrix between high and low resolution image samples of the image sample subset;
    确定待处理图像对应的图像样本子集合;Determining a subset of image samples corresponding to the image to be processed;
    根据所述第一目标函数和确定的所述待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和高低分辨率图像样本间的映射关系矩阵,获得所述待处理图像对应的高分辨率图像。Obtaining the image to be processed according to the first objective function and the mapping relationship matrix between the first feature matrix, the second feature matrix, and the high and low resolution image samples corresponding to the determined image sample subset corresponding to the image to be processed. Corresponding high resolution image.
  2. 根据权利要求1所述的方法,其特征在于:所述第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示所述样本子集合的低分辨率图像样本,D表示所述样本子集合的第一特征矩阵,α表示所述低分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;The method of claim 1 wherein said first objective function is min(||y-Dα|| F +λ||α|| F ), wherein y represents a low of said subset of samples a resolution image sample, D represents a first feature matrix of the sample subset, α represents a matrix of expression coefficients corresponding to the low-resolution image samples, ||·|| F represents an exemplary operation, and min represents a minimum operation , λ is a regularization constant parameter;
    对应地,所述根据第一目标函数和所述低分辨率图像样本,获得所述图像样本子集合对应的第一特征矩阵,包括:在所述第一目标函数的约束下,以预置次数迭代更新D和α,获得满足所述第一目标函数的所述第一特征矩阵。Correspondingly, the obtaining, according to the first objective function and the low-resolution image sample, the first feature matrix corresponding to the subset of image samples, comprising: preset times under the constraint of the first objective function The D and α are iteratively updated to obtain the first feature matrix that satisfies the first objective function.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一目标函数和所述高分辨率图像样本,获得所述图像样本子集合对应的第二特征 矩阵,包括:在所述第一目标函数的约束下,以预置次数迭代更新D和α,获得满足所述第一目标函数的所述第二特征矩阵。The method according to claim 1 or 2, wherein the obtaining a second feature corresponding to the subset of image samples according to the first objective function and the high resolution image sample The matrix includes: after the constraint of the first objective function, iteratively updates D and α by a preset number of times to obtain the second feature matrix satisfying the first objective function.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述根据所述第一特征矩阵、所述第二特征矩阵、所述低分辨率图像样本、所述高分辨率图像样本,获得所述图像样本子集合的高低分辨率图像样本间的映射关系矩阵,包括:The method according to any one of claims 1 to 3, wherein said first feature matrix, said second feature matrix, said low resolution image sample, said high resolution image sample Obtaining a mapping relationship matrix between the high and low resolution image samples of the subset of image samples, including:
    根据所述第一特征矩阵,在所述第一目标函数的约束下,编码所述低分辨率图像样本,获得第一表达系数矩阵;根据所述第二特征矩阵,在所述第一目标函数的约束下,编码所述高分辨率图像样本,获得第二表达系数矩阵;在第二目标函数
    Figure PCTCN2015092946-appb-100001
    的约束下,获得所述映射关系矩阵,其中αl表示所述第一表达系数矩阵,αh表示所述第二表达系数矩阵,M表示所述映射关系矩阵,
    Figure PCTCN2015092946-appb-100002
    表示全1矩阵,||·||F表示范数运算,min表示求最小值运算。
    Decoding, according to the first feature matrix, the low resolution image samples under the constraint of the first objective function to obtain a first expression coefficient matrix; and according to the second feature matrix, in the first objective function Encoding the high resolution image sample to obtain a second expression coefficient matrix; in the second objective function
    Figure PCTCN2015092946-appb-100001
    Obtaining the mapping relationship matrix, wherein α l represents the first expression coefficient matrix, α h represents the second expression coefficient matrix, and M represents the mapping relationship matrix,
    Figure PCTCN2015092946-appb-100002
    Represents a full 1 matrix, ||·|| F table demonstrates the number operation, and min represents the minimum value operation.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述确定待处理图像对应的图像样本子集合,包括:The method according to any one of claims 1 to 4, wherein the determining a subset of image samples corresponding to the image to be processed comprises:
    提取所述待处理图像的图像特征;Extracting image features of the image to be processed;
    比较所述待处理图像的图像特征与所述图像样本集合中各图像样本子集合的图像特征的差别;Comparing the difference between the image feature of the image to be processed and the image feature of each subset of image samples in the image sample set;
    确定所述待处理图像对应的图像样本子集合为所述差别最小的样本子集合。Determining, by the subset of image samples corresponding to the image to be processed, the subset of samples having the smallest difference.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述根据所述第一目标函数和所述待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和高低分辨率图像样本间的映射关系矩阵,获得所述待处理图像对应的高分辨率图像,包括:The method according to any one of claims 1 to 5, wherein the first feature matrix and the second feature matrix corresponding to the image sample subset corresponding to the image to be processed according to the first objective function Obtaining a high-resolution image corresponding to the image to be processed, and obtaining a high-resolution image corresponding to the image to be processed, including:
    根据所述第一特征矩阵,在所述第一目标函数的约束下,编码所述待处理图像,获取所述待处理图像对应的第三表达系数矩阵;根据所述映射关系矩阵和所述第三表达系数矩阵,在所述第二目标函数的约束下,获得所述待处理图像对应的第四表达系数矩阵;所述第四表达系数矩阵和所述第二特征矩阵相乘,获得所述待处理图像的高频分量;所述高频分量和放大后的所述 待处理图像相加,获得所述待处理图像对应的高分辨率图像。Encoding the to-be-processed image to obtain a third expression coefficient matrix corresponding to the to-be-processed image according to the first feature matrix; and according to the mapping relationship matrix and the a matrix of expression coefficients, under the constraint of the second objective function, obtaining a fourth expression coefficient matrix corresponding to the image to be processed; the fourth expression coefficient matrix and the second feature matrix are multiplied to obtain the High frequency component of the image to be processed; said high frequency component and said amplified The images to be processed are added to obtain a high resolution image corresponding to the image to be processed.
  7. 一种图像处理装置,包括:An image processing apparatus comprising:
    第一分类模块,用于根据图像特征,对图像样本集合分类,得到多个图像样本子集合,其中,所述图像样本子集合包含高分辨率图像样本和低分辨率图像样本,所述低分辨率图像样本通过对所述高分辨率图像样本下采样获得;a first classification module, configured to classify the image sample set according to the image feature to obtain a plurality of image sample subsets, wherein the image sample subset includes a high resolution image sample and a low resolution image sample, the low resolution Rate image samples are obtained by downsampling the high resolution image samples;
    第一获取模块,用于根据第一目标函数和所述低分辨率图像样本,获得所述图像样本子集合对应的第一特征矩阵;a first acquiring module, configured to obtain, according to the first objective function and the low-resolution image sample, a first feature matrix corresponding to the subset of image samples;
    第二获取模块,用于根据所述第一目标函数和所述高分辨率图像样本,获得所述图像样本子集合对应的第二特征矩阵;a second acquiring module, configured to obtain, according to the first objective function and the high-resolution image sample, a second feature matrix corresponding to the subset of image samples;
    第三获取模块,用于根据所述第一特征矩阵、所述第二特征矩阵、所述低分辨率图像样本、所述高分辨率图像样本,获得所述图像样本子集合的高低分辨率图像样本间的映射关系矩阵;a third acquiring module, configured to obtain high and low resolution images of the subset of image samples according to the first feature matrix, the second feature matrix, the low resolution image sample, and the high resolution image sample a mapping relationship matrix between samples;
    第二分类模块,用于确定待处理图像对应的图像样本子集合;a second classification module, configured to determine a subset of image samples corresponding to the image to be processed;
    第四获取模块,用于根据所述第一目标函数和确定的所述待处理图像对应的图像样本子集合对应的第一特征矩阵、第二特征矩阵和高低分辨率图像样本间的映射关系矩阵,获得所述待处理图像对应的高分辨率图像。a fourth acquiring module, configured to: according to the first objective function and the determined image feature subset corresponding to the image to be processed, a first relationship matrix, a second feature matrix, and a mapping relationship matrix between high and low resolution image samples Obtaining a high resolution image corresponding to the image to be processed.
  8. 根据权利要求7所述的装置,所述第一获取模块,包括:The apparatus according to claim 7, wherein the first obtaining module comprises:
    所述第一目标函数为min(||y-Dα||F+λ||α||F),其中y表示所述样本子集合的低分辨率图像样本,D表示所述样本子集合的第一特征矩阵,α表示所述低分辨率图像样本对应的表达系数矩阵,||·||F表示范数运算,min表示求最小值运算,λ为正则化常量参数;The first objective function is min(||y-Dα|| F +λ||α|| F ), where y represents a low-resolution image sample of the sample subset, and D represents the sample subset a first characteristic matrix, α represents a matrix of expression coefficients corresponding to the low-resolution image samples, an example of the ||·|| F table operation, a minimum operation of min, and a regularization constant parameter of λ;
    对应地,所述第一获取模块具体用于:在所述第一目标函数的约束下,以预置次数迭代更新D和α,获得满足所述第一目标函数的所述第一特征矩阵。Correspondingly, the first acquiring module is specifically configured to: after the constraint of the first objective function, iteratively update D and α by a preset number of times to obtain the first feature matrix that satisfies the first objective function.
  9. 根据权利要求7或8所述的装置,所述第二获取模块具体用于:在所述第一目标函数的约束下,以预置次数迭代更新D和α,获得满足所述第一目标函数的所述第二特征矩阵。 The apparatus according to claim 7 or 8, wherein the second obtaining module is configured to: after the constraint of the first objective function, iteratively update D and α by a preset number of times to obtain the first objective function. The second feature matrix.
  10. 根据权利要求7至9任一项所述的装置,所述第三获取模块具体用于:The apparatus according to any one of claims 7 to 9, wherein the third obtaining module is specifically configured to:
    根据所述第一特征矩阵,在所述第一目标函数的约束下,编码所述低分辨率图像样本,获得第一表达系数矩阵;根据所述第二特征矩阵,在所述第一目标函数的约束下,编码所述高分辨率图像样本,获得第二表达系数矩阵;在第二目标函数
    Figure PCTCN2015092946-appb-100003
    的约束下,获得所述映射关系矩阵,其中αl表示所述第一表达系数矩阵,αh表示所述第二表达系数矩阵,M表示所述映射关系矩阵,
    Figure PCTCN2015092946-appb-100004
    表示全1矩阵,||·||F表示范数运算,min表示求最小值运算。
    Decoding, according to the first feature matrix, the low resolution image samples under the constraint of the first objective function to obtain a first expression coefficient matrix; and according to the second feature matrix, in the first objective function Encoding the high resolution image sample to obtain a second expression coefficient matrix; in the second objective function
    Figure PCTCN2015092946-appb-100003
    Obtaining the mapping relationship matrix, wherein α l represents the first expression coefficient matrix, α h represents the second expression coefficient matrix, and M represents the mapping relationship matrix,
    Figure PCTCN2015092946-appb-100004
    Represents a full 1 matrix, ||·|| F table demonstrates the number operation, and min represents the minimum value operation.
  11. 根据权利要求7至10任一项所述的装置,所述第二分类模块具体用于:The apparatus according to any one of claims 7 to 10, wherein the second classification module is specifically configured to:
    提取所述待处理图像的图像特征;Extracting image features of the image to be processed;
    比较所述待处理图像的图像特征与所述图像样本集合中各图像样本子集合的图像特征的差别;Comparing the difference between the image feature of the image to be processed and the image feature of each subset of image samples in the image sample set;
    确定所述待处理图像对应的图像样本子集合为所述差别最小的样本子集合。Determining, by the subset of image samples corresponding to the image to be processed, the subset of samples having the smallest difference.
  12. 根据权利要求7至11任一项所述的装置,所述第四获取模块具体用于:The apparatus according to any one of claims 7 to 11, wherein the fourth obtaining module is specifically configured to:
    根据所述第一特征矩阵,在所述第一目标函数的约束下,编码所述待处理图像,获取所述待处理图像对应的第三表达系数矩阵;根据所述映射关系矩阵和所述第三表达系数矩阵,在所述第二目标函数的约束下,获得所述待处理图像对应的第四表达系数矩阵;所述第四表达系数矩阵和所述第二特征矩阵相乘,获得所述待处理图像的高频分量;所述高频分量和放大后的所述待处理图像相加,获得所述待处理图像对应的高分辨率图像。 Encoding the to-be-processed image to obtain a third expression coefficient matrix corresponding to the to-be-processed image according to the first feature matrix; and according to the mapping relationship matrix and the a matrix of expression coefficients, under the constraint of the second objective function, obtaining a fourth expression coefficient matrix corresponding to the image to be processed; the fourth expression coefficient matrix and the second feature matrix are multiplied to obtain the a high frequency component of the image to be processed; the high frequency component and the enlarged image to be processed are added to obtain a high resolution image corresponding to the image to be processed.
PCT/CN2015/092946 2015-10-27 2015-10-27 Image processing method and apparatus WO2017070841A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/092946 WO2017070841A1 (en) 2015-10-27 2015-10-27 Image processing method and apparatus
CN201580083784.1A CN108475414B (en) 2015-10-27 2015-10-27 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/092946 WO2017070841A1 (en) 2015-10-27 2015-10-27 Image processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2017070841A1 true WO2017070841A1 (en) 2017-05-04

Family

ID=58629658

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/092946 WO2017070841A1 (en) 2015-10-27 2015-10-27 Image processing method and apparatus

Country Status (2)

Country Link
CN (1) CN108475414B (en)
WO (1) WO2017070841A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615576A (en) * 2018-06-28 2019-04-12 西安工程大学 The single-frame image super-resolution reconstruction method of base study is returned based on cascade
CN111431863A (en) * 2020-02-28 2020-07-17 电子科技大学 Host intrusion detection method based on relational network
TWI769753B (en) * 2020-04-01 2022-07-01 大陸商支付寶(杭州)信息技術有限公司 Image classification method and device for protecting data privacy

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977832B (en) * 2019-03-19 2024-03-29 腾讯科技(深圳)有限公司 Image processing method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778659A (en) * 2015-04-15 2015-07-15 杭州电子科技大学 Single-frame image super-resolution reconstruction method on basis of deep learning
CN104899830A (en) * 2015-05-29 2015-09-09 清华大学深圳研究生院 Image super-resolution method
CN104899835A (en) * 2015-04-28 2015-09-09 西南科技大学 Super-resolution processing method for image based on blind fuzzy estimation and anchoring space mapping
WO2015141463A1 (en) * 2014-03-20 2015-09-24 Mitsubishi Electric Corporation Method for processing input low-resolution (lr) image to output high-resolution (hr) image
CN104952053A (en) * 2015-07-07 2015-09-30 西安电子科技大学 Face image super-resolution reconstruction method based on non-linear compressed sensing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5769241B2 (en) * 2011-07-15 2015-08-26 国立大学法人 筑波大学 Super-resolution image processing device and super-resolution image processing dictionary creation device
CN103093444B (en) * 2013-01-17 2015-05-20 西安电子科技大学 Image super-resolution reconstruction method based on self-similarity and structural information constraint
CN104091364B (en) * 2014-07-10 2017-01-11 西北工业大学 Single-image super-resolution reconstruction method
CN104778671B (en) * 2015-04-21 2017-09-22 重庆大学 A kind of image super-resolution method based on SAE and rarefaction representation
CN104867106B (en) * 2015-05-29 2017-09-15 清华大学深圳研究生院 A kind of depth map super-resolution method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015141463A1 (en) * 2014-03-20 2015-09-24 Mitsubishi Electric Corporation Method for processing input low-resolution (lr) image to output high-resolution (hr) image
CN104778659A (en) * 2015-04-15 2015-07-15 杭州电子科技大学 Single-frame image super-resolution reconstruction method on basis of deep learning
CN104899835A (en) * 2015-04-28 2015-09-09 西南科技大学 Super-resolution processing method for image based on blind fuzzy estimation and anchoring space mapping
CN104899830A (en) * 2015-05-29 2015-09-09 清华大学深圳研究生院 Image super-resolution method
CN104952053A (en) * 2015-07-07 2015-09-30 西安电子科技大学 Face image super-resolution reconstruction method based on non-linear compressed sensing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615576A (en) * 2018-06-28 2019-04-12 西安工程大学 The single-frame image super-resolution reconstruction method of base study is returned based on cascade
CN109615576B (en) * 2018-06-28 2023-07-21 北京元点未来科技有限公司 Single-frame image super-resolution reconstruction method based on cascade regression basis learning
CN111431863A (en) * 2020-02-28 2020-07-17 电子科技大学 Host intrusion detection method based on relational network
TWI769753B (en) * 2020-04-01 2022-07-01 大陸商支付寶(杭州)信息技術有限公司 Image classification method and device for protecting data privacy

Also Published As

Publication number Publication date
CN108475414A (en) 2018-08-31
CN108475414B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
Chen et al. Learning spatial attention for face super-resolution
JP7373554B2 (en) Cross-domain image transformation
WO2018153322A1 (en) Key point detection method, neural network training method, apparatus and electronic device
Choi et al. Single image super-resolution using global regression based on multiple local linear mappings
US20150030239A1 (en) Training classifiers for deblurring images
JP2012506647A (en) High resolution video acquisition apparatus and method
WO2017070841A1 (en) Image processing method and apparatus
CN113870104A (en) Super-resolution image reconstruction
KR101028628B1 (en) Image texture filtering method, storage medium of storing program for executing the same and apparatus performing the same
US20220398712A1 (en) Generating modified digital images utilizing nearest neighbor fields from patch matching operations of alternate digital images
Wang et al. Image analysis by circularly semi-orthogonal moments
CN106503112B (en) Video retrieval method and device
Muhammad et al. Multi-scale Xception based depthwise separable convolution for single image super-resolution
Liu et al. Multi-scale residual hierarchical dense networks for single image super-resolution
WO2020000877A1 (en) Method and device for generating image
CN114612289A (en) Stylized image generation method and device and image processing equipment
CN106981046B (en) Single image super resolution ratio reconstruction method based on multi-gradient constrained regression
CN107220934B (en) Image reconstruction method and device
CN110097499B (en) Single-frame image super-resolution reconstruction method based on spectrum mixing kernel Gaussian process regression
Pérez-Pellitero et al. Antipodally invariant metrics for fast regression-based super-resolution
CN103390266A (en) Image super-resolution method and device
US20220270209A1 (en) Removing compression artifacts from digital images and videos utilizing generative machine-learning models
US9171227B2 (en) Apparatus and method extracting feature information of a source image
CN115035988B (en) Medical image processing method, system, equipment and medium based on cloud computing
WO2023155305A1 (en) Image reconstruction method and apparatus, and electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15906907

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15906907

Country of ref document: EP

Kind code of ref document: A1