CN106303215A - The acquisition method of a kind of image and device - Google Patents
The acquisition method of a kind of image and device Download PDFInfo
- Publication number
- CN106303215A CN106303215A CN201610591425.3A CN201610591425A CN106303215A CN 106303215 A CN106303215 A CN 106303215A CN 201610591425 A CN201610591425 A CN 201610591425A CN 106303215 A CN106303215 A CN 106303215A
- Authority
- CN
- China
- Prior art keywords
- picture
- acquisition
- image
- change
- adjacent
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
Abstract
Embodiments provide acquisition method and the device of a kind of image.On the one hand, the embodiment of the present invention, by during continuous acquisition image, detect the picture situation of change between adjacent two two field pictures, then, according to the picture situation of change between adjacent two two field pictures, the acquisition quality using current acquired image is adjusted, and then, utilize the acquisition quality obtained after adjusting to carry out image acquisition.Therefore, the technical scheme that the embodiment of the present invention provides can solve the problem that using fixing acquisition quality to gather image in prior art causes motility poor, it is impossible to the problem meeting different image acquisition demands.
Description
[technical field]
The present invention relates to communication technical field, particularly relate to acquisition method and the device of a kind of image.
[background technology]
At present, image collecting device on the market is the most traditional, generally, and image acquisition device image
Acquisition quality be all previously set, will not change gathering acquisition quality during image.
In realizing process of the present invention, inventor finds that in prior art, at least there are the following problems:
If the acquisition quality preset is higher, the memory space that the image collected takies is relatively big, highly shortened image
Collection duration;If the acquisition quality preset is relatively low, the picture quality collected is poor, affects image and reviews and identify.Therefore,
Using fixing acquisition quality to gather image in prior art causes motility poor, it is impossible to meet different image acquisition need
Ask.
[summary of the invention]
In view of this, acquisition method and the device of a kind of image is embodiments provided, in order to solve prior art
The acquisition quality that middle use is fixed gathers image and causes motility poor, it is impossible to the problem meeting different image acquisition demands.
On the one hand, embodiments provide the acquisition method of a kind of image, including:
During continuous acquisition image, detect the picture situation of change between adjacent two two field pictures;
According to the picture situation of change between described adjacent two two field pictures, the acquisition quality using current acquired image enters
Row sum-equal matrix;
The acquisition quality obtained after adjusting is utilized to carry out image acquisition.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, detect adjacent two
Picture situation of change between two field picture, including:
Obtain present frame picture and former frame picture in the image gathered;
Utilize image comparison algorithm, it is thus achieved that the picture difference journey between described present frame picture and described former frame picture
Degree, using as the picture situation of change between adjacent two two field pictures.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, according to described phase
Picture situation of change between adjacent two two field pictures, the acquisition quality using current acquired image is adjusted, including:
According to default candidate's scope, determine the picture situation of change place between described adjacent two two field pictures detected
Candidate's scope, using as target zone;
Using acquisition quality corresponding for described target zone as target acquisition quality, the collection that current acquired image is used
Mass adjust-ment is to described target acquisition quality.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, according to described phase
Picture situation of change between adjacent two two field pictures, the acquisition quality using current acquired image is adjusted, including:
According to the picture situation of change between adjacent two two field pictures, it is thus achieved that picture situation of change described in adjacent at least two
The variation tendency of the difference degree between middle each two picture situation of change;
If the variation tendency of the difference degree between adjacent two picture situations of change is for becoming big or constant, heighten current
Gather the acquisition quality that image uses;Or, if the difference degree variation tendency between adjacent two picture situations of change is for becoming
Little, turn down the acquisition quality that current acquired image uses.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, gather current
The acquisition quality that image uses is adjusted, including:
Adjust acquisition parameter;
Described acquisition parameter includes: in resolution, frame per second and code stream at least one.
A technical scheme in technique scheme has the advantages that
In the embodiment of the present invention, by during continuous acquisition image, detect the picture between adjacent two two field pictures
Situation of change, then, according to the picture situation of change between adjacent two two field pictures, the acquisition quality using current acquired image
It is adjusted, and then, utilize the acquisition quality obtained after adjusting to carry out image acquisition.In the embodiment of the present invention, can be in real time
According to the picture situation of change between adjacent two two field pictures detected, automatically and dynamically adjust current acquired image and used
Acquisition quality, to meet different image acquisition demands, motility is higher, solves and uses fixing collection in prior art
Quality gathers image and causes motility poor, it is impossible to the problem meeting different image acquisition demands.
On the other hand, embodiments provide the harvester of a kind of image, including:
Detector unit, for during continuous acquisition image, detects the picture change feelings between adjacent two two field pictures
Condition;
Adjustment unit, for according to the picture situation of change between described adjacent two two field pictures, makes current acquired image
Acquisition quality be adjusted;
Collecting unit, the acquisition quality obtained after utilizing adjustment carries out image acquisition.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described detection list
Unit, specifically for:
Obtain present frame picture and former frame picture in the image gathered;
Utilize image comparison algorithm, it is thus achieved that the picture difference journey between described present frame picture and described former frame picture
Degree, using as the picture situation of change between adjacent two two field pictures.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described adjustment list
Unit, specifically for:
According to default candidate's scope, determine the picture situation of change place between described adjacent two two field pictures detected
Candidate's scope, using as target zone;
Using acquisition quality corresponding for described target zone as target acquisition quality, the collection that current acquired image is used
Mass adjust-ment is to target acquisition quality.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described adjustment list
Unit, specifically for:
According to the picture situation of change between adjacent two two field pictures, it is thus achieved that picture situation of change described in adjacent at least two
The variation tendency of the difference degree between middle each two picture situation of change;
If the variation tendency of the difference degree between adjacent two picture situations of change is for becoming big or constant, heighten current
Gather the acquisition quality that image uses;Or, if the difference degree variation tendency between adjacent two picture situations of change is for becoming
Little, turn down the acquisition quality that current acquired image uses.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described adjustment list
When the acquisition quality that current acquired image uses is adjusted by unit, specifically for:
Adjust acquisition parameter;
Described acquisition parameter includes: in resolution, frame per second and code stream at least one.
A technical scheme in technique scheme has the advantages that
Detector unit detection in the embodiment of the present invention, during continuous acquisition image, in the harvester of image
Picture situation of change between adjacent two two field pictures, then, the adjustment unit in the harvester of image is according to adjacent two frame figures
Picture situation of change between Xiang, the acquisition quality using current acquired image is adjusted, and then, the harvester of image
In collecting unit utilize adjust after the acquisition quality that obtains carry out image acquisition.In the embodiment of the present invention, can DIGEN in real time
According to the picture situation of change between adjacent two two field pictures detected, automatically and dynamically adjust what current acquired image was used
Acquisition quality, to meet different image acquisition demands, motility is higher, solves and uses fixing collection matter in prior art
Amount gathers image and causes motility poor, it is impossible to the problem meeting different image acquisition demands.
[accompanying drawing explanation]
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by embodiment required use attached
Figure is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, for this area
From the point of view of those of ordinary skill, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
Fig. 1 is the schematic flow sheet of the embodiment one of the acquisition method of the image that the embodiment of the present invention is provided;
Fig. 2 is the schematic flow sheet of the embodiment two of the acquisition method of the image that the embodiment of the present invention is provided;
Fig. 3 is the functional block diagram of the harvester of the image that the embodiment of the present invention is provided.
[detailed description of the invention]
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail
State.
It will be appreciated that described embodiment be only the present invention a part of embodiment rather than whole embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under not making creative work premise all its
Its embodiment, broadly falls into the scope of protection of the invention.
The term used in embodiments of the present invention is only merely for describing the purpose of specific embodiment, and is not intended to be limiting
The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims
It is also intended to include most form, unless context clearly shows that other implications.
Should be appreciated that term "and/or" used herein is only a kind of incidence relation describing affiliated partner, represent
Three kinds of relations, such as, A and/or B can be there are, can represent: individualism A, there is A and B, individualism B these three simultaneously
Situation.It addition, character "/" herein, typically represent forward-backward correlation to as if the relation of a kind of "or".
Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ...
Time " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context, phrase " if it is determined that " or " if detection
(condition of statement or event) " " when determining " or " in response to determining " can be construed to or " when the detection (condition of statement
Or event) time " or " in response to detection (condition of statement or event) ".
Embodiment one
The embodiment of the present invention provides the acquisition method of a kind of image, refer to Fig. 1, and it is provided by the embodiment of the present invention
The schematic flow sheet of the embodiment one of the acquisition method of image, as it is shown in figure 1, the method comprises the following steps:
S101, during continuous acquisition image, detects the picture situation of change between adjacent two two field pictures.
In the embodiment of the present invention, the picture between adjacent two two field pictures can be detected during continuous acquisition image
Situation of change, is in order to according to the picture situation of change between adjacent two two field pictures, the collection matter using current acquired image
Amount is adjusted.
During a concrete implementation, detect the picture situation of change between adjacent two two field pictures, can obtain and adopt
Present frame picture and former frame picture in the image of collection, utilize image comparison algorithm, it is thus achieved that present frame picture and former frame picture
Between picture difference degree, using as the picture situation of change between adjacent two two field pictures.
Illustrating, during continuous acquisition image, the present frame that can detect the image collected in real time is drawn
Face, and this present frame picture and former frame picture are utilized image comparison algorithm, get present frame picture and former frame picture
The numerical value of picture difference degree, such as 30%.If if it is understood that the present frame utilizing image comparison algorithm to get is drawn
The numerical value of the picture difference degree of face and former frame picture is 30%, and image and the figure of former frame picture of present frame picture are described
As there being the difference of 30%, remaining is 70% relatively or unanimously.
It should be noted that utilize the picture difference degree of present frame picture and former frame picture as adjacent two two field pictures
Between picture situation of change, the embodiment of the present invention simply detects the one of picture situation of change between adjacent two two field pictures
Specific implementation, not in order to limit the present invention.
S102, according to the picture situation of change between adjacent two two field pictures, the acquisition quality using current acquired image
It is adjusted.
Concrete, in the embodiment of the present invention, the acquisition quality being used current acquired image is adjusted, and can pass through
The acquisition quality that the mode of adjustment acquisition parameter realizes being used current acquired image is adjusted.Wherein, acquisition parameter can
To include but not limited to: in resolution, frame per second and code stream at least one.
Illustrating as a example by resolution, when acquisition quality is higher, resolution is higher, so, to heighten current collection
The acquisition quality that image is used, then can heighten resolution, to reach to heighten the purpose of acquisition quality.
Concrete, in the embodiment of the present invention, in addition it is also necessary to determine the highest acquisition quality that the harvester of image can be supported by
With minimum acquisition quality, and then, between the highest acquisition quality and the minimum acquisition quality that image collecting device can be supported by, right
The acquisition quality that current acquired image uses is adjusted.
During a concrete implementation, the acquisition parameter of the harvester of image can be detected, to determine image
The highest acquisition quality that harvester can be supported by and minimum acquisition quality.The embodiment of the present invention collection to how determining image
Maximum acquisition quality and the specific implementation of minimum acquisition quality that device can be supported by are not particularly limited.
During a concrete implementation, minimum adopting can be used when the harvester initial acquisition image of image
Collection quality carries out the collection of image, to save memory space.
Concrete, in the embodiment of the present invention, according to the picture situation of change between adjacent two two field pictures, to currently gathering figure
The implementation being adjusted as the acquisition quality used, can include but not limited to following two.
The first: according to default candidate's scope, determine the picture situation of change between adjacent two two field pictures detected
Candidate's scope at place, using as target zone, then, using acquisition quality corresponding for target zone as target acquisition quality,
The acquisition quality that current acquired image uses is adjusted to target acquisition quality.
Concrete, in the embodiment of the present invention, at least two candidate's scope can be preset for picture difference degree, and be this
A little candidate's scopes preset corresponding acquisition quality.Therefore, it can, according to the candidate's scope preset, determine adjacent two frames detected
Candidate's scope at the picture difference degree place between image, using this candidate's scope as target candidate scope, waits this target
Select acquisition quality corresponding to scope as target acquisition quality, and then the acquisition quality that current acquired image uses can be adjusted
To target acquisition quality.
For example, it is possible to preset at least two candidate's scope for picture difference degree, and in concrete application process, permissible
Determining concrete default several candidate's scopes according to actual needs, this is not particularly limited by the embodiment of the present invention.
During it should be noted that the candidate's scope for presetting arranges the acquisition quality of correspondence, need at image collecting device
The acquisition quality corresponding with candidate's scope is set between the highest acquisition quality and the minimum acquisition quality that can be supported by.
It should be noted that the acquisition quality that current acquired image uses is adjusted to target acquisition quality, can include
But it is not limited to: the acquisition quality that current acquired image uses is directly switch into target acquisition quality, or, will currently gather figure
Acquisition quality as using progressively adjusts to target acquisition quality.It is understood that during concrete implementation, what uses
The acquisition quality that current acquired image uses is adjusted to target acquisition quality by the mode of kind, and the embodiment of the present invention limits the most especially
Fixed.
It should be noted that target acquisition quality can be preset as a parameter specified, if resolution 720P is target
Acquisition quality;Or, target acquisition quality can also be preset as a parameter area specified, as resolution 720P~800P are
Target acquisition quality, this is not particularly limited by the embodiment of the present invention.
It is illustrated as a example by resolution.Assume that the highest resolution that the harvester of image can be supported by is
1080P, the lowest resolution that the harvester of this image can be supported by is 480P.Three can be preset according to picture difference degree
Candidate's scope, and preset respectively the picture difference degree scope of candidate's scope 1 for [0,5%), and it is corresponding to have preset candidate's scope 1
Resolution be 480P, now, if the picture situation of change detected between adjacent two two field pictures is in candidate's scope 1, permissible
Think the picture zero difference between adjacent two two field pictures.Preset candidate's scope 2 picture difference degree scope be [5%, 50%),
And the resolution having preset candidate's scope 2 correspondence is 720P, now, if the picture detected between adjacent two two field pictures changes feelings
Condition is in candidate's scope 2, it is believed that the picture between adjacent two two field pictures is variant, but picture difference degree is less.Preset
The picture difference degree scope of candidate's scope 3 be [50%, 100%), and preset resolution corresponding to candidate's scope and be
1080P, now, if the picture situation of change detected between adjacent two two field pictures is in candidate's scope 3, it is believed that adjacent two
Picture between two field picture is variant, and picture difference degree is bigger.
According to the above candidate's scope preset, and the acquisition quality that each candidate's scope is corresponding, detect adjacent two two field pictures
Between picture situation of change.
If the picture difference degree between adjacent two two field pictures detected is 3%, then candidate's scope 1 is target zone,
Resolution 480P of candidate's scope 1 correspondence is target resolution, the resolution adjustment used by current acquired image to 480P;This
Time, it is believed that the picture zero difference between adjacent two two field pictures, so the acquisition quality used by current acquired image adjusts
For relatively low acquisition quality, to save memory space.
If the picture difference degree between adjacent two two field pictures detected is 20%, then candidate's scope 2 is target zone,
Resolution 720P of candidate's scope 2 correspondence is target resolution, the resolution adjustment used by current acquired image to 720P;This
Time, it is believed that the picture between adjacent two two field pictures is variant, but picture difference degree is less, works as so suitably heightening
The acquisition quality that front collection image uses so that the image collected is relatively sharp.
If the picture difference degree between adjacent two two field pictures detected is 70%, then candidate's scope 3 is target zone,
Resolution 1080P of candidate's scope 3 correspondence is target resolution, the resolution adjustment used by current acquired image to 1080P;
At this point it is possible to the picture thought between adjacent two two field pictures is variant, but picture difference degree is relatively big, and picture is fiercer, for
Ensure the definition of picture, do not affect and review and identify, so the acquisition quality that current acquired image uses is adjusted to the highest
Acquisition quality.
It is understood that above citing only changes feelings in order to the picture between illustrating how according to adjacent two two field pictures
Condition, a kind of specific implementation that the acquisition quality using current acquired image is adjusted, not in order to limit the present invention.
The second: according to the picture situation of change between adjacent two two field pictures, it is thus achieved that adjacent at least two picture change
The variation tendency of difference degree between each two picture situation of change in situation;If between adjacent two picture situations of change
The variation tendency of difference degree, for becoming big or constant, heightens the acquisition quality that current acquired image uses;Or, if adjacent two
Difference degree variation tendency between individual picture situation of change, for diminishing, turns down the acquisition quality that current acquired image uses.
Concrete, in the embodiment of the present invention, need according to the picture situation of change between adjacent two two field pictures, obtain adjacent
At least two picture situation of change in the variation tendency of difference degree between each two picture situation of change, and then, according to
The variation tendency of the difference degree between adjacent two picture situations of change, adjusts the acquisition quality that current acquired image uses.
Illustrating, the picture difference degree between adjacent two two field pictures that will detect is as between adjacent two two field pictures
Picture situation of change, it is assumed that detect the picture difference degree between adjacent two two field pictures be respectively 40%, 70%, 70%,
30%.
It follows that picture difference degree 40% and picture difference degree 70% are two adjacent picture situations of change,
The variation tendency of the difference degree between them is for becoming big, and now, the picture difference degree between adjacent two two field pictures is relatively big, draws
Face is fiercer, needs to heighten the acquisition quality that current acquired image uses, to ensure the definition of the picture collected, does not affects
Review and identify.
Picture difference degree 70% and picture difference degree 70% are two adjacent picture situations of change, between them
The variation tendency of difference degree is constant, and now, the picture difference degree between adjacent two two field pictures is relatively big, and picture is fiercer,
Need to heighten the acquisition quality that current acquired image uses, to ensure the definition of the picture collected, do not affect and review and know
Not.
Picture difference degree 70% and picture difference degree 30% are two adjacent picture situations of change, between them
The variation tendency of difference degree is for diminishing, and now, the picture difference degree between adjacent two two field pictures starts to diminish, and can turn down
The acquisition quality that current acquired image uses, to ensure that the picture collected takies less memory space, such that it is able in phase
Under same memory space, extend the duration gathering image.
During it should be noted that use the method for the acquisition quality of second way regulation current acquired image use, adjust
The acquisition quality that high current acquired image uses, is that the acquisition quality used with current acquired image is as standard.At a tool
During the realization of body, it is possible to specify any one acquisition quality used higher than current acquired image gathers matter as target
Amount, and then, the acquisition quality that current acquired image uses is adjusted to target acquisition quality.Or, a concrete implementation
During, on the premise of not target setting acquisition quality, it is also possible at random heighten the collection matter that current acquired image uses
Amount, it is only necessary to ensure the acquisition quality that the acquisition quality after adjusting is used higher than current acquired image.The present invention implements
The acquisition quality using which kind of mode to heighten current acquired image use is not particularly limited by example.
During it should be noted that use the method for the acquisition quality of second way regulation current acquired image use, adjust
The acquisition quality that low current acquired image uses, is that the acquisition quality used with current acquired image is as standard.At a tool
During the realization of body, it is possible to specify any one acquisition quality used less than current acquired image gathers matter as target
Amount, and then, the acquisition quality that current acquired image uses is adjusted to target acquisition quality.Or, a concrete implementation
During, on the premise of not target setting acquisition quality, it is also possible at random turn down the collection matter that current acquired image uses
Amount, it is only necessary to ensure the acquisition quality that the acquisition quality after adjusting is used less than current acquired image.The present invention implements
The acquisition quality using which kind of mode to turn down current acquired image use is not particularly limited by example.
It is understood that by current acquired image use acquisition quality adjust to target acquisition quality can include but
It is not limited to: the acquisition quality that current acquired image uses is switched to target acquisition quality, or, current acquired image is used
Acquisition quality progressively adjust to target acquisition quality.It is understood that during concrete implementation, use which kind of mode
Adjusting the acquisition quality that current acquired image uses to target acquisition quality, the embodiment of the present invention is not particularly limited.
During it should be noted that use the method for the acquisition quality of second way regulation current acquired image use, adjust
High current acquired image use acquisition quality or turn down current acquired image use acquisition quality, be required for adopting at image
The acquisition quality between the highest acquisition quality and minimum acquisition quality that acquisition means can be supported by used current acquired image enters
Row regulation.
It is understood that above citing only changes feelings in order to the picture between illustrating how according to adjacent two two field pictures
Condition, a kind of specific implementation that the acquisition quality using current acquired image is adjusted, not in order to limit the present invention.
During a concrete implementation, if the picture situation of change between adjacent two two field pictures is unchanged, then may be used
So that the acquisition quality that current acquired image uses is adjusted to minimum acquisition quality.Or, during a concrete implementation,
If the picture situation of change between adjacent two two field pictures is for change acutely, then the acquisition quality that current acquired image can be used
It is adjusted to the highest acquisition quality.It is understood that the acquisition quality that current acquired image uses is adjusted to minimum collection matter
Amount or the highest acquisition quality, a kind of concrete implementation mode, not in order to limit the present invention.
S103, utilizes the acquisition quality obtained after adjusting to carry out image acquisition.
The embodiment of the present invention can picture situation of change between adjacent two two field pictures bigger time use higher collection
Quality gathers image, it is possible to collects clearly image, does not interferes with reviewing and identifying of image;Between adjacent two two field pictures
Picture situation of change less time use relatively low acquisition quality to gather image, memory space can be effectively saved, thus, this
Inventive embodiments ensure that and extends the duration gathering image under identical memory space, and motility is higher.
It should be noted that the executive agent of S101~S103 can be the harvester of image, this device may be located at
Monitoring device, or, it is also possible to it is positioned at terminal, or, it is also possible to it is located locally the application of terminal, or can also be for being positioned at this
Plug-in unit in the application of ground terminal or the functional unit such as SDK (SoftwareDevelopment Kit, SDK),
This is not particularly limited by the embodiment of the present invention.
It is understood that the application program (nativeApp) that described application can be mounted in terminal, or also may be used
To be a web page program (webApp) of browser in terminal, this is not defined by the embodiment of the present invention.
It should be noted that terminal involved in the embodiment of the present invention can include but not limited to personal computer
(Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless handheld
Equipment, panel computer (Tablet Computer), mobile phone, MP3 player, MP4 player etc..
A technical scheme in the embodiment of the present invention has the advantages that
During continuous acquisition image, by detecting the picture situation of change between adjacent two two field pictures, then, root
According to the picture situation of change between adjacent two two field pictures, the acquisition quality using current acquired image is adjusted, and then, profit
Image acquisition is carried out with the acquisition quality obtained after adjustment.In the embodiment of the present invention, can be adjacent according to detect in real time
Picture situation of change between two two field pictures, adjusts the acquisition quality that current acquired image is used automatically and dynamically, with full
The image acquisition demand that foot is different, motility is higher, solves and uses fixing acquisition quality collection image to lead in prior art
Cause motility is poor, it is impossible to the problem meeting different image acquisition demands.
Embodiment two
The embodiment of the present invention gives the acquisition method of a kind of image, refer to Fig. 2, and it is provided by the embodiment of the present invention
The schematic flow sheet of embodiment two of acquisition method of image, as in figure 2 it is shown, the method comprises the following steps:
S201, during continuous acquisition image, detects the picture situation of change between adjacent two two field pictures.
Whether S202, change between adjacent two two field pictures, if so, perform S203;If it is not, perform S204.
S203, the change of divergence between adjacent two two field pictures is the biggest, if so, performs S205;If it is not, perform S206.
S204, is adjusted to minimum acquisition quality by the acquisition quality that current acquired image uses.
S205, is adjusted to the highest acquisition quality by the acquisition quality that current acquired image uses.
S206, is adjusted to target acquisition quality, wherein, target acquisition quality by the acquisition quality that current acquired image uses
The acquisition quality used higher than current acquired image, and less than the highest acquisition quality.
S207, utilizes the acquisition quality obtained after adjusting to carry out image acquisition.
A technical scheme in the embodiment of the present invention has the advantages that
In the embodiment of the present invention, can in real time according to the picture situation of change between adjacent two two field pictures that detect,
Automatically the acquisition quality that current acquired image is used and is dynamically adjusted, to meet different image acquisition demands, motility
Higher, solve and prior art uses fixing acquisition quality collection image cause motility poor, it is impossible to meet different
The problem of image acquisition demand.
Embodiment three
Acquisition method based on the image that above-described embodiment one is provided, the embodiment of the present invention be given further realize above-mentioned
The device embodiment of each step and method in embodiment of the method.
Refer to Fig. 3, the functional block diagram of the harvester of its image provided by the embodiment of the present invention.Such as Fig. 3 institute
Showing, this device includes:
Detector unit 31, for during continuous acquisition image, detects the picture change between adjacent two two field pictures
Situation;
Adjustment unit 32, for according to the picture situation of change between adjacent two two field pictures, using current acquired image
Acquisition quality be adjusted;
Collecting unit 33, the acquisition quality obtained after utilizing adjustment carries out image acquisition.
Concrete, in the embodiment of the present invention, detector unit 31, specifically for:
Obtain present frame picture and former frame picture in the image gathered;
Utilize image comparison algorithm, it is thus achieved that the picture difference degree between present frame picture and former frame picture, using as
Picture situation of change between adjacent two two field pictures.
Concrete, in the embodiment of the present invention, adjustment unit 32, specifically for:
According to default candidate's scope, determine the time at picture situation of change place between adjacent two two field pictures detected
Select scope, using as target zone;
Using acquisition quality corresponding for target zone as target acquisition quality, the acquisition quality that current acquired image is used
Adjust to target acquisition quality.
Concrete, in the embodiment of the present invention, adjustment unit 32, specifically for:
According to the picture situation of change between adjacent two two field pictures, it is thus achieved that every in adjacent at least two picture situation of change
The variation tendency of the difference degree between two picture situations of change;
If the variation tendency of the difference degree between adjacent two picture situations of change is for becoming big or constant, heighten current
Gather the acquisition quality that image uses;Or, if the difference degree variation tendency between adjacent two picture situations of change is for becoming
Little, turn down the acquisition quality that current acquired image uses.
Concrete, in the embodiment of the present invention, the acquisition quality that current acquired image is used by adjustment unit 32 is adjusted
Time, specifically for:
Adjust acquisition parameter;
Acquisition parameter includes: in resolution, frame per second and code stream at least one.
Owing to each unit in the present embodiment is able to carry out the method shown in Fig. 1, the part that the present embodiment does not describes in detail,
Refer to the related description to Fig. 1.
A technical scheme in the embodiment of the present invention has the advantages that
During continuous acquisition image, the detector unit in the harvester of image detects between adjacent two two field pictures
Picture situation of change, then, the adjustment unit in the harvester of image according between adjacent two two field pictures picture change
Situation, the acquisition quality using current acquired image is adjusted, and then, the collecting unit in the harvester of image utilizes
The acquisition quality obtained after adjustment carries out image acquisition.In the embodiment of the present invention, can be in real time according to adjacent two detected
Picture situation of change between two field picture, adjusts the acquisition quality that current acquired image is used automatically and dynamically, to meet
Different image acquisition demands, motility is higher, solves and uses fixing acquisition quality collection image to cause in prior art
Motility is poor, it is impossible to the problem meeting different image acquisition demands.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method are permissible
Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit
Dividing, be only a kind of logic function and divide, actual can have other dividing mode, such as, multiple unit or group when realizing
Part can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown
Or the coupling each other discussed or direct-coupling or communication connection can be indirect by some interfaces, device or unit
Coupling or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer
Device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention each
The part steps of method described in embodiment.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various
The medium of program code can be stored.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. done, within should be included in the scope of protection of the invention.
Claims (10)
1. the acquisition method of an image, it is characterised in that described method includes:
During continuous acquisition image, detect the picture situation of change between adjacent two two field pictures;
According to the picture situation of change between described adjacent two two field pictures, the acquisition quality using current acquired image is adjusted
Whole;
The acquisition quality obtained after adjusting is utilized to carry out image acquisition.
Method the most according to claim 1, it is characterised in that detect the picture situation of change between adjacent two two field pictures,
Including:
Obtain present frame picture and former frame picture in the image gathered;
Utilize image comparison algorithm, it is thus achieved that the picture difference degree between described present frame picture and described former frame picture, with
As the picture situation of change between adjacent two two field pictures.
Method the most according to claim 1 and 2, it is characterised in that become according to the picture between described adjacent two two field pictures
Change situation, the acquisition quality using current acquired image is adjusted, including:
According to default candidate's scope, determine the time at picture situation of change place between described adjacent two two field pictures detected
Select scope, using as target zone;
Using acquisition quality corresponding for described target zone as target acquisition quality, the acquisition quality that current acquired image is used
Adjust to described target acquisition quality.
Method the most according to claim 1 and 2, it is characterised in that become according to the picture between described adjacent two two field pictures
Change situation, the acquisition quality using current acquired image is adjusted, including:
According to the picture situation of change between adjacent two two field pictures, it is thus achieved that every in picture situation of change described in adjacent at least two
The variation tendency of the difference degree between two picture situations of change;
If the variation tendency of the difference degree between adjacent two picture situations of change is for becoming big or constant, heighten current collection
The acquisition quality that image uses;Or, if the difference degree variation tendency between adjacent two picture situations of change is for diminishing, adjust
The acquisition quality that low current acquired image uses.
5. according to the method described in claim 1 or 3 or 4, it is characterised in that the acquisition quality using current acquired image enters
Row sum-equal matrix, including:
Adjust acquisition parameter;
Described acquisition parameter includes: in resolution, frame per second and code stream at least one.
6. the harvester of an image, it is characterised in that described device includes:
Detector unit, for during continuous acquisition image, detects the picture situation of change between adjacent two two field pictures;
Adjustment unit, for according to the picture situation of change between described adjacent two two field pictures, using current acquired image
Acquisition quality is adjusted;
Collecting unit, the acquisition quality obtained after utilizing adjustment carries out image acquisition.
Device the most according to claim 6, it is characterised in that described detector unit, specifically for:
Obtain present frame picture and former frame picture in the image gathered;
Utilize image comparison algorithm, it is thus achieved that the picture difference degree between described present frame picture and described former frame picture, with
As the picture situation of change between adjacent two two field pictures.
8. according to the device described in claim 6 or 7, it is characterised in that described adjustment unit, specifically for:
According to default candidate's scope, determine the time at picture situation of change place between described adjacent two two field pictures detected
Select scope, using as target zone;
Using acquisition quality corresponding for described target zone as target acquisition quality, the acquisition quality that current acquired image is used
Adjust to target acquisition quality.
9. according to the device described in claim 6 or 7, it is characterised in that described adjustment unit, specifically for:
According to the picture situation of change between adjacent two two field pictures, it is thus achieved that every in picture situation of change described in adjacent at least two
The variation tendency of the difference degree between two picture situations of change;
If the variation tendency of the difference degree between adjacent two picture situations of change is for becoming big or constant, heighten current collection
The acquisition quality that image uses;Or, if the difference degree variation tendency between adjacent two picture situations of change is for diminishing, adjust
The acquisition quality that low current acquired image uses.
10. according to the device described in claim 6 or 8 or 9, it is characterised in that current acquired image is made by described adjustment unit
Acquisition quality when being adjusted, specifically for:
Adjust acquisition parameter;
Described acquisition parameter includes: in resolution, frame per second and code stream at least one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610591425.3A CN106303215A (en) | 2016-07-26 | 2016-07-26 | The acquisition method of a kind of image and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610591425.3A CN106303215A (en) | 2016-07-26 | 2016-07-26 | The acquisition method of a kind of image and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106303215A true CN106303215A (en) | 2017-01-04 |
Family
ID=57652439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610591425.3A Pending CN106303215A (en) | 2016-07-26 | 2016-07-26 | The acquisition method of a kind of image and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303215A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566688A (en) * | 2017-08-30 | 2018-01-09 | 广州华多网络科技有限公司 | A kind of video anti-fluttering method and device based on convolutional neural networks |
CN107734279A (en) * | 2017-10-11 | 2018-02-23 | 惠州Tcl移动通信有限公司 | Mobile terminal and video recording automatically configure processing method and storage medium when recording |
CN108211352A (en) * | 2017-12-28 | 2018-06-29 | 深圳市创梦天地科技股份有限公司 | A kind of method and terminal for adjusting image quality |
CN112487888A (en) * | 2020-11-16 | 2021-03-12 | 支付宝(杭州)信息技术有限公司 | Image acquisition method and device based on target object |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4033456B2 (en) * | 2002-11-28 | 2008-01-16 | 富士フイルム株式会社 | Digital camera |
US20140049661A1 (en) * | 2011-05-06 | 2014-02-20 | Empire Technology Development Llc | Higher Resolution Still Image Generation from Lower Resolution Video Camera Frames |
CN103905708A (en) * | 2012-12-24 | 2014-07-02 | 联想(北京)有限公司 | Shooting frame rate adjusting method and electronic device |
CN104270561A (en) * | 2014-08-01 | 2015-01-07 | Tcl通讯(宁波)有限公司 | Method for automatically regulating Camera frame rate of mobile terminal and mobile terminal |
CN104702833A (en) * | 2013-12-04 | 2015-06-10 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105117191A (en) * | 2015-09-08 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method and apparatus for controlling display of mobile terminal |
-
2016
- 2016-07-26 CN CN201610591425.3A patent/CN106303215A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4033456B2 (en) * | 2002-11-28 | 2008-01-16 | 富士フイルム株式会社 | Digital camera |
US20140049661A1 (en) * | 2011-05-06 | 2014-02-20 | Empire Technology Development Llc | Higher Resolution Still Image Generation from Lower Resolution Video Camera Frames |
CN103905708A (en) * | 2012-12-24 | 2014-07-02 | 联想(北京)有限公司 | Shooting frame rate adjusting method and electronic device |
CN104702833A (en) * | 2013-12-04 | 2015-06-10 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104270561A (en) * | 2014-08-01 | 2015-01-07 | Tcl通讯(宁波)有限公司 | Method for automatically regulating Camera frame rate of mobile terminal and mobile terminal |
CN105117191A (en) * | 2015-09-08 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method and apparatus for controlling display of mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566688A (en) * | 2017-08-30 | 2018-01-09 | 广州华多网络科技有限公司 | A kind of video anti-fluttering method and device based on convolutional neural networks |
CN107734279A (en) * | 2017-10-11 | 2018-02-23 | 惠州Tcl移动通信有限公司 | Mobile terminal and video recording automatically configure processing method and storage medium when recording |
CN108211352A (en) * | 2017-12-28 | 2018-06-29 | 深圳市创梦天地科技股份有限公司 | A kind of method and terminal for adjusting image quality |
CN108211352B (en) * | 2017-12-28 | 2021-11-23 | 深圳市创梦天地科技有限公司 | Method and terminal for adjusting image quality |
CN112487888A (en) * | 2020-11-16 | 2021-03-12 | 支付宝(杭州)信息技术有限公司 | Image acquisition method and device based on target object |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106303215A (en) | The acquisition method of a kind of image and device | |
CN101867637A (en) | Method and terminal for dynamically generating standby interface | |
CN107247748B (en) | Page loading method and device | |
CN105760230B (en) | A kind of method and device of adjust automatically cloud host operation | |
CN104767888A (en) | Screen brightness adjusting method and device | |
US20180329995A1 (en) | Method and device for generating thermodynamic diagram | |
CN105303174A (en) | Fingerprint input method and device | |
WO2006072076B1 (en) | Methods and systems for displaying an enlarged image | |
CN109815405B (en) | Gray level shunting method and system | |
CN106055304A (en) | Volume regulating method and device for earphone | |
EP2423837A1 (en) | Method and system for viewing web page and computer program product thereof | |
CN104881224A (en) | Method and device for adding cards | |
CN103699589A (en) | Information push method and information push device | |
CN110069194A (en) | Page Caton determines method, apparatus, electronic equipment and readable storage medium storing program for executing | |
CN104933077A (en) | Rule-based multi-file information analysis method | |
CN113220452A (en) | Resource allocation method, model training method, device and electronic equipment | |
CN109269628B (en) | Method for monitoring motor vibration, terminal device and computer readable storage medium | |
CN104777968B (en) | A kind of information processing method and electronic equipment | |
CN105761267A (en) | Image processing method and device | |
CN108090089B (en) | Method, device and system for detecting hot point data in website | |
CN103142247B (en) | Control method and system for focus position and image depth in ultrasonic diagnostic equipment | |
CN103888670A (en) | Information processing method and electronic device | |
CN114638742A (en) | Scene picture processing method and electronic equipment | |
CN106155523A (en) | The method and device that image amplifies | |
CN103902037A (en) | Information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |