CN110381259A - Mural painting image collecting method, device, computer equipment and storage medium - Google Patents

Mural painting image collecting method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110381259A
CN110381259A CN201910745620.0A CN201910745620A CN110381259A CN 110381259 A CN110381259 A CN 110381259A CN 201910745620 A CN201910745620 A CN 201910745620A CN 110381259 A CN110381259 A CN 110381259A
Authority
CN
China
Prior art keywords
image
mural painting
parameter
acquisition
painting image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910745620.0A
Other languages
Chinese (zh)
Other versions
CN110381259B (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.)
Guangzhou Ouke Information Technology Co Ltd
Original Assignee
Guangzhou Ouke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Ouke Information Technology Co Ltd filed Critical Guangzhou Ouke Information Technology Co Ltd
Priority to CN201910745620.0A priority Critical patent/CN110381259B/en
Publication of CN110381259A publication Critical patent/CN110381259A/en
Application granted granted Critical
Publication of CN110381259B publication Critical patent/CN110381259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The embodiment of the present application discloses mural painting image collecting method, device, computer equipment and storage medium.Technical solution provided by the embodiments of the present application screens the mural painting image that same acquisition position is shot according to image quality parameter, and the effect factor of the mural painting image after calculating sifting, the image effect parameter of mural painting image is obtained by the effect factor, if image effect parameter is met the requirements, then determine the mural painting image of the position, otherwise optimize acquisition parameters under the premise of guaranteeing that image quality parameter is met the requirements, and mural painting image is resurveyed according to the acquisition parameters after optimization, until the image effect parameter of the mural painting image of acquisition is met the requirements, the mural painting image collection of the next position is carried out again, until completing the work of mural painting image collection, different acquisition parameters are adjusted for the varying environment of different acquisition position, to reach the effect image of unified standard, guarantee the quality of the mural painting image of each acquisition position.

Description

Mural painting image collecting method, device, computer equipment and storage medium
Technical field
The invention relates to field of computer technology, more particularly to full-automatic mural painting image collecting method, dress It sets, computer equipment and storage medium.
Background technique
Ancient Chinese mural painting carries historical information abundant, and aesthetics, art, scientific value are huge, but most of at present It is impaired very serious.Phenomena such as factor of natural environment causes mural painting to play first, crisp alkali, hollowing.Meanwhile atmosphere pollution is serious, tourist Quantity increases, and all brings very big threat to mural painting.Therefore the protection and reparation of mural painting are very urgent.
The information truth carried for the ease of the repairing research of mural painting and historical relic traces is muchly propagated, and is needed mural painting Image carries out image data acquiring, stores and transmits.Since the area of mural painting is all bigger, need to carry out many places image to mural painting Acquisition.However, the image effect of mural painting image is easy to be influenced by site environment when different positions shoots mural painting image.
Summary of the invention
The embodiment of the present application provides mural painting image collecting method, device, computer equipment and storage medium, according to not Image quality parameter with the mural painting image of the acquisition of position determines whether mural painting image meets the requirements, and improves mural painting image collection Quality.
In a first aspect, the embodiment of the present application provides mural painting image collecting method, comprising:
If calculate acquisition secco image image quality parameter, according to described image mass parameter to mural painting image into Row screening;
The effect factor of mural painting image after calculating sifting, and mural painting shadow is calculated according to the mass parameter and the effect factor The image effect parameter of picture;
If image effect parameter is unsatisfactory for requiring, according to image effect parameter optimization acquisition parameters, and according to optimization after Acquisition parameters resurvey mural painting image, until image effect parameter is met the requirements;
If image effect parameter is met the requirements, the image collection of next acquisition position is carried out according to preset acquisition trajectories.
Further, if before the image quality parameter of the secco image for calculating acquisition, further includes:
If the acquisition distance is the image for acquiring mural painting image based on same acquisition distance acquisition secco image The distance between acquisition device and mural painting.
Further, it is described according to described image mass parameter to mural painting image carry out screening include:
The corresponding image quality parameter of each mural painting image is compared with preset quality parameter;
Judge whether the image quality parameter of corresponding mural painting image meets the requirements according to comparing result;
Choose the mural painting image met the requirements.
Further, for same acquisition position, when the corresponding image effect parameter of the first acquisition time is met the requirements, The corresponding environmental parameter in current location, acquisition parameters and image effect parameter are formed into incidence relation, in the second acquisition time pair When the environmental parameter answered changes, acquisition parameters are adjusted to meet the requirement of efficacy parameter according to the incidence relation.
Further, the acquisition parameters include brightness and contrast;
It is described according to image effect parameter optimization acquisition parameters specifically:
The brightness and contrast is adjusted, the brightness and contrast meets following formula in adjustment process:
IQS=[x-127.5* (1-B)] * tan ((45+44*c)/180*pi)+127.5* (1+B);
Wherein, IQS is image quality parameter, is remained unchanged during the adjustment;X is pixel value;K=tan ((45+44* C)/180*pi), arctan (k) value [1,89];C is contrast, c value [- 1,1];B is brightness, B value [- 1,1].
Further, the calculation formula of described image mass parameter are as follows:
Wherein, a ∈ 1,2,3 ... r;B ∈ 1,2,3 ... s, r and s are the height and width of mural painting image respectively Degree, I (a, b) are image intensity of the mural painting image at (a, b) pixel, and η (a, b) and δ (a, b) are respectively the part of mural painting image Average and local variance.
Further, the effect factor includes poor image averaging value, graphics standard, image averaging gradient and image entropy, Wherein:
Image averaging value
Graphics standard is poor
Image averaging gradient
Image entropy
Wherein, M and N is respectively the height and width of mural painting image, Δ xF (a, b) and Δ yF (a, b) respectively indicate pixel (a, B) first-order difference in the x and y direction, the intensity profile of mural painting image are p={ p1, p2 ..., pi ..., pn }, wherein p (i) Indicate the ratio between number of pixels and the total number of pixels of image that gray value is i, n is gray level sum, and P (l) is gray value l in image The probability of middle appearance, L are the gray level of image.
Further, the calculation formula of described image efficacy parameter are as follows:
In second aspect, the embodiment of the present application provides mural painting image acquisition device, comprising:
Screening module is joined if the image quality parameter of the secco image for calculating acquisition according to described image quality Several pairs of mural painting images screen;
Efficacy parameter obtains module, joins for the effect factor of the mural painting image after calculating sifting, and according to the quality The several and effect factor calculates the image effect parameter of mural painting image;
Parameter optimization module is used for according to image effect parameter optimization acquisition parameters, and according to the acquisition parameters after optimization Mural painting image is resurveyed, authentication image efficacy parameter is until image effect parameter is met the requirements again;
Propulsion die is acquired, for carrying out the image collection of the next position according to preset acquisition trajectories.
In the third aspect, the embodiment of the present application provides a kind of computer, comprising: display screen, memory and one or Multiple processors;
The memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes mural painting image collecting method as described in relation to the first aspect.
The embodiment of the present application screens the mural painting image that same acquisition position is shot according to image quality parameter, and counts The effect factor of mural painting image after calculating screening, the image effect parameter of mural painting image is obtained by the effect factor, if image effect Parameter is met the requirements, it is determined that the mural painting image of the position, it is otherwise excellent under the premise of guaranteeing that image quality parameter is met the requirements Change acquisition parameters, to be adjusted to the effect factor for influencing image efficacy parameter, and according to the acquisition parameters weight after optimization New acquisition mural painting image, until the image effect parameter of the mural painting image of acquisition is met the requirements, then carries out the mural painting of the next position Image collection adjusts different shooting ginsengs for the varying environment of different acquisition position until completing the work of mural painting image collection Number, to reach the effect image of unified standard, guarantees the quality of the mural painting image of each acquisition position.
Detailed description of the invention
Fig. 1 is the flow chart of mural painting image collecting method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another mural painting image collecting method provided by the embodiments of the present application;
Fig. 3 is the flow chart of another mural painting image collecting method provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of arc type acquisition trajectories provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of image collection fixed frame provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of mural painting image acquisition device provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of computer provided by the embodiments of the present application.
Specific embodiment
It is specifically real to the application with reference to the accompanying drawing in order to keep the purposes, technical schemes and advantages of the application clearer Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the application, Rather than the restriction to the application.It also should be noted that illustrating only for ease of description, in attached drawing related to the application Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail It applies example and is described as the processing or method described as flow chart.Although operations (or step) are described as sequence by flow chart Processing, but many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations It can be rearranged.The processing can be terminated when its operations are completed, be not included in attached drawing it is also possible to have Additional step.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Fig. 1 gives the flow chart of mural painting image collecting method provided by the embodiments of the present application, wall provided in this embodiment Drawing image collecting method can be executed by mural painting image acquisition device, the mural painting image acquisition device can by hardware and/or The mode of software is realized, and is integrated in computer equipment.
It is following to be described so that mural painting image acquisition device executes mural painting image collecting method as an example.With reference to Fig. 1, the mural painting Image collecting method specifically includes:
S101: if the image quality parameter of the secco image of acquisition is calculated, according to described image mass parameter to mural painting Image is screened.
Specifically, the mural painting for needing to carry out image collection is carried out block division, the corresponding position of each block of mural painting It sets, and determines that some or all of positions are acquisition position according to preset acquisition trajectories, acquisition position is interpreted as taking the photograph The position or the required range taken pictures to mural painting progress image collection are needed as device (such as camera).Adjacent acquisition position acquisition Mural painting image between should have a lap, and entire need of the mural painting image energy covering mural painting of all acquisition positions acquisition Carry out the region of image collection.It is understood that the wall successively acquired in corresponding acquisition position according to acquisition trajectories The picture that entire mural painting needs to carry out image collection can be obtained by drawing after image is merged.
Further, when carrying out mural painting image collection to mural painting, multiple mural painting shadows are shot to mural painting in same acquisition position Picture, and calculate the image quality parameter of each mural painting image.In the image matter for multiple the mural painting images for obtaining the acquisition position After measuring parameter, multiple mural painting images are screened according to the requirement to image quality parameter.It can be according to image quality parameter Requirement choose multiple satisfactory mural painting images, respectively carry out subsequent image efficacy parameter verifying, can also choose wherein The most suitable mural painting image of one image quality parameter carries out the verifying of subsequent image efficacy parameter.The embodiment of the present application is specially to sieve The choosing mural painting image (the optimal mural painting image of such as image quality parameter) that wherein an image quality parameter is met the requirements.
Illustratively, the calculation formula of the image quality parameter of mural painting image are as follows:
Wherein, I (a, b) is image intensity of the mural painting image at (a, b) pixel, and η (a, b) and δ (a, b) are respectively mural painting The local average and local variance of image, its calculation formula is:
η=W*I;
Wherein W is Gaussian Blur window function;A ∈ 1,2,3 ... r;B ∈ 1,2,3 ... (r and s are respectively s The height and width of mural painting image);Local average η is the Gaussian Blur of original image, and local variance δ is original image and part Mean difference square Gaussian Blur.
It is the luminance factor of mural painting image, when a and b difference value is the height and width r and s of mural painting image, Luminance factor can represent IQS coefficient, represent the picture quality of whole mural painting image.The value of image quality parameter is smaller, generation Table mural painting image subjective picture quality is better.
S102: the effect factor of the mural painting image after calculating sifting, and calculated according to the mass parameter and the effect factor The image effect parameter of mural painting image.
Specifically, calculating the effect of the mural painting image after filtering out the mural painting image that image quality parameter is met the requirements The factor, wherein the effect factor includes poor the image averaging value of the mural painting image, graphics standard, image averaging gradient and image entropy.
Wherein image averaging value refers to the average value of image pixel, reflects the average brightness of image (i.e. mural painting image), puts down Mean value is bigger, and picture quality effect is better, if image to be evaluated is I, the height and width of image are respectively M and N, image averaging value Calculation formula are as follows:
Graphics standard difference refers to that dispersion degree of the image pixel gray level value relative to mean value shows if standard deviation is bigger Gray level is more dispersed respectively in image, and picture quality effect is also better, the calculation formula of graphics standard difference are as follows:
Image averaging gradient can reflect details contrast and texture transformation in image, it reflects image to a certain extent Readability, the calculation formula of image averaging gradient are as follows:
Wherein Δ xF (a, b) and Δ yF (a, b) respectively indicates the first-order difference of pixel (a, b) in the x and y direction.
Image entropy refers to the average information of image, and the comentropy in image is bigger, and the information for illustrating that image includes is more, Assuming that be independent from each other between the gray value of each pixel in image, the intensity profile of mural painting image be p=p1, P2 ..., pi ..., pn }, wherein p (i) indicates the ratio between number of pixels and the total number of pixels of image that gray value is i, and n is gray level Sum, P (l) are the probability that occurs in the picture of gray value l, and L is the gray level of image, for 256 tonal gradations image and Speech, L=255, the calculation formula of image entropy are as follows:
After the effect factor of mural painting image is calculated, the figure of mural painting image is carried out according to mass parameter and the effect factor As the calculating of efficacy parameter.Specifically, the calculation formula of image effect parameter (Image Effect Parameter) are as follows:
S103: if image effect parameter is unsatisfactory for requiring, according to image effect parameter optimization acquisition parameters, and according to optimization Acquisition parameters afterwards resurvey mural painting image, until image effect parameter is met the requirements.
S104: if image effect parameter is met the requirements, the image of next acquisition position is carried out according to preset acquisition trajectories Acquisition.
Specifically, judging image effect parameter after the image effect parameter for the mural painting image for calculating the acquisition position Whether meet the requirements.Illustratively, according to acquisition environment and actual required precision, set requirement to image effect parameter as Meet the effect precision of IEP ≈ 10 or IEP ≈ 50.
If image effect parameter is unsatisfactory for requiring, being optimized according to image effect parameter to acquisition parameters (can also foundation Current environment parameter optimizes the information such as brightness, the adjustment camera shooting distance for adjusting light aid), so as to adjust subsequent bat The corresponding effect factor of the mural painting image taken the photograph.It is understood that initial acquisition parameters are automatic according to current environment by camera Setting.After the optimization for completing acquisition parameters, the mural painting shadow of current acquisition position is resurveyed according to the acquisition parameters after optimization Picture, and recalculate the effect factor and carry out the judgement of image effect parameter, until image effect parameter is met the requirements.
If image effect parameter is met the requirements, it is determined that the current suitable mural painting image of acquisition position is simultaneously saved, so The image collection of next acquisition position is carried out according to preset acquisition trajectories afterwards, until completing the image collection work of current mural painting Make.
It is above-mentioned, the mural painting image that same acquisition position is shot is screened according to image quality parameter, and calculating sifting The effect factor of mural painting image afterwards is obtained the image effect parameter of mural painting image by the effect factor, if image effect parameter is full Foot requires, it is determined that otherwise the mural painting image of the position optimizes shooting under the premise of guaranteeing that image quality parameter is met the requirements Parameter to be adjusted to the effect factor for influencing image efficacy parameter, and is resurveyed according to the acquisition parameters after optimization Mural painting image until the image effect parameter of mural painting image of acquisition is met the requirements, then carries out the mural painting image of the next position and adopts Collection adjusts different acquisition parameters for the varying environment of different acquisition position, to reach until completing the work of mural painting image collection To the effect image of unified standard, guarantee the quality of the mural painting image of each acquisition position.
In a possible embodiment, when the corresponding image effect parameter of the first acquisition time is met the requirements, will work as The corresponding environmental parameter in front position, acquisition parameters and image effect parameter form incidence relation, corresponding in the second acquisition time When environmental parameter changes, acquisition parameters are adjusted to meet the requirement of efficacy parameter according to the incidence relation.Wherein first Acquisition time and the second acquisition time are two for same acquisition position different acquisition times, can be gone out in collection process The case where now needing multi collect mural painting image, the stabilization of image effect parameter is ensured by the incidence relation.It is formed associated Key be the variation of environmental parameter, acquisition parameters and image effect parameter three's parameter be it is mutual, determining image imitate After fruit parameter, if environmental parameter does not change for the moment, image is acquired by changing acquisition parameters, if environmental parameter becomes Change, is equally balanced by adjusting acquisition parameters to guarantee the constant of image effect parameter.
In a possible embodiment, it synchronizes to form acquisition trajectories figure during mural painting image collection, record acquisition The information such as environmental parameter, acquisition parameters, the image effect parameter of formation when position, acquisition time, acquisition.It is big according to mural painting Small, collection rule and acquisition trajectories figure are stored in database and form automatically rule at association, when the wall for encountering same size Picture can use optimal acquisition scheme automatically.
On the basis of the above embodiments, Fig. 2 gives another mural painting image collection side provided by the embodiments of the present application The flow chart of method.The mural painting image collecting method is the materialization to above-mentioned mural painting image collecting method.With reference to Fig. 2, the mural painting Image collecting method includes:
S201: if based on same acquisition distance acquisition secco image, the acquisition distance is for acquiring mural painting image Image collecting device and the distance between mural painting.
Illustratively, if same acquisition position acquire secco image when, by range unit measure photographic device with The distance between mural painting guarantees that the environmental parameter when same position acquires mural painting image is consistent, and to mural painting When different acquisition position carries out image collection, the stabilization of acquisition distance is kept by range unit, improves the quality of image collection. Range unit can be tape measure, ruler and laser range finder etc., and the present embodiment range unit is preferably laser range finder, Laser Measuring Distance meter can be mounted on photographic device, and be arranged in the same direction with photographic device, and the accuracy of acquisition range measurement is improved.
S202: if calculating the image quality parameter of the secco image of acquisition.
S203: the corresponding image quality parameter of each mural painting image is compared with preset quality parameter.
Illustratively, preset quality parameter can need to set default matter according to the environmental parameter and the precision of images currently acquired Measure the value of parameter (if setting preset quality parameter is 1).If in the image matter for the secco image for calculating same acquisition position After measuring parameter, the corresponding image quality parameter of each mural painting image is compared with preset quality parameter, and generates quality ginseng Number comparing result.
S204: judge whether the image quality parameter of corresponding mural painting image meets the requirements according to comparing result.
S205: the mural painting image met the requirements is chosen.
Illustratively, after obtaining mass parameter comparing result, judge that mural painting image is according to mass parameter comparing result The no requirement for meeting image quality parameter.Specifically, if image quality parameter is greater than preset quality parameter, by corresponding mural painting Image screens out;If image quality parameter is less than or equal to preset quality parameter or in the deviation allowed band of preset quality parameter, Then retain corresponding mural painting image.Multiple mural painting images meet the requirement of image quality parameter if it exists, then choose wherein one The calculating of mural painting image progress subsequent image efficacy parameter.Such as choose the smallest mural painting image of image quality parameter or earliest Determine the mural painting image that image quality parameter is met the requirements.
In other embodiments, after obtaining mass parameter comparing result, it can first select image quality parameter minimum or connect One mural painting image of nearly preset quality parameter, then the requirement whether the mural painting image meets image quality parameter is verified, if full Foot requires, then chooses the calculating that the mural painting image carries out subsequent image efficacy parameter, otherwise optimize acquisition parameters and environmental parameter, And mural painting image is acquired in current acquisition position again, re-start the screening of mural painting image.
S206: the effect factor of the mural painting image after calculating sifting, and calculated according to the mass parameter and the effect factor The image effect parameter of mural painting image.
S207: if image effect parameter is unsatisfactory for requiring, according to image effect parameter optimization acquisition parameters, and according to optimization Acquisition parameters afterwards resurvey mural painting image, until image effect parameter is met the requirements.
S208: if image effect parameter is met the requirements, the image of next acquisition position is carried out according to preset acquisition trajectories Acquisition.
Illustratively, the acquisition trajectories of mural painting image can for arc type, wave, to angie type, circle and square-shaped etc., It is the progress path of acquisition position that its shape is corresponding.It is following to be described by taking the acquisition trajectories of arc type as an example.Such as Fig. 4 institute Show, mural painting is divided into 1-28 and has 28 positions altogether, and determines 1,4,7,8,11,14,15,18,21,22,25, No. 28 shooting position Respectively the first acquisition position, the second acquisition position, the 12nd acquisition position of third acquisition position ... are set, in order to effect The calculating and optimization of parameter.The image for acquiring first position within first time respectively, the acquisition second position in the second time Image and so on.Each acquisition position corresponds to the different time, keeps external environment condition parameter as far as possible in the corresponding time It is constant, if environmental parameter changes, made up by adjusting acquisition parameters, guarantees filming apparatus in equal shooting ring Operation is carried out under border, such as guarantees that each angle shot distance, the intensity of illumination of mural painting are identical with the transmitting brightness that receives.It obtains The mural painting image of No. 1 camera site defines the acquisition space coordinate of the first acquisition position, obtains the acquisition parameters (shooting such as camera Parameter setting used when the shooting of device setting) and environmental parameter (distance, illumination under the camera parameter setting when shooting are strong Degree, brightness etc.).After calculated efficacy parameter is met the requirements, it is determined that the acquisition parameters and mural painting shadow of first position acquisition Picture, and carry out the collecting work of next camera site.
It is above-mentioned, based on same acquisition distance acquisition mural painting image, guarantee that the imaging of the mural painting image of acquisition is consistent, and The corresponding image quality parameter of each mural painting image is compared with preset quality parameter, to screen and determine that picture quality is joined The satisfactory mural painting image of number, and the effect factor and image effect parameter of the mural painting image after calculating sifting, if image is imitated Fruit parameter is met the requirements, it is determined that the mural painting image and acquisition parameters of the position, the acquisition parameters after otherwise optimizing resurvey Mural painting image guarantees the mural painting image of each acquisition position until the image effect parameter of the mural painting image of acquisition is met the requirements Quality.
On the basis of the above embodiments, Fig. 3 gives another mural painting image collection side provided by the embodiments of the present application The flow chart of method.The mural painting image collecting method is the materialization to above-mentioned mural painting image collecting method.With reference to Fig. 3, the mural painting Image collecting method includes:
S301: if the image quality parameter of the secco image of acquisition is calculated, according to described image mass parameter to mural painting Image is screened.
S302: the effect factor of the mural painting image after calculating sifting, and calculated according to the mass parameter and the effect factor The image effect parameter of mural painting image.
S303: if image effect parameter is unsatisfactory for requiring, the brightness of mural painting filming image is adjusted according to image effect parameter With contrast to optimize acquisition parameters, and mural painting image is resurveyed according to the acquisition parameters after optimization, until image effect is joined Number is met the requirements.
Illustratively, acquisition parameters specifically include brightness and contrast in the present embodiment, wherein according to image effect parameter The brightness and contrast of mural painting filming image is adjusted to optimize acquisition parameters specifically:
The brightness and contrast of mural painting filming image is adjusted according to image effect parameter, and brightness and contrast is being adjusted Meet following formula in the process:
IQS=[x-127.5* (1-B)] * tan ((45+44*c)/180*pi)+127.5* (1+B);
Wherein, IQS is image quality parameter, is remained unchanged during the adjustment;X is pixel value;K=tan ((45+44* C)/180*pi), arctan (k) value [1,89];C is contrast, c value [- 1,1];B is brightness, B value [- 1,1].Image Mass parameter IQS is related with brightness of image, image pixel value and contrast, and IQS is equivalent to the equal of image intensity contrast's degree adjusting Weighing apparatus value is equivalent to the grey linear transformation of image.
From above-mentioned formula it is found that as B=0, at this moment IQS=(x-127.5) * k+127.5 passes through the value of setting c It realizes and only adjusts contrast;As c=0, k=1:IQS=x+255*B, at this moment by set B value can be realized only adjust it is bright Degree.By adjusting brightness and contrast according to above formula and keeping IQS value constant during optimizing acquisition parameters, and make The subsequent resulting image effect parameter IEP of shooting is obtained to meet the requirements.
S304: if image effect parameter is met the requirements, the image of next acquisition position is carried out according to preset acquisition trajectories Acquisition.
Illustratively, it can be fixed by the way that the image collection in front of mural painting is arranged in for shooting the photographic device of mural painting image Frame is fixed and moves.As shown in figure 5, image collection fixed frame includes orthogonal support frame 1 and movable stand 2, wherein Support frame 1 is in the form of a column and is vertically arranged, and the quantity of support frame 1 is two.Movable stand 2 is arranged in horizontal positioned column, and It is set between two support frames 1, is provided with vertical guide (not shown) on support frame 1 along the vertical direction, movable stand 2 Both ends are respectively slidably connected in the vertical guide of one of support frame 1, so that movable stand 2 can be relative to gliding on support frame 1 It is dynamic, and the movement of movable stand 2 is limited in the vertical direction, the case where movable stand 2 is detached from support frame 1 is reduced, thus Increase the stability of image collection fixed frame.
Further, in order to be driven to the sliding up and down on support frame 1 of movable stand 2, it is arranged on support frame 1 perpendicular To driving device 4.The quantity of vertical drive 4 is two in the present embodiment, and respectively corresponding with a support frame 1, is existed respectively The both ends of movable stand 2 control the movement of movable stand 2 in the vertical direction.Vertical drive 4 specifically includes lifting electricity Machine and connecting rope 6, wherein lifting motor 5 is laterally disposed, and is fixedly mounted on the top of support frame 1, and its position is higher than shifting Moving frame 2.For the one ends wound of connecting rope 6 in the shaft of lifting motor 5, the other end of connecting rope 6 is fixedly connected on movable stand 2.
Meanwhile be provided on movable stand 2 can be along the mounting base 3 that the length direction of movable stand 2 moves horizontally, mounting base 3 It is connected with the lateral driver device (not shown) for driving it to move horizontally on movable stand 2.Lateral driver device packet Power motor, power wheel and coupled wheel (not shown) are included, wherein power motor is fixedly connected on mounting base 3, coupled wheel edge It laterally rolls and is connected to movable stand, and coupled wheel is rotationally connected with mounting base 3, power wheel is fixedly and coaxially connected in power motor Output shaft, and be sequentially connected with coupled wheel.
Photographic device is mounted in mounting base 3, and is arranged when in use towards mural painting.Photographic device, vertical drive And lateral driver device also communication link is connected to controlling terminal 7, controlling terminal 7 respectively with photographic device, vertical drive with And lateral driver device is communicated and is controlled it.
Controlling terminal 7 preserves the acquisition trajectories of current image collecting work, and the current position of record photographic device in real time Coordinate is set, when needing to continue according to acquisition trajectories Mobile photographic device to next acquisition position image collection work, is passed through Controlling terminal 7 controls vertical drive and lateral driver device, so that the photographic device controlled in mounting base moves Move to next acquisition position, and controlling terminal 7 can acquisition parameters to photographic device and working condition control.And When the image effect parameter of the mural painting image of corresponding acquisition position acquisition is met the requirements, controlling terminal 7 can be automatically according to acquisition rail Mark reaches next acquisition position and continues collecting work.
It is additionally provided with close to the side of mural painting for being mended for the image collection of photographic device in image collection fixed frame The light compensating apparatus 8 of light, light compensating apparatus 8 use vertical light aid, and there are two vertical light aid settings, places it in when in use Image collection fixed frame is arranged close to the side of mural painting, and in the splayed expanded to mural painting both ends.
It is above-mentioned, keep image quality parameter constant during optimizing acquisition parameters, and pass through optimization acquisition parameters pair The effect factor of captured mural painting image is adjusted, and improves the quality and efficiency of mural painting image collection.
On the basis of the above embodiments, Fig. 6 is that the structure of mural painting image acquisition device provided by the embodiments of the present application is shown It is intended to.With reference to Fig. 6, mural painting image acquisition device provided in this embodiment include screening module 61, efficacy parameter obtain module 62, Parameter optimization module 63 and acquisition propulsion die 64.
Wherein, screening module 61, if the image quality parameter of the secco image for calculating acquisition, according to described image Mass parameter screens mural painting image;Efficacy parameter obtains module 62, the effect for the mural painting image after calculating sifting The factor, and according to the image effect parameter of the mass parameter and effect factor calculating mural painting image;Parameter optimization module 63 is used In resurveying mural painting image according to image effect parameter optimization acquisition parameters, and according to the acquisition parameters after optimization, test again Card image effect parameter is until image effect parameter is met the requirements;Propulsion die 64 is acquired, for according to preset acquisition trajectories Carry out the image collection of the next position.
It is above-mentioned, the mural painting image that same acquisition position is shot is screened according to image quality parameter, and calculating sifting The effect factor of mural painting image afterwards is obtained the image effect parameter of mural painting image by the effect factor, if image effect parameter is full Foot requires, it is determined that otherwise the mural painting image of the position optimizes shooting under the premise of guaranteeing that image quality parameter is met the requirements Parameter to be adjusted to the effect factor for influencing image efficacy parameter, and is resurveyed according to the acquisition parameters after optimization Mural painting image until the image effect parameter of mural painting image of acquisition is met the requirements, then carries out the mural painting image of the next position and adopts Collection adjusts different acquisition parameters for the varying environment of different acquisition position, to reach until completing the work of mural painting image collection To the effect image of unified standard, guarantee the quality of the mural painting image of each acquisition position.
In a possible embodiment, if screening module 61 is specifically used for calculating the image matter of the secco image of acquisition Measure parameter;The corresponding image quality parameter of each mural painting image is compared with preset quality parameter;Sentenced according to comparing result Whether the image quality parameter of disconnected corresponding mural painting image meets the requirements;Choose the mural painting image met the requirements.
Mural painting image acquisition device provided by the embodiments of the present application can be used for executing mural painting shadow provided by the above embodiment As acquisition method, have corresponding function and beneficial effect.
The embodiment of the present application provides a kind of computer, which can integrate mural painting image provided by the embodiments of the present application Acquisition device.Fig. 7 is the structural schematic diagram of computer provided by the embodiments of the present application.With reference to Fig. 7, which includes: communication Module 73, input unit 75, output device 76, display screen 73, memory 72 and one or more processors 71;The storage Device 72, for storing one or more programs;When one or more of programs are executed by one or more of processors 71, So that one or more of processors 71 realize the mural painting image collecting method as provided by the embodiment of the present application.The computer Processor 71, memory 72, communication module 73, display screen 73, input unit 75 and the output device 76 of equipment can pass through Bus or other modes connect, in Fig. 7 for being connected by bus.
Memory 72 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, as described in the application any embodiment the corresponding program instruction/module of mural painting image collecting method (for example, Screening module 61, efficacy parameter in mural painting image acquisition device obtain module 62, parameter optimization module 63 and acquisition propulsion module Block 64).Memory 72 can mainly include storing program area and storage data area, wherein storing program area can storage program area, Application program needed at least one function;Storage data area, which can be stored, uses created data etc. according to equipment.In addition, Memory 72 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk Memory device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 72 can be wrapped further The memory remotely located relative to processor 71 is included, these remote memories can pass through network connection to equipment.Above-mentioned net The example of network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Further, communication device is used to wiredly and/or wirelessly connect with other equipment foundation, and carries out data transmission.
Software program, instruction and the module that processor 71 is stored in memory 72 by operation, thereby executing equipment Various function application and data processing, that is, realize above-mentioned mural painting image collecting method.
The computer equipment of above-mentioned offer can be used for executing mural painting image collecting method provided by the above embodiment, have phase The function and beneficial effect answered.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable When being executed by computer processor for executing mural painting image collecting method, which includes: meter for instruction If calculating the image quality parameter of the secco image of acquisition, mural painting image is screened according to described image mass parameter;Meter The effect factor of mural painting image after calculating screening, and imitated according to the image that the mass parameter and the effect factor calculate mural painting image Fruit parameter;If image effect parameter is unsatisfactory for requiring, according to image effect parameter optimization acquisition parameters, and according to the bat after optimization It takes the photograph parameter and resurveys mural painting image, until image effect parameter is met the requirements;If image effect parameter is met the requirements, according to pre- If acquisition trajectories carry out the image collection of next acquisition position.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location (such as by network connection different computer systems in) two or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application The mural painting image collecting method that executable instruction is not limited to the described above, can also be performed provided by the application any embodiment Relevant operation in mural painting image collecting method.
The mural painting image acquisition device and computer provided in above-described embodiment can be performed the application any embodiment and be mentioned The mural painting image collecting method of confession, the not technical detail of detailed description in the above-described embodiments, reference can be made to the application is arbitrarily implemented Mural painting image collecting method provided by example.
The technical principle that above are only the preferred embodiment of the application and used.The application is not limited to spy described here Determine embodiment, various significant changes, readjustment and the substitution being able to carry out for a person skilled in the art are not departing from The protection scope of the application.Therefore, although being described in further detail by above embodiments to the application, this Shen Above embodiments please be not limited only to, can also include other more equivalence enforcements in the case where not departing from the application design Example, and scope of the present application is determined by the scope of the claims.

Claims (10)

1. mural painting image collecting method characterized by comprising
If calculating the image quality parameter of the secco image of acquisition, mural painting image is sieved according to described image mass parameter Choosing;
The effect factor of mural painting image after calculating sifting, and mural painting image is calculated according to the mass parameter and the effect factor Image effect parameter;
If image effect parameter is unsatisfactory for requiring, according to image effect parameter optimization acquisition parameters, and according to the shooting after optimization Parameter resurveys mural painting image, until image effect parameter is met the requirements;
If image effect parameter is met the requirements, the image collection of next acquisition position is carried out according to preset acquisition trajectories.
2. mural painting image collecting method according to claim 1, which is characterized in that if the secco shadow for calculating acquisition Before the image quality parameter of picture, further includes:
If the acquisition distance is the Image Acquisition for acquiring mural painting image based on same acquisition distance acquisition secco image The distance between device and mural painting.
3. mural painting image collecting method according to claim 1, which is characterized in that described according to described image mass parameter Carrying out screening to mural painting image includes:
The corresponding image quality parameter of each mural painting image is compared with preset quality parameter;
Judge whether the image quality parameter of corresponding mural painting image meets the requirements according to comparing result;
Choose the mural painting image met the requirements.
4. mural painting image collecting method according to claim 1, which is characterized in that for same acquisition position, first When the corresponding image effect parameter of acquisition time is met the requirements, by the corresponding environmental parameter in current location, acquisition parameters and image Efficacy parameter forms incidence relation, when the corresponding environmental parameter of the second acquisition time changes, according to the incidence relation Acquisition parameters are adjusted to meet the requirement of efficacy parameter.
5. mural painting image collecting method according to claim 1, which is characterized in that the acquisition parameters include brightness and right Degree of ratio;
It is described according to image effect parameter optimization acquisition parameters specifically:
The brightness and contrast is adjusted, the brightness and contrast meets following formula in adjustment process:
IQS=[x-127.5* (1-B)] * tan ((45+44*c)/180*pi)+127.5* (1+B);
Wherein, IQS is image quality parameter, is remained unchanged during the adjustment;X is pixel value;K=tan ((45+44*c)/ 180*pi), arctan (k) value [1,89];C is contrast, c value [- 1,1];B is brightness, B value [- 1,1].
6. mural painting image collecting method according to claim 1, which is characterized in that the calculating of described image mass parameter is public Formula are as follows:
Wherein, a ∈ 1,2,3 ... r;B ∈ 1,2,3 ... s, r and s are the height and width of mural painting image, I respectively (a, b) is image intensity of the mural painting image at (a, b) pixel, and η (a, b) and δ (a, b) are respectively the local average of mural painting image And local variance.
7. mural painting image collecting method according to claim 6, which is characterized in that the effect factor includes image averaging Value, graphics standard is poor, image averaging gradient and image entropy, in which:
Image averaging value
Graphics standard is poor
Image averaging gradient
Image entropy
Wherein, M and N is respectively the height and width of mural painting image, and Δ xF (a, b) and Δ yF (a, b) respectively indicate pixel (a, b) and exist First-order difference on the direction x and y, the intensity profile of mural painting image are p={ p1, p2 ..., pi ..., pn }, and wherein p (i) is indicated Gray value is the ratio between number of pixels and the total number of pixels of image of i, and n is gray level sum, and P (l) is that gray value l goes out in the picture Existing probability, L are the gray level of image.
8. mural painting image collecting method according to claim 7, which is characterized in that the calculating of described image efficacy parameter is public Formula are as follows:
9. mural painting image acquisition device characterized by comprising
Screening module, if the image quality parameter of the secco image for calculating acquisition, according to described image mass parameter pair Mural painting image is screened;
Efficacy parameter obtains module, for the effect factor of the mural painting image after calculating sifting, and according to the mass parameter and The image effect parameter of effect factor calculating mural painting image;
Parameter optimization module is used for according to image effect parameter optimization acquisition parameters, and again according to the acquisition parameters after optimization Mural painting image is acquired, authentication image efficacy parameter is until image effect parameter is met the requirements again;
Propulsion die is acquired, for carrying out the image collection of the next position according to preset acquisition trajectories.
10. a kind of computer characterized by comprising display screen, memory and one or more processors;
The memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Existing mural painting image collecting method a method as claimed in any one of claims 1-8.
CN201910745620.0A 2019-08-13 2019-08-13 Mural image acquisition method and device, computer equipment and storage medium Active CN110381259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910745620.0A CN110381259B (en) 2019-08-13 2019-08-13 Mural image acquisition method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910745620.0A CN110381259B (en) 2019-08-13 2019-08-13 Mural image acquisition method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110381259A true CN110381259A (en) 2019-10-25
CN110381259B CN110381259B (en) 2021-08-31

Family

ID=68259176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910745620.0A Active CN110381259B (en) 2019-08-13 2019-08-13 Mural image acquisition method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110381259B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110930326A (en) * 2019-11-15 2020-03-27 浙江大华技术股份有限公司 Image and video defogging method and related device
CN116708683A (en) * 2023-08-01 2023-09-05 文博安全科技有限公司 Digital automatic acquisition system and method for wall painting

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685952A (en) * 2013-12-06 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Terminal and image processing method
WO2014065854A1 (en) * 2012-10-26 2014-05-01 Google Inc. Method, system and computer program product for gamifying the process of obtaining panoramic images
CN105049812A (en) * 2015-08-07 2015-11-11 清华大学深圳研究生院 Unmanned aerial vehicle portable ground station processing method and system
CN107146200A (en) * 2017-04-25 2017-09-08 广西大学 A kind of unmanned aerial vehicle remote sensing image split-joint method based on image mosaic quality evaluation
CN108769538A (en) * 2018-08-16 2018-11-06 Oppo广东移动通信有限公司 Atomatic focusing method, device, storage medium and terminal
CN109300082A (en) * 2017-07-25 2019-02-01 中兴通讯股份有限公司 Image-pickup method device, acquisition equipment and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014065854A1 (en) * 2012-10-26 2014-05-01 Google Inc. Method, system and computer program product for gamifying the process of obtaining panoramic images
CN103685952A (en) * 2013-12-06 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Terminal and image processing method
CN105049812A (en) * 2015-08-07 2015-11-11 清华大学深圳研究生院 Unmanned aerial vehicle portable ground station processing method and system
CN107146200A (en) * 2017-04-25 2017-09-08 广西大学 A kind of unmanned aerial vehicle remote sensing image split-joint method based on image mosaic quality evaluation
CN109300082A (en) * 2017-07-25 2019-02-01 中兴通讯股份有限公司 Image-pickup method device, acquisition equipment and computer storage medium
CN108769538A (en) * 2018-08-16 2018-11-06 Oppo广东移动通信有限公司 Atomatic focusing method, device, storage medium and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110930326A (en) * 2019-11-15 2020-03-27 浙江大华技术股份有限公司 Image and video defogging method and related device
CN116708683A (en) * 2023-08-01 2023-09-05 文博安全科技有限公司 Digital automatic acquisition system and method for wall painting
CN116708683B (en) * 2023-08-01 2023-10-10 文博安全科技有限公司 Digital automatic acquisition system and method for wall painting

Also Published As

Publication number Publication date
CN110381259B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US10554943B2 (en) Systems and methods for digital photography
CN107742511B (en) The method and display methods that module mesopic vision gap is eliminated after display screen splicing
CN102662295B (en) Method and device for adjusting projection display screen size of projector
RU2450476C2 (en) Device and method to determine optimal backlighting
CN100444022C (en) Automatic focus adjustment for projector
US20140176757A1 (en) Color balance in digital photography
US8306360B2 (en) Device and method for obtaining clear image
US10713820B2 (en) System and method for adjusting brightness in multiple images
CN105979162A (en) Automatic exposure adjustment method and device for extensible dynamic range images
CN104103068B (en) For controlling the method and apparatus of virtual camera
WO2008148291A1 (en) Device and method for calibrating multi-screen wall
JP2009520398A (en) Apparatus and method for automatically adjusting display under varying lighting conditions
CN110254716A (en) Information processing unit, information processing method and imaging system
CN103237175B (en) Based on the Automatic exposure method of digital camera of human-eye visual characteristic
CN110381259A (en) Mural painting image collecting method, device, computer equipment and storage medium
CN108718373A (en) Device for image
CN103327259A (en) Parameter adjusting method and device of camera for correcting LED (Light Emitting Diode) display screen
CN109639992B (en) Projection method based on automatic exposure control and automatic switching of projection patterns
CN108259877B (en) A kind of white balancing treatment method and device
CN105450939A (en) High dynamic range image display method and mobile terminal
US7952610B2 (en) Information processing apparatus, information processing method, storage medium, and program
CN103973963A (en) Image acquisition device and image processing method thereof
CN104751407A (en) Method and device used for blurring image
US20200019041A1 (en) Lighting assembly for producing realistic photo images
CN108573480A (en) Ambient light compensation method, apparatus based on image procossing and electronic equipment

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