CN105933616B - A kind of method and apparatus of image procossing - Google Patents

A kind of method and apparatus of image procossing Download PDF

Info

Publication number
CN105933616B
CN105933616B CN201610316443.0A CN201610316443A CN105933616B CN 105933616 B CN105933616 B CN 105933616B CN 201610316443 A CN201610316443 A CN 201610316443A CN 105933616 B CN105933616 B CN 105933616B
Authority
CN
China
Prior art keywords
image
module
coloration
processing
base layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610316443.0A
Other languages
Chinese (zh)
Other versions
CN105933616A (en
Inventor
陈乔松
刘苑文
刘小伟
李俊霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Chongqing University of Post and Telecommunications
Original Assignee
Huawei Technologies Co Ltd
Chongqing University of Post and Telecommunications
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 Huawei Technologies Co Ltd, Chongqing University of Post and Telecommunications filed Critical Huawei Technologies Co Ltd
Priority to CN201610316443.0A priority Critical patent/CN105933616B/en
Publication of CN105933616A publication Critical patent/CN105933616A/en
Application granted granted Critical
Publication of CN105933616B publication Critical patent/CN105933616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
    • H04N9/69Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits for modifying the colour signals by gamma correction

Abstract

The embodiment of the invention discloses a kind of method and apparatus of image procossing, for preferably retaining the details of image.Method includes: acquisition high dynamic range images, obtains the luminance picture of high-dynamics image according to high dynamic range images;Extract the anisotropy region of luminance picture;Anisotropy region is converted into isotropism region by affine transformation;Shading and exposure-processed are carried out to isotropism region, obtain the first image of low-dynamic range;First image is handled, base layer image and details tomographic image are obtained;Compression processing is carried out to base layer image, obtains compressed base layer image;Compressed base layer image and details tomographic image are subjected to synthesis processing, obtain the second image;Coloration processing is carried out to the second image, obtains coloration treated image;Gamma correction is carried out to coloration treated image and obtains output image.The embodiment of the invention also provides a kind of image processing equipments, the details for richer reservation image.

Description

A kind of method and apparatus of image procossing
Technical field
The present invention relates to computer field more particularly to a kind of method and apparatus of image procossing.
Background technique
Photogrammetry process is to convert electric signal by imaging sensor for the light radiation of real scene, and with number The mode of word image preserves.And the purpose that image is shown is to reappear true field described in digital picture by display equipment Scape.The final goal of the two is that user is made to obtain the directly identical visual perception of observation real scene.
Dynamic range is the brighteness ratio in scene between most bright object and most dark object, and dynamic range is bigger, and institute can table The level shown is abundanter, and the color space for being included is wider.It is referred to as high when the dynamic range of a scene exceeds output equipment Dynamic range (High Dynamic Range, abbreviation: HDR).High dynamic range images (High Dynamic Range Image, abbreviation: HDRI) it is used to the complete visual range of description real-world scene.High dynamic range images are aobvious by tradition When showing equipment display, there can be the unmatched problem of dynamic range, thus tone-mapping algorithm comes into being, tone-mapping algorithm High dynamic range images are shown on traditional monitor for realizing.
Common tone-mapping algorithm can keep the globality of image, but not focus on whole brightness impression, lead to picture Distortion, especially when the in irregular shape and span of objects in images is larger, image detail distortion is serious.
Summary of the invention
The embodiment of the invention provides a kind of method and devices of image procossing, can preferably guarantee high dynamic range figure The details of picture, to keep image undistorted.
In a first aspect, this method is applied at a kind of image the embodiment of the invention provides a kind of method of image procossing Manage equipment.Wherein, the normal image under different exposures is directly shot using imaging sensor, is synthesized by image by these images It is processed into high dynamic range images.The luminance picture of high-dynamics image is obtained according to high dynamic range images.Then, brightness is extracted Anisotropy region is converted to isotropism region by affine transformation by the anisotropy region of image.Wherein, anisotropy The specific method that region is converted to isotropism region can be with are as follows: by the matrix of second moment the affine change in dark elliptical regions It is changed to dark circular region.First using elliptical center of gravity as symmetry axis, rotate clockwise elliptic region, make long axis direction with it is original Image level direction is overlapped, and the angle of rotation is the feature vector of major semiaxis and the angle clockwise in image level direction.Then, Along the horizontal direction of image, postrotational elliptic region boil down to border circular areas.Then, isotropism region is hidden Light and exposure-processed obtain the first image of low-dynamic range, handle the first image, obtain base layer image and details Tomographic image;Compression processing is carried out to base layer image, obtains compressed base layer image, by compressed base layer image and Details tomographic image carries out synthesis processing, obtains the second image, then carry out coloration processing to the second image, obtaining coloration, treated Image carries out Gamma correction to coloration treated image and obtains output image.
In the embodiment of the present invention, focus on the overall brightness sense of image, by affine transformation by each of high dynamic range images Anisotropy region is converted to each region in the same direction, can handle the feature of arbitrary shape in image, and by base layer image It is handled respectively with details tomographic image, compression processing only is carried out to base layer image, and retain the information of details tomographic image, led to It crosses to after compressed base layer image and the synthesis of details tomographic image, exports image, the image finally exported, richer reservation The details of image.
Optionally, the luminance picture of high-dynamics image is obtained according to high dynamic range images, comprising: according to high dynamic range Image obtains the luminance picture of high-dynamics image by following formula:
L=0.299 × Ir+0.587×Ig+0.114×Ib
Wherein, L indicates the brightness value of luminance picture, Ir, IgAnd IbR, G, B color for respectively indicating high-dynamics image I are logical Road.
Optionally, coloration processing is carried out to the second image, obtains coloration treated image, wherein pass through following formula Coloration processing is carried out to the second image:
Wherein, IsIndicate the chromatic value of coloration treated image, Isr, IsgAnd IsbRespectively indicate IsR, G, B color is logical Road;S indicate saturation degree coefficient, value range be (0,1], L be luminance picture brightness value, L1For the brightness value of the second image.
Optionally, compressed base layer image and details tomographic image are subjected to synthesis processing as follows:
L2=α × Base+ β × Detail
Wherein, L2Indicate that the second image, Base indicate compressed base layer image, Detail indicates details tomographic image, α Indicate zoom factor with β, and the value range of α be (0,1], the value range of β be [1, ∞).
Optionally, by following formula 1, formula 2, formula 3, formula 4 and formula 5 to isotropism region carry out shading and Exposure-processed:
Firstly, introducing a circular Gaussian filter, formula 1 is as follows:
Wherein, the position of x, y expression pixel;One scale of s expression Gaussian filter;αiIndicate adjustable scaling ginseng Number, Ri(x, y, s) indicates Gaussian filter function, and i is positive integer.
Then, each pixel response under different gaussian filtering scales is sought using image convolution function, formula 2 is such as Under:
Wherein, L (x, y) indicates luminance picture,Indicate convolution.
Introducing center surround function V (x, y, s), formula 3 are as follows:
Wherein, φ and a is adjustable parameter.In order to select a pixel without significant change neighborhood, smaxIt is to meet such as The maximum value of lower formula 4:
|V(x,y,smax) | < ε
Wherein, ε indicates positive value.And by following formula 5, shading and exposing operation are had effectively achieved, to export low The image of dynamic range.
Wherein, Ld(x, y) indicates that the first image of the output of low-dynamic range, L (x, y) indicate luminance picture.
Optionally, Gamma correction is carried out to coloration treated image by following formula:
Wherein, c indicates that each R, G of coloration treated image, channel B, I' indicate the later image of Gamma correction, I Indicate coloration treated image, γ value depends on the display equipment of display output image.
Second aspect, the embodiment of the invention provides a kind of computer storage mediums, for storing computer software instructions, It includes for executing program designed by above-mentioned first aspect.
The third aspect, the embodiment of the invention provides a kind of image processing equipments, have and realize in the above method in practice Function performed by image processing equipment.The function can also execute corresponding software by hardware realization by hardware It realizes.The hardware or software include one or more modules corresponding with above-mentioned function.
Fourth aspect includes input-output apparatus, memory and processor in the structure of image processing equipment.Wherein deposit Reservoir is for storing computer executable program code, and and transceiver couples.The program code includes instruction, when the processor When executing the instruction, which makes the image processing equipment execute information involved in the method for above-mentioned first aspect or refer to It enables.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of one embodiment of the method for image procossing in the embodiment of the present invention;
Fig. 2 is the schematic diagram of fit procedure in the embodiment of the present invention;
Fig. 3 is the schematic diagram of affine transformation process in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of one embodiment of image processing equipment in the embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of another embodiment of image processing equipment in the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of method and apparatus of image procossing, show for improving dynamic image Clarity preferably shows that it is thin to greatly improve image when especially the shape span of object is larger in the picture for image detail The clarity of section, avoids image fault.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
Dynamic range is the brighteness ratio in scene between most bright object and most dark object, that is, image from " most bright " to The number of degrees that gray scale divides between " most dark ".Dynamic range is bigger, and the level that can be indicated is abundanter, the color space for being included It is wider.When the dynamic range of a scene is lower than the dynamic range of output equipment, referred to as low-dynamic range;When scene When dynamic range exceeds output equipment, referred to as high dynamic range.
Brightness is the physical measurement of scene radiance, and the dynamic range of imaging sensor is generally smaller, but true field The dynamic range of brightness is very wide in scape, and the average brightness that night starlight irradiates lower scene is about 0.0001cd/m2, and The brightness that sunlight on daytime irradiates lower scene has reached 100000cd/m2, under both scenes, brightness spans 9 orders of magnitude.People Class vision system is only capable of perceiving 5 orders of magnitude simultaneously, therefore, goes shooting high dynamic range scene using traditional camera, obtains Image would become hard to the requirement for meeting human visual system, the light of possible image is over-exposed to lose too many details, or Person's shade is under-exposed and can not differentiate.Therefore, in the embodiment of the present invention, after obtaining high dynamic range images, according to this High dynamic range images obtain the luminance picture of the high dynamic range images, and the brightness range of the luminance picture can be regarded in the mankind Feel the brightness range of system senses.
In the embodiment of the present invention, after obtaining the luminance picture of high dynamic range images, detects and extract the luminance picture Local characteristic region, the local characteristic region are anisotropic character region, are converted by fitting and affine transformation each to same Property region can be that shooting visual angle changes, for example, the characteristic area shape in image changes, but still can To retain the details of original image.Then, shadowed layer and exposure-processed are carried out to the isotropism region, obtains low dynamic model The first image enclosed.First image is decomposed, base layer image and details tomographic image are obtained, to base layer image and carefully Ganglionic layer image is handled respectively, is carried out compression processing to the base layer image, is obtained compressed base layer image.Then, Compressed base layer image and levels of detail are synthesized, the second image is obtained.Due to only having compressed base layer image, details Tomographic image is effectively maintained, and therefore, targetedly enriches the details for remaining image.Second image is subjected to coloration processing And Gamma correction, obtain final output image.
In order to make it easy to understand, the present invention is specifically described by specific embodiment below, refering to Figure 1, A kind of one embodiment of the method for image procossing provided in an embodiment of the present invention includes:
Step 101 obtains high dynamic range images, obtains the luminance graph of high-dynamics image according to high dynamic range images Picture.
The specific method for obtaining high dynamic range images can be with are as follows: directly shoot using imaging sensor and software approach conjunction At.For example, shooting the same scene by setting different exposure parameters to digital camera, obtain common under different exposures Image.These images handle the high dynamic range images of one width energy accurate recording real scene information of synthesis by software.
The luminance picture of the high-dynamics image is obtained by following formula according to high dynamic range images:
L=0.299 × Ir+0.587×Ig+0.114×Ib
Wherein, L indicates the brightness value of the luminance picture, Ir, IgAnd IbR, G, B color for respectively indicating high-dynamics image I are logical Road.
Step 102, the anisotropy region for extracting luminance picture.
By using Region Feature Extraction (Maximally stable extremal region, abbreviation: MSER) algorithm Detect and extract the MSER characteristic area of high-dynamics image.Understood incorporated by reference to Fig. 2, irregular MSER characteristic area 210 are fitted to the elliptic region 220 of rule, and the elliptic region 220 of the rule is anisotropy region.
Anisotropy region is converted to isotropism region by affine transformation by step 103.
Understood incorporated by reference to Fig. 3, anisotropy region is converted to by the specific of isotropism region by affine variation Method can be with are as follows: by the matrix of second moment 220 affine transformation of dark elliptical regions is dark circular region 230.It is specific imitative It penetrates the process of transformation: first using elliptical center of gravity as symmetry axis, rotating clockwise elliptic region, make long axis direction and original image Horizontal direction is overlapped, and the angle of rotation is the feature vector of major semiaxis and the angle clockwise in image level direction.Then, along The horizontal direction of image, postrotational elliptic region boil down to border circular areas.
It should be noted that the conversion process of above-mentioned elliptic region to border circular areas is that anisotropy region is converted to The specific method in isotropism region for example, and simultaneously non-limitative illustration, in actual operation, the present invention is for this Place does not limit.For example, the affine transformation can also act on one comprising being not limited only to ellipse on elliptical rectangular image area Circle region.The length and money of rectangular area are parallel with elliptical long axis and short axle, and length and width can be set to long axis and short axle Length.
Step 104 carries out shading and exposure-processed to isotropism region, obtains the first image of low-dynamic range.
Multiple circular Gaussian filters are introduced, one of Gaussian filter is Ri, according to high dynamic range images brightness Grade divides the image into different regions, is mapped respectively using shading and exposure method the different zones of image.
Firstly, introducing a circular Gaussian filter, formula is as follows:
Wherein, the position of x, y expression pixel;One scale of s expression Gaussian filter;αiIndicate adjustable scaling ginseng Number, Ri(x, y, s) indicates Gaussian filter function, and i is positive integer.
Then, each pixel response under different gaussian filtering scales is sought using image convolution function, formula is such as Under:
Wherein, L (x, y) indicates luminance picture,Indicate convolution.
Introducing center surround function V (x, y, s), formula is as follows:
Wherein, V1(x, y, s) and V2Obtained by (x, y, s) is all calculated as above-mentioned formula (1) and formula (2), φ and a are Adjustable parameter.In order to select a pixel without significant change neighborhood, smaxIt is the maximum value for meeting following formula:
|V(x,y,smax) | < ε
Wherein, ε indicates the positive value of a very little.If centered on the pixel, smaxIt is not generated for the neighborhood of radius Apparent variation, then it is assumed that the brightness value of all pixels point is similar in this border circular areas.At this point, V1(x,y,smax(x, Y)) be the pixel average pixel value of the maximum brightness around domain.To find each pixel adaptively suitably V1(x,y,smax(x, y)), and by following formula, shading and exposing operation are had effectively achieved, to export low-dynamic range Image.
Wherein, Ld(x, y) indicates that the first image of the output of low-dynamic range, L (x, y) indicate luminance picture.
Step 105 handles the first image, obtains base layer image and details tomographic image.
First image is handled, base layer image is obtained, then, by subtracting each other the first image with base layer image Details tomographic image is obtained, formula is as follows:
Detail=Ld-Base
Wherein, Detail indicates details tomographic image, LdIndicate that the first image, Base indicate base layer image.
Step 106 carries out compression processing to base layer image, obtains compressed base layer image.
Compressed transform is carried out to base layer image, compressed base layer image is obtained, the information of details tomographic image is given To retain.
Compressed base layer image and details tomographic image are carried out synthesis processing by step 107, obtain the second image.
By the compressed base layer image of linear superposition and details tomographic image, the second image is obtained, the second image is new Compression map image, the second image is obtained by following formula:
L2=α × Base+ β × Detail
Wherein, L2Indicate that the second image, Base indicate compressed base layer image, Detail indicates details tomographic image, α Indicate zoom factor with β, and the value range of α be (0,1], the value range of β be [1, ∞).
In the embodiment of the present invention, the first image obtained image richer in acquisition under shading and exposure method Under details, the problems such as having also brought along noise, halation.If directly crossing noise filtering, halation, part details can have been obscured.This hair In bright embodiment, the first image is divided into basal layer and levels of detail and is handled respectively, retains the information of details tomographic image, so as to Targetedly richer reservation details tomographic image.
Step 108 carries out coloration processing to the second image, obtains coloration treated image.
RGB (red green blue, abbreviation: RGB) color space is a kind of color standard, by red, green, blue three The variation of Color Channel and their mutual superpositions obtain various colors, due to any in nature Coloured light can be mixed by R, G, B by different proportion addition.Therefore, color can be carried out to the second image by following formula Degree processing:
Wherein, IsIndicate the chromatic value of coloration treated image, Isr, IsgAnd IsbRespectively indicate image IsR, G, B face Chrominance channel;S expression saturation degree coefficient, and value range (0,1], L indicates the brightness value of luminance picture, L1Indicate the bright of the second image Angle value.
It should be noted that coloration processing can also be carried out to the second image by other color spaces in this step, Other color spaces and RGB color are the different representation methods of same physical quantitiess, and there may also be turn between them Change relationship.As a result, in practical applications, which kind of specifically used color space is handled, the present invention is not construed as limiting, example Such as, HSI color space etc..
Step 109 carries out Gamma correction to coloration treated image and obtains output image.
In order to keep the brightness of the image of output consistent with the brightness of original image (high dynamic range images), need to coloration Treated, and image carries out Gamma correction.
Ideal display system is linear, it may be assumed that the luminous intensity of display system output should be with the signal strength of input at just Than, and actual display equipment is nonlinear, it may be assumed that there are a nonlinear passes between input voltage and the brightness of output System, this nonlinear relationship can be indicated by following formula:
L'=Vγ
Wherein, L' indicates the brightness value that show of display equipment, and V indicates input voltage, γ expression gamma value, gamma value it is big It is small to be determined by display equipment, for example, gamma value can be 2.2.
The formal this non-linear output image for making display equipment is produced compared with original image (high dynamic range images) Distortion, in order to which the brightness for exporting image is consistent with original image brightness, this non-linear relation needs to be converted.After coloration processing Image each channel according to following formula manipulation:
Wherein, I indicates coloration treated image, and c indicates each R, G, B of input picture (coloration treated image) Channel, I' indicate the later image of Gamma correction.γ value depends on display equipment.
In the embodiment of the present invention, focus on the overall brightness sense of image, by affine transformation by each of high dynamic range images Anisotropy region is converted to each region in the same direction, can handle the feature of arbitrary shape in image, and by base layer image It is handled respectively with details tomographic image, compression processing only is carried out to base layer image, and retain the information of details tomographic image, led to It crosses to after compressed base layer image and the synthesis of details tomographic image, exports image, the image finally exported, richer reservation The details of image.
Above a kind of method of image procossing believe and described, the equipment of this method application carried out below specific Description, please refers to shown in Fig. 4, one embodiment the present invention provides a kind of image processing equipment 400 includes:
Module 401 is obtained, for obtaining high dynamic range images, is obtained according to the high dynamic range images described high dynamic The luminance picture of state image.
Extraction module 402, for extracting the anisotropy region for the luminance picture that the acquisition module 401 obtains.
Affine transformation module 403, the anisotropy region for being extracted the extraction module 402 by affine transformation turn It is changed to isotropism region.
Shading and exposure module 404, the isotropism region for converting to the affine transformation module 403 carry out Shading and exposure-processed obtain the first image of low-dynamic range.
Decomposing module 405, the first image for obtaining to the shading and exposure module 404 are handled, and obtain base Plinth tomographic image and details tomographic image.
Compression module 406 decomposes obtained base layer image to the decomposing module 405 and carries out compression processing, pressed Base layer image after contracting;
Synthesis module 407 is used for the compressed base layer image of the compression module 406 and the decomposing module 405 It decomposes obtained details tomographic image and carries out synthesis processing, obtain the second image.
Color processing module 408, second image for synthesizing to the synthesis module 407 carry out coloration processing, Obtain coloration treated image.
Correction module 409 is exported for carrying out Gamma correction to the color processing module 408 treated image Image.
Further, it obtains module 401 and is used to execute the step 101 in the corresponding embodiment of Fig. 1, extraction module 402 is used In executing the step 102 in the corresponding embodiment of Fig. 1, affine transformation module 403 is used to execute the step in the corresponding embodiment of Fig. 1 Rapid 103, shading and exposure module 404 are used to execute the step 104 in the corresponding embodiment of Fig. 1, and decomposing module 405 is for executing Step 105 in the corresponding embodiment of Fig. 1, compression module 406 are used to execute the step 106 in the corresponding embodiment of Fig. 1, synthesis Module 407 is used to execute the step 107 in the corresponding embodiment of Fig. 1, and color processing module 408 is for executing the corresponding reality of Fig. 1 The step 108 in example is applied, correction module 409 is used to execute the step 109 in the corresponding embodiment of Fig. 1.
Further, equipment in Fig. 4 is presented in the form of functional module.Here " module " can refer to specific answer With integrated circuit (application-specific integrated circuit, ASIC), circuit executes one or more The processor and memory of software or firmware program, integrated logic circuit and/or other device of above-mentioned function can be provided. Each module can also be realized by the input-output apparatus, processor and memory of Fig. 3.
It please refers to shown in Fig. 5, another image processing equipment 500 is additionally provided in the embodiment of the present invention.Image management is set Can be for 500 includes mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), PC The equipment that machine etc. has image display function.It is illustrated by taking PC machine as an example.
Fig. 5 shows the block diagram with image processing equipment structure provided in an embodiment of the present invention.With reference to Fig. 5, comprising: deposit Reservoir 520, input unit 530, display unit 540, sensor 550, voicefrequency circuit 560, WiFi module 570, processor 580, And the equal components of power supply 590.It will be understood by those skilled in the art that structure shown in Fig. 5 does not constitute the limit to the equipment It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
Memory 520 can be used for storing software program and module, and processor 580 is stored in memory 520 by operation Software program and module, thereby executing the various function application and data processing of the equipment.Memory 520 can be wrapped mainly Include storing program area and storage data area, wherein storing program area can application needed for storage program area, at least one function Program (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored is created according to using for the equipment Data (such as audio data, phone directory etc.) built etc..In addition, memory 520 may include high-speed random access memory, It can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-states are deposited Memory device.
Input unit 530 can be used for receiving the number or character information of input, and generate the user setting with the equipment And the related key signals input of function control.Specifically, input unit 530 may include touch panel 531 and other inputs Equipment 532.Touch panel 531, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch panel 531 or near touch panel 531), and Corresponding attachment device is driven according to preset formula.Optionally, touch panel 531 may include touch detecting apparatus and touching Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 580, and order that processor 580 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 531.It is defeated in addition to touch panel 531 Entering unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to physics One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 540 can be used for showing information input by user or be supplied to user information and the equipment it is each Kind menu.Display unit 540 may include display panel 541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 541.Further, touch panel 531 can cover display panel 541, when touch panel 531 detect it is on it or attached After close touch operation, processor 580 is sent to determine the type of touch event, is followed by subsequent processing device 580 according to touch event Type corresponding visual output is provided on display panel 541.Although in Fig. 5, touch panel 531 and display panel 541 It is the input and input function of the equipment to be realized as two independent components, but in some embodiments it is possible to will touch Control panel 531 and display panel 541 are integrated and that realizes the equipment output and input function.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide audio interface.Voicefrequency circuit 560 can will receive Electric signal after audio data conversion, is transferred to loudspeaker 561, is converted to voice signal output by loudspeaker 561;Another party The voice signal of collection is converted to electric signal by face, microphone 562, is converted to audio data after being received by voicefrequency circuit 560, then Audio data is exported to memory 520 to be further processed after audio data output processor 580 is handled.
WiFi belongs to short range wireless transmission technology, which can help user's transceiver electronics by WiFi module 570 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown WiFi module 570, but it is understood that, and it is not belonging to must be configured into for the equipment, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 580 is the control centre of the equipment, using the various pieces of various interfaces and connection whole equipment, By running or execute the software program and/or module that are stored in memory 520, and calls and be stored in memory 520 Data, execute the equipment various functions and processing data, thus to the equipment carry out integral monitoring.Optionally, processor 580 may include one or more processing units;Preferably, processor 580 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 580.
The equipment further includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 580 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, which can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 580 included by the image processing equipment can also make image management device Execute the method in the corresponding implementation of Fig. 1.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (11)

1. a kind of method of image procossing characterized by comprising
High dynamic range images are obtained, obtain the luminance picture of the high-dynamics image according to the high dynamic range images;
Extract the anisotropy region of the luminance picture;
The anisotropy region is converted into isotropism region by affine transformation;
Shading and exposure-processed are carried out to the isotropism region, obtain the first image of low-dynamic range;
The first image is handled, base layer image and details tomographic image are obtained;
Compression processing is carried out to the base layer image, obtains compressed base layer image;
Compressed base layer image and the details tomographic image are subjected to synthesis processing, obtain the second image;
Coloration processing is carried out to second image, obtains coloration treated image;
Gamma correction is carried out to the coloration treated image and obtains output image.
2. the method according to claim 1, wherein described obtain the height according to the high dynamic range images The luminance picture of dynamic image, comprising:
The luminance picture of the high-dynamics image is obtained by following formula according to the high dynamic range images:
L=0.299 × Ir+0.587×Ig+0.114×Ib
Wherein, L indicates the brightness value of the luminance picture, Ir, IgAnd IbR, G, B color for respectively indicating high-dynamics image I are logical Road.
3. being obtained the method according to claim 1, wherein described carry out coloration processing to second image Coloration treated image, comprising:
Coloration processing is carried out to second image by following formula:
Wherein, IsIndicate the chromatic value of coloration treated image, Isr, IsgAnd IsbRespectively indicate IsR, G, B color channel;s Indicate saturation degree coefficient, value range be (0,1], L be the luminance picture brightness value, L1For the brightness of second image Value.
4. method according to any one of claims 1 to 3, which is characterized in that it is described by compressed base layer image and The details tomographic image carries out synthesis processing, obtains the second image, comprising:
It is described that compressed base layer image and the details tomographic image are subjected to synthesis processing as follows:
L2=α × Base+ β × Detail
Wherein, L2Indicate that the second image, Base indicate compressed base layer image, Detail indicates details tomographic image, α and β table Show zoom factor, and the value range of α be (0,1], the value range of β be [1, ∞).
5. method according to any one of claims 1 to 3, which is characterized in that the coloration treated image carries out gal Ma corrects to obtain output image, comprising:
Gamma correction is carried out to the coloration treated image by following formula:
Wherein, c indicates that each R, G of coloration treated image, channel B, I' indicate that the later image of Gamma correction, I indicate Coloration treated image, γ indicate gamma value, and γ value depends on the display equipment of display output image.
6. a kind of equipment of image procossing characterized by comprising
It obtains module and obtains the high-dynamics image according to the high dynamic range images for obtaining high dynamic range images Luminance picture;
Extraction module, for extracting the anisotropy region for the luminance picture that the acquisition module obtains;
Affine transformation module, the anisotropy region for being extracted the extraction module by affine transformation are converted to respectively To same sex region;
Shading and exposure module, the isotropism region for obtaining to the affine transformation module carry out shading and exposure Processing, obtains the first image of low-dynamic range;
Decomposing module, the first image for obtaining to the shading and exposure module are handled, and obtain basal layer figure Picture and details tomographic image;
Compression module carries out compression processing to the base layer image that the decomposing module is decomposed, obtains compressed basis Tomographic image;
Synthesis module, the details for decomposing the compressed base layer image of the compression module and the decomposing module Tomographic image carries out synthesis processing, obtains the second image;
Color processing module, second image for synthesizing to the synthesis module carry out coloration processing, obtain at coloration Image after reason;
Correction module obtains output image for carrying out Gamma correction to the color processing module treated image.
7. equipment according to claim 6, which is characterized in that
The acquisition module is also used to obtain the high-dynamics image by following formula according to the high dynamic range images Luminance picture:
L=0.299 × Ir+0.587×Ig+0.114×Ib
Wherein, L indicates the brightness value of the luminance picture, Ir, IgAnd IbR, G, B color for respectively indicating high-dynamics image I are logical Road.
8. equipment according to claim 6, which is characterized in that
The color processing module is also used to carry out coloration processing to second image by following formula:
Wherein, IsIndicate the chromatic value of coloration treated image, Isr, IsgAnd IsbRespectively indicate IsR, G, B color channel;s Expression saturation degree coefficient, and value range (0,1], L is the brightness value of the luminance picture, L1For the brightness of second image Value.
9. according to the described in any item equipment of claim 6 to 8, which is characterized in that
The synthesis module is also used to as follows synthesize compressed base layer image and the details tomographic image Processing:
L2=α × Base+ β × Detail
Wherein, L2Indicate that second image, Base indicate compressed base layer image, Detail indicates details tomographic image, α Indicate zoom factor with β, and the value range of α be (0,1], the value range of β be [1, ∞).
10. according to the described in any item equipment of claim 6 to 8, which is characterized in that
The correction module is also used to carry out Gamma correction to the coloration treated image by following formula:
Wherein, I indicates coloration treated image, and c indicates each R, G of the second image, channel B, I' indicate Gamma correction with Image afterwards, γ indicate gamma value, and γ value depends on the display equipment of output image.
11. a kind of image processing equipment characterized by comprising
Input/output equipment, processor, memory and bus;
The input/output equipment, processor and memory are connected by the bus;
The input/output equipment, for exporting and inputting information;
The memory, for storing program instruction;
The processor executes described program instruction, for executing described image processing equipment such as any one of claim 1 to 5 The method.
CN201610316443.0A 2016-05-12 2016-05-12 A kind of method and apparatus of image procossing Active CN105933616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610316443.0A CN105933616B (en) 2016-05-12 2016-05-12 A kind of method and apparatus of image procossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610316443.0A CN105933616B (en) 2016-05-12 2016-05-12 A kind of method and apparatus of image procossing

Publications (2)

Publication Number Publication Date
CN105933616A CN105933616A (en) 2016-09-07
CN105933616B true CN105933616B (en) 2019-04-19

Family

ID=56834869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610316443.0A Active CN105933616B (en) 2016-05-12 2016-05-12 A kind of method and apparatus of image procossing

Country Status (1)

Country Link
CN (1) CN105933616B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259701A (en) * 2018-01-17 2018-07-06 深圳市唯特视科技有限公司 A kind of color reproduction method based on high dynamic range Color Gamut Mapping
CN110392243B (en) * 2018-04-16 2021-04-09 华为技术有限公司 Method and apparatus for gamut mapping
US20230326175A1 (en) * 2020-08-28 2023-10-12 Xi'an Novastar Tech Co., Ltd. Method for a Luminance and Chrominance Correction
CN112365415B (en) * 2020-11-09 2024-02-09 珠海市润鼎智能科技有限公司 Quick display conversion method for high dynamic range image
CN113191986B (en) * 2021-05-28 2022-09-30 浙江大华技术股份有限公司 Image processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101375588A (en) * 2006-01-27 2009-02-25 微软公司 Region-based image denoising
US8026894B2 (en) * 2004-10-15 2011-09-27 Sharp Laboratories Of America, Inc. Methods and systems for motion adaptive backlight driving for LCD displays with area adaptive backlight
CN102637292A (en) * 2011-02-10 2012-08-15 西门子公司 Image processing method and device
WO2014144697A1 (en) * 2013-03-15 2014-09-18 Annmarie Hipsley Systems and methods for affecting the biomechanical properties of connective tissue
CN104915929A (en) * 2014-03-14 2015-09-16 电子科技大学 Image filtering processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8026894B2 (en) * 2004-10-15 2011-09-27 Sharp Laboratories Of America, Inc. Methods and systems for motion adaptive backlight driving for LCD displays with area adaptive backlight
CN101375588A (en) * 2006-01-27 2009-02-25 微软公司 Region-based image denoising
CN102637292A (en) * 2011-02-10 2012-08-15 西门子公司 Image processing method and device
WO2014144697A1 (en) * 2013-03-15 2014-09-18 Annmarie Hipsley Systems and methods for affecting the biomechanical properties of connective tissue
CN104915929A (en) * 2014-03-14 2015-09-16 电子科技大学 Image filtering processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HDR视频技术简介;陈岩;《中国有限电视》;20160222;第400-402页

Also Published As

Publication number Publication date
CN105933616A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN105933616B (en) A kind of method and apparatus of image procossing
WO2022179026A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN104869320B (en) Electronic equipment and controlling electronic devices operating method
CN104221359B (en) Color modulator for color segment
CN102722868B (en) Tone mapping method for high dynamic range image
CN107609514A (en) Face identification method and Related product
CN109064390A (en) A kind of image processing method, image processing apparatus and mobile terminal
CN107862265A (en) Image processing method and related product
CN107679482A (en) Solve lock control method and Related product
CN113132696B (en) Image tone mapping method, image tone mapping device, electronic equipment and storage medium
CN109754375B (en) Image processing method, system, computer device, storage medium and terminal
CN110192241A (en) Control the brightness of emissive display
CN111105359B (en) Tone mapping method for high dynamic range image
WO2020172888A1 (en) Image processing method and device
CN108024105A (en) Image color adjusting method, device, electronic equipment and storage medium
CN109255774B (en) Image fusion method, device and equipment
WO2023005818A1 (en) Noise image generation method and apparatus, electronic device, and storage medium
WO2023005850A1 (en) Image processing method and apparatus, and electronic device, storage medium and computer program product
CN106997608A (en) A kind of method and device for generating halation result figure
CN109697698A (en) Low-light (level) enhances processing method, device and computer readable storage medium
CN106709888B (en) A kind of high dynamic range images production method based on human vision model
CN109035181A (en) A kind of wide dynamic range image processing method based on mean picture brightness
CN110599418A (en) Transform domain fused global tone mapping method
CN108510474B (en) Method and system for evaluating quality of tobacco leaf image, memory and electronic equipment
CN113052923A (en) Tone mapping method, tone mapping apparatus, electronic device, and storage medium

Legal Events

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