CN109829860A - Linearity dynamic range compression method and system of the full figure in conjunction with Local Phase - Google Patents

Linearity dynamic range compression method and system of the full figure in conjunction with Local Phase Download PDF

Info

Publication number
CN109829860A
CN109829860A CN201811600650.4A CN201811600650A CN109829860A CN 109829860 A CN109829860 A CN 109829860A CN 201811600650 A CN201811600650 A CN 201811600650A CN 109829860 A CN109829860 A CN 109829860A
Authority
CN
China
Prior art keywords
full
roi
pixel
value
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811600650.4A
Other languages
Chinese (zh)
Other versions
CN109829860B (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.)
Wuhan Gao De Zhi Sense Technology Co Ltd
Original Assignee
Wuhan Gao De Zhi Sense Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Gao De Zhi Sense Technology Co Ltd filed Critical Wuhan Gao De Zhi Sense Technology Co Ltd
Priority to CN201811600650.4A priority Critical patent/CN109829860B/en
Publication of CN109829860A publication Critical patent/CN109829860A/en
Application granted granted Critical
Publication of CN109829860B publication Critical patent/CN109829860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention belongs to digital image processing techniques fields, specifically provide linearity dynamic range compression method and system of the full figure in conjunction with Local Phase, former full graphics image is passed through into contrast and brightness processed, and local ROI is passed through into contrast and brightness processed, then treated full graphics image and part ROI are carried out Linear Mapping respectively and obtains 8 bitmaps, be then overlapped output target image.The program is by being converted into full graphics image and local ROI image information for original 14 bit digital image, both preferable contrast and brightness had been maintained, with preferable visual effect, and the detailed information of part is highlighted, has been conducive to further perception of the human eye to local image information.

Description

Linearity dynamic range compression method and system of the full figure in conjunction with Local Phase
Technical field
The invention belongs to digital image processing techniques fields, and in particular to linearity dynamic of the full figure in conjunction with Local Phase Range compression method and system.
Background technique
ROI (region of interest) i.e. area-of-interest.In machine vision, image procossing, from processed figure As sketching the contours of region to be treated, referred to as area-of-interest in a manner of box, circle, ellipse, irregular polygon etc..
With the fast development of infrared technique, thermal infrared imager is widely used in the multiple fields of military and civilian.One As in the case of, the image of infrared detector output is 14 position digital signals, but common display equipment is all 8 displays, and Human eye is only 128 gray levels than more sensitive tonal range, it is therefore desirable to carry out dynamic range compression to infrared digital signal Processing.
There are many traditional dynamic range compression methods, and this method is mainly concerned with linear dynamic range compression.Linearly Dynamic range compression method is the gain and biasing that Linear Mapping is calculated according to the information of entire image, cannot highlight part sometimes Detailed information.The present invention increases at the ROI linear dynamic range compression of part on the basis of full figure linear dynamic range is compressed Reason, can either obtain relatively good picture quality, and can protrude local detailed information within the scope of full figure.
Summary of the invention
The purpose of the present invention is overcome in the prior art dynamic range compression algorithm may cause local detail information lose The problem of.
For this purpose, the linearity dynamic range compression method that the present invention provides full figures in conjunction with Local Phase, including it is following Step:
S100: choosing any point on full figure, centered on the point, chooses default size area and is used as part ROI;
S200: using the pixel value of the pixel value of full figure and part ROI as index, and the pixel of different grey-scale is counted Number, respectively obtains full figure histogram and part ROI histogram, then calculate separately to obtain full graphics image pixel weighted average and Local ROI image pixel weighted average;
S300: obtaining the dynamic range of the full figure and part ROI respectively, is then calculated according to formula (1), (2) and (3) Contrast value and brightness value:
G=G0/ (nMax-nMin+nComp) (1)
B=B0-G × Y16 (3)
Wherein, when G is full figure contrast value, and B is full figure brightness value, G0 is that full figure presets contrast desired value, and B0 is Full figure predetermined luminance desired value, nMax are full figure pixel maximum, and nMin is full figure pixel minimum, and Y16 is that full figure pixel adds Weight average value, nComp are grey level compensation amount;
When G is part ROI contrast value, and B is part ROI brightness value, G0 is that part ROI presets contrast desired value, B0 is part ROI predetermined luminance desired value, and nMax is part ROI pixel maximum, and nMin is part ROI pixel minimum, Y16 For local ROI pixel weighted average, nComp is part ROI grey level compensation amount;
S400: output target image is overlapped according to the default weight proportion of full figure and part ROI.
Preferably, step S200 is specifically included:
Weighted average is taken to obtain full figure pixel weighted average after summing to the pixel of full figure different grey-scale;
It is weighted to taking weighted average to obtain local ROI image pixel after the pixel summation of local ROI different grey-scale Average value.
Preferably, after the step S200 and before step S300 further include:
It is default to throw point ratio, the throwing point ratio is calculated in the corresponding number of pixels of full figure range, is then pressed from low gray level Sequence to high grade grey level adds up the number of pixels in full figure histogram, throws the corresponding picture of point ratio when the sum of accumulative number is equal to When plain number, the gray level is recorded, as full figure pixel minimum after throwing point;
According to from high grade grey level to the sequence of low gray level add up full figure histogram in number of pixels, when accumulative number it When number of pixels corresponding with a ratio of throwing is equal to, the gray level is recorded, as full figure pixel maximum.
Preferably, after the step S200 and before step S300 further include:
It is default to throw point ratio, the throwing point ratio is calculated in the corresponding number of pixels of local ROI range, is then pressed from low ash degree The sequence of grade to high grade grey level adds up the number of pixels in the ROI histogram of part, throws point ratio pair when the sum of accumulative number is equal to When the number of pixels answered, the gray level is recorded, as full figure pixel minimum after throwing point;
According to from high grade grey level to the sequence of low gray level add up full figure histogram in number of pixels, when accumulative number it When number of pixels corresponding with a ratio of throwing is equal to, the gray level is recorded, as full figure pixel maximum.
Preferably, the default throwing point ratio specifically:
The throwing point ratio includes that full figure throws point ratio and a part ROI throwing point ratio;
By in full figure statistical pixel values highest gray level and minimum gray level shear according to preset ratio, it is remaining after shearing Pixel number account for full figure pixel number ratio be full figure throw point a ratio;
By in local ROI statistical pixel values highest gray level and minimum gray level shear according to preset ratio, after shearing The ratio that remaining pixel number accounts for local ROI pixel number is that part ROI throws point ratio.
Preferably, before step S400 further include: carry out Linear Mapping point to full figure and part ROI according to formula (4) 8 bit images of full figure are not obtained and 8 bit images of part ROI, formula (4) are as follows:
Y8=G × Y+B (4)
Wherein, when Y8 is 8 bit image of full figure, G is full figure contrast value, and B is full figure brightness value, and Y is former full figure figure Picture;
When Y8 is 8 bit image of part ROI, G is part ROI contrast value, and B is part ROI brightness value, and Y is former office Portion's ROI image.
Preferably, the default size area is rectangle, circle, ellipse or irregular polygon.
Preferably, the step S200 is specifically included:
Using the pixel value of the pixel value of full figure and part ROI as index, selection presetted pixel value range is a gray scale Grade, and then the pixel value of the pixel value of full figure and part ROI is respectively divided into multiple and different gray levels, and count full figure respectively And the number of pixels of the different grey-scale of ROI, respectively obtain full figure histogram and part ROI histogram.
The linearity dynamic range compressing system that the present invention also provides full figures in conjunction with Local Phase, including region obtain Module, index module, computing module and output module;
The region obtains module for choosing any point on full figure, centered on the point, chooses default size area As local ROI, and the dynamic range of the full figure and part ROI is obtained respectively;
The index module is used for using the pixel value of the pixel value of full figure and part ROI as index, and counts different ashes The number of pixels for spending grade, respectively obtains full figure histogram and part ROI histogram;
The computing module is flat for calculating separately full graphics image pixel weighted average and local ROI image pixel weighting Then mean value calculates contrast value and brightness value according to formula (1), (2) and (3):
G=G0/ (nMax-nMin+nComp) (1)
B=B0-G × Y16 (3)
Wherein, when G is full figure contrast value, and B is full figure brightness value, G0 is that full figure presets contrast desired value, and B0 is Full figure predetermined luminance desired value, nMax are full figure pixel maximum, and nMin is full figure pixel minimum, and Y16 is that full figure pixel adds Weight average value, nComp are grey level compensation amount;
When G is part ROI contrast value, and B is part ROI brightness value, G0 is that part ROI presets contrast desired value, B0 is part ROI predetermined luminance desired value, and nMax is part ROI pixel maximum, and nMin is part ROI pixel minimum, Y16 For local ROI pixel weighted average, nComp is part ROI grey level compensation amount;
The output module is used to be overlapped output target image according to the default weight proportion of full figure and part ROI.
Beneficial effects of the present invention: linearity dynamic range pressure of this full figure provided by the invention in conjunction with Local Phase Former full graphics image is passed through contrast and brightness processed, and local ROI is passed through at contrast and brightness by contracting method and system Then treated full graphics image and part ROI are carried out Linear Mapping respectively and obtain 8 bitmaps, be then overlapped output by reason Target image.The program was both maintained by the way that original 14 bit digital image is converted into full graphics image and local ROI image information Preferable contrast and brightness, have preferable visual effect, and have highlighted the detailed information of part, are conducive to human eye to part The further perception of image information.
The present invention is described in further details below with reference to attached drawing.
Detailed description of the invention
Fig. 1 is linearity dynamic range compression method schematic diagram of the full figure of the present invention in conjunction with Local Phase.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that, term " center ", "upper", "lower", "front", "rear", " left side ", The orientation or positional relationship of the instructions such as " right side ", "vertical", "horizontal", "top", "bottom", "inner", "outside" is based on the figure Orientation or positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device of indication or suggestion meaning or Element must have a particular orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
Term " first ", " second " be used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance or Implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or imply Ground includes one or more of the features;In the description of the present invention, unless otherwise indicated, the meaning of " plurality " is two or It is more than two.
The linearity dynamic range compression method that the embodiment of the invention provides full figures in conjunction with Local Phase, including it is following Step:
S100: choosing any point on full figure, centered on the point, chooses default size area and is used as part ROI;
S200: using the pixel value of the pixel value of full figure and part ROI as index, and the pixel of different grey-scale is counted Number, respectively obtains full figure histogram and part ROI histogram, then calculate separately to obtain full graphics image pixel weighted average and Local ROI image pixel weighted average;
S300: obtaining the dynamic range of the full figure and part ROI respectively, is then calculated according to formula (1), (2) and (3) Contrast value and brightness value:
G=G0/ (nMax-nMin+nComp) (1)
B=B0-G × Y16 (3)
Wherein, when G is full figure contrast value, and B is full figure brightness value, G0 is that full figure presets contrast desired value, and B0 is Full figure predetermined luminance desired value, nMax are full figure pixel maximum, and nMin is full figure pixel minimum, and Y16 is that full figure pixel adds Weight average value, nComp are grey level compensation amount;
When G is part ROI contrast value, and B is part ROI brightness value, G0 is that part ROI presets contrast desired value, B0 is part ROI predetermined luminance desired value, and nMax is part ROI pixel maximum, and nMin is part ROI pixel minimum, Y16 For local ROI pixel weighted average, nComp is part ROI grey level compensation amount;
S400: output target image is overlapped according to the default weight proportion of full figure and part ROI.
It follows that as shown in Figure 1, original image is generally the image of 14bit i.e. 14, after obtaining original image, system The full figure pixel value for counting the original image using the pixel value of full figure as index, and counts the number of pixels of different grey-scale, obtains To full figure histogram, full graphics image pixel weighted average is then calculated.Meanwhile any point on full figure is chosen, with this Centered on point, chooses default size area and be used as part ROI, using the pixel value of local ROI as index, and count different gray scales The number of pixels of grade, obtains local ROI histogram, local ROI image pixel weighted average is then calculated.It obtains respectively Then the dynamic range of the full figure and part ROI calculates contrast value and brightness value according to formula (1), (2) and (3):
G=G0/ (nMax-nMin+nComp) (1)
B=B0-G × Y16 (3)
Wherein, when G is full figure contrast value, and B is full figure brightness value, G0 is that full figure presets contrast desired value, and B0 is Full figure predetermined luminance desired value, nMax are full figure pixel maximum, and nMin is full figure pixel minimum, and Y16 is that full figure pixel adds Weight average value, nComp are grey level compensation amount;When G is part ROI contrast value, and B is part ROI brightness value, G0 is part ROI presets contrast desired value, and B0 is part ROI predetermined luminance desired value, and nMax is part ROI pixel maximum, and nMin is Local ROI pixel minimum, Y16 are part ROI pixel weighted average, and nComp is part ROI grey level compensation amount.It obtains complete It after figure contrast and brightness, part ROI contrast and brightness, is overlapped, is obtained full figure and part ROI according to weight proportion Target image in conjunction with after.The target image had both maintained preferable contrast and brightness, had preferable visual effect, and convex The detailed information for having shown part, is conducive to further perception of the human eye to local image information.
Preferred scheme, step S200 are specifically included: taking weighted average after summing to the pixel of full figure different grey-scale Value obtains full figure pixel weighted average;Weighted average is taken to obtain office after summing to the pixel of local ROI different grey-scale Portion's ROI image pixel weighted average.It follows that as shown in Figure 1, when carrying out gray level division, a gray level includes Pixel value in all gray levels, is then weighted and averaged by the point of the pixel value of one interval range.
Preferred scheme, the step S200 is later and before step S300 further include: and it is default to throw a point ratio, calculate the throwing Then point ratio adds up full figure histogram by the sequence from low gray level to high grade grey level in the corresponding number of pixels of full figure range In number of pixels record the gray level when the sum of accumulative number, which is equal to, throws the point corresponding number of pixels of ratio, as throwing point Full figure pixel minimum afterwards;Add up the number of pixels in full figure histogram according to from high grade grey level to the sequence of low gray level, when The sum of accumulative number is equal to when throwing the corresponding number of pixels of point ratio, the gray level is recorded, as full figure pixel maximum.Thus It is found that first full figure and part ROI are carried out respectively to throw point ratio pretreatment before calculating contrast and brightness.It is default to throw point Ratio calculates the throwing point ratio in the corresponding number of pixels of local ROI range, then by from low gray level to high grade grey level Sequence adds up the number of pixels in the ROI histogram of part, when the sum of accumulative number number of pixels corresponding equal to a ratio of throwing, The gray level is recorded, as full figure pixel minimum after throwing point;Add up full figure according to from high grade grey level to the sequence of low gray level Number of pixels in histogram records the gray level, makees when the sum of accumulative number number of pixels corresponding equal to a ratio of throwing For full figure pixel maximum.
Preferred scheme, the default throwing point ratio specifically:
The throwing point ratio includes that full figure throws point ratio and a part ROI throwing point ratio;
By in full figure statistical pixel values highest gray level and minimum gray level shear according to preset ratio, it is remaining after shearing Pixel number account for full figure pixel number ratio be full figure throw point a ratio;
By in local ROI statistical pixel values highest gray level and minimum gray level shear according to preset ratio, after shearing The ratio that remaining pixel number accounts for local ROI pixel number is that part ROI throws point ratio.It follows that in order to avoid Some gray values of gray level substantial deviation must interfere, these abnormal gray levels can regard signal noise as, most by statistics High, minimum gray level is cut off by a certain percentage, and remaining part is considered more accurately and effectively dynamic range after shearing.It is single While the ratio of the total pixel of number of pixels Zhan cut off is exactly to throw point ratio.
Preferred scheme, before step S400 further include: full figure and part ROI are linearly reflected according to formula (4) 8 bit images of 8 bit images for respectively obtaining full figure and part ROI are penetrated, formula (4) is as follows:
Y8=G × Y+B (4)
Wherein, when Y8 is 8 bit image of full figure, G is full figure contrast value, and B is full figure brightness value, and Y is former full figure figure Picture;When Y8 is 8 bit image of part ROI, G is part ROI contrast value, and B is part ROI brightness value, and Y is original part ROI Image.Available 8 images after Linear Mapping.
Preferred scheme, the default size area are rectangle, circle, ellipse or irregular polygon.
Preferred scheme, the step S200 are specifically included: using the pixel value of the pixel value of full figure and part ROI as rope Draw, selection presetted pixel value range is a gray level, and then the pixel value of the pixel value of full figure and part ROI is respectively divided For multiple and different gray levels, and the number of pixels of full figure and the different grey-scale of ROI is counted respectively, respectively obtain full figure histogram And part ROI histogram.
The linearity dynamic range compressing system that the embodiment of the invention also provides full figures in conjunction with Local Phase, including area Domain obtains module, index module, computing module and output module;
The region obtains module for choosing any point on full figure, centered on the point, chooses default size area As local ROI, and the dynamic range of the full figure and part ROI is obtained respectively;
The index module is used for using the pixel value of the pixel value of full figure and part ROI as index, and counts different ashes The number of pixels for spending grade, respectively obtains full figure histogram and part ROI histogram;
The computing module is flat for calculating separately full graphics image pixel weighted average and local ROI image pixel weighting Then mean value calculates contrast value and brightness value according to formula (1), (2) and (3):
G=G0/ (nMax-nMin+nComp) (1)
B=B0-G × Y16 (3)
Wherein, when G is full figure contrast value, and B is full figure brightness value, G0 is that full figure presets contrast desired value, and B0 is Full figure predetermined luminance desired value, nMax are full figure pixel maximum, and nMin is full figure pixel minimum, and Y16 is that full figure pixel adds Weight average value, nComp are grey level compensation amount;
When G is part ROI contrast value, and B is part ROI brightness value, G0 is that part ROI presets contrast desired value, B0 is part ROI predetermined luminance desired value, and nMax is part ROI pixel maximum, and nMin is part ROI pixel minimum, Y16 For local ROI pixel weighted average, nComp is part ROI grey level compensation amount;
The output module is used to be overlapped output target image according to the default weight proportion of full figure and part ROI.
Beneficial effects of the present invention: linearity dynamic range pressure of this full figure provided by the invention in conjunction with Local Phase Former full graphics image is passed through contrast and brightness processed, and local ROI is passed through at contrast and brightness by contracting method and system Then treated full graphics image and part ROI are carried out Linear Mapping respectively and obtain 8 bitmaps, be then overlapped output by reason Target image.The program was both maintained by the way that original 14 bit digital image is converted into full graphics image and local ROI image information Preferable contrast and brightness, have preferable visual effect, and have highlighted the detailed information of part, are conducive to human eye to part The further perception of image information.
The foregoing examples are only illustrative of the present invention, does not constitute the limitation to protection scope of the present invention, all It is within being all belonged to the scope of protection of the present invention with the same or similar design of the present invention.

Claims (9)

1. linearity dynamic range compression method of the full figure in conjunction with Local Phase, which comprises the following steps:
S100: choosing any point on full figure, centered on the point, chooses default size area and is used as part ROI;
S200: using the pixel value of the pixel value of full figure and part ROI as index, and counting the number of pixels of different grey-scale, Full figure histogram and part ROI histogram are respectively obtained, then calculates separately to obtain full graphics image pixel weighted average and office Portion's ROI image pixel weighted average;
S300: obtaining the dynamic range of the full figure and part ROI respectively, is then calculated and is compared according to formula (1), (2) and (3) Angle value and brightness value:
G=G0/ (nMax-nMin+nComp) (1)
B=B0-G × Y16 (3)
Wherein, when G is full figure contrast value, and B is full figure brightness value, G0 is that full figure presets contrast desired value, and B0 is full figure Predetermined luminance desired value, nMax are full figure pixel maximum, and nMin is full figure pixel minimum, and Y16 is that the weighting of full figure pixel is flat Mean value, nComp are grey level compensation amount;
When G is part ROI contrast value, and B is part ROI brightness value, G0 is that part ROI presets contrast desired value, and B0 is Local ROI predetermined luminance desired value, nMax are part ROI pixel maximum, and nMin is part ROI pixel minimum, and Y16 is office Portion ROI pixel weighted average, nComp are part ROI grey level compensation amount;
S400: output target image is overlapped according to the default weight proportion of full figure and part ROI.
2. linearity dynamic range compression method of the full figure according to claim 1 in conjunction with Local Phase, feature exist In step S200 is specifically included:
Weighted average is taken to obtain full figure pixel weighted average after summing to the pixel of full figure different grey-scale;
It is weighted and averaged to taking weighted average to obtain local ROI image pixel after the pixel summation of local ROI different grey-scale Value.
3. linearity dynamic range compression method of the full figure according to claim 1 in conjunction with Local Phase, feature exist In after the step S200 and before step S300 further include:
It is default to throw point ratio, the throwing point ratio is calculated in the corresponding number of pixels of full figure range, then by from low gray level to height The sequence of gray level adds up the number of pixels in full figure histogram, throws the corresponding pixel of point ratio when the sum of accumulative number is equal to When number, the gray level is recorded, as full figure pixel minimum after throwing point;
Add up the number of pixels in full figure histogram according to from high grade grey level to the sequence of low gray level, when the sum of accumulative number etc. When a ratio of throwing corresponding number of pixels, the gray level is recorded, as full figure pixel maximum.
4. linearity dynamic range compression method of the full figure according to claim 1 in conjunction with Local Phase, feature exist In after the step S200 and before step S300 further include:
It is default to throw a point ratio, calculate the throwing point ratio in the corresponding number of pixels of local ROI range, then by from low gray level to The sequence of high grade grey level adds up the number of pixels in the ROI histogram of part, when the sum of accumulative number is corresponding equal to point ratio is thrown When number of pixels, the gray level is recorded, as full figure pixel minimum after throwing point;
Add up the number of pixels in full figure histogram according to from high grade grey level to the sequence of low gray level, when the sum of accumulative number etc. When a ratio of throwing corresponding number of pixels, the gray level is recorded, as full figure pixel maximum.
5. linearity dynamic range compression method of the full figure according to claim 3 or 4 in conjunction with Local Phase, feature It is, the default throwing point ratio specifically:
The throwing point ratio includes that full figure throws point ratio and a part ROI throwing point ratio;
By in full figure statistical pixel values highest gray level and minimum gray level shear according to preset ratio, remaining picture after shearing The ratio that vegetarian refreshments number accounts for full figure pixel number is that full figure throws point ratio;
By in local ROI statistical pixel values highest gray level and minimum gray level shear according to preset ratio, it is remaining after shearing Pixel number account for local ROI pixel number ratio be part ROI throw put a ratio.
6. linearity dynamic range compression method of the full figure according to claim 1 in conjunction with Local Phase, feature exist In before step S400 further include: carry out Linear Mapping to full figure and part ROI according to formula (4) and respectively obtain the 8 of full figure 8 bit images of bit image and part ROI, formula (4) are as follows:
Y8=G × Y+B (4)
Wherein, when Y8 is 8 bit image of full figure, G is full figure contrast value, and B is full figure brightness value, and Y is former full graphics image;
When Y8 is 8 bit image of part ROI, G is part ROI contrast value, and B is part ROI brightness value, and Y is original part ROI Image.
7. linearity dynamic range compression method of the full figure according to claim 1 in conjunction with Local Phase, feature exist In: the default size area is rectangle, circle, ellipse or irregular polygon.
8. linearity dynamic range compression method of the full figure according to claim 1 in conjunction with Local Phase, feature exist In the step S200 is specifically included:
Using the pixel value of the pixel value of full figure and part ROI as index, selection presetted pixel value range is a gray level, into And the pixel value of the pixel value of full figure and part ROI is respectively divided into multiple and different gray levels, and count full figure and ROI respectively Different grey-scale number of pixels, respectively obtain full figure histogram and part ROI histogram.
9. linearity dynamic range compressing system of the full figure in conjunction with Local Phase, it is characterised in that: including region obtain module, Index module, computing module and output module;
The region obtains module for choosing any point on full figure, centered on the point, chooses default size area conduct Local ROI, and the dynamic range of the full figure and part ROI is obtained respectively;
The index module is used for using the pixel value of the pixel value of full figure and part ROI as index, and counts different grey-scale Number of pixels, respectively obtain full figure histogram and part ROI histogram;
The computing module is for calculating separately full graphics image pixel weighted average and local ROI image pixel weighted average Then value calculates contrast value and brightness value according to formula (1), (2) and (3):
G=G0/ (nMax-nMin+nComp) (1)
B=B0-G × Y16 (3)
Wherein, when G is full figure contrast value, and B is full figure brightness value, G0 is that full figure presets contrast desired value, and B0 is full figure Predetermined luminance desired value, nMax are full figure pixel maximum, and nMin is full figure pixel minimum, and Y16 is that the weighting of full figure pixel is flat Mean value, nComp are grey level compensation amount;
When G is part ROI contrast value, and B is part ROI brightness value, G0 is that part ROI presets contrast desired value, and B0 is Local ROI predetermined luminance desired value, nMax are part ROI pixel maximum, and nMin is part ROI pixel minimum, and Y16 is office Portion ROI pixel weighted average, nComp are part ROI grey level compensation amount;
The output module is used to be overlapped output target image according to the default weight proportion of full figure and part ROI.
CN201811600650.4A 2018-12-26 2018-12-26 Image linear dynamic range compression method and system combining full image and local image Active CN109829860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811600650.4A CN109829860B (en) 2018-12-26 2018-12-26 Image linear dynamic range compression method and system combining full image and local image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811600650.4A CN109829860B (en) 2018-12-26 2018-12-26 Image linear dynamic range compression method and system combining full image and local image

Publications (2)

Publication Number Publication Date
CN109829860A true CN109829860A (en) 2019-05-31
CN109829860B CN109829860B (en) 2021-02-02

Family

ID=66861252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811600650.4A Active CN109829860B (en) 2018-12-26 2018-12-26 Image linear dynamic range compression method and system combining full image and local image

Country Status (1)

Country Link
CN (1) CN109829860B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114998135A (en) * 2022-05-31 2022-09-02 北京义礼科技有限公司 Image enhancement method and device, field programmable logic gate array and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722871A (en) * 2012-05-24 2012-10-10 中山大学 Quick and effective image enhancing method
CN104392423A (en) * 2014-11-26 2015-03-04 浙江红相科技股份有限公司 Real-time balance based infrared image detail enhancement algorithm
CN105654436A (en) * 2015-12-24 2016-06-08 广东迅通科技股份有限公司 Backlight image enhancement and denoising method based on foreground-background separation
CN106530237A (en) * 2016-09-19 2017-03-22 中山大学 Image enhancement method
US9621767B1 (en) * 2015-11-24 2017-04-11 Intel Corporation Spatially adaptive tone mapping for display of high dynamic range (HDR) images
WO2017089146A1 (en) * 2015-11-24 2017-06-01 Koninklijke Philips N.V. Handling multiple hdr image sources
CN107301635A (en) * 2017-06-28 2017-10-27 武汉格物优信科技有限公司 A kind of infrared image detail enhancing method and device
CN107682594A (en) * 2016-08-01 2018-02-09 奥林巴斯株式会社 Image processing apparatus, camera device, image processing method and storage medium
CN108352059A (en) * 2015-12-26 2018-07-31 英特尔公司 For by high dynamic range(HDR)Content Transformation is at standard dynamic range(SDR)The video tone mapping of content
CN108805942A (en) * 2017-04-28 2018-11-13 武汉多谱多勒科技有限公司 A kind of infrared image dynamic range compression method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722871A (en) * 2012-05-24 2012-10-10 中山大学 Quick and effective image enhancing method
CN104392423A (en) * 2014-11-26 2015-03-04 浙江红相科技股份有限公司 Real-time balance based infrared image detail enhancement algorithm
US9621767B1 (en) * 2015-11-24 2017-04-11 Intel Corporation Spatially adaptive tone mapping for display of high dynamic range (HDR) images
WO2017089146A1 (en) * 2015-11-24 2017-06-01 Koninklijke Philips N.V. Handling multiple hdr image sources
CN105654436A (en) * 2015-12-24 2016-06-08 广东迅通科技股份有限公司 Backlight image enhancement and denoising method based on foreground-background separation
CN108352059A (en) * 2015-12-26 2018-07-31 英特尔公司 For by high dynamic range(HDR)Content Transformation is at standard dynamic range(SDR)The video tone mapping of content
CN107682594A (en) * 2016-08-01 2018-02-09 奥林巴斯株式会社 Image processing apparatus, camera device, image processing method and storage medium
CN106530237A (en) * 2016-09-19 2017-03-22 中山大学 Image enhancement method
CN108805942A (en) * 2017-04-28 2018-11-13 武汉多谱多勒科技有限公司 A kind of infrared image dynamic range compression method
CN107301635A (en) * 2017-06-28 2017-10-27 武汉格物优信科技有限公司 A kind of infrared image detail enhancing method and device

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
LI Z 等: ""Weighted guided image filtering"", 《IEEE TRANSACTIONS ON IMAGE PROCESSING》 *
占必超 等: ""基于平稳小波变换和Retinex的红外图像增强方法"", 《光学学报》 *
王传云 等: ""动态场景红外图像的压缩感知域高斯混合背景建模"", 《自动化学报》 *
荆楠 等: ""动态压缩感知综述"", 《自动化学报》 *
葛朋 等: ""一种基于引导滤波图像分层的红外图像细节增强算法"", 《红外技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114998135A (en) * 2022-05-31 2022-09-02 北京义礼科技有限公司 Image enhancement method and device, field programmable logic gate array and equipment

Also Published As

Publication number Publication date
CN109829860B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN102881010B (en) Method for evaluating perception sharpness of fused image based on human visual characteristics
CN106851124B (en) Image processing method and device based on depth of field and electronic device
CN102737395B (en) Image processing method and device in a kind of medical X-ray system
US6370262B1 (en) Information processing apparatus and remote apparatus for object, using distance measuring apparatus
KR20180030862A (en) Method and apparatus for determining a depth map for an image
CN112001904B (en) Comprehensive evaluation module and evaluation method for quality definition of remote sensing image
CN108198155B (en) Self-adaptive tone mapping method and system
US20150359507A1 (en) Ultrasound diagnosis apparatus and ultrasound image processing method
CN101930595A (en) Image processing method and image processing equipment
EP3720118A1 (en) Display image contrast adjustment method, display and readable storage medium
EP1914566A2 (en) Ultrasound system and method for forming ultrasound images
US9629605B2 (en) Formation of a color map for an elastic image
CN109447912B (en) Fluorescent image self-adaptive enhancement and noise reduction method of fluorescent navigation endoscope system
CN110189281A (en) A kind of more exposure infrared image fusion methods
US20160261843A1 (en) Method, system and computer program product for adjusting a convergence plane of a stereoscopic image
CN109448036A (en) A kind of method and device determining disparity map based on binocular image
CN109829860A (en) Linearity dynamic range compression method and system of the full figure in conjunction with Local Phase
US10249037B2 (en) Echogenicity quantification method and calibration method for ultrasonic device using echogenicity index
CN110928469B (en) Method for setting optimal display window width and window level
CN109767402A (en) A kind of uncooled ir thermal imagery self organizing maps method based on statistics with histogram
US8313435B2 (en) Clutter signal filtering in an ultrasound system
CN102169530A (en) Method for image processing of mammographic images
WO2018078806A1 (en) Image processing device, image processing method, and image processing program
CN114286014A (en) Image database acquisition method
US8154663B2 (en) System and method for adaptive contrast enhancement of video signals

Legal Events

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