CN105930117B - One kind surpassing 8 gray scales and measures image universe display methods - Google Patents
One kind surpassing 8 gray scales and measures image universe display methods Download PDFInfo
- Publication number
- CN105930117B CN105930117B CN201610231506.2A CN201610231506A CN105930117B CN 105930117 B CN105930117 B CN 105930117B CN 201610231506 A CN201610231506 A CN 201610231506A CN 105930117 B CN105930117 B CN 105930117B
- Authority
- CN
- China
- Prior art keywords
- gray
- image
- grades
- scale
- pixel
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
Abstract
Surpassing 8 gray scales the invention discloses one kind and measuring image universe display technology, several are mapped to the method in 8 256 grades of gray level images of size by the way that 8 gray scales measurement images will be surpassed, completely show all information of image, the present invention can retain the details of weak target, have greater significance for the Objective extraction and analysis that measure image.
Description
Technical field
The invention belongs to image measurement fields, and in particular to one kind surpassing 8 gray scales and measures image universe display methods.
Background technology
It is presently used for the imaging sensor measured generally above 8, majority is 12 or 14, the gray scale generated
It measures image to be made of pixel grey scale matrix, the half-tone information of each pixel accounts for 12, up to 4096 grades of gray scales or accounts for
14, up to 16384 grades of gray scales are far longer than 8 256 grades of gray scales that windows operating systems can be shown.Cause
This, currently generally using compression gray level method for distinguishing, by 4096 grades or 16384 grades of gray compressions to 256 grades, still, this must
The loss for so causing image information, reduces the display capabilities of weak target.So the present invention looks for another way, using not compressing figure
As grey level, but 12 or 14 gray level image subsection compressions are realized and measured at the method for several 8 gray level images
The universe of image information is shown.
Invention content
In view of this, the present invention provides a kind of universe display methods for surpassing 8 gray scales and measuring image, 14 can be shown
Gray scale measures the weak target in image.
Realize that technical scheme is as follows:
One kind surpassing 8 gray scales and measures image universe display methods, includes the following steps:
Surpass the image histogram that 8 gray scales measure image Step 1: establishing, wherein x coordinate is grey scale pixel value, y-coordinate
For the number of pixels with this gray-scale value;
Step 2: interception surpasses the available gray-scale section that 8 gray scales measure image;The starting point g in available gray-scale section1For:g1=
[glow+(ghigh-glow) × 4.5%], terminal g2For:g2=[ghigh-(ghigh-glow) × 3.5%].Wherein, glowTo surpass 8 ashes
Degree measures the lowest gray value of all pixels in image, ghighTo surpass the highest gray scale that 8 gray scales measure all pixels in image
Value, [...] are downward rounding symbol;
Step 3: the starting point g from available gray-scale section1Start, corresponding pixel-map is at one in every 256 grades of gray scale intervals
The image of 256 grades of gray scales;When the last one gray scale interval is 256 grades discontented, by the gray level equal proportion in the gray scale interval
It is amplified within the scope of 256 grades;Wherein, the i-th row in n-th 256 grades of gray level image, the grey scale pixel value G of jth row(i,j)For:
Gn(i,j)=[(g(i,j)-256(n-1)-g1)×k],g(i,j)To surpass the gray scale that 8 gray scales measure the i-th row jth row pixel in image
Value,K is amplification coefficient, when gray scale interval is 256, k=1, when the last one gray scale interval is discontented
At 256 grades,If Gn(i,j)> 256 or Gn(i,j)< 0, then Gn(i,j)=0.
Advantageous effect:The present invention can completely show all information of image, retain the details of weak target, for surveying
The Objective extraction of spirogram picture and analysis have greater significance.
Description of the drawings
Fig. 1 is that 1 14 16384 grades of gray scale is measured image in the present invention to be mapped to 4 width with 8 256 grades of gray scales of size
The schematic diagram of image.
Specific implementation mode
The present invention will now be described in detail with reference to the accompanying drawings and examples.
As shown in Figure 1, surpassing 8 gray scales the present invention provides one kind measuring image universe display methods, include the following steps:
Surpass the image histogram that 8 gray scales measure image Step 1: initially setting up, one 14 16384 are used in this example
Grade gray scale measures image.Wherein, x coordinate is grey scale pixel value, and y-coordinate is the number of pixels with this gray-scale value.14
The lowest gray value that 16384 grades of gray scales measure all pixels in image is glow=955, surpass 8 gray scales and measures all pictures in image
The highest gray value of element is ghigh=1971;That is glowAnd ghighFor the tonal range of entire image, curve indicates there is certain in figure
The number of pixels of gray-scale value, for the image compared with weak signal target, grey level and pixel number large percentage shared by background, and it is micro-
Weak signal target proportion is smaller, therefore, directly carries out compression of grey levels, be easy to cause the loss of weak target information.
Step 2: 14 16384 grades of gray scales of interception measure the available gray-scale section of image.The starting point g in available gray-scale section1
For:g1=[glow+(ghigh-glow) × 4.5%], specifically it is calculated as:g1=[955+ (1971-955) × 4.5%]=1001;Eventually
Point g2For:g2=[ghigh-(ghigh-glow) × 3.5%], specifically it is calculated as:g2=[1971- (1971-955) × 3.5%]=
1935.Wherein, glowThe lowest gray value of all pixels in image, g are measured for 14 16384 grades of gray scaleshighIt is 14 16384
Grade gray scale measures the highest gray value of all pixels in image, and [...] is downward rounding symbol.Since then, available gray-scale area is obtained
Between be 1001~1935.
Step 3: since the starting point 1001 in available gray-scale section, every 256 grades of gray scale intervals are mapped as one 8 256 grades
Gray level image, i.e., respectively will be corresponding in 1001~1257,1257~1531,1531~1769,1769~1935 gray scale intervals
Pixel is respectively mapped to 48 256 grades of gray scales in the image of size;The mapping gray-scale value of pixel is in each image
Gn(i,j)=[(g(i,j)-256(n-1)-g1) × k], wherein i, j are the ranks number of pixel in image, and n is the image width of mapping
Number,K is amplification coefficient, when gray scale interval is 256, k=1, when the last one gray scale interval is discontented
At 256 grades,If Gn(i,j)> 256 or Gn(i,j)< 0, then Gn(i,j)=0.
Such as the pixel of the 1st row of piece image, the 1st row, the gray value of corresponding original image same position pixel is
g(1,1)=1034,K=1, Gn(1,1)=[(1034-256 × (1-1) -1001) × 1]=33.Together
Sample, the 4th row, the grey scale pixel value G of the 1st rown(4,1)=[(1034-256 × (1-1) -1001) × 1]=33.Other pictures in image
Element calculates successively, if Gn(i,j)> 256 or Gn(i,j)< 0, then Gn(i,j)=0.
For the pixel of the 3rd row of the second width image, the 1st row, the gray value of corresponding original image same position pixel is g(3,1)
=1489,K=1, Gn(3,1)=[(1489-256 × (2-1) -1001) × 1]=232.Image
In other pixels calculate successively, if Gn(i,j)> 256 or Gn(i,j)< 0, then Gn(i,j)=0.
For the pixel of the 2nd row of third width image, the 1st row, the gray value of corresponding original image same position pixel is g(2,1)
=1567,K=1, Gn(2,1)=[(1567-256 × (3-1) -1001) × 1]=54.Image
In other pixels calculate successively, if Gn(i,j)> 256 or Gn(i,j)< 0, then Gn(i,j)=0.
256 are less than since its tonal range is 1769~1935 for the 4th width image, therefore, when gray value maps,
Must equivalent amplification, amplification coefficient be step by step:Specific each pixel calculates
Mode is as follows:
For the pixel of the 2nd row, the 2nd row, the gray value of corresponding original image same position pixel is g(2,2)=1890,Gn(2,2)=[(1890-256 × (4-1) -1001) × 1.542]=187.
For the pixel of the 2nd row, the 3rd row, the gray value of corresponding original image same position pixel is g(2,3)=1853,Gn(2,3)=[(1853-256 × (4-1) -1001) × 1.542]=130.
For the pixel of the 2nd row, the 4th row, the gray value of corresponding original image same position pixel is g(2,4)=1844,Gn(2,4)=[(1844-256 × (4-1) -1001) × 1.542]=116.
Other pixels calculate successively in image, if Gn(i,j)> 256 or Gn(i,j)< 0, then Gn(i,j)=0.
Since then, i.e., it by 1 14 16384 grades of gray level image subsection compression at 48 256 grades of gray level images, realizes and measures
The universe of image information is shown.
In conclusion the above is merely preferred embodiments of the present invention, being not intended to limit the scope of the present invention.
All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in the present invention's
Within protection domain.
Claims (1)
1. one kind, which surpassing 8 gray scales, measures image universe display methods, which is characterized in that include the following steps:
Surpass the image histogram that 8 gray scales measure image Step 1: establishing, wherein x coordinate is grey scale pixel value, and y-coordinate is tool
There is the number of pixels of certain grade of gray value;
Step 2: interception surpasses the available gray-scale section that 8 gray scales measure image;The starting point g in available gray-scale section1For:g1=[glow
+(ghigh-glow) × 4.5%], terminal g2For:g2=[ghigh-(ghigh-glow) × 3.5%], wherein glowIt is surveyed to surpass 8 gray scales
The lowest gray value of all pixels, g in spirogram picturehighTo surpass the highest gray value that 8 gray scales measure all pixels in image,
[...] is downward rounding symbol;
Step 3: the starting point g from available gray-scale section1Start, corresponding pixel-map is same at a width in every 256 grades of gray scale intervals
8 256 grades of gray level images of size;When the last one gray scale interval is 256 grades discontented, by the gray level etc. in the gray scale interval
Ratio enlargement is within the scope of 256 grades, the i-th row in n-th 8 256 grades of gray level image, the grey scale pixel value G of jth row(i,j)For:
Gn(i,j)=[(g(i,j)-256(n-1)-g1) × k], wherein i, j are the ranks number of pixel in image, g(i,j)It is surveyed to surpass 8 gray scales
The gray value of i-th row jth row pixel in spirogram picture;N is the image width number of mapping,K is amplification coefficient,
When gray scale interval is 256 grades, k=1, when the last one gray scale interval is 256 grades discontented,If
Gn(i,j)>255 or Gn(i,j)<0, then Gn(i,j)=0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610231506.2A CN105930117B (en) | 2016-04-14 | 2016-04-14 | One kind surpassing 8 gray scales and measures image universe display methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610231506.2A CN105930117B (en) | 2016-04-14 | 2016-04-14 | One kind surpassing 8 gray scales and measures image universe display methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105930117A CN105930117A (en) | 2016-09-07 |
CN105930117B true CN105930117B (en) | 2018-08-24 |
Family
ID=56839106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610231506.2A Active CN105930117B (en) | 2016-04-14 | 2016-04-14 | One kind surpassing 8 gray scales and measures image universe display methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105930117B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5663772A (en) * | 1994-03-29 | 1997-09-02 | Matsushita Electric Industrial Co., Ltd. | Gray-level image processing with weighting factors to reduce flicker |
CN101527829A (en) * | 2008-03-07 | 2009-09-09 | 华为技术有限公司 | Method and device for processing video data |
CN104657960A (en) * | 2013-11-25 | 2015-05-27 | 中国科学院沈阳自动化研究所 | Gray level image contrast drawing method and device |
CN105488774A (en) * | 2015-12-05 | 2016-04-13 | 中国航空工业集团公司洛阳电光设备研究所 | Gray transformation method and device for image display |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007110690A (en) * | 2005-09-14 | 2007-04-26 | Ricoh Co Ltd | Image processing method, program, image processor, image forming apparatus and image forming system |
-
2016
- 2016-04-14 CN CN201610231506.2A patent/CN105930117B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5663772A (en) * | 1994-03-29 | 1997-09-02 | Matsushita Electric Industrial Co., Ltd. | Gray-level image processing with weighting factors to reduce flicker |
CN101527829A (en) * | 2008-03-07 | 2009-09-09 | 华为技术有限公司 | Method and device for processing video data |
CN104657960A (en) * | 2013-11-25 | 2015-05-27 | 中国科学院沈阳自动化研究所 | Gray level image contrast drawing method and device |
CN105488774A (en) * | 2015-12-05 | 2016-04-13 | 中国航空工业集团公司洛阳电光设备研究所 | Gray transformation method and device for image display |
Also Published As
Publication number | Publication date |
---|---|
CN105930117A (en) | 2016-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103994724B (en) | Structure two-dimension displacement and strain monitoring method based on digital image processing techniques | |
CN104363815B (en) | Image processing apparatus and image processing method | |
WO2019001438A1 (en) | Display panel gray scale adjustment method and device | |
CN103530896A (en) | Image compression and detail enhancement method for infrared image | |
CN111402280B (en) | Image edge detection system and method based on logarithmic image processing model | |
CN109637475A (en) | The gamma-debugged method of display panel | |
CN102565062B (en) | Method for testing turbidity of liquid based on detection of image gray | |
CN102142145A (en) | Image quality objective evaluation method based on human eye visual characteristics | |
CN102693067A (en) | System and method for adjusting font size | |
WO2022206161A1 (en) | Feature point recognition-based block movement real-time detection method | |
CN109815913B (en) | Visual enhancement perception system and method based on eye movement information | |
CN109657717A (en) | A kind of heterologous image matching method based on multiple dimensioned close packed structure feature extraction | |
CN103389310A (en) | Online sub-pixel optical component damage detection method based on radiation calibration | |
CN108108293B (en) | Method and system for testing tail time | |
GB2616322A (en) | Computer vision-based dynamic bridge shape recognition method | |
CN102096920A (en) | Target image-based sub-pixel registering method | |
CN104820970A (en) | Infrared image relative radiation correction method based on on-orbit classified statistic | |
CN104065958A (en) | LED display screen brightness collecting system | |
CN110728718A (en) | Method for improving calibration parameters of camera | |
CN109376599A (en) | A kind of remote sensing image processing method and system extracted towards wetland information | |
CN105930117B (en) | One kind surpassing 8 gray scales and measures image universe display methods | |
CN109073503B (en) | Unevenness evaluation method and unevenness evaluation device | |
CN103096035B (en) | Monitor with video optimization function | |
CN107610101B (en) | Method for measuring visual balance quality of digital image | |
CN105488774A (en) | Gray transformation method and device for image display |
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 |