CN1837854A - Tone Adjustment Method Based on Image Overlapping Area in Remote Sensing Image Mosaic - Google Patents
Tone Adjustment Method Based on Image Overlapping Area in Remote Sensing Image Mosaic Download PDFInfo
- Publication number
- CN1837854A CN1837854A CN 200610018970 CN200610018970A CN1837854A CN 1837854 A CN1837854 A CN 1837854A CN 200610018970 CN200610018970 CN 200610018970 CN 200610018970 A CN200610018970 A CN 200610018970A CN 1837854 A CN1837854 A CN 1837854A
- Authority
- CN
- China
- Prior art keywords
- image
- value
- pos
- pixel
- brightness value
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000009499 grossing Methods 0.000 claims abstract description 9
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000001105 regulatory effect Effects 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
Description
技术领域:Technical field:
本发明属于遥感影像镶嵌技术领域,涉及一种基于相邻影像重叠区域亮度值之差的遥感影像镶嵌中的色调调整方法。The invention belongs to the field of remote sensing image mosaic technology, and relates to a method for adjusting hue in remote sensing image mosaic based on the difference in brightness values of overlapping regions of adjacent images.
背景技术:Background technique:
遥感影像镶嵌是遥感技术应用的重要内容之一,特别是对于较大范围的卫星遥感和区域性航空遥感而言,往往需要多幅影像进行镶嵌;但是由于获取原始影像的条件的差异,会使同名地物在相邻影像上呈现不同的色调。如果不对这些情况采取应对措施,就会使镶嵌后的整体影像出现明显的亮度不均,色彩不均衡现象。这种现象导致了拼接后的影像既不利于人眼观察,也影响了对地物影像及专业信息的分析与识别的效果,因此,在影像镶嵌过程中,需要一种技术能够调整镶嵌影像的整体色调。Remote sensing image mosaicking is one of the important contents of remote sensing technology application, especially for large-scale satellite remote sensing and regional aerial remote sensing, it often requires multiple images to be mosaiced; Features with the same name appear in different tones on adjacent images. If no countermeasures are taken for these situations, the overall mosaic image will have obvious brightness unevenness and color imbalance. This phenomenon leads to the fact that the spliced image is not conducive to human observation, and also affects the analysis and recognition of ground object images and professional information. Therefore, in the process of image mosaic, a technology is needed to adjust the mosaic image. overall tone.
目前的一般的色调调整方法可以归纳为:直方图法、方差均值法、影像信息熵法;这些方法的共同特征是计算量较大,往往影响了使用效率,当对多幅大面积影像进行批处理时这种缺点尤其明显。The current general tone adjustment methods can be summarized as: histogram method, variance mean method, and image information entropy method; the common feature of these methods is that the calculation amount is large, which often affects the use efficiency. This disadvantage is especially noticeable during processing.
发明内容:Invention content:
本发明的目的在于提供一种算法简单、实现容易的基于相邻影像重叠区域亮度值之差的遥感影像镶嵌中的色调调整方法。The purpose of the present invention is to provide a tone adjustment method in remote sensing image mosaic based on the difference of brightness values in overlapping regions of adjacent images with simple algorithm and easy implementation.
本发明提供的技术方案是:遥感影像镶嵌中的基于影像重叠区域的色调调整方法,包括以下步骤:The technical solution provided by the present invention is: a tone adjustment method based on image overlapping regions in remote sensing image mosaic, comprising the following steps:
一、从基准影像上获取基准影像和处理影像重叠部分的亮度值;处理步骤如下:1. Obtain the brightness value of the reference image and the overlapped part of the processing image from the reference image; the processing steps are as follows:
I、依据基准影像以及待处理影像的大地坐标确定基准影像中与待处理影像有重叠的区域;I, according to the geodetic coordinates of the reference image and the image to be processed, determine the region that overlaps with the image to be processed in the reference image;
II、取出基准影像中由步骤I所得到的区域内的像素的亮度值g(x,y);II, take out the brightness value g(x, y) of the pixels in the region obtained by step I in the reference image;
二、统计重叠区域上待处理影像亮度值与步骤一获得的亮度值的差值分布情况,对统计结果直方图作平滑处理,得到直方图最大峰值处对应的差值diff;处理步骤如下:2. Statistically analyze the distribution of the difference between the luminance value of the image to be processed and the luminance value obtained in step 1 in the overlapping area, and smooth the histogram of the statistical result to obtain the difference diff corresponding to the maximum peak of the histogram; the processing steps are as follows:
I、依据基准影像以及待处理影像的大地坐标确定待处理影像与基准影像重叠的区域;I. Determine the overlapping area of the image to be processed and the image to be processed according to the geodetic coordinates of the reference image and the image to be processed;
II、取出待处理影像中由步骤二、I所得到的区域内的像素的亮度值f(x,y);II, take out the brightness value f(x, y) of the pixel in the region obtained by step 2 and I in the image to be processed;
III、统计亮度差值g(x,y)-f(x,y)的直方图分布情况S[i];III, the histogram distribution S[i] of statistical brightness difference g(x, y)-f(x, y);
IV、平滑亮度差值直方图S[i]:IV. Smooth brightness difference histogram S[i]:
S[min]=(S[min]+S[min+1])/2S[min]=(S[min]+S[min+1])/2
S[n]=(S[n-1]+S[n]+S[n+1])/3S[n]=(S[n-1]+S[n]+S[n+1])/3
S[max]=(S[max]+S[max-1])/2S[max]=(S[max]+S[max-1])/2
其中,min为最小亮度差值,max为最大亮度差值,n取min和max之间的值,即min<n<maxAmong them, min is the minimum brightness difference, max is the maximum brightness difference, and n takes the value between min and max, that is, min<n<max
V、记录S[i]最大时的亮度差值diffi;V. Record the brightness difference diffi when S[i] is the largest;
三、统计待处理影像重叠区域上亮度值差值等于diff的像素点亮度值的分布情况,对统计结果直方图作平滑处理,得到直方图最大峰值处对应的亮度值Pos;处理步骤如下:3. Statistics on the distribution of the brightness values of the pixels whose brightness value difference is equal to diff on the overlapping area of the image to be processed, smoothing the histogram of the statistical results, and obtaining the brightness value Pos corresponding to the maximum peak of the histogram; the processing steps are as follows:
I、统计待处理图像上重叠区域内当亮度差值g(x,y)-f(x,y)=diff时f(x,y)的亮度直方图分布情况F[j];1, the luminance histogram distribution situation F [j] of f (x, y) when the luminance difference g (x, y)-f (x, y)=diff in the overlapping region on the statistical image to be processed;
II、以步骤二、IV所用的方法对直方图F[j]进行平滑处理,并记录平滑后F[j]最大时的亮度值Pos;II. Smooth the histogram F[j] with the method used in step 2 and IV, and record the brightness value Pos when F[j] is maximum after smoothing;
四、将待处理影像T(x,y)做整体色调上的调整:4. Adjust the overall tone of the image T(x, y) to be processed:
T(x,y)<Pos时:T(x,y)=T(x,y)*(Pos+diff)/PosWhen T(x, y)<Pos: T(x, y)=T(x, y)*(Pos+diff)/Pos
T(x,y)>Pos时:T(x,y)=[T(x,y)-Pos]*[255-(Pos+diff)]/(255-Pos)+(Pos+diff);When T(x, y)>Pos: T(x, y)=[T(x, y)-Pos]*[255-(Pos+diff)]/(255-Pos)+(Pos+diff);
式中:In the formula:
x为影像中像素点的横坐标值,取值为1、2、3、……、m;其中m为此影像的水平方向上的像素个数;x is the abscissa value of the pixel in the image, and the value is 1, 2, 3, ..., m; where m is the number of pixels in the horizontal direction of the image;
y为影像中像素点的纵坐标值,取值为1、2、3、……、n;其中n为此影像的垂直方向上的像素个数;y is the ordinate value of the pixel in the image, and the value is 1, 2, 3, ..., n; where n is the number of pixels in the vertical direction of the image;
T(x,y)为此影像中位置在(x,y)上的像素的亮度值。T(x, y) is the brightness value of the pixel at (x, y) in this image.
当被处理影像为彩色影像时,在上述步骤一之前先进行以下处理:When the image to be processed is a color image, perform the following processing before step 1 above:
A.根据RGB色空间到HIS双圆锥模型色空间的转换方法,将待处理图像各像素点的RGB值转换为HSI值;A. According to the conversion method from the RGB color space to the HIS double cone model color space, the RGB value of each pixel of the image to be processed is converted into an HSI value;
B.提出各像素点的经过RGB到HIS变换后得到的HIS的I分量值作为亮度值。B. The I component value of the HIS obtained after RGB to HIS conversion of each pixel is proposed as the brightness value.
当被处理影像为多幅影像时,将每次处理后的影像与基准影像拼接形成新的基准影像,重叠区域像素值采用原基准影像重叠区域的像素值。When the image to be processed is multiple images, each processed image is spliced with the reference image to form a new reference image, and the pixel values of the overlapping area adopt the pixel values of the overlapping area of the original reference image.
本发明可以调整影像的整体色调差异。本发明利用影像重叠区域的亮度差值直方图统计特征调整影像整体色调,降低了算法的复杂度,算法简单、实现容易,提高了实用性。The present invention can adjust the overall tone difference of the image. The invention utilizes the statistical characteristics of the brightness difference value histogram in the overlapping area of the image to adjust the overall tone of the image, reduces the complexity of the algorithm, has simple algorithm, is easy to implement, and improves practicability.
附图说明:Description of drawings:
附图为本发明的流程示意图。Accompanying drawing is the schematic flow chart of the present invention.
具体实施方式:Detailed ways:
参见附图,本发明包括以下步骤:Referring to accompanying drawing, the present invention comprises the following steps:
一、RGB-HIS变换1. RGB-HIS transformation
根据色度学知识可知,人眼对亮度感觉较为敏感,同时,由于遥感影像色调上的差异主要是因光照不均造成,色相上的差别并不明显,为此将所有影像由RGB颜色空间转换到HIS色度空间进行处理;其公式为:According to the knowledge of chromaticity, the human eye is more sensitive to brightness. At the same time, since the difference in hue of remote sensing images is mainly caused by uneven illumination, the difference in hue is not obvious. Therefore, all images are converted from RGB color space to the HIS chromaticity space for processing; the formula is:
式中:In the formula:
R为彩色影像每个像素的红色分量值;R is the red component value of each pixel of the color image;
G为彩色影像每个像素的绿色分量值;G is the green component value of each pixel of the color image;
B为彩色影像每个像素的蓝色分量值。B is the blue component value of each pixel of the color image.
二、获取影像重叠区域亮度值2. Obtain the brightness value of the overlapping area of the image
I、取出待处理影像的坐标信息,取出基准影像中和其有重叠部分的区域;1. Take out the coordinate information of the image to be processed, and take out the area that overlaps with it in the reference image;
II、将基准影像与待处理影像重叠区域内的像素的亮度值取出:II. Take out the brightness value of the pixels in the overlapping area of the reference image and the image to be processed:
三、整体色调调整3. Overall tone adjustment
I、建立一个和待处理影像相同大小的二维矩阵B(x,y),将矩阵中对应于待处理影像重叠区域的部分标记;1. Set up a two-dimensional matrix B (x, y) with the same size as the image to be processed, and mark the part of the matrix corresponding to the overlapping area of the image to be processed;
II、在标记了的影像重叠区域内,当前影像亮度值表示为f(x,y),步骤二中获得的亮度值可表示为g(x,y);II. In the marked image overlapping area, the current image brightness value is expressed as f(x, y), and the brightness value obtained in step 2 can be expressed as g(x, y);
III、统计重叠区域内亮度差值g(x,y)-f(x,y)的直方图分布情况S[i],S[i]可以通过对重叠区域内的像素点遍历得到:III. Statistics of the histogram distribution S[i] of the brightness difference g(x, y)-f(x, y) in the overlapping area, S[i] can be obtained by traversing the pixels in the overlapping area:
S[i]=S[i]+1 (i=g(x,y)-f(x,y))S[i]=S[i]+1 (i=g(x,y)-f(x,y))
式中:x,y为重叠区域像素点的行列号In the formula: x, y are the row and column numbers of the pixels in the overlapping area
IV、平滑亮度差值直方图S[i]:IV. Smooth brightness difference histogram S[i]:
S[min]=(S[min]+S[min+1])/2S[min]=(S[min]+S[min+1])/2
S[n]=(S[n-1]+S[n]+S[n+1])/3S[n]=(S[n-1]+S[n]+S[n+1])/3
S[max]=(S[max]+S[max-1])/2S[max]=(S[max]+S[max-1])/2
其中,min为最小亮度差值,max为最大亮度差值,n取min和max之间的值,即min<n<max;Among them, min is the minimum brightness difference, max is the maximum brightness difference, and n takes the value between min and max, that is, min<n<max;
V、记录S[i]最大时的亮度差值diff;V. Record the brightness difference diff when S[i] is the largest;
VI、统计待处理图像上重叠区域内当亮度差值g(x,y)-f(x,y)=diff时f(x,y)的亮度直方图分布情况F[j];VI, the luminance histogram distribution situation F [j] of f (x, y) when the luminance difference g (x, y)-f (x, y)=diff in the overlapping area on the statistical image to be processed;
VII、以第IV步所用的相同方法对直方图F[j]进行平滑处理,并记录平滑后F[j]最大时的亮度值Pos;VII, smoothing the histogram F[j] with the same method used in the fourth step, and recording the brightness value Pos when F[j] is maximum after smoothing;
VIII、将待处理图像T(x,y)做整体色调上的调整:VIII. Adjust the overall tone of the image T(x, y) to be processed:
T(x,y)<Pos时:T(x,y)=T(x,y)*(Pos+diff)/PosWhen T(x, y)<Pos: T(x, y)=T(x, y)*(Pos+diff)/Pos
T(x,y)>Pos时:T(x,y)=[T(x,y)-Pos]*[255-(Pos+diff)]/(255-Pos)+(Pos+diff);When T(x, y)>Pos: T(x, y)=[T(x, y)-Pos]*[255-(Pos+diff)]/(255-Pos)+(Pos+diff);
x为影像中像素点的横坐标值,取值为1、2、3、……、m;其中m为此影像的水平方向上的像素个数;x is the abscissa value of the pixel in the image, and the value is 1, 2, 3, ..., m; where m is the number of pixels in the horizontal direction of the image;
y为影像中像素点的纵坐标值,取值为1、2、3、……、n;其中n为此影像的垂直方向上的像素个数;y is the ordinate value of the pixel in the image, and the value is 1, 2, 3, ..., n; where n is the number of pixels in the vertical direction of the image;
T(x,y)为此影像中位置在(x,y)上的像素的亮度值;T(x, y) is the brightness value of the pixel at (x, y) in this image;
四、将处理后的影像与基准影像拼接作为下一次处理的基准影像:4. Splicing the processed image and the reference image as the reference image for the next processing:
I、根据处理的影像与基准影像的坐标可以建立这两幅影像的一个外接多边形;I, can establish a circumscribed polygon of these two images according to the coordinates of the processed image and the reference image;
II、由步骤I得到的多边形可以建立一个与此多边形区域大小对应的空白影像;II, the polygon obtained by step I can set up a blank image corresponding to the size of this polygon area;
III、将此空白影像中与基准图像重叠的区域内的像素赋以基准图像中对应像素的像素值;III. Assign the pixel value of the corresponding pixel in the reference image to the pixels in the region overlapping the reference image in the blank image;
IV、将此空白影像中未由第III步操作赋值的像素点赋以处理后的影像上对应像素的像素值;IV, assign the pixel point that is not assigned a value by the step III operation in this blank image to the pixel value of the corresponding pixel on the image after processing;
V、经过以上步骤则可得到一个新的基准影像,而后回到第二步进行循环直至所有的影像都完成处理。V. After the above steps, a new reference image can be obtained, and then return to the second step to cycle until all images are processed.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610018970XA CN100504440C (en) | 2006-04-28 | 2006-04-28 | Tone Adjustment Method Based on Image Overlapping Area in Remote Sensing Image Mosaic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610018970XA CN100504440C (en) | 2006-04-28 | 2006-04-28 | Tone Adjustment Method Based on Image Overlapping Area in Remote Sensing Image Mosaic |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1837854A true CN1837854A (en) | 2006-09-27 |
CN100504440C CN100504440C (en) | 2009-06-24 |
Family
ID=37015306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200610018970XA Expired - Fee Related CN100504440C (en) | 2006-04-28 | 2006-04-28 | Tone Adjustment Method Based on Image Overlapping Area in Remote Sensing Image Mosaic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100504440C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100456325C (en) * | 2007-08-02 | 2009-01-28 | 宁波大学 | An Adaptive Adjustment Method of Medical Image Window Parameters |
CN111325148A (en) * | 2020-02-20 | 2020-06-23 | 北京市商汤科技开发有限公司 | Method, device and equipment for processing remote sensing image and storage medium |
CN111754397A (en) * | 2019-07-09 | 2020-10-09 | 北京市商汤科技开发有限公司 | Remote sensing image embedding method and device, electronic equipment and storage medium |
CN117333402A (en) * | 2023-12-01 | 2024-01-02 | 北京飞渡科技股份有限公司 | Local updating processing method of oblique photographic image and electronic equipment |
-
2006
- 2006-04-28 CN CNB200610018970XA patent/CN100504440C/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100456325C (en) * | 2007-08-02 | 2009-01-28 | 宁波大学 | An Adaptive Adjustment Method of Medical Image Window Parameters |
CN111754397A (en) * | 2019-07-09 | 2020-10-09 | 北京市商汤科技开发有限公司 | Remote sensing image embedding method and device, electronic equipment and storage medium |
CN111325148A (en) * | 2020-02-20 | 2020-06-23 | 北京市商汤科技开发有限公司 | Method, device and equipment for processing remote sensing image and storage medium |
CN117333402A (en) * | 2023-12-01 | 2024-01-02 | 北京飞渡科技股份有限公司 | Local updating processing method of oblique photographic image and electronic equipment |
CN117333402B (en) * | 2023-12-01 | 2024-03-01 | 北京飞渡科技股份有限公司 | Local updating processing method of oblique photographic image and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN100504440C (en) | 2009-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1837853A (en) | A seam elimination method in remote sensing image mosaic | |
CN102111624B (en) | Method for acquiring pixel lighting chrominance information of LED display screen | |
CN1615029A (en) | Method and apparatus for enhancing local luminance of image, and recording medium | |
CN105741322B (en) | A kind of field of view dividing method based on the fusion of video features layer | |
CN1708137A (en) | Saturation-adaptive image enhancement apparatus and method | |
CN101064011A (en) | Vehicle registration extract method in complicated background based on wavelet transforming | |
CN1308891C (en) | Apparatus and method for intensifying edge in picture processing | |
CN101051351A (en) | Image band parameter two-valued method and device using said method | |
CN1801896A (en) | Video camera rating data collecting method and its rating plate | |
CN1288916C (en) | Image dead point and noise eliminating method | |
CN1239794A (en) | Color Hue Chroma Color Space and the Method of Quantizing Color by Its Sum Diffusion | |
CN102194220B (en) | Image enhancement method based on combination of sharpening strength and gray scale distribution | |
CN1411284A (en) | Method for testing face by image | |
CN1856012A (en) | Image processing device | |
CN1837854A (en) | Tone Adjustment Method Based on Image Overlapping Area in Remote Sensing Image Mosaic | |
WO2020038312A1 (en) | Multi-channel tongue body edge detection device and method, and storage medium | |
CN1808559A (en) | An image processing device and method for improving the brightness and image quality of a display panel | |
CN101377450B (en) | System and method for extracting lightness data of display screen dot matrix | |
CN1622134A (en) | Image conversion method capable of realizing zooming | |
CN1237485C (en) | Method for covering face of news interviewee using quick face detection | |
CN101067871A (en) | A highlight region selection method and device for visual convex hull rendering | |
CN1731451A (en) | Method of image color enhancement | |
CN1420472A (en) | Method and apparatus for adaptive binaryzation of color document picture | |
CN1265324C (en) | Words and image dividing method on the basis of adjacent edge point distance statistics | |
CN108830834B (en) | A method for automatic extraction of video defect information for crawling robot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: ANHUI ELECTRIC POWER DESIGN INSTITUTE Free format text: FORMER OWNER: WUHAN UNIVERSITY Effective date: 20101208 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 430072 LUOJIASHAN, WUCHANG, WUHAN CITY, HUBEI PROVINCE TO: 230601 NO.369, FANHUA AVENUE, ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE, HEFEI CITY, ANHUI PROVINCE |
|
TR01 | Transfer of patent right |
Effective date of registration: 20101208 Address after: 230601, No. 369, prosperous road, Hefei economic and Technological Development Zone, Anhui Patentee after: Anhui Electric Power Design Institute Address before: 430072 Hubei city of Wuhan province Wuchang Luojiashan Patentee before: Wuhan University |
|
C56 | Change in the name or address of the patentee |
Owner name: CHINA ENERGY ENGINEERING GROUP ANHUI ELECTRIC POWE Free format text: FORMER NAME: ANHUI ELECTRIC POWER DESIGN INSTITUTE |
|
CP01 | Change in the name or title of a patent holder |
Address after: 230601, No. 369, prosperous road, Hefei economic and Technological Development Zone, Anhui Patentee after: Co., Ltd of China Energy Construction Group Anhui Electric Power Design Institute Address before: 230601, No. 369, prosperous road, Hefei economic and Technological Development Zone, Anhui Patentee before: Anhui Electric Power Design Institute |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090624 Termination date: 20170428 |
|
CF01 | Termination of patent right due to non-payment of annual fee |