[go: up one dir, main page]

CN108550129B - Even color method and device based on geographical template - Google Patents

Even color method and device based on geographical template Download PDF

Info

Publication number
CN108550129B
CN108550129B CN201810360304.7A CN201810360304A CN108550129B CN 108550129 B CN108550129 B CN 108550129B CN 201810360304 A CN201810360304 A CN 201810360304A CN 108550129 B CN108550129 B CN 108550129B
Authority
CN
China
Prior art keywords
image
color
sampling
processed
template
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
CN201810360304.7A
Other languages
Chinese (zh)
Other versions
CN108550129A (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.)
Aerospace Hongtu Information Technology Co Ltd
Original Assignee
Beijing Aerospace Hongtu Information Technology Ltd By Share 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 Beijing Aerospace Hongtu Information Technology Ltd By Share Ltd filed Critical Beijing Aerospace Hongtu Information Technology Ltd By Share Ltd
Priority to CN201810360304.7A priority Critical patent/CN108550129B/en
Publication of CN108550129A publication Critical patent/CN108550129A/en
Application granted granted Critical
Publication of CN108550129B publication Critical patent/CN108550129B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The present invention provides a kind of even color methods and device based on geographical template, and multiple sampling images after resampling are carried out to image to be processed this method comprises: obtaining;Cloud and mist processing is removed to sampling image, the sampling image after obtaining removal cloud and mist;Even color processing is carried out to the sampling image after the removal cloud and mist of corresponding wave band using template image sub-image using Wallis filter, the sampling image after obtaining even color;Gray level relativity between template image sub-image based on sampling image and corresponding wave band after even color, determines color toning curves;Color adjustment is carried out to image to be processed by color toning curves, obtains target image.This method processing speed is fast, carries out color adjustment to image to be processed by color toning curves, practicability is good, and even color effect is good, alleviates that existing even color method processing speed is slow, and the practicability is poor, the technical problem of even color effect difference.

Description

Even color method and device based on geographical template
Technical field
The present invention relates to the technical fields of remote sensing image processing, more particularly, to a kind of even color method based on geographical template And device.
Background technique
Remote sensing image makes shadow due to the difference of the image-forming conditions such as the time of acquisition, illumination, camera angle and type of ground objects The uneven illuminations phenomenons such as that there are Luminance Distributions is uneven as between, contrast is uneven and color is inconsistent, to greatly restrict The using effect of remote sensing image in subsequent orthography splicing and other image engineerings applications.Even color is exactly between eliminating image Therefore these non-uniform processes in order to which more acurrate and real surface reaches the objective reality world, obtain the image information of high quality And be effectively used, light and color homogenization is very necessary.
There are mainly two types of existing even color methods, and one is histogram matching, histogram matching is by former image Grey level histogram is transformed into the grey level histogram of specified image by mapping function.Its image low to contrast has preferable place Effect is managed, but its noise suppression ability is poor, cannot achieve and carry out even color according to characters of ground object, and statistics with histogram can spend a large amount of place Manage the time, i.e., counted using thumbnail, the result that cannot not only get well but will because of some special areas presence (such as Water, cloud) lead to even color anomaly.
Another kind is Wallis filter method, Wallis filter the gray average of local image and variance can be mapped to Fixed gray average and variance yields.It is a kind of transformation of local image, it makes gray variance at different location and gray scale equal Value has approximately equal numerical value, i.e. the contrast in the small region of image contrast increases, and the contrast in the big region of image contrast reduces, So that the small information of gray scale is enhanced in image.Although advantageous in the even color algorithm processing speed of Wallis, if Method by selection with reference to image carries out Wallis cloud light, can there is different atural object environmental colors mapping result exceptions, right In the processing of big data, piecemeal certainly will be wanted to handle, wherein the elimination of blocky effect and not lose atural object detailed information, be difficult Topic.
To sum up, existing even color method processing speed is slow, and the practicability is poor, and even color effect is poor.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of even color method and device based on geographical template, to alleviate Existing even color method processing speed is slow, and the practicability is poor, the technical problem of even color effect difference.
In a first aspect, the embodiment of the invention provides a kind of even color methods based on geographical template, which comprises
It obtains and carries out multiple sampling images after resampling to image to be processed, wherein each sampling image is one corresponding Wave band;
Cloud and mist processing is removed to the sampling image, the sampling image after obtaining removal cloud and mist;
Using Wallis filter using template image sub-image to the sampling shadow after the removal cloud and mist of corresponding wave band As carrying out even color processing, the sampling image after obtaining even color, wherein the template image sub-image is gone with the described of corresponding wave band Except the size of the sampling image after cloud and mist is consistent with resolution ratio;
Gray level pair between the template image sub-image based on sampling image and corresponding wave band after the even color Than relationship, color toning curves are determined, wherein the quantity of the color toning curves is a plurality of;
Color adjustment is carried out to the image to be processed by the color toning curves, obtains target image.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein obtains It takes and includes: to multiple sampling images after image to be processed progress resampling
Obtain the image to be processed;
Obtain the template image, wherein the spatial dimension of the template image includes the space of the image to be processed Range;
Determine the overlapping region of the spatial dimension of the template image and the spatial dimension of the image to be processed;
Resampling is carried out to the image to be processed based on the overlapping region, obtains the multiple sampling image.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein base Resampling is carried out to the image to be processed in the overlapping region, obtaining the multiple sampling image includes:
Template image subdata is read based on the overlapping region, wherein the template image subdata is target wave band The template image spatial dimension in overlapping region image data, wherein the target wave band be multiple wave bands in Any wave band;
Image subdata to be processed is read based on the template image subdata, wherein the image subdata to be processed For the image data of overlapping region in the spatial dimension of the image to be processed of the target wave band;
Using the image subdata to be processed as the corresponding sampling image of the target wave band, and by the template image Subdata is as the corresponding template image sub-image of the target wave band.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein right The sampling image is removed cloud and mist processing, and the sampling image after obtaining removal cloud and mist includes:
The object pixel for removing preset percentage in the sampling image, the sampling image after obtaining removal cloud and mist, wherein The object pixel is most bright pixel and most dark pixel in the sampling image.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein logical It crosses the color toning curves and color adjustment is carried out to the image to be processed, obtaining target image includes:
Determine object color component adjustment curve, wherein the object color component adjustment curve is in a plurality of color toning curves Any bar;
Color adjustment is carried out to the correspondence wave band image in the image to be processed by the object color component adjustment curve, Obtain the target image.
Second aspect, the embodiment of the invention also provides a kind of even color device based on geographical template, described device include:
Module is obtained, carries out multiple sampling images after resampling to image to be processed for obtaining, wherein each sampling Image corresponds to a wave band;
Cloud and mist module is removed, for being removed cloud and mist processing to the sampling image, the sampling after obtaining removal cloud and mist Image;
Even color processing module, for being gone using template image sub-image to described in corresponding wave band using Wallis filter Except the sampling image after cloud and mist carries out even color processing, the sampling image after obtaining even color, wherein the template image sub-image with The size of sampling image after the removal cloud and mist of corresponding wave band is consistent with resolution ratio;
Determining module, for the template image sub-image based on sampling image and corresponding wave band after the even color it Between gray level relativity, determine color toning curves, wherein the quantity of the color toning curves be it is a plurality of;
Color adjustment module is obtained for carrying out color adjustment to the image to be processed by the color toning curves To target image.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute Stating acquisition module includes:
First acquisition unit, for obtaining the image to be processed;
Second acquisition unit, for obtaining the template image, wherein the spatial dimension of the template image includes described The spatial dimension of image to be processed;
First determination unit, for determining the spatial dimension of the template image and the spatial dimension of the image to be processed Overlapping region;
Resampling unit obtains described more for carrying out resampling to the image to be processed based on the overlapping region A sampling image.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute Stating resampling unit includes:
First reading subunit, for reading template image subdata based on the overlapping region, wherein the template shadow As subdata is the image data of overlapping region in the spatial dimension of the template image of target wave band, wherein the target Wave band is any wave band in multiple wave bands;
Second reading subunit, for reading image subdata to be processed based on the template image subdata, wherein institute State the image number of overlapping region in the spatial dimension for the image to be processed that image subdata to be processed is the target wave band According to;
Subelement is set, for using the image subdata to be processed as the corresponding sampling image of the target wave band, And using the template image subdata as the corresponding template image sub-image of the target wave band.
In conjunction with second aspect, the embodiment of the invention provides the third possible embodiments of second aspect, wherein institute Stating removal cloud and mist module includes:
Removal unit, for removing the object pixel of preset percentage in the sampling image, after obtaining removal cloud and mist Sample image, wherein the object pixel is most bright pixel and most dark pixel in the sampling image.
In conjunction with second aspect, the embodiment of the invention provides the 4th kind of possible embodiments of second aspect, wherein institute Stating color adjustment module includes:
Second determination unit, for determining object color component adjustment curve, wherein the object color component adjustment curve is a plurality of Any bar in color toning curves;
Color adjustment unit is used for through the object color component adjustment curve to corresponding wave band in the image to be processed Image carries out color adjustment, obtains the target image.
The embodiment of the present invention brings following the utility model has the advantages that the embodiment of the invention provides a kind of based on the even of geographical template Color method and device carry out multiple sampling images after resampling to image to be processed this method comprises: obtaining, wherein each Sample the corresponding wave band of image;Cloud and mist processing is removed to sampling image, the sampling image after obtaining removal cloud and mist;Using Wallis filter carries out even color processing to the sampling image after the removal cloud and mist of corresponding wave band using template image sub-image, obtains Sampling image after to even color, wherein the size of template image sub-image and the sampling image after the removal cloud and mist of corresponding wave band It is consistent with resolution ratio;Gray level between template image sub-image based on sampling image and corresponding wave band after even color, which compares, closes System, determines color toning curves, wherein the quantity of color toning curves is a plurality of;By color toning curves to shadow to be processed As carrying out color adjustment, target image is obtained.
For existing even color method when handling remote sensing image, processing speed is slow, and the practicability is poor, and even color effect is poor. Compared with existing even color method, in the even color method based on geographical template of the embodiment of the present invention, first obtain to shadow to be processed As multiple sampling images after progress resampling, cloud and mist processing then is removed to sampling image, after obtaining removal cloud and mist Image is sampled, and then uses template image sub-image to the sampling shadow after the removal cloud and mist of corresponding wave band using Wallis filter As carrying out even color processing, the sampling image after obtaining even color, the mould of sampling image and corresponding wave band after being based further on even color Project obtains color toning curves as the gray level relativity between sub-image, treats place finally by color toning curves It manages image and carries out color adjustment, obtain target image.This method processing speed is fast, based on the sampling image and corresponding wave after even color Gray level relativity between the template image sub-image of section, obtains color toning curves, finally by color toning curves Color adjustment is carried out to image to be processed, practicability is good, and even color effect is good, and it is slow to alleviate existing even color method processing speed, The practicability is poor, the technical problem of even color effect difference.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the even color method based on geographical template provided in an embodiment of the present invention;
Fig. 2 is the side provided in an embodiment of the present invention for obtaining and carrying out multiple sampling images after resampling to image to be processed Method flow chart;
Fig. 3 is the overlapping region provided in an embodiment of the present invention that is based on to image to be processed progress resampling, obtains multiple adopt The method flow diagram of sample image;
Fig. 4 carries out color adjustment to image to be processed by color toning curves to be provided in an embodiment of the present invention, obtains The method flow diagram of target image;
Fig. 5 is a kind of functional block diagram of the even color device based on geographical template provided in an embodiment of the present invention.
Icon:
11- obtains module;12- removes cloud and mist module;The even color processing module of 13-;14- determining module;15- color adjustment mould Block.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
For convenient for understanding the present embodiment, first to a kind of based on geographical template disclosed in the embodiment of the present invention Even color method describes in detail.
Embodiment one:
A kind of even color method based on geographical template, with reference to Fig. 1, this method comprises:
S102, it obtains to multiple sampling images after image to be processed progress resampling, wherein each sampling image is corresponding One wave band;
In embodiments of the present invention, image to be processed specifically refers to remote sensing image.Hereinafter again to the multiple sampling shadows of acquisition The process of picture is described, and details are not described herein.
S104, cloud and mist processing is removed to sampling image, the sampling image after obtaining removal cloud and mist;
After obtaining sampling image, cloud and mist processing is removed to sampling image, the sampling image after obtaining removal cloud and mist. In embodiments of the present invention, the method for removing cloud and mist is simple and effective, and hereinafter the process of removal cloud and mist is described in detail again, Details are not described herein.
S106, use template image sub-image to the sampling shadow after the removal cloud and mist of corresponding wave band using Wallis filter As carrying out even color processing, the sampling image after obtaining even color, wherein template image sub-image with after the removal cloud and mist of corresponding wave band Sampling image size it is consistent with resolution ratio;
After obtaining the sampling image after removal cloud and mist, using Wallis filter using template image sub-image to correspondence Sampling image after the removal cloud and mist of wave band carries out even color processing, the sampling image after obtaining even color.
Specifically, the sampling image after removal cloud and mist corresponding to template image sub-image refers to that wave band is corresponding.Wallis Filter enables to the gray average of template image sub-image and the gray scale of the sampling image after gray variance and removal cloud and mist Mean value and gray variance are close, so that the tone of the two is close.
It should be noted that template image is that spatial dimension is bigger, resolution ratio is lower, the uniform image of color, existing Have in technology that there are nationwide geographical template images, also referred to as reference images.In addition, template image sub-image with it is corresponding Wave band removal cloud and mist after sampling image size it is consistent, and template image sub-image with after the removal cloud and mist of corresponding wave band The resolution ratio for sampling image is also consistent.
Gray level between S108, the template image sub-image based on sampling image and corresponding wave band after even color, which compares, closes System, determines color toning curves, wherein the quantity of color toning curves is a plurality of;
After obtaining the sampling image after even color, any one gray level corresponds to template shadow in the sampling image after even color The mode of the point most higher position probability of which gray level of picture indicates, obtains a curve of 256 grades of gray scales of this wave band, If this curve is discontinuous, difference operation just is carried out with differential technique, so that curve is continuous, which is color adjustment song Line.The practical curve is the gray level relativity sampled between image and corresponding template image sub-image.
Because sample image quantity be it is multiple, it is corresponding a plurality of that different-waveband can be obtained according to above-mentioned process Color toning curves.
S110, color adjustment is carried out to image to be processed by color toning curves, obtains target image.
After obtaining color toning curves, color adjustment is carried out to image to be processed by color toning curves, obtains mesh Mark image.The target image is the image after even color.
For existing even color method when handling remote sensing image, processing speed is slow, and the practicability is poor, and even color effect is poor. Compared with existing even color method, in the even color method based on geographical template of the embodiment of the present invention, first obtain to shadow to be processed As multiple sampling images after progress resampling, cloud and mist processing then is removed to sampling image, after obtaining removal cloud and mist Image is sampled, and then uses template image sub-image to the sampling shadow after the removal cloud and mist of corresponding wave band using Wallis filter As carrying out even color processing, the sampling image after obtaining even color, the mould of sampling image and corresponding wave band after being based further on even color Project obtains color toning curves as the gray level relativity between sub-image, treats place finally by color toning curves It manages image and carries out color adjustment, obtain target image.This method processing speed is fast, based on the sampling image and corresponding wave after even color Gray level relativity between the template image sub-image of section, obtains color toning curves, finally by color toning curves Color adjustment is carried out to image to be processed, practicability is good, and even color effect is good, and it is slow to alleviate existing even color method processing speed, The practicability is poor, the technical problem of even color effect difference.
Above content has carried out brief introduction to the even color method based on geographical template, specific to what is be directed to below Content is described in detail.
In one optionally embodiment, with reference to Fig. 2, obtains and carry out multiple samplings after resampling to image to be processed Image includes:
S201, image to be processed is obtained;
S202, template image is obtained, wherein the spatial dimension of template image includes the spatial dimension of image to be processed;
The overlapping region of the spatial dimension of S203, the spatial dimension for determining template image and image to be processed;
S204, resampling is carried out to image to be processed based on overlapping region, obtains multiple sampling images.
In one optionally embodiment, with reference to Fig. 3, resampling is carried out to image to be processed based on overlapping region, is obtained Include: to multiple sampling images
S301, template image subdata is read based on overlapping region, wherein template image subdata is the mould of target wave band The image data of overlapping region in the spatial dimension of project picture, wherein target wave band is any wave band in multiple wave bands;
After obtaining overlapping region, the pixel coverage of template image and image to be processed is determined respectively by overlapping region, Then the image data for reading overlapping region in the spatial dimension of the template image of a wave band, as template image subdata.
S302, image subdata to be processed is read based on template image subdata, wherein image subdata to be processed is mesh The image data of overlapping region in the spatial dimension of the image to be processed of nominal band;
After obtaining template image subdata, continue overlay region in the spatial dimension for the image to be processed for reading corresponding wave band The image data in domain, as image subdata to be processed.
Wherein, template image subdata is consistent with the size of image subdata to be processed.
S303, using image subdata to be processed as the corresponding sampling image of target wave band, and by template image subdata As the corresponding template image sub-image of target wave band.
Above content describes the detailed process for obtaining multiple sampling images, carries out below to the process of removal cloud and mist detailed Description.
In one optionally embodiment, cloud and mist processing is removed to sampling image, adopting after obtaining removal cloud and mist Sample image includes:
The object pixel of preset percentage in removal sampling image, the sampling image after obtaining removal cloud and mist, wherein target Pixel is most bright pixel and most dark pixel in sampling image.
In embodiments of the present invention, the process for removing cloud and mist is thrown away most bright and most dark 0.5% in sampling image Pixel, what is obtained is the sampling image after removal cloud and mist.Such processing mode is simple, and the effect handled is also fine.
The process of color adjustment is described in detail below.
In one optionally real-time mode, with reference to Fig. 4, color tune is carried out to image to be processed by color toning curves Section, obtaining target image includes:
S401, object color component adjustment curve is determined, wherein object color component adjustment curve is in a plurality of color toning curves Any bar;
S402, color adjustment is carried out to the correspondence wave band image in image to be processed by object color component adjustment curve, obtained To target image.
Even color method of the invention can be handled two scapes even more scape images, as long as the spatial dimension of template image Spatial dimension comprising more scape images.This method processing speed is fast, and effect is good, especially in the adjusting of hue and luminance It can achieve the effect that ideal.This method can to eliminate between image that there are Luminance Distributions uneven, contrast is uneven and The inconsistent equal uneven illuminations phenomenon of color more acurrate can reach the objective reality world with real surface, can obtain high quality Image information and be effectively used.
Embodiment two:
A kind of even color device based on geographical template, with reference to Fig. 5, which includes:
Module 11 is obtained, carries out multiple sampling images after resampling to image to be processed for obtaining, wherein each adopt Sample image corresponds to a wave band;
Cloud and mist module 12 is removed, for being removed cloud and mist processing to sampling image, the sampling shadow after obtaining removal cloud and mist Picture;
Even color processing module 13, for the removal using Wallis filter using template image sub-image to corresponding wave band Sampling image after cloud and mist carries out even color processing, the sampling image after obtaining even color, wherein template image sub-image and corresponding wave The size of sampling image after the removal cloud and mist of section is consistent with resolution ratio;
Determining module 14, for the ash between the template image sub-image based on sampling image and corresponding wave band after even color Grade relativity is spent, determines color toning curves, wherein the quantity of color toning curves is a plurality of;
Color adjustment module 15 obtains target for carrying out color adjustment to image to be processed by color toning curves Image.
In the even color device based on geographical template of the embodiment of the present invention, first obtain after carrying out resampling to image to be processed Multiple sampling images, cloud and mist processing then is removed to sampling image, the sampling image after obtaining removal cloud and mist and then is adopted Even color processing is carried out to the sampling image after the removal cloud and mist of corresponding wave band using template image sub-image with Wallis filter, Sampling image after obtaining even color, sampling between image and the template image sub-image of corresponding wave band after being based further on even color Gray level relativity, obtain color toning curves, finally by color toning curves to image to be processed carry out color tune Section, obtains target image.The device processing speed is fast, the sub- shadow of template image based on sampling image and corresponding wave band after even color Gray level relativity as between, obtains color toning curves, carries out finally by color toning curves to image to be processed Color adjustment, practicability is good, and even color effect is good, alleviates that existing even color method processing speed is slow, and the practicability is poor, even color effect The technical problem of difference.
Optionally, obtaining module includes:
First acquisition unit, for obtaining image to be processed;
Second acquisition unit, for obtaining template image, wherein the spatial dimension of template image includes image to be processed Spatial dimension;
First determination unit, for determining the overlay region of the spatial dimension of template image and the spatial dimension of image to be processed Domain;
Resampling unit obtains multiple sampling images for carrying out resampling to image to be processed based on overlapping region.
Optionally, resampling unit includes:
First reading subunit, for reading template image subdata based on overlapping region, wherein template image subdata For the image data of overlapping region in the spatial dimension of the template image of target wave band, wherein target wave band is in multiple wave bands Any wave band;
Second reading subunit, for reading image subdata to be processed based on template image subdata, wherein to be processed Image subdata is the image data of overlapping region in the spatial dimension of the image to be processed of target wave band;
Subelement is set, for using image subdata to be processed as the corresponding sampling image of target wave band, and by template Image subdata is as the corresponding template image sub-image of target wave band.
Optionally, removal cloud and mist module includes:
Removal unit, for removing the object pixel of preset percentage in sampling image, the sampling after obtaining removal cloud and mist Image, wherein object pixel is most bright pixel and most dark pixel in sampling image.
Optionally, color adjustment module includes:
Second determination unit, for determining object color component adjustment curve, wherein object color component adjustment curve is a plurality of color Any bar in adjustment curve;
Color adjustment unit, for being carried out by object color component adjustment curve to the correspondence wave band image in image to be processed Color adjustment obtains target image.
Particular content in the embodiment two can be with reference to the description in above-described embodiment one, and details are not described herein.
Based on the even color method of geographical template and the computer program product of device provided by the embodiment of the present invention, including The computer readable storage medium of program code is stored, the instruction that said program code includes can be used for executing previous methods reality Method described in example is applied, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ", " third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. a kind of even color method based on geographical template, which is characterized in that the described method includes:
It obtains and carries out multiple sampling images after resampling to image to be processed, wherein the corresponding wave band of each sampling image;
Cloud and mist processing is removed to the sampling image, the sampling image after obtaining removal cloud and mist;
Using Wallis filter using template image sub-image to the sampling image after the removal cloud and mist of corresponding wave band into The even color processing of row, the sampling image after obtaining even color, wherein the removal cloud of the template image sub-image and corresponding wave band The size of sampling image after mist is consistent with resolution ratio;
Gray level between the template image sub-image based on sampling image and corresponding wave band after the even color, which compares, closes System, determines color toning curves, wherein the quantity of the color toning curves is a plurality of;
Color adjustment is carried out to the image to be processed by the color toning curves, obtains target image;
Wherein, color adjustment is carried out to the image to be processed by the color toning curves, obtaining target image includes:
Determine object color component adjustment curve, wherein the object color component adjustment curve is any in a plurality of color toning curves Item;
Color adjustment is carried out to the correspondence wave band image in the image to be processed by the object color component adjustment curve, is obtained The target image.
2. carrying out multiple adopting after resampling to image to be processed the method according to claim 1, wherein obtaining Sample image includes:
Obtain the image to be processed;
Obtain the template image, wherein the spatial dimension of the template image includes the spatial dimension of the image to be processed;
Determine the overlapping region of the spatial dimension of the template image and the spatial dimension of the image to be processed;
Resampling is carried out to the image to be processed based on the overlapping region, obtains the multiple sampling image.
3. according to the method described in claim 2, it is characterized in that, being carried out based on the overlapping region to the image to be processed Resampling, obtaining the multiple sampling image includes:
Based on the overlapping region read template image subdata, wherein the template image subdata for target wave band institute State the image data of overlapping region in the spatial dimension of template image, wherein the target wave band is any in multiple wave bands Wave band;
Image subdata to be processed is read based on the template image subdata, wherein the image subdata to be processed is institute State the image data of overlapping region in the spatial dimension of the image to be processed of target wave band;
Using the image subdata to be processed as the corresponding sampling image of the target wave band, and by the template image subnumber According to as the corresponding template image sub-image of the target wave band.
4. being obtained the method according to claim 1, wherein being removed cloud and mist processing to the sampling image Removal cloud and mist after sampling image include:
The object pixel for removing preset percentage in the sampling image, the sampling image after obtaining removal cloud and mist, wherein described Object pixel is most bright pixel and most dark pixel in the sampling image.
5. a kind of even color device based on geographical template, which is characterized in that described device includes:
Module is obtained, carries out multiple sampling images after resampling to image to be processed for obtaining, wherein each sampling image A corresponding wave band;
Cloud and mist module is removed, for being removed cloud and mist processing to the sampling image, the sampling image after obtaining removal cloud and mist;
Even color processing module, for using template image sub-image to the removal cloud of corresponding wave band using Wallis filter Sampling image after mist carries out even color processing, the sampling image after obtaining even color, wherein the template image sub-image with it is corresponding The size of sampling image after the removal cloud and mist of wave band is consistent with resolution ratio;
Determining module, between the template image sub-image based on sampling image and corresponding wave band after the even color Gray level relativity, determines color toning curves, wherein the quantity of the color toning curves is a plurality of;
Color adjustment module obtains mesh for carrying out color adjustment to the image to be processed by the color toning curves Mark image;
Wherein, the color adjustment module includes:
Second determination unit, for determining object color component adjustment curve, wherein the object color component adjustment curve is a plurality of color Any bar in adjustment curve;
Color adjustment unit, for by the object color component adjustment curve to the correspondence wave band image in the image to be processed Color adjustment is carried out, the target image is obtained.
6. device according to claim 5, which is characterized in that the acquisition module includes:
First acquisition unit, for obtaining the image to be processed;
Second acquisition unit, for obtaining the template image, wherein the spatial dimension of the template image includes described wait locate Manage the spatial dimension of image;
First determination unit, for determining the weight of the spatial dimension of the template image and the spatial dimension of the image to be processed Folded region;
Resampling unit obtains the multiple adopt for carrying out resampling to the image to be processed based on the overlapping region Sample image.
7. device according to claim 6, which is characterized in that the resampling unit includes:
First reading subunit, for reading template image subdata based on the overlapping region, wherein template image Data are the image data of overlapping region in the spatial dimension of the template image of target wave band, wherein the target wave band For any wave band in multiple wave bands;
Second reading subunit, for reading image subdata to be processed based on the template image subdata, wherein it is described to Handle the image data of overlapping region in the spatial dimension for the image to be processed that image subdata is the target wave band;
Subelement is set, is used for using the image subdata to be processed as the corresponding sampling image of the target wave band, and will The template image subdata is as the corresponding template image sub-image of the target wave band.
8. device according to claim 5, which is characterized in that the removal cloud and mist module includes:
Removal unit, the sampling for removing the object pixel of preset percentage in the sampling image, after obtaining removal cloud and mist Image, wherein the object pixel is most bright pixel and most dark pixel in the sampling image.
CN201810360304.7A 2018-04-20 2018-04-20 Even color method and device based on geographical template Active CN108550129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810360304.7A CN108550129B (en) 2018-04-20 2018-04-20 Even color method and device based on geographical template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810360304.7A CN108550129B (en) 2018-04-20 2018-04-20 Even color method and device based on geographical template

Publications (2)

Publication Number Publication Date
CN108550129A CN108550129A (en) 2018-09-18
CN108550129B true CN108550129B (en) 2019-04-09

Family

ID=63511938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810360304.7A Active CN108550129B (en) 2018-04-20 2018-04-20 Even color method and device based on geographical template

Country Status (1)

Country Link
CN (1) CN108550129B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410136B (en) * 2018-10-10 2020-10-27 中国人民解放军战略支援部队信息工程大学 Color homogenizing method and processing device based on shortest transmission path
CN109767484B (en) * 2018-12-06 2022-09-23 武汉天际航信息科技股份有限公司 Uniform light and color method and system with color consistency in three-dimensional map
CN110599424B (en) * 2019-09-16 2020-07-14 北京航天宏图信息技术股份有限公司 Method and device for automatic image color-homogenizing processing, electronic equipment and storage medium
CN111754590B (en) * 2020-05-14 2024-04-02 北京吉威空间信息股份有限公司 Remote sensing image automatic color homogenizing method based on global color feature library
CN111652826B (en) * 2020-05-18 2023-04-25 哈尔滨工业大学 Color uniformity method for multiple/hyperspectral remote sensing images based on Wallis filter + histogram matching
CN112907486B (en) * 2021-03-18 2022-12-09 国家海洋信息中心 A remote sensing image color correction method based on deep learning and color mapping

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU759361B2 (en) * 2000-03-02 2003-04-10 Canon Kabushiki Kaisha Using eigenvalues and eigenvectors to determine an optimal resampling method for a transformed image
CA2807144A1 (en) * 2010-07-30 2012-02-02 Fundacao D. Anna Sommer Champalimaud E Dr. Carlos Montez Champalimaud Systems and methods for segmentation and processing of tissue images and feature extraction from same for treating, diagnosing, or predicting medical conditions
CN103218821A (en) * 2013-04-27 2013-07-24 航天恒星科技有限公司 Regional-coverage-oriented automatic image mosaic method
CN107563964A (en) * 2017-08-22 2018-01-09 长光卫星技术有限公司 The quick joining method of large area array sub-meter grade night scene remote sensing image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU759361B2 (en) * 2000-03-02 2003-04-10 Canon Kabushiki Kaisha Using eigenvalues and eigenvectors to determine an optimal resampling method for a transformed image
CA2807144A1 (en) * 2010-07-30 2012-02-02 Fundacao D. Anna Sommer Champalimaud E Dr. Carlos Montez Champalimaud Systems and methods for segmentation and processing of tissue images and feature extraction from same for treating, diagnosing, or predicting medical conditions
CN103218821A (en) * 2013-04-27 2013-07-24 航天恒星科技有限公司 Regional-coverage-oriented automatic image mosaic method
CN107563964A (en) * 2017-08-22 2018-01-09 长光卫星技术有限公司 The quick joining method of large area array sub-meter grade night scene remote sensing image

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
利用匀光匀色建立色彩一致性无缝DOM影像数据库的方法研究;陈科 等;《测绘工程》;20140228;第23卷(第2期);第66-69页
航空遥感影像匀光匀色方案研究与应用;李莉;《中国优秀硕士学位论文全文数据库 基础科学辑》;20140215(第2期);第4章
遥感影像匀光算法综述;王文滔 等;《江苏科技信息》;20170228(第6期);第51-55页

Also Published As

Publication number Publication date
CN108550129A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN108550129B (en) Even color method and device based on geographical template
RU2680765C1 (en) Automated determination and cutting of non-singular contour of a picture on an image
AU2017232186B2 (en) Fast and robust image alignment for burst mode
CN105893972B (en) Automatic monitoring method for illegal building based on image and implementation system thereof
CN108932510A (en) A kind of rubbish detection method and device
CN112949624B (en) Water gauge-based water level detection method and device, electronic equipment and storage medium
CN102959946A (en) Augmenting image data based on related 3d point cloud data
IL221061A (en) Method of modelling buildings on the basis of a georeferenced image
CN110378174A (en) Road extracting method and device
CN110083720B (en) Method and device for constructing real scene semantic structure model
CN109492642A (en) Licence plate recognition method, device, computer equipment and storage medium
CN114615480B (en) Projection screen adjustment method, apparatus, device, storage medium, and program product
WO2021109656A1 (en) Two-dimensional code size determination method, two-dimensional code display method, apparatuses and devices
CN115797359A (en) Detection method and device based on solder paste on circuit board and storage medium
CN110675396A (en) Remote sensing image cloud detection method, device, device, and computer-readable storage medium
CN110334583A (en) A kind of small area soil vegetation coverage measurement method, device and electronic equipment
CN110458857B (en) Central symmetry primitive detection method and device, electronic equipment and readable storage medium
Reljić et al. Application of photogrammetry in 3D scanning of physical objects
CN111683221A (en) Real-time video monitoring method and system of natural resources embedded with vector red line data
CN111797832A (en) Automatic generation method and system of image interesting region and image processing method
CN108629742A (en) True orthophoto shadow Detection and compensation method, device and storage medium
Shao et al. Single remote sensing multispectral image dehazing based on a learning framework
CN115272664A (en) Instrument panel display method and device, electronic equipment and storage medium
CN115601616A (en) Sample data generation method and device, electronic equipment and storage medium
CN111050027A (en) Lens distortion compensation method, device, equipment and storage medium

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
CP02 Change in the address of a patent holder

Address after: Room 301, floor 3, building 5, zone 4, Xishan Creative Park, Haidian District, Beijing 100000

Patentee after: Beijing Aerospace Hongtu information technology Limited by Share Ltd

Address before: 100144 west 2 District, 1 building, 18, Xing Shi Kou Lu, Haidian District, Beijing.

Patentee before: Beijing Aerospace Hongtu information technology Limited by Share Ltd

CP02 Change in the address of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 301, floor 3, building 5, zone 4, Xishan Creative Park, Haidian District, Beijing 100000

Patentee after: Aerospace Hongtu Information Technology Co., Ltd

Address before: Room 301, floor 3, building 5, zone 4, Xishan Creative Park, Haidian District, Beijing 100000

Patentee before: BEIJING PIESAT INFORMATION TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder