CN109714529A - Optical filter switching method, device and the storage medium of image collecting device - Google Patents
Optical filter switching method, device and the storage medium of image collecting device Download PDFInfo
- Publication number
- CN109714529A CN109714529A CN201811584810.0A CN201811584810A CN109714529A CN 109714529 A CN109714529 A CN 109714529A CN 201811584810 A CN201811584810 A CN 201811584810A CN 109714529 A CN109714529 A CN 109714529A
- Authority
- CN
- China
- Prior art keywords
- image
- optical filter
- acquisition
- ambient light
- light intensity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Studio Devices (AREA)
Abstract
This application discloses optical filter switching method, device and the storage mediums of a kind of image collecting device, are related to protection and monitor field, to solve the problems, such as image abnormity caused by error condition caused by the optical filter of image collecting device switches because of vibration.In this method, the acceleration of image collecting device is obtained, however, it is determined that the acceleration of acquisition is greater than preset value, will be acquired to ambient light intensity and image.Pass through the ambient light intensity and determining image analysis result of judgement acquisition, it is determined whether use correct optical filter if incorrect and switch optical filter.In this way, the optical filter switching control of image collecting device is made to switch to form closed-loop control, optical filter switching image abnormity because of caused by error condition caused by vibration of image collecting device is avoided.
Description
Technical field
The present invention relates to protection and monitor field more particularly to optical filter switching method, the devices of a kind of image collecting device
And storage medium.
Background technique
IR-CUT (Infrared Radiation cut, the optical filter switching of image collecting device) is passed through in application at present
The switching for sending pulse and carrying out infrared fileter is controlled by optical filtering piece driving circuit, after the completion of switching action, optical filter driving
Circuit control exports equivalent level, and when equipment sends strenuous vibration or shakes, IR-CUT can be switched to another optical filter.
The retentivity of IR-CUT is maintained mainly by the suction between magnet and U iron, and in order to make IR-CUT line in application
Circle can switch under smaller electric current, so this suction is smaller.As shown in Figure 1, when image collecting device is cut along optical filter
When changing direction (i.e. Fig. 1 arrow direction) shaking, the power for vibrating generation will generate the mistake switching of IR-CUT greater than the suction of itself
Operation, IR-CUT lens supports will overcome the retentivity of itself to generate switching under the influence of centrifugal force, so as to cause figure
As shooting with video-corder exception.
Summary of the invention
The embodiment of the present application provides optical filter switching method, device, computing device and the storage of a kind of image collecting device
Medium will be acquired ambient light intensity and image by determining that the acceleration of detection is greater than preset value.It is adopted by judgement
The ambient light intensity of collection and the image analysis result determined, it is determined whether use correct optical filter and switch if incorrect
Optical filter.So that IR-CUT control switching forms closed-loop control, avoids IR-CUT error condition caused by vibration due to cause
Image abnormity.
In a first aspect, the embodiment of the present application provides a kind of optical filter switching method of image collecting device, this method comprises:
Obtain the acceleration of image collecting device;
If it is determined that the acceleration is greater than preset value, acquires ambient light intensity and acquire image;
Image analysis is carried out to the image of acquisition and obtains image analysis result, which is used to indicate acquisition
Whether image is partially red;
According to the image analysis result that the ambient light intensity of acquisition and analysis obtain, in conjunction with preset ambient light intensity and figure
As the corresponding relationship between analysis result, it is determined whether use correct optical filter, the corresponding relationship is included in specified ring
Using the image analysis result of the image of correct optical filter acquisition under the luminous intensity of border.
Second aspect, the embodiment of the present application provide a kind of device of the optical filter switching of image collecting device, the device packet
It includes:
Module is obtained, for obtaining the acceleration of image collecting device;
Acquisition module is used for if it is determined that the acceleration is greater than preset value, and acquisition ambient light intensity simultaneously acquires image;
Analysis module obtains image analysis result for carrying out image analysis to the image of acquisition, the image analysis result
Whether the image for indicating acquisition is partially red;
Determining module, for the image analysis result that the ambient light intensity and analysis according to acquisition obtain, in conjunction with preset
Corresponding relationship between ambient light intensity and image analysis result, it is determined whether use correct optical filter, the corresponding pass
System includes the image analysis result of the image under designated environment luminous intensity using the acquisition of correct optical filter.
The third aspect, another embodiment of the application additionally provide a kind of computing device, including at least one processor;With
And;
The memory being connect at least one described processor communication;Wherein, the memory be stored with can by it is described extremely
The instruction that a few processor executes, described instruction are executed by least one described processor, so that at least one described processing
Device is able to carry out a kind of optical filter switching method of image collecting device provided by the embodiments of the present application.
Fourth aspect, another embodiment of the application additionally provide a kind of computer storage medium, wherein the computer is deposited
Storage media is stored with computer executable instructions, and the computer executable instructions are for making computer execute the embodiment of the present application
One of image collecting device optical filter switching method.
Other features and advantage will illustrate in the following description, also, partly become from specification
It obtains it is clear that being understood and implementing the application.The purposes and other advantages of the application can be by written explanation
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is image collecting device stress diagram in background technique;
Fig. 2 is the monitoring device structure chart in the embodiment of the present application;
Fig. 3 is the flow diagram of the optical filter switching method of image collecting device in the embodiment of the present application;
Fig. 4 is the workflow schematic diagram of the optical filter switching method of image collecting device in the embodiment of the present application;
Fig. 5 is the structural schematic diagram of the optical filter switching of image collecting device in the embodiment of the present application;
Fig. 6 is the structural schematic diagram according to the computing device of the application embodiment.
Specific embodiment
To solve the above-mentioned problems, a kind of optical filter switching method of image collecting device is provided in the embodiment of the present application.
In order to better understand technical solution provided by the embodiments of the present application, the basic principle of the program is done briefly here
It is bright:
In practical application, the switching that pulse carries out infrared fileter is sent by photosensitive tube triggering optical filtering piece driving circuit.Tool
Body, when the ambient light intensity of photosensitive tube detection is to indicate the intensity on daytime, triggering optical filtering piece driving circuit cuts optical filter
It is changed to red, when the ambient light intensity of photosensitive tube detection is to indicate the intensity at night, triggering optical filtering piece driving circuit will filter
Piece is switched to white tiles.
By taking monitoring device is image collecting device as an example, its universal architecture and optical filter switching flow are said below
It is bright.As shown in Fig. 2, being the structural schematic diagram of monitoring device, comprising:
Acceleration transducer, for detecting the acceleration of monitoring device;Photosensitive tube, for acquiring ambient light intensity;Camera shooting
Head, for being imaged to scene;Infrared lamp provides light source when being used for night for monitoring device;IR-CUT, for switching filter
Mating plate;Main control chip executes corresponding operation for controlling each component.
After describing the structure of monitoring device and its function of section components, the process for switching optical filter to it below is brief
Illustrate, be illustrated in terms of the two from the switching under switching and abnormal conditions under normal circumstances below:
1) under normal circumstances, when bright and clear, the collected ambient light intensity of photosensitive tube is greater than preset strength at this time,
The infrared lamp of monitoring device is closed, and optical filter should be maintained at red, filter out the infrared ray in natural light, so camera acquires
The image arrived is not partially red.Correspondingly, the collected ambient light intensity of photosensitive tube is little at this time when insufficient light (such as at night)
It is opened in the infrared lamp of preset strength, monitoring device, optical filter should be maintained at white tiles, and camera acquired image is partially red.
2) abnormal conditions, such as when monitoring device is occurred acutely to shake by external force, IR-CUT lens supports are in centrifugal force
Under the action of will overcome itself retentivity generate switching.At this point, if can should be used under conditions of bright and clear
Red be switched to white tiles;If the white tiles that should be used can be switched to red under conditions of insufficient light.Therefore, because
The wrong optical filter used leads to the image abnormity of acquisition.
In the application, when monitoring device is occurred acutely to shake by external force, added by what acceleration transducer detected
Speed can occur to change due to acutely shaking because of monitoring device, if detect that acceleration is greater than preset value, pass through
The ambient light intensity of photosensitive tube acquisition at this time and the image by camera acquisition at this time.If collected result and positive reason
Result under condition is different, then switches optical filter.
Below with reference to reference attached drawing to a kind of optical filter switching method of image collecting device provided by the embodiments of the present application
It is described further.Fig. 3 is the flow diagram of the optical filter switching method of image collecting device, comprising the following steps:
Step 301: obtaining the acceleration of image collecting device.
Wherein, the purpose for obtaining acceleration is whether detection image acquisition device shakes, and therefore, the direction of acceleration can be with
For all directions.That is, the case where detection image acquisition device shakes to all directions.
Step 302: if it is determined that the acceleration is greater than preset value, acquiring ambient light intensity and acquire image.
Wherein, which can be empirically determined, can also be according between magnet in image capture device and U iron
Suction determines preset value, and the bigger vibration for indicating that image collecting device is subject to of acceleration is more violent.
Step 303: image analysis being carried out to the image of acquisition and obtains image analysis result, which is used for table
Show whether the image of acquisition is partially red.
Step 304: the image analysis result obtained according to the ambient light intensity of acquisition and analysis, in conjunction with preset environment light
Corresponding relationship between intensity and image analysis result, it is determined whether use correct optical filter, the corresponding relationship includes
Using the image analysis result of the image of correct optical filter acquisition under designated environment luminous intensity.
It should be noted that acquisition ambient light intensity and acquisition image are not used to limit and execute sequence, it can be and first adopt
Collection ambient light intensity acquires image again;It is also possible to first to acquire image and acquires ambient light intensity again;It is also possible to ambient light intensity
It is acquired simultaneously with image.
In this way, how to judge acquisition to realize by detecting whether IR-CUT uses correct optical filter
Whether image is normal, so that image capture device when being shaken, detects whether optical filter is switched, and then to obtain in time
Know that Image Acquisition provides authentic communication extremely, in order to correct in time.In this way, switching the optical filter of image collecting device
Control switching forms closed-loop control, avoids optical filter switching error condition caused by vibration of image collecting device due to causes
Image abnormity.
Further, when corrigendum, however, it is determined that IR-CUT does not use correct optical filter, can issue prompting, passes through people
Work operation, which is realized, is switched to correct optical filter for optical filter.
Preferably, can control the switching of optical filtering piece driving circuit to filter if it is determined that IR-CUT does not use correct optical filter
Piece.In this way, switching optical filter by optical filtering piece driving circuit, to be automatically corrected, so that image recording is without artificial
It can restore automatically normal in the case where intervention.
In the embodiment of the present application, Image Acquisition can be obtained by the acceleration transducer of image collecting device itself
The acceleration of device, it is specific implementable are as follows: image collecting device is obtained in optical filter switching direction by acceleration transducer
Acceleration.In this way, accurate detection can be made to because vibration causes image different by the acceleration for obtaining optical filter switching direction
Normal problem.Meanwhile the application is compared with prior art, and acceleration sensing is used on the basis of not increasing hardware system cost
Device detects Vibration Condition, in conjunction with the detection of image detection and photosensitive tube, IR-CUT control switching is made to form closed-loop control, Neng Gouji
When discovery use wrong optical filter and corrected, greatly reduce IR-CUT error condition caused by vibration due to cause
Image abnormity.
In the embodiment of the present application, it is further detailed for how to determine using correct optical filter, specifically
Implementable is step A1-A5:
Step A1: compare the ambient light intensity of acquisition and the size relation of preset strength.
Step A2: if the ambient light intensity of the acquisition is greater than preset strength, and the image analysis result of the image acquired
It is partially not red, it is determined that use correct optical filter.
Step A3: if the ambient light intensity of the acquisition is greater than preset strength, and the image analysis result of the image acquired
It is partially red, it is determined that do not use correct optical filter.
Step A4: if the ambient light intensity of the acquisition is not more than preset strength, and the image analysis knot of the image acquired
Fruit is partially not red, it is determined that does not use correct optical filter.
Step A5: if the ambient light intensity of the acquisition is not more than preset strength, and the image analysis knot of the image acquired
Fruit is partially red, it is determined that uses correct optical filter.
It should be noted that above-mentioned steps A2- step A5 is four kinds of situations of collection result, it is suitable to be not used to restriction execution
Sequence.
In this way, according to the ambient light intensity of acquisition and the image analysis result determined, in conjunction with preset ambient light intensity and
Corresponding relationship between image analysis result can accurately determine whether to use correct optical filter, to further sentence
It is disconnected whether to need to switch optical filter.Solves the problems, such as IR-CUT image abnormity because of caused by error condition caused by vibration.
In the embodiment of the present application, acceleration transducer uses level value output test result, passes through acceleration accordingly
The acceleration of sensor detection determines whether to acquire ambient light intensity and acquires image, specific implementable for step B1-B2:
Step B1: the level value exported after the acceleration of acceleration transducer detection is obtained.
Step B2: if the level value becomes low level from high level, it is determined that the acceleration of acceleration transducer detection
Greater than preset value.
In this way, the variation by determining output level value, determines that the acceleration of acceleration transducer detection is greater than preset value,
It realizes simple.
In the embodiment of the present application, compare the ambient light intensity of acquisition and the size relation of preset strength, it can be by photosensitive
Pipe acquires ambient light intensity and output voltage values, when the voltage value of output is greater than preset voltage value, that is, can determine the ring of acquisition
Border luminous intensity is greater than preset strength.
In the embodiment of the present application, image analysis is carried out to the image of acquisition and obtains image analysis result, the image analysis
As a result for indicating whether the image of acquisition is partially red.Specifically YUV number can be converted the image by parsing to image
According to there is the number of the pixel of red color components in the image based on yuv data statistics gatherer.If most of pixel has red
Ingredient then can determine that the image of acquisition is partially red.
In one embodiment, determine whether the image of acquisition is partially red, acquired before can also being shaken by monitoring device
Image and shake after acquire image comparison, judge acquisition image it is whether partially red.Specifically, can be to shaking front and back
Image carries out image analysis, identifies target therein (such as blue sky, white clouds), then compares color difference in two images according to target, if
Color difference difference can then determine partially red.
To understand technical solution provided by the embodiments of the present application convenient for systematicness, carried out below by the application workflow
It further illustrates, as shown in Figure 4.
Step 401: monitoring device opens recording function real-time image acquisition.
Step 402: passing through the acceleration of acceleration transducer real-time detection monitoring device.
Step 403: judging whether acceleration is greater than preset value;If so, thening follow the steps 404;If it is not, executing step 402.
Step 404: if more than preset value, then ambient light intensity being acquired by photosensitive tube, while reading the figure currently acquired
Picture.
Step 405: judging whether ambient light intensity is greater than preset strength;If so, thening follow the steps 406;If it is not, then executing
Step 410.
Step 406: if more than preset strength, judging whether image is partially red;If so, 407 are thened follow the steps, if it is not, then holding
Row step 409.
Step 407: if image is partially red, determining and do not use correct optical filter.
Step 408: optical filter is switched by optical filtering piece driving circuit.
Step 409: if image is not partially red, determining and use correct optical filter.
Step 410: if being not more than preset strength, judging whether image is partially red;If so, 411 are thened follow the steps, if it is not, then
Execute step 407.
Step 411: if image is partially red, determining and use correct optical filter.
Based on identical inventive concept, the embodiment of the present application also provides a kind of optical filter switching dress of image collecting device
It sets, as shown in figure 5, being the structural schematic diagram of the device, comprising:
Module 501 is obtained, for obtaining the acceleration of image collecting device;
Acquisition module 502 is used for if it is determined that the acceleration is greater than preset value, and acquisition ambient light intensity simultaneously acquires image;
Analysis module 503 obtains image analysis result for carrying out image analysis to the image of acquisition, the image analysis knot
Fruit is used to indicate whether the image of acquisition to be partially red;
Determining module 504, for the image analysis result that the ambient light intensity and analysis according to acquisition obtain, in conjunction with preset
Ambient light intensity and image analysis result between corresponding relationship, it is determined whether use correct optical filter, the correspondence
Relationship includes the image analysis result of the image under designated environment luminous intensity using the acquisition of correct optical filter.
Further, determining module 504 includes:
Comparing unit, for comparing the ambient light intensity of acquisition and the size relation of preset strength;
First determination unit, if the ambient light intensity for the acquisition is greater than preset strength, and the figure of the image acquired
As analysis result is partially not red, it is determined that use correct optical filter;
Second determination unit, if the ambient light intensity for the acquisition is greater than preset strength, and the figure of the image acquired
As analysis result is partially red, it is determined that do not use correct optical filter;
Third determination unit, if the ambient light intensity for the acquisition is not more than preset strength, and the image acquired
Image analysis result is partially not red, it is determined that does not use correct optical filter;
4th determination unit, if the ambient light intensity for the acquisition is not more than preset strength, and the image acquired
Image analysis result is partially red, it is determined that uses correct optical filter;
Further, however, it is determined that do not use correct optical filter, described device further include:
Control module, for controlling optical filtering piece driving circuit switching optical filter.
Further, module 501 is obtained to be specifically used for obtaining image collecting device in optical filter by acceleration transducer
The acceleration of switching direction.
Further, obtaining module 501 includes:
Acquiring unit, for obtaining the level value exported after the acceleration that acceleration transducer detects;
Acquisition module includes:
Level change unit, if becoming low level from high level for the level value, it is determined that acceleration transducer inspection
The acceleration of survey is greater than preset value.
After the optical filter switching method and device for describing the image collecting device of the application illustrative embodiments,
Next, introducing the computing device of the another exemplary embodiment according to the application.
Person of ordinary skill in the field it is understood that the various aspects of the application can be implemented as system, method or
Program product.Therefore, the various aspects of the application can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
In some possible embodiments, according to an embodiment of the present application, computing device can include at least at least one
A processor and at least one processor.Wherein, memory is stored with program code, when program code is executed by processor
When, so that processor executes the image collecting device according to the various illustrative embodiments of the application of this specification foregoing description
Optical filter switching method in step 301-304.
The computing device 60 of this embodiment according to the application is described referring to Fig. 6.The calculating dress that Fig. 6 is shown
Setting 60 is only an example, should not function to the embodiment of the present application and use scope bring any restrictions.The computing device
Such as can be mobile phone, tablet computer etc..
As shown in fig. 6, computing device 60 is showed in the form of general-purpose calculating appts.The component of computing device 60 may include
But it is not limited to: at least one above-mentioned processor 61, above-mentioned at least one processor 62, (including the storage of the different system components of connection
Device 62 and processor 61) bus 63.
Bus 63 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Memory 62 may include the readable medium of form of volatile memory, such as random access memory (RAM) 621
And/or cache memory 622, it can further include read-only memory (ROM) 623.
Memory 62 can also include program/utility 625 with one group of (at least one) program module 624, this
The program module 624 of sample includes but is not limited to: operating system, one or more application program, other program modules and journey
It may include the realization of network environment in ordinal number evidence, each of these examples or certain combination.
Computing device 60 can also be communicated with one or more external equipments 64 (such as sensing equipment etc.), can also be with one
Or it is multiple enable a user to the equipment interacted with computing device 60 communication, and/or with enable the computing device 60 and one
Or any equipment (such as router, modem etc.) communication that a number of other computing devices are communicated.This communication
It can be carried out by input/output (I/O) interface 65.Also, computing device 60 can also pass through network adapter 66 and one
Or multiple networks (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As schemed
Show, network adapter 66 is communicated by bus 63 with other modules for computing device 60.It will be appreciated that though not showing in figure
Out, other hardware and/or software module can be used in conjunction with computing device 60, including but not limited to: microcode, device drives
Device, redundant processor, external disk drive array, RAID system, tape drive and data backup storage system etc..
In some possible embodiments, the optical filter switching method of image collecting device provided by the present application is each
Aspect is also implemented as a kind of form of program product comprising program code, when program product is transported on a computing device
When row, program code be used for make computer equipment execute this specification foregoing description according to the various exemplary embodiment party of the application
Step in the optical filter switching method of the image collecting device of formula executes step 301-304 as shown in Figure 3.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie
Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, infrared
The system of line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing is (non-
The list of exhaustion) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM),
Read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, the read-only storage of portable compact disc
Device (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The optical filter switching of the image collecting device of the application embodiment can be deposited using portable compact disc is read-only
Reservoir (CD-ROM) and including program code, and can run on the computing device.However, the program product of the application is not limited to
This, in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, which can be commanded
Execution system, device or device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the application operation program
Code, programming language include object oriented program language-Java, C++ etc., further include conventional process
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
It executes on device, partly execute on a user device, executing, as an independent software package partially in user's computing device
Upper part executes on remote computing device or executes on remote computing device or server completely.It is being related to remotely counting
In the situation for calculating device, remote computing device can pass through the network of any kind --- including local area network (LAN) or wide area network
(WAN)-it is connected to user's computing device, or, it may be connected to external computing device (such as provided using Internet service
Quotient is connected by internet).
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke
It point is only exemplary not enforceable.In fact, according to presently filed embodiment, it is above-described two or more
The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can
It is to be embodied by multiple units with further division.
In addition, although in the accompanying drawings sequentially to describe the operation of the application method, this does not require that or implies
These operations must be sequentially executed according to this, or have to carry out operation shown in whole and be just able to achieve desired result.It is attached
Add ground or it is alternatively possible to omit certain steps, multiple steps are merged into a step and are executed, and/or by a step point
Solution is execution of multiple steps.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with side
In the computer-readable memory of formula work, so that it includes instruction dress that instruction stored in the computer readable memory, which generates,
The manufacture set, the command device are realized in one box of one or more flows of the flowchart and/or block diagram or multiple
The function of being specified in box.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application
Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
Claims (10)
1. a kind of optical filter switching method of image collecting device, which is characterized in that the described method includes:
Obtain the acceleration of image collecting device;
If it is determined that the acceleration is greater than preset value, acquires ambient light intensity and acquire image;
Image analysis is carried out to the image of acquisition and obtains image analysis result, which is used to indicate the image of acquisition
It is whether partially red;
According to the image analysis result that the ambient light intensity of acquisition and analysis obtain, in conjunction with preset ambient light intensity and image point
Analyse the corresponding relationship between result, it is determined whether use correct optical filter, the corresponding relationship is included in designated environment light
Using the image analysis result of the image of correct optical filter acquisition under intensity.
2. the method as described in claim 1, which is characterized in that the image point obtained according to the ambient light intensity of acquisition and analysis
Analysis is as a result, in conjunction with the corresponding relationship between preset ambient light intensity and image analysis result, it is determined whether uses correct
Optical filter specifically includes:
Compare the ambient light intensity of acquisition and the size relation of preset strength;
If the ambient light intensity of the acquisition be greater than preset strength, and acquire image image analysis result be it is partially not red, then
It determines and uses correct optical filter;
If the ambient light intensity of the acquisition be greater than preset strength, and acquire image image analysis result be it is partially red, then really
It is fixed not use correct optical filter;
If the ambient light intensity of the acquisition be not more than preset strength, and acquire image image analysis result be it is partially not red,
It then determines and does not use correct optical filter;
If the ambient light intensity of the acquisition be not more than preset strength, and acquire image image analysis result be it is partially red, then
It determines and uses correct optical filter.
3. method according to claim 2, which is characterized in that if it is determined that not using correct optical filter, the method is also wrapped
It includes:
It controls optical filtering piece driving circuit and switches optical filter.
4. the method as described in claim 1, which is characterized in that the acceleration for obtaining image collecting device specifically includes:
Image collecting device is obtained in the acceleration of optical filter switching direction by acceleration transducer.
5. method as claimed in claim 4, which is characterized in that obtain image collecting device by acceleration transducer and filtering
The acceleration of piece switching direction, specifically includes:
Obtain the level value exported after the acceleration of the optical filter switching direction of acceleration transducer detection;
It determines that the acceleration is greater than preset value, specifically includes:
If the level value becomes low level from high level, it is determined that the acceleration of acceleration transducer detection is greater than preset value.
6. a kind of switching device of optical fiber of image collecting device, which is characterized in that described device includes:
Module is obtained, for obtaining the acceleration of image collecting device;
Acquisition module is used for if it is determined that the acceleration is greater than preset value, and acquisition ambient light intensity simultaneously acquires image;
Analysis module obtains image analysis result for carrying out image analysis to the image of acquisition, which is used for
Indicate whether the image of acquisition is partially red;
Determining module, for the image analysis result that the ambient light intensity and analysis according to acquisition obtain, in conjunction with preset environment
Corresponding relationship between luminous intensity and image analysis result, it is determined whether use correct optical filter, the corresponding relationship packet
Include the image analysis result of the image under designated environment luminous intensity using the acquisition of correct optical filter.
7. device as claimed in claim 6, which is characterized in that determining module includes:
Comparing unit, for comparing the ambient light intensity of acquisition and the size relation of preset strength;
First determination unit, if the ambient light intensity for the acquisition is greater than preset strength, and the image point of the image acquired
It is partially not red for analysing result, it is determined that uses correct optical filter;
Second determination unit, if the ambient light intensity for the acquisition is greater than preset strength, and the image point of the image acquired
It is partially red for analysing result, it is determined that does not use correct optical filter;
Third determination unit, if the ambient light intensity for the acquisition is not more than preset strength, and the image of the image acquired
It is partially not red for analyzing result, it is determined that does not use correct optical filter;
4th determination unit, if the ambient light intensity for the acquisition is not more than preset strength, and the image of the image acquired
It is partially red for analyzing result, it is determined that uses correct optical filter.
8. device as claimed in claim 7, which is characterized in that if it is determined that not using correct optical filter, described device is also wrapped
It includes:
Control module, for controlling optical filtering piece driving circuit switching optical filter.
9. a kind of terminal readable medium, is stored with terminal executable instruction, which is characterized in that the computer
Terminal executable instruction is used to execute the method as described in any claim in claim 1-4.
10. a kind of computing device characterized by comprising
At least one processor;And the memory being connect at least one described processor communication;Wherein, the memory is deposited
The instruction that can be executed by least one described processor is contained, described instruction is executed by least one described processor, so that institute
It states at least one processor and is able to carry out method as described in any claim in claim 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811584810.0A CN109714529B (en) | 2018-12-24 | 2018-12-24 | Optical filter switching method and device for image acquisition device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811584810.0A CN109714529B (en) | 2018-12-24 | 2018-12-24 | Optical filter switching method and device for image acquisition device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109714529A true CN109714529A (en) | 2019-05-03 |
CN109714529B CN109714529B (en) | 2020-12-08 |
Family
ID=66256201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811584810.0A Active CN109714529B (en) | 2018-12-24 | 2018-12-24 | Optical filter switching method and device for image acquisition device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109714529B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113156638A (en) * | 2021-02-26 | 2021-07-23 | 南昌欧菲光电技术有限公司 | Circuit control method and device, camera module, terminal equipment and storage medium |
CN113225550A (en) * | 2021-04-16 | 2021-08-06 | 南昌欧菲光电技术有限公司 | Offset detection method and device, camera module, terminal equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013162500A (en) * | 2012-02-09 | 2013-08-19 | Canon Inc | Optical filter device |
CN106444229A (en) * | 2016-11-23 | 2017-02-22 | 东莞市维斗科技股份有限公司 | Multi-filter IR-CUT switcher |
CN108761701A (en) * | 2018-07-16 | 2018-11-06 | 深圳市亚派光电器件有限公司 | Jig for attaching and optical filter mounting system |
-
2018
- 2018-12-24 CN CN201811584810.0A patent/CN109714529B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013162500A (en) * | 2012-02-09 | 2013-08-19 | Canon Inc | Optical filter device |
CN106444229A (en) * | 2016-11-23 | 2017-02-22 | 东莞市维斗科技股份有限公司 | Multi-filter IR-CUT switcher |
CN108761701A (en) * | 2018-07-16 | 2018-11-06 | 深圳市亚派光电器件有限公司 | Jig for attaching and optical filter mounting system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113156638A (en) * | 2021-02-26 | 2021-07-23 | 南昌欧菲光电技术有限公司 | Circuit control method and device, camera module, terminal equipment and storage medium |
CN113225550A (en) * | 2021-04-16 | 2021-08-06 | 南昌欧菲光电技术有限公司 | Offset detection method and device, camera module, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109714529B (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108322660A (en) | Picture pick-up device and lens unit | |
EP2757771B1 (en) | Image pickup apparatus, remote control apparatus, and methods of controlling image pickup apparatus and remote control apparatus | |
US9596415B2 (en) | Control apparatus, imaging system, control method, and program for changing a composition of an image | |
US9760808B2 (en) | Image processing system, server device, image pickup device and image evaluation method | |
CN110035203A (en) | Image processing equipment and its control method | |
CN110493524A (en) | A kind of survey light method of adjustment, device, equipment and storage medium | |
CN101420593A (en) | Image comparison method detects the method for operating state of cloud platform video camera | |
CN109714529A (en) | Optical filter switching method, device and the storage medium of image collecting device | |
CN111832557A (en) | Power grid inspection method and device, electronic equipment and storage medium | |
CN113038084B (en) | State identification method, device and system | |
CN109326125B (en) | Picture quality diagnosis system and method based on embedded system | |
CN109299023A (en) | The method and apparatus for finding out the setting that the sensor unit that processing unit connects uses | |
CN113903098A (en) | Power equipment inspection method and system and infrared inspection terminal | |
CN116580657A (en) | Fault detection method, device, equipment and computer readable storage medium | |
CN110888812B (en) | Test system and test method for response time of terminal page | |
CN112352417A (en) | Focusing method of shooting device, system and storage medium | |
CN109040729B (en) | Image white balance correction method and device, storage medium and terminal | |
CN113452991A (en) | Lens focusing state determining method, device, equipment and storage medium | |
CN113031386B (en) | Abnormality detection method, device, equipment and medium for double-filter switcher | |
CN108307154A (en) | A kind of video camera being suitable for pinpointing monitoring | |
CN108089110A (en) | Mainboard method for testing reliability and system | |
CN207528883U (en) | A kind of voice coil motor life-span test system of multi-cam module | |
CN113115031B (en) | Method and system for detecting camera | |
CN108307155A (en) | Suitable for pinpointing the video camera of monitoring | |
CN110691181B (en) | Camera equipment, camera and unmanned aerial vehicle |
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 |