CN114025085A - Method, device and equipment for switching working modes of camera equipment and storage medium - Google Patents

Method, device and equipment for switching working modes of camera equipment and storage medium Download PDF

Info

Publication number
CN114025085A
CN114025085A CN202111270583.6A CN202111270583A CN114025085A CN 114025085 A CN114025085 A CN 114025085A CN 202111270583 A CN202111270583 A CN 202111270583A CN 114025085 A CN114025085 A CN 114025085A
Authority
CN
China
Prior art keywords
component
image
value
mode
rgb data
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
CN202111270583.6A
Other languages
Chinese (zh)
Other versions
CN114025085B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202111270583.6A priority Critical patent/CN114025085B/en
Publication of CN114025085A publication Critical patent/CN114025085A/en
Application granted granted Critical
Publication of CN114025085B publication Critical patent/CN114025085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for switching the working mode of camera equipment, belonging to the technical field of image processing, wherein the method comprises the following steps: acquiring RGB data of all pixel points of a current image; when the working mode of the camera equipment is judged to be a color mode, according to RGB data corresponding to pixel points contained in each image block in the image, when a switching reference value for representing the dispersion degree of a u component and a v component of the image is determined to be larger than a first dispersion degree threshold value, the working mode is switched to a fog-penetrating mode; when the working mode of the camera equipment is judged to be the fog penetration mode, calculating a v component value corresponding to each image block according to RGB data corresponding to a pixel point contained in an image; and when the discrete degree of the characteristic v component is determined to meet the preset condition, switching the working mode to a color mode. According to the method, whether the working mode is switched or not is judged by judging whether the numerical mode meets the preset condition or not, and the working scene can be switched more accurately.

Description

Method, device and equipment for switching working modes of camera equipment and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for switching operating modes of an image capturing device.
Background
With the continuous development of video monitoring technology, the requirements on the performance of video monitoring and the complexity of application scenes are higher and higher, and accordingly, cameras with fog-penetrating functions are produced and applied more and more widely.
The camera with the fog penetrating function is mainly applied to improving monitoring quality pictures in extreme weather with low visibility (such as rainy days, heavy fog and haze), so that the images are transparent and clear.
Compared with the conventional camera, the camera with the fog penetrating function is additionally provided with the optical fog penetrating filter, under the normal weather condition, the camera with the fog penetrating function acquires images by using the color filter and the lens in a matching way as the conventional camera, and under the extreme weather condition, the camera with the fog penetrating function acquires images by using the optical fog penetrating filter and the lens in a matching way.
The principle that the optical fog-penetrating filter piece can play a role in penetrating fog in extreme weather is that haze belongs to an aerosol substance in the air, and infrared rays can less be influenced by the aerosol and can penetrate the aerosol, so that a sensor can capture a scene behind the haze. However, since the operating state is based on the 780nm to 950nm band, if the image is displayed by a color mode, the color cast phenomenon occurs, and therefore, the corresponding image output under the optical fog-penetrating filter is a black and white image.
In the existing technical scheme, a software algorithm is needed to judge whether extreme weather exists or not in the environment where the current equipment is located or not and whether the condition that an optical fog-penetrating filter disc is needed or not is met. The traditional algorithm utilizes the contrast intensity value of the current picture, and if the contrast of the picture cannot reach the expectation all the time, the optical fog penetration is triggered to be used. The problem that is brought about in this way is that after optical fog penetration is used, whether the current environment is not in the haze weather is judged by taking the value of the contrast as a reference, and it is difficult to trigger switching back to the color filter, so that under the condition that the weather possibly exists is good, the picture is in the optical fog penetration state and shows similar black and white colors.
Therefore, how to accurately switch the operating modes of the camera is a technical problem to be solved.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for switching the working mode of camera equipment, which solve the technical problem that the color filter cannot be switched back in time in the traditional mode by utilizing the distribution characteristic of a v component in the fog penetration mode.
The embodiment of the application provides the following specific technical scheme:
in a first aspect, an embodiment of the present application provides a method for switching operating modes of an image capturing apparatus, including: acquiring RGB data of all pixel points of a current image of the camera equipment;
when the working mode of the image pickup equipment is judged to be a color mode, respectively calculating a u component value and a v component value corresponding to each image block according to RGB data corresponding to pixel points contained in each image block in the image, and determining a switching reference value representing the dispersion degree of the u component and the v component of the image according to the u component value and the v component value corresponding to each image block; when the switching reference value is smaller than a first discrete degree threshold value, switching the working mode of the camera equipment into a fog-penetrating mode;
when the working mode of the camera equipment is judged to be a fog-penetrating mode, respectively calculating v component values corresponding to the image blocks according to RGB data corresponding to pixel points contained in the image blocks; when the discrete degree representing the v component is determined to meet a preset condition, switching the working mode of the camera equipment to a color mode;
each of the image blocks is not overlapped in the image, and each image block at least comprises one pixel point.
The technical scheme of this application embodiment compares with the traditional technical scheme who judges whether to switch the working mode through the mode of adjustment contrast, whether to satisfy the mode of predetermineeing the condition through the mode of numerical value and judge whether to switch the working mode, can be more accurate switch the working scene, got rid of because of the technical problem that equipment adjustment contrast caused the interference, and under fog-penetrating mode, utilize the distribution characteristics of v weight, can't in time switch back the technical problem of colored filter under the solution traditional mode.
Optionally, in some embodiments, the determining, according to the u component value and the v component value, a switching reference value representing a degree of dispersion of the u component and the v component of the image specifically includes:
calculating a sum of a square of the u-component value and a square of the v-component value;
calculating a variance value by taking the square root of the sum as a variable;
the variance value is used as a switching reference value for representing the discrete degree of the u component and the v component of the image.
According to the method, the common variance of the u component value and the v component value of the image block is calculated, the dispersion degree of the u component and the dispersion degree of the v component are considered comprehensively, the dispersion degree of the u component and the dispersion degree of the v component of the image are evaluated in the form of the sum of squares of the u component value and the v component value to serve as the switching reference value, the switching method is reliable, and a new technical scheme is provided for solving the technical problem of how to accurately switch the working mode of the camera equipment.
Optionally, in some embodiments, determining that the degree of dispersion characterizing the v component satisfies a preset condition specifically includes:
performing histogram statistics by taking the v component value as an abscissa, wherein the coverage degree of the abscissa interval is characterized as the discrete degree of the v component;
and determining that the abscissa intervals of the histogram are all covered, and meeting a preset condition.
According to the embodiment of the application, the discrete degree of the v component is judged in a mode that whether the abscissa interval of the histogram is covered, and then whether the working mode of the camera equipment needs to be switched is judged.
Optionally, in some embodiments, determining that the degree of dispersion characterizing the v component satisfies a preset condition specifically includes:
performing histogram statistics by taking the v component value as an abscissa;
calculating a variance value of the histogram, the variance value of the histogram being characterized by a degree of dispersion of the v component;
and determining that the variance value of the histogram is smaller than a second discrete degree threshold value and meets a preset condition.
Optionally, in some embodiments, the performing histogram statistics by using the v component value as an abscissa specifically includes:
the abscissa of the histogram is the v component value, and the sampling interval of the abscissa is X equally spaced intervals, wherein X is an integer greater than 9 and smaller than 256;
the ordinate of the histogram is the cumulative value of the v components.
According to the technical scheme, the calculation amount of the data can be reduced so as to accelerate the calculation speed of the camera equipment, the calculation amount of the data is relatively reduced, if the calculation power of the current camera equipment is insufficient, the calculation speed can be accelerated by calculating the histogram variance, the response time of the camera equipment is relatively accelerated, and the calculation resources of the camera equipment are saved.
Optionally, in some embodiments, determining that the degree of dispersion characterizing the v component satisfies a preset condition specifically includes:
calculating the variance value of the v component according to the v component value, wherein the variance value of the v component is characterized by the discrete degree of the v component;
and determining that the variance value of the v component is smaller than a third discrete degree threshold value and meets a preset condition.
According to the technical scheme of the embodiment of the application, due to the fact that no estimation value exists, all the data of the v component directly participate in calculation, the calculation result is accurate, the result obtained by comparing the variance value of the v component with the third discrete degree threshold is accurate, and the working mode switching time of the image pickup equipment is accurate.
Optionally, in some embodiments, the acquiring RGB data of all pixel points of the current image of the image capturing device specifically includes:
acquiring RGB data of all pixel points of a current image of the camera equipment according to set interval duration; or
And acquiring RGB data of all pixel points of the current image of the camera equipment according to the set interval image frame number.
According to the technical scheme, the environmental scene of the camera equipment does not need to be calculated all the time, the calculation power is saved, the occupied time of calculating the environmental scene is reduced, and the response speed is relatively accelerated.
Optionally, in some embodiments, the calculating, according to the RGB data corresponding to the pixel points included in each image block in the image, a u component value and a v component value corresponding to each image block respectively includes:
calculating the average value of the RGB data of each pixel point in the image block according to the RGB data of each pixel point contained in each image block in the image;
taking the average value of the RGB data of each image block as the RGB data corresponding to each image block;
and calculating u component values and v component values corresponding to the image blocks according to the r channel values, the g channel values and the b channel values in the RGB data of the image blocks.
According to the technical scheme of the embodiment of the application, the average value of RGB of the pixel points in the image blocks is used as RGB data of the corresponding image blocks, a technical scheme is provided for how to calculate the u component value and the v component value corresponding to each image block, the calculation amount of the u component value and the v component value can be reduced, the calculation resources are saved, and the response speed of the camera equipment is relatively accelerated.
Optionally, in some embodiments, the method further includes: and after the working mode is switched, adjusting the image pickup parameters in an ISP module of the image pickup equipment, wherein the ISP module at least comprises one of a contrast module, a color module and an exposure module.
In a second aspect, the present application further provides an apparatus for switching operating modes of an image capturing device, including: the device comprises a processing module and an adjusting module;
the processing module is used for acquiring RGB data of all pixel points of a current image of the camera equipment, and when the working mode of the camera equipment is a color mode, respectively calculating a u component value and a v component value corresponding to each image block according to the RGB data corresponding to the pixel points contained in each image block in the image; determining a switching reference value representing the dispersion degree of the u component and the v component of the image according to the u component value and the v component value corresponding to each image block; when the switching reference value is smaller than a first discrete degree threshold value, sending a first control signal representing that the working mode of the camera equipment is a fog penetration mode to the adjusting module; when the working mode of the camera equipment is a fog-penetrating mode, respectively calculating v component values corresponding to the image blocks according to RGB data corresponding to pixel points contained in the image blocks; when the discrete degree representing the v component is determined to meet a preset condition, sending a second control signal representing that the working mode of the camera equipment is a color mode to the adjusting module, wherein the image blocks are not overlapped in the image, and each image block at least comprises one pixel point;
the adjusting module is used for receiving the control signal sent by the processing module, controlling the color filter to be matched with the lens of the camera equipment to acquire images when receiving the second control signal, and controlling the optical fog-penetrating filter to be matched with the lens of the camera equipment to acquire images when receiving the first control signal.
In a third aspect, the present application provides an image pickup apparatus comprising: a memory and a processor, wherein the processor is capable of,
the memory to store computer instructions;
the processor configured to execute the computer instructions to implement the method of any of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any of the first aspects.
The technical scheme of this application embodiment compares with the traditional technical scheme who judges whether to switch the working mode through the mode of adjustment contrast, whether to satisfy the mode of predetermineeing the condition through the mode of numerical value and judge whether to switch the working mode, can be more accurate switch the working scene, got rid of because of the technical problem that equipment adjustment contrast caused the interference, and under fog-penetrating mode, utilize the distribution characteristics of v weight, solved the technical problem that can't in time switch back to the color filter piece under the traditional mode.
Drawings
Fig. 1 is a flowchart of a method for switching operating modes of an image capturing apparatus according to an embodiment of the present application;
fig. 2 is a uv distribution diagram based on a color mode of an outdoor environment sunny scene according to an embodiment of the present application, where an abscissa is a u component and an ordinate is a v component;
fig. 3 is a uv distribution diagram in a color mode based on an outdoor environment haze weather scene provided in an embodiment of the present application, where an abscissa is a u component and an ordinate is a v component;
fig. 4 is a uv distribution diagram based on the fog penetrating mode in an outdoor environment sunny scene provided in the embodiment of the present application, where an abscissa is a u component and an ordinate is a v component;
fig. 5 is a uv distribution diagram based on the outdoor environment haze weather scene fog penetration mode provided in the embodiment of the present application, where an abscissa is a u component and an ordinate is a v component;
FIG. 6 is a statistical schematic of a histogram performed with the abscissa as the v component of FIG. 4;
FIG. 7 is a statistical schematic of a histogram performed with the abscissa as the v component of FIG. 5;
fig. 8 is a schematic diagram of positions of pixels included in a certain block according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to describe the technical means of the present application in detail, the following detailed description will be given by means of specific examples.
Fig. 1 exemplarily shows a flowchart of an operation mode switching method of an image pickup apparatus.
The method comprises the following specific steps:
s101: acquiring RGB data of all pixel points of a current image of the camera equipment;
the present image is analyzed according to the present image obtained by the image pickup device to obtain RGB data of all pixel points in the image, and the manner of obtaining RGB data is not limited here, and those skilled in the art can obtain RGB data in various manners according to the prior art.
S102: judging the working mode of the camera equipment;
the working mode of the camera device includes a color mode and a fog-penetrating mode, and the working mode of the camera device can be judged in various modes, such as judgment through a switch for controlling the working mode in the camera device, judgment through an image collected by the camera device, judgment through a filter currently used by the camera device, and various modes are available, which are not limited herein.
S103: respectively calculating u component values and v component values corresponding to the image blocks according to RGB data corresponding to pixel points contained in the image blocks;
the image blocks are non-overlapping image blocks in the image, and each image block at least comprises one pixel point, namely each pixel point can be used as one image block, and a plurality of pixel points can also be used as one image block.
In an actual application process, an acquired image may be divided into M × N tiles, M, N is an integer greater than 0, preferably, M and N are integers greater than or equal to 3, the number of M and N may be divided according to actual needs, if the acquired image is 1920 × 1080 pixels, the image may be divided into 17 × 15 tiles, the image may be divided into several tiles, and several pixels are combined into one tile for processing, so that an actual operation amount may be reduced, a reaction speed of the image capturing device may be increased, and of course, calculation may also be performed according to an actual pixel value, for example, calculation may be performed with 1920 × 1080 pixels.
The u component and the v component are calculated according to the r channel value, the g channel value and the b channel value in the RGB data of the tile, and the calculation method may be:
u=lg(g)-lg(r);
v=lg(g)-lg(b);
lg is a common logarithm with the base of 10, g represents a g channel value, r represents a r channel value, b represents a b channel value, each image block needs to calculate u component values and v component values, if the obtained actual pixels are 1920 × 1080 pixels and each image block only comprises one pixel, 1920 × 1080 u component values and v component values are obtained, if the image is divided into 17 × 15 image blocks, 17 × 15 u component values and v component values only need to be calculated, and the calculation amount can be reduced.
S104: and determining a switching reference value representing the dispersion degree of the u component and the v component of the image according to the u component value and the v component value corresponding to each image block.
There are various functions for representing the degree of dispersion, such as full range, mean deviation, standard deviation, coefficient of variation, quartile, variance, etc., and all the functions can be used to represent the degree of dispersion of the data distribution.
In the following examples, the dispersion degree of the u-component value and the v-component value is described by taking the variance as an example, but those skilled in the art are not limited to the variance described in the present application, and may be any of the dispersion degrees described in the present application as long as they are calculation methods representing the dispersion degree of the data distribution.
Referring to fig. 2 and 3, fig. 2 is a uv distribution diagram in a color mode based on an outdoor environment sunny scene, where an abscissa is a u component and an ordinate is a v component; fig. 3 is a uv distribution diagram in a color mode in the same scene based on an outdoor environment haze weather scene, where the abscissa is a u component and the ordinate is a v component.
As can be seen from the figure, in a sunny scene, the dispersion degree of the uv component is relatively concentrated, as shown in fig. 2, and in a haze scene, the dispersion degree of the uv component is relatively dispersed, as shown in fig. 3, so that the dispersion degree of the uv component can be estimated by calculating the uv component mixed variance, and the switching reference value representing the dispersion degree of the uv component can be determined.
S105: is the handover reference value less than the first discrete degree threshold?
If yes, go to step S106, otherwise go to step S101.
If the switching reference value is greater than the first discrete degree threshold, the discrete degree of the characteristic uv component is relatively large, and the set first discrete degree threshold representing the discrete degree threshold is already exceeded, so that the currently adopted color mode no longer meets the requirement of image acquisition.
Otherwise, the original working mode, i.e. the color mode, is still used to acquire the image.
The characteristic discrete degree switching reference value is not limited here, the adopted threshold values are different according to different functions for representing the discrete degree of the uv component, and a person skilled in the art only needs to set a reasonable threshold value according to actual conditions.
S106: the working mode of the camera equipment is switched to a fog penetration mode;
and adjusting the working mode of the camera equipment, and switching the color mode into the fog-penetrating working mode, for example, switching the color filter used in the color mode into the optical fog-penetrating filter used in the fog-penetrating mode to be matched with a lens of the camera equipment to acquire an image.
S107: when the working mode of the camera equipment is judged to be a fog-penetrating mode, respectively calculating v component values corresponding to all the image blocks according to RGB data corresponding to pixel points contained in all the image blocks;
when the operation mode of the image pickup apparatus is the fog-through mode, the manner of determining whether to switch to the color mode is different from the above-described manner.
In the fog penetration mode, because the optical fog penetration filter adopted in the fog penetration mode is based on a wave band of 780 nm-950 nm, a picture can present similar black and white colors, and the v component value in the case presents characteristic change along with the change of the external environment.
As shown in fig. 4 and 5, fig. 4 is a uv distribution diagram in the fog-penetrating mode in a sunny scene in the same scene as fig. 2, where the abscissa is a u component and the ordinate is a v component, fig. 5 is a uv distribution diagram in the fog-penetrating mode in a haze weather scene in the same scene as fig. 2, where the abscissa is a u component and the ordinate is a v component.
As can be seen from the figure, the v component values are distributed differently in a sunny scene and a haze scene in the fog penetrating mode, the distribution concentration of the v component is high in the sunny scene, and the v component is obviously characterized by independent regional distribution in the haze scene, so that the outdoor scene can be judged by using the distribution characteristics of different scenes in the fog penetrating mode of the v component, and the working mode required by the camera device can be judged.
Therefore, the v component values corresponding to the image blocks need to be calculated according to the RGB data corresponding to the pixel points included in the image blocks.
The division of the blocks is explained in the foregoing, and is not described herein again.
The v component values are calculated as follows:
v=lg(g)-lg(b);
lg is a common logarithm with a base of 10, g is the g channel value in the RGB data, and b is the b channel value in the RGB data.
Each tile has a corresponding v component value, and if the tile only includes one pixel, each pixel has a corresponding v component value.
S108: is the degree of dispersion of the v component characterized to satisfy a preset condition?
If yes, step S109 is executed, and if no, step S101 is executed.
There are various ways to characterize the dispersion degree of the v component, such as variance, total distance, mean deviation from distance, standard deviation, coefficient of variation, quartile, histogram, etc., and various functions and ways to characterize the dispersion degree of the v component are possible, which are not limited herein, and the preset conditions vary according to the difference of the functions or ways to characterize the dispersion degree of the component.
And when the discrete degree of the characteristic v component is met or not, the current fog penetrating mode needs to be adjusted, and if the discrete degree of the characteristic v component is not met, the original working mode is kept unchanged.
S109: the working mode of the camera equipment is switched to a color mode;
and adjusting the working mode of the camera equipment, and switching the fog-penetrating working mode into a color mode, for example, matching an optical fog-penetrating filter used in the fog-penetrating working mode into a color filter used in the color mode with a camera lens to acquire an image.
The technical scheme of this application embodiment compares with the traditional technical scheme who judges whether to switch the working mode through the mode of adjustment contrast, whether to satisfy the mode of predetermineeing the condition through the mode of numerical value and judge whether to switch the working mode, can be more accurate switch the working scene, got rid of because of the technical problem that equipment adjustment contrast caused the interference, and under fog-penetrating mode, utilize the distribution characteristics of v weight, solved the technical problem that can't in time switch back to the color filter piece under the traditional mode.
Optionally, as an embodiment, the determining, according to the u component value and the v component value, a switching reference value representing a degree of dispersion of the u component and the v component of the image specifically includes:
calculating a sum of the square of the u-component value and the square of the v-component value;
calculating a variance value by taking the square root of the sum as a variable;
the variance value is used as a switching reference value for representing the discrete degree of the u component and the v component of the image.
The following description will be made by specific examples.
The calculation method of the handover reference value provided by the embodiment of the application refers to the following steps:
A=var(sqrt(u.^2+v.^2))
the above formula is shown by taking matlab as an example, wherein var is a variance value calculation, sqrt is an open square calculation, u.
The method comprises the steps of firstly calculating the sum of the square of a u component value and the square of a v component value, then calculating a variance value by taking the square root of the sum as a variable, and taking the variance value as a switching reference value for representing the dispersion degree of the u component and the v component of an image.
If there are 17 × 15 tiles, the variance values of 17 × 15 tile data are calculated, and if each tile only contains one pixel and the current pixel is 1920 × 1080 pixels, the variance values of 1920 × 1080 data are calculated.
If the degree of dispersion of the uv component is characterized in the manner used in the present application to characterize the uv mixture variance, the first threshold value of the degree of dispersion is suggested to be 0.5.
If the dispersion degree of the characteristic uv component is calculated by using other functions such as full distance, mean deviation from distance, standard deviation, coefficient of variation, quartile and the like, for those skilled in the art, a reasonable first dispersion degree threshold value may be set according to the condition of the function.
According to the method, the common variance of the u component value and the v component value of the image block is calculated, the dispersion degree of the u component and the dispersion degree of the v component are considered comprehensively, the dispersion degree of the u component and the dispersion degree of the v component of the image are evaluated in the form of the sum of squares of the u component value and the v component value to serve as the switching reference value, the switching method is reliable, and a new technical scheme is provided for solving the technical problem of how to accurately switch the working mode of the camera equipment.
Optionally, as an embodiment, determining that the discrete degree of the characteristic v component satisfies a preset condition specifically includes:
performing histogram statistics by taking the v component value as an abscissa, wherein the coverage degree of an abscissa interval is represented as the discrete degree of the v component;
and determining that the abscissa intervals of the histogram are all covered, and meeting a preset condition.
The following description will be made by specific examples.
As shown in fig. 4, 5, 6 and 7.
Fig. 4 is a uv distribution diagram in a fog penetrating mode in a sunny scene, where the abscissa is a u component, the ordinate is a v component, and fig. 6 is statistics of a histogram performed according to the v component of fig. 4 as the abscissa.
Fig. 5 is a uv distribution diagram in the fog-penetrating mode in the haze weather scene, where the abscissa is a u component, the ordinate is a v component, and fig. 7 is statistics performed on a histogram performed according to the v component of fig. 5 as the abscissa.
As is apparent from fig. 6 and 7, the v component of the sunny scene completely covers the abscissa interval in the fog-penetrating mode, as shown in fig. 6; the v component of the fog-haze scene covers only partial 0-12 intervals and 23-30 intervals of the abscissa in the fog-transparent mode.
As can be seen from fig. 4 and 5, the distribution of the ordinate representing the v component is similarly unable to cover the interval representing the ordinate of the v component, and the present embodiment is explained by a histogram, and the degree of dispersion of the v component can be further reflected, and the degree of coverage of the abscissa interval, that is, the degree of dispersion of the v component is expressed.
When the abscissa interval of the histogram is completely covered, it is indicated that the v component completely covers the abscissa interval, that is, the histogram belongs to a sunny scene in the fog-penetrating mode, and at this time, the condition for switching the working mode is met, and the fog-penetrating working mode of the image pickup apparatus needs to be switched to the color mode.
According to the embodiment of the application, the discrete degree of the v component is judged in a mode that whether the abscissa interval of the histogram is covered, and then whether the working mode of the camera equipment needs to be switched is judged.
Optionally, as an embodiment, determining that the discrete degree of the characteristic v component satisfies a preset condition specifically includes:
taking the v component value as an abscissa to perform histogram statistics;
calculating a variance value of the histogram, wherein the variance value of the histogram is characterized by the discrete degree of the v component;
and determining that the variance value of the histogram is smaller than a second discrete degree threshold value and meets a preset condition.
Performing histogram statistics by taking the v component value as an abscissa, specifically comprising:
the abscissa of the histogram is a v component value, and the sampling interval of the abscissa is X equal interval intervals, wherein X is an integer greater than 9 and less than 256;
the ordinate of the histogram is the cumulative value of the v components.
The following description will be made by specific examples.
See the above embodiments, and see fig. 4, 5, 6, and 7.
The abscissas of fig. 6 and 7 are histogram statistics each performed with the v component value as the abscissa, and fig. 6 is a histogram obtained with the v component as the abscissa when the image pickup apparatus is in a sunny scene in the fog penetration mode, that is, a histogram obtained with the v component as the abscissa in fig. 4, where the sampling interval is 30, that is, X is 30.
Fig. 7 is a histogram obtained with the v component as the abscissa, that is, the histogram obtained with the v component in fig. 5 as the abscissa, when the image pickup apparatus is in a haze scene in the fog-transparent mode, where the sampling interval is 30, that is, X is 30.
It should be noted that 30 is only an example, X may be any integer greater than 9 and smaller than 256, and fig. 6 and 7 are both sampled to be 30 for comparison, so as to better illustrate the difference between the v components in the sunny scene and the haze scene in the fog penetrating mode.
The ordinate of fig. 6 and 7 indicates the cumulative value of the v component, i.e., the frequency of v.
Through the above embodiments, and with reference to fig. 4 and 5, a person skilled in the art knows that, in the fog penetrating mode, the dispersion degrees of the v component of the weather-clear scene and the v component of the haze scene are different, the v component in the haze scene is distributed more dispersedly, and the v component in the weather-clear scene is more concentrated, so that the dispersion degree can be calculated by calculating a function representing the dispersion degree of the v component, and if the dispersion degree is smaller than a threshold value, the weather-clear scene in the fog penetrating mode is defined, and if the dispersion degree is larger than the threshold value, the haze scene in the fog penetrating mode is defined.
Variance measures the degree of dispersion of a set of data, and a larger variance indicates a larger degree of dispersion. According to the discrete degree value, the discrete degree of the v component can be determined, if the value representing the discrete degree of the v component is smaller than the discrete degree threshold value, the distribution of the v component is more concentrated, and if the discrete degree representing the v component is larger than the discrete degree threshold value, the distribution of the v component is more dispersed.
Like the above embodiment, if the dispersion degree is not calculated by counting the coverage degree of the abscissa interval, the dispersion degree of the v component can also be calculated by calculating the variance of the histogram, and the variance value of the histogram can be characterized as the dispersion degree of the v component.
If the variance value of the calculated histogram is smaller than the second discrete degree threshold value, the distribution of the v components is more concentrated, and the working mode of the camera equipment is switched to a color mode for a sunny scene in a fog penetration mode; if the discrete degree of the characteristic v component is larger than the second discrete degree threshold value, the distribution of the characteristic v component is dispersed, the current working mode is not suitable to be switched, and the current working mode is kept, namely the working mode is still in the fog penetrating mode.
The second dispersion degree threshold is set according to an actual situation, and the value is related to at least the dispersion degree of the v component, the sampling interval of the histogram, the definition of the image pickup apparatus, and the environment where the image pickup apparatus is located, such as the lighting effect of the environment, and the like. In the embodiment of the present application, based on the sampling interval being 30 and the current environment of the image capturing apparatus, the second discrete degree threshold is 1800.
The histogram variance is calculated in the same way as the histogram variance is calculated in the prior art, and it is obvious to those skilled in the art that the histogram variance can be calculated according to the current histogram, and the calculation is not illustrated here.
The method for calculating the discrete degree of the characteristic v component by calculating the variance of the histogram has the advantages that the calculated amount of data can be reduced to accelerate the calculation speed of the image pickup device, if the pixel is 1920 × 1080 and each image block only comprises one pixel point, the variance of the v component is directly calculated, 1920 × 1080 group data directly participate in the variance calculation, the calculated speed of the device is influenced due to the large data amount of the directly calculated variance, the response speed of the device is further influenced, but if the total amount of the data is not changed by calculating the variance of the histogram, the sampling interval of the histogram is equivalent to that the 1920 × 1080 data are subjected to primary mean processing, namely the data positioned between the sampling intervals are processed as the same numerical value, the sampling interval is set as 30, the data positioned between the 30 data are the same group of data, and participate in the operation of the histogram as the same data, the calculation amount of data is relatively reduced, if the calculation force of the current camera equipment is insufficient, the calculation speed can be increased by calculating the histogram variance, the response time of the camera equipment is relatively increased, and the calculation resources of the camera equipment are saved.
Optionally, as an embodiment, determining that the discrete degree of the characteristic v component satisfies a preset condition specifically includes: calculating a variance value of the v component according to the v component value, wherein the variance value of the v component is characterized as the discrete degree of the v component; and determining that the variance value of the v component is smaller than a third discrete degree threshold value and meets a preset condition.
See the above embodiments and see fig. 4, 5, 6 and 7.
As can be known by those skilled in the art from the content in the foregoing embodiment, in the fog penetrating mode, the dispersion degrees of the v component of the weather-clear scene and the v component of the haze scene are different, the variance value of the v component represents the dispersion degree of the v component, and the larger the variance of the v component is, the larger the dispersion degree of the v component is, when the dispersion degree of the v component is greater than the third dispersion degree threshold, the weather-clear scene belongs to the fog penetrating mode, and if the dispersion degree of the v component is smaller than the third dispersion degree threshold, the weather-clear scene belongs to the fog penetrating mode.
Therefore, the degree of dispersion of the v component can be calculated by directly calculating the variance value of the v component thereof.
The way of calculating the variance value of the v component according to the v component value is the same as the way of calculating the variance value in the art, and how to calculate the variance value of the v component is not listed here, and a person skilled in the art can calculate the variance value of the v component according to the v component value of each tile in the current image.
If it is assumed that the pixels are 1920 × 1080 and each image block only contains one pixel point, the variance of the v component is directly calculated, and then the v component of 1920 × 1080 group of data directly participates in the variance calculation.
Optionally, as an embodiment, the obtaining RGB data of all pixel points of the current image of the image capturing device specifically includes: acquiring RGB data of all pixel points of a current image of the camera equipment according to set interval duration; or, acquiring RGB data of all pixel points of the current image of the camera equipment according to the set interval image frame number.
The following description will be made by specific examples.
The weather scene and the haze scene do not change suddenly but change gradually, so that the current scene does not need to be calculated through RGB data all the time, the RGB data of all pixel points of the current image of the camera equipment can be acquired at set interval duration for calculation, and the RGB data of all pixel points of the current image of the camera equipment can be acquired according to set interval image frame numbers for calculation.
If the set interval duration is 5 minutes, acquiring RGB data of all pixel points of the current image of the camera equipment at intervals of 5 minutes and calculating; the RGB data of all pixels in the current image of the image pickup device may also be obtained according to the set interval image frame number, if the image frame number per second is 25 frames, then, 5 × 60 × 25 frames may be set to obtain the RGB data of all pixels in the current image of the image pickup device at one time and perform calculation, that is, 7500 frames are set to obtain the RGB data of all pixels in the current image of the image pickup device at one time and perform calculation, the interval time between obtaining the RGB data of all pixels in the current image of the image pickup device at 5 minutes is the same, the two setting modes may be switched, or the two setting modes may exist simultaneously on the operation interface, when one of the setting modes is set, the other one changes along with synchronization.
According to the technical scheme, the interval duration or the interval image frame number for acquiring the RGB data is set according to actual needs, and whether the working mode needs to be switched or not is judged according to the set interval duration or the set interval image frame number.
Optionally, as an embodiment, the u component value and the v component value corresponding to each image block are respectively calculated according to RGB data corresponding to pixel points included in each image block in the image, and specifically:
calculating the average value of the RGB data of each pixel point in the image block according to the RGB data of each pixel point contained in each image block in the image;
taking the average value of the RGB data of each image block as the RGB data corresponding to each image block;
and calculating the u component value and the v component value corresponding to each image block according to the r channel value, the g channel value and the b channel value in the RGB data of each image block.
The following description will be made by specific examples.
Referring to fig. 8, since the drawing cannot show colors, there is no color in fig. 8, which is only an exemplary display of positions of pixel points, RGB data is only an example here, a block may include a plurality of pixel points, and four pixel points are included in this embodiment only for convenience of illustration.
It is assumed that a certain image block in an image contains four pixel points, and the RGB data of the four pixel points are as follows:
pixel point one RGB (145, 58, 57);
pixel point two RGB (153, 59, 85);
pixel point three RGB (149, 62, 68);
pixel point four RGB (150, 53, 84);
and calculating the average value of the RGB data of each pixel point in the image block according to the RGB data of the four pixel points contained in the image block, wherein the calculation mode is to calculate the average value of the r channel value, the g channel value and the b channel value of the four pixel points, and take the average value of the r channel value, the g channel value and the b channel value as the RGB data corresponding to the current image block.
The average value of the r-channel values of the current block is (145+153+149+ 150)/4-149.25, and the result is 149, that is, the average value of the r-channel values of the current block is 149, although an upward rounding or a rounding or other forms of rounding may be adopted, which is not limited herein, and the calculation performed by taking the downward rounding as an example is used in the present embodiment.
Similarly, the calculation method for obtaining the average value of the g channel value and the average value of the b channel value of the current block is the same as the calculation method for obtaining the r channel value, the average value of the g channel value obtained by calculation is 58, the average value of the b channel value obtained by calculation is 73, and the average value of the RGB data of each block is used as the RGB data corresponding to each block, so that the average value of the RGB of the current block is (149, 58, 73), that is, the average value of the RGB is the RGB data of the current block.
The u component value and the v component value corresponding to each image block are calculated according to the r channel value, the g channel value and the b channel value in the RGB data of each image block, that is, the u component value and the v component value of the current image block are calculated according to the r channel value, the g channel value and the b channel value in the RGB data (149, 58, 73) of the current image block.
If all the pixels of the current image obtained by the image pickup device are 1920 pixels by 1080 pixels and the image is divided into 17 pixels by 15 image blocks, only the u component values and the v component values of the 17 pixels by 15 image blocks need to be calculated, and compared with the calculation amount for directly calculating the u component values and the v component values of all the pixels, the calculation amount of the image pickup device can be greatly reduced, and the calculation resources are saved.
According to the technical scheme of the embodiment of the application, the average value of RGB of the pixel points in the image blocks is used as RGB data of the corresponding image blocks, a technical scheme is provided for how to calculate the u component value and the v component value corresponding to each image block, the calculation amount of the u component value and the v component value can be reduced, the calculation resources are saved, and the response speed of the camera equipment is relatively accelerated.
Optionally, as an embodiment, after the working mode is switched, an image capturing parameter in an ISP module of the image capturing apparatus is adjusted, where the ISP module includes at least one of a contrast module, a color module, and an exposure module.
After the current working mode is switched, no matter the fog mode is switched to the color mode or the color mode is switched to the fog mode, the original shooting parameters in the ISP module of the shooting equipment cannot meet the requirements of the working mode after the switching, and the shooting parameters need to be adjusted, including but not limited to a contrast module, a color module, an exposure module and the like, so as to adapt to a new working mode, and the adjustment can be specifically performed according to the actual business requirements.
Optionally, as an embodiment, there is also provided an apparatus for switching an operating mode of an image capturing device, including: the device comprises a processing module and an adjusting module;
the processing module is used for acquiring RGB data of all pixel points of a current image of the camera equipment, and when the working mode of the camera equipment is a color mode, respectively calculating a u component value and a v component value corresponding to each image block according to the RGB data corresponding to the pixel points contained in each image block in the image; determining a switching reference value representing the discrete degree of the u component and the v component of the image according to the u component value and the v component value corresponding to each image block; when the switching reference value is larger than the first discrete degree threshold value, sending a first control signal representing that the working mode of the camera equipment is a fog penetration mode to the adjusting module; when the working mode of the camera equipment is a fog-penetrating mode, respectively calculating v component values corresponding to all the image blocks according to RGB data corresponding to pixel points contained in all the image blocks; when the discrete degree of the representation v component is determined to meet the preset condition, a second control signal for representing that the working mode of the camera shooting equipment is a color mode is sent to the adjusting module, wherein all the image blocks are not overlapped in the image, and each image block at least comprises one pixel point;
and the adjusting module is used for receiving the control signal sent by the processing module, controlling the color filter to be matched with the lens of the camera equipment to acquire images when receiving the second control signal, and controlling the optical fog-penetrating filter to be matched with the lens of the camera equipment to acquire images when receiving the first control signal.
Optionally, as an embodiment, there is also provided an image capturing apparatus including: a memory and a processor, the memory for storing computer instructions; a processor for executing computer instructions to implement the method of any of the above embodiments.
Optionally, as an embodiment, a computer-readable storage medium is further provided, where a computer program is stored, and when executed by a processor, the computer program implements the method of any one of the above embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (12)

1. An image pickup apparatus operating mode switching method characterized in that,
acquiring RGB data of all pixel points of a current image of the camera equipment;
when the working mode of the image pickup equipment is judged to be a color mode, respectively calculating a u component value and a v component value corresponding to each image block according to RGB data corresponding to pixel points contained in each image block in the image, and determining a switching reference value representing the dispersion degree of the u component and the v component of the image according to the u component value and the v component value corresponding to each image block; when the switching reference value is larger than a first discrete degree threshold value, switching the working mode of the camera equipment into a fog-penetrating mode;
when the working mode of the camera equipment is judged to be a fog-penetrating mode, respectively calculating v component values corresponding to all the image blocks according to RGB data corresponding to pixel points contained in all the image blocks; when the discrete degree representing the v component is determined to meet a preset condition, switching the working mode of the camera equipment to a color mode;
each of the image blocks is not overlapped in the image, and each image block at least comprises one pixel point.
2. The method according to claim 1, wherein determining a switching reference value representing a degree of dispersion of a u component and a v component of the image according to the u component value and the v component value comprises:
calculating a sum of a square of the u-component value and a square of the v-component value;
calculating a variance value by taking the square root of the sum as a variable;
the variance value is used as a switching reference value for representing the discrete degree of the u component and the v component of the image.
3. The method according to claim 1, wherein determining that the degree of dispersion characterizing the v component satisfies a preset condition specifically comprises:
performing histogram statistics by taking the v component value as an abscissa, wherein the coverage degree of the abscissa interval is characterized as the discrete degree of the v component;
and determining that the abscissa intervals of the histogram are all covered, and meeting a preset condition.
4. The method according to claim 1, wherein determining that the degree of dispersion characterizing the v component satisfies a preset condition specifically comprises:
performing histogram statistics by taking the v component value as an abscissa;
calculating a variance value of the histogram, the variance value of the histogram being characterized by a degree of dispersion of the v component;
and determining that the variance value of the histogram is smaller than a second discrete degree threshold value and meets a preset condition.
5. The method according to claim 3 or 4, wherein the performing histogram statistics with the v component value as an abscissa specifically comprises:
the abscissa of the histogram is the v component value, and the sampling interval of the abscissa is X equally spaced intervals, wherein X is an integer greater than 9 and smaller than 256;
the ordinate of the histogram is the cumulative value of the v components.
6. The method according to claim 1, wherein determining that the degree of dispersion characterizing the v component satisfies a preset condition specifically comprises:
calculating the variance value of the v component according to the v component value, wherein the variance value of the v component is characterized by the discrete degree of the v component;
and determining that the variance value of the v component is smaller than a third discrete degree threshold value and meets a preset condition.
7. The method according to claim 1, wherein the acquiring RGB data of all pixel points of the current image of the image capturing device specifically includes:
acquiring RGB data of all pixel points of a current image of the camera equipment according to set interval duration; or
And acquiring RGB data of all pixel points of the current image of the camera equipment according to the set interval image frame number.
8. The method according to claim 1, wherein the calculating the u component value and the v component value corresponding to each tile according to the RGB data corresponding to the pixel point included in each tile in the image comprises:
calculating the average value of the RGB data of each pixel point in the image block according to the RGB data of each pixel point contained in each image block in the image;
taking the average value of the RGB data of each image block as the RGB data corresponding to each image block;
and calculating u component values and v component values corresponding to the image blocks according to the r channel values, the g channel values and the b channel values in the RGB data of the image blocks.
9. The method of claim 1, further comprising,
and after the working mode is switched, adjusting the image pickup parameters in an ISP module of the image pickup equipment, wherein the ISP module at least comprises one of a contrast module, a color module and an exposure module.
10. An image pickup apparatus operation mode switching device characterized by comprising: the device comprises a processing module and an adjusting module;
the processing module is used for acquiring RGB data of all pixel points of a current image of the camera equipment, and when the working mode of the camera equipment is a color mode, respectively calculating a u component value and a v component value corresponding to each image block according to the RGB data corresponding to the pixel points contained in each image block in the image; determining a switching reference value representing the dispersion degree of the u component and the v component of the image according to the u component value and the v component value corresponding to each image block; when the switching reference value is larger than a first discrete degree threshold value, sending a first control signal representing that the working mode of the camera equipment is a fog penetration mode to the adjusting module; when the working mode of the camera equipment is a fog-penetrating mode, respectively calculating v component values corresponding to the image blocks according to RGB data corresponding to pixel points contained in the image blocks; when the discrete degree representing the v component is determined to meet a preset condition, sending a second control signal representing that the working mode of the camera equipment is a color mode to the adjusting module, wherein the image blocks are not overlapped in the image, and each image block at least comprises one pixel point;
the adjusting module is used for receiving the control signal sent by the processing module, controlling the color filter to be matched with the lens of the camera equipment to acquire images when receiving the second control signal, and controlling the optical fog-penetrating filter to be matched with the lens of the camera equipment to acquire images when receiving the first control signal.
11. An image pickup apparatus characterized by comprising: a memory and a processor, wherein the processor is capable of,
the memory to store computer instructions;
the processor for executing the computer instructions to implement the method of any one of claims 1-9.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1-9.
CN202111270583.6A 2021-10-29 2021-10-29 Method, device and equipment for switching working modes of camera equipment and storage medium Active CN114025085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111270583.6A CN114025085B (en) 2021-10-29 2021-10-29 Method, device and equipment for switching working modes of camera equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111270583.6A CN114025085B (en) 2021-10-29 2021-10-29 Method, device and equipment for switching working modes of camera equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114025085A true CN114025085A (en) 2022-02-08
CN114025085B CN114025085B (en) 2022-12-13

Family

ID=80058753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111270583.6A Active CN114025085B (en) 2021-10-29 2021-10-29 Method, device and equipment for switching working modes of camera equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114025085B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225810A (en) * 2022-05-24 2022-10-21 浙江大华技术股份有限公司 Image pickup mode switching method, image pickup device, and computer-readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0865630A (en) * 1994-08-22 1996-03-08 Hitachi Ltd Image recording and reproducing device
JP2005078140A (en) * 2003-08-28 2005-03-24 Matsushita Electric Ind Co Ltd Image processor
CN101193090A (en) * 2006-11-27 2008-06-04 华为技术有限公司 Signal processing method and its device
CN201181371Y (en) * 2008-03-19 2009-01-14 何凎 Camera lens
CN202472211U (en) * 2012-03-19 2012-10-03 深圳市昱鑫共创科技发展有限公司 Fog penetration gun type camera
CN105261013A (en) * 2015-09-25 2016-01-20 孙高磊 Comprehensive evaluation method and evaluation system for scanned image quality
CN206807588U (en) * 2017-04-26 2017-12-26 上海控创信息技术股份有限公司 High-definition camera based on optical lens and the dual Penetrating Fog of Penetrating Fog chip
CN110472466A (en) * 2019-02-27 2019-11-19 鑫喆喆 Mode switching system and method based on big data analysis
CN111586292A (en) * 2020-04-23 2020-08-25 浙江大华技术股份有限公司 Camera shooting state switching method and device and computer equipment
CN112954305A (en) * 2021-01-27 2021-06-11 浙江智慧视频安防创新中心有限公司 Shooting parameter testing method and device for industrial camera and storage medium
CN113055580A (en) * 2019-12-26 2021-06-29 中兴通讯股份有限公司 Environment recognition method, shooting mode switching method, terminal and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0865630A (en) * 1994-08-22 1996-03-08 Hitachi Ltd Image recording and reproducing device
JP2005078140A (en) * 2003-08-28 2005-03-24 Matsushita Electric Ind Co Ltd Image processor
CN101193090A (en) * 2006-11-27 2008-06-04 华为技术有限公司 Signal processing method and its device
CN201181371Y (en) * 2008-03-19 2009-01-14 何凎 Camera lens
CN202472211U (en) * 2012-03-19 2012-10-03 深圳市昱鑫共创科技发展有限公司 Fog penetration gun type camera
CN105261013A (en) * 2015-09-25 2016-01-20 孙高磊 Comprehensive evaluation method and evaluation system for scanned image quality
CN206807588U (en) * 2017-04-26 2017-12-26 上海控创信息技术股份有限公司 High-definition camera based on optical lens and the dual Penetrating Fog of Penetrating Fog chip
CN110472466A (en) * 2019-02-27 2019-11-19 鑫喆喆 Mode switching system and method based on big data analysis
CN113055580A (en) * 2019-12-26 2021-06-29 中兴通讯股份有限公司 Environment recognition method, shooting mode switching method, terminal and storage medium
CN111586292A (en) * 2020-04-23 2020-08-25 浙江大华技术股份有限公司 Camera shooting state switching method and device and computer equipment
CN112954305A (en) * 2021-01-27 2021-06-11 浙江智慧视频安防创新中心有限公司 Shooting parameter testing method and device for industrial camera and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225810A (en) * 2022-05-24 2022-10-21 浙江大华技术股份有限公司 Image pickup mode switching method, image pickup device, and computer-readable storage medium
CN115225810B (en) * 2022-05-24 2024-10-22 浙江大华技术股份有限公司 Image pickup mode switching method, image pickup device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN114025085B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN111770285B (en) Exposure brightness control method and device, electronic equipment and storage medium
TWI389559B (en) Foreground image separation method
CN101242476B (en) Automatic correction method of image color and digital camera system
WO2021007690A1 (en) Exposure control method, apparatus and movable platform
US10453188B2 (en) Methods and devices for improving image quality based on synthesized pixel values
CN104766284B (en) The restored method of underwater colored blur image
CN110349114A (en) Applied to the image enchancing method of AOI equipment, device and road video monitoring equipment
CN107820069A (en) A kind of video monitoring equipment ISP adjustment methods
CN111654643B (en) Exposure parameter determination method and device, unmanned aerial vehicle and computer readable storage medium
CN102831586A (en) Method for enhancing image/video in real time under poor lighting condition
CN114025085B (en) Method, device and equipment for switching working modes of camera equipment and storage medium
CN103034977B (en) Image haze removal method and corresponding image demister
CN110430394B (en) Method for switching day and night modes of monitoring equipment and monitoring equipment
CN102724541B (en) Intelligent diagnosis and recovery method for monitoring images
WO2013114803A1 (en) Image processing device, image processing method therefor, computer program, and image processing system
CN110175967B (en) Image defogging processing method, system, computer device and storage medium
CN104954627B (en) A kind of information processing method and electronic equipment
KR20130058972A (en) Image processing apparatus and method for automatically adjustment of image
KR20150040559A (en) Apparatus for Improving Image Quality and Computer-Readable Recording Medium with Program Therefor
CN111383242B (en) Image fog penetration processing method and device
CN111479064B (en) Day and night mode switching control method and device applied to fog-penetrating camera
KR101370545B1 (en) Method for Conducting Selectively Image Improving Treatment Based on Automatical Image Data Analysis
CN118658438B (en) Screen adjusting method and device, storage medium and electronic equipment
JP7510258B2 (en) Image processing device, image processing method, imaging device, program, and storage medium
CN112183346B (en) Scene judging method and device and electronic device

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