CN109670063A - Image processing method, analyzing method and device - Google Patents
Image processing method, analyzing method and device Download PDFInfo
- Publication number
- CN109670063A CN109670063A CN201811629057.2A CN201811629057A CN109670063A CN 109670063 A CN109670063 A CN 109670063A CN 201811629057 A CN201811629057 A CN 201811629057A CN 109670063 A CN109670063 A CN 109670063A
- Authority
- CN
- China
- Prior art keywords
- image
- picture structure
- image file
- data packet
- original image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/46—Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
- G06V10/462—Salient features, e.g. scale invariant feature transforms [SIFT]
Abstract
The present invention provides a kind of image processing methods, analyzing method and device, in the image processing method, by the picture structure data obtained after the original image of acquisition progress picture structure information extraction and picture structure information extraction, and described image structural data is formed into image file in conjunction with the original image.In the image data analyzing method, parsing combines the image file formed to obtain picture structure data by described image structural data and original image so that original image and corresponding picture structure data correspond to it is more convenient and accurate.
Description
Technical field
The present invention relates to field of image processing more particularly to a kind of image processing methods, analyzing method and device.
Background technique
With the development of science and technology, picture structure information extraction becomes more and more important in Computer Image Processing field,
And have application to many fields.For example, in many application fields such as recognition of face, security monitoring and dynamic tracing, image
Structured message extraction is all an indispensable ring.
Picture structure information extraction is a kind of intellectual analysis process that image content information extracts, and generally includes image inspection
The processes such as survey, identification, structured attributes analysis, behavioural analysis.Image by above-mentioned picture structure information extraction processing after,
The picture structure data for reflecting the picture material can be obtained, and the picture structure data and original image often need
It wants in storage or transmission to other equipment, to carry out the processing work of the subsequent images such as optical sieving.
Currently, be usually to pass through the various calculating equipment such as neural computing equipment, server, embedding assembly equipment,
Picture structure information extraction is carried out using image of the neural network algorithm scheduling algorithm to magnanimity, to obtain the picture structure of magnanimity
Change data.In subsequent image processing work, original image and corresponding picture structure data one are often needed
One is corresponding.However, in actual image processing work, by the corresponding process of the two often inefficiency and accuracy is not
It is high.
Summary of the invention
In order to solve the above-mentioned problems in the prior art, the embodiment of the invention provides a kind of image real time transfer sides
Method, analyzing method and device, to improve original image and the corresponding accuracy of corresponding picture structure data.
In a first aspect, the embodiment of the present invention provides a kind of image processing method, wherein carried out the described method includes: obtaining
The original image of picture structure information extraction and obtained image after picture structure information extraction is carried out to original image
Structural data;Described image structural data is formed into image file in conjunction with the original image.
It is in one example, described that described image structural data is formed into image file in conjunction with the original image, comprising:
Determine the image file format of the original image;Described image structural data is formed and institute in conjunction with the original image
State the consistent image file of image file format of original image.
In another example, described image structural data is formed in conjunction with the original image and the original image
The consistent image file of image file format, comprising: extract the image file head of the original image;In the original image
Picture structure data packet head and picture structure data packet tail are written in image file head, and in described image structural data
Described image structural data is written between packet header and described image structural data packet tail;Described image structural data packet header
With described image structural data packet tail for identifying described image structural data.
In another example, described image structural data is formed in conjunction with the original image and the original image
The consistent image file of image file format, comprising: add image file head for the original image;In the described image of addition
Picture structure data packet head and picture structure data packet tail are written in file header, and in described image structural data packet header
Described image structural data is written between described image structural data packet tail;Described image structural data packet header and institute
Picture structure data packet tail is stated for identifying described image structural data.
In one example, described after described image structural data being formed image file in conjunction with the original image
Method further include: storage described image file;And/or transmission described image file.
In one example, the picture structure data that described image structured message obtains after extracting, comprising: target frame is sat
At least one of cursor position information, target property information, target signature information, the target include: people, face, vehicle, vehicle
At least one of board.
Second aspect, the embodiment of the present invention also provide a kind of image data analyzing method, wherein the described method includes: obtaining
Image file is taken, described image file is by the original image of carry out picture structure information extraction and to carry out figure to original image
What the picture structure data combination obtained after extracting as structured message was formed;Described image file is parsed, the figure is obtained
As structural data.
In one example, described image file is parsed, the described image structural data of the original image is obtained, comprising:
Image file header is parsed in described image file;Extract described image file header in include picture structure data packet head,
Number between picture structure data packet tail and described image structural data packet header and described image structural data packet tail
According to;By the data between described image structural data packet header and described image structural data packet tail, as picture structure
Data.
In one example, described image file can be also parsed in the embodiment of the present invention obtain the original image.
In one example, parsing described image file obtains the original image, comprising: the figure in removal described image file
As structural data packet header, picture structure data packet tail and described image structural data packet header and described image structure
Change the data between data packet tail, obtains the original image.
In another example, parsing described image file obtains the original image, comprising: in removal described image file
Image file head, picture structure data packet head, picture structure data packet tail and described image structural data packet header and
Data between described image structural data packet tail, obtain the original image.
In one example, the picture structure data that described image structured message obtains after extracting, comprising: target frame is sat
At least one of cursor position information, target property information, target signature information, the target include: people, face, vehicle, vehicle
At least one of board.
The third aspect, the embodiment of the present invention also provide a kind of image-data processing apparatus, wherein include: that image obtains mould
Block, for obtaining original image;Picture structure data acquisition module, for obtaining the picture structure number of the original image
According to;Binding modules, for described image structural data to be formed image file in conjunction with the original image.
In one example, the binding modules are in the following way by described image structural data and the original image knot
Conjunction forms image file: determining the image file format of the original image;By described image structural data with it is described original
Image is in conjunction with the consistent image file of image file format formed with the original image.
In one example, the binding modules are in the following way by described image structural data and the original image knot
It closes the consistent image file of image file format formed with the original image: extracting the image file head of the original image
Picture structure data packet head and picture structure data packet tail are written in the image file head of the original image, and in institute
State write-in described image structural data between picture structure data packet head and described image structural data packet tail;The figure
As structural data packet header and described image structural data packet tail are for identifying described image structural data.
In one example, the binding modules are in the following way by described image structural data and the original image knot
It closes the consistent image file of image file format formed with the original image: adding image file for the original image
Head;Picture structure data packet head and picture structure data packet tail are written in the described image file header of addition, and in institute
State write-in described image structural data between picture structure data packet head and described image structural data packet tail;The figure
As structural data packet header and described image structural data packet tail are for identifying described image structural data.
In one example, the equipment further include: image file memory module is formed for storing the binding modules combination
Described image file;And/or image file transfers module, it is used for transmission the binding modules and combines the described image text formed
Part.
Fourth aspect, the application also provide a kind of image data analyzing equipment, comprising: image file obtains module, is used for
Image file is obtained, described image file is carried out by the original image of picture structure information extraction and to the original image
What the picture structure data combination obtained after picture structure information extraction was formed;Image analysis module, it is described for parsing
Image file, to obtain the described image structural data of the original image.
In one example, described image parsing module obtains the described image structuring of the original image in the following way
Data: image file header is parsed in described image file;Extract the picture structure data for including in described image file header
Packet header, picture structure data packet tail and described image structural data packet header and described image structural data packet tail it
Between data;By the data between described image structural data packet header and described image structural data packet tail, as image
Structural data.
In one example, wherein described image parsing module is also used to parse described image file and obtains the original image.
In one example, described image parsing module parses described image file in the following way and obtains the original graph
Picture: picture structure data packet head, picture structure data packet tail and described image structure in removal described image file
Change the data between data packet head and described image structural data packet tail, obtains the original image.
In one example, described image parsing module parses described image file in the following way and obtains the original graph
Picture: removal described image file in image file head, picture structure data packet head, described image structural data packet tail,
And the data between described image structural data packet header and described image structural data packet tail, obtain the original graph
Picture.
5th aspect, the present invention also provides a kind of electronic equipment, wherein the electronic equipment includes: memory, for depositing
Storage instruction;And processor, in the instruction execution first aspect present invention and its each example for calling memory storage
Image data analyzing method in image processing method or second aspect and its each example.
6th aspect, the present invention also provides a kind of computer readable storage mediums, wherein it is stored with instruction, described instruction quilt
Processor executes first aspect present invention and its image processing method or second aspect in each example and its figure in each example
As data analysis method.
Image processing method, analytic method and equipment provided in an embodiment of the present invention, by by original image with should
The picture structure data of original image combine to form an image file, so that more convenient store and transmit, it also can be more
Facilitate and correspond to original image and corresponding picture structure data, improve original image and corresponds
The corresponding accuracy of picture structure data.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other purpose, the feature of embodiment of the present invention
It will become prone to understand with advantage.In the accompanying drawings, several implementations of the invention are shown by way of example rather than limitation
Mode, in which:
Fig. 1 is image processing method schematic diagram provided in an embodiment of the present invention;
Fig. 2 is image data analyzing method schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of image processing method schematic illustration provided in an embodiment of the present invention;
Fig. 4 is a kind of image-data processing apparatus schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another image-data processing apparatus schematic diagram provided in an embodiment of the present invention;
Fig. 6 is another image-data processing apparatus schematic diagram provided in an embodiment of the present invention;
Fig. 7 is another image-data processing apparatus schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of image data analyzing equipment schematic diagram provided in an embodiment of the present invention;
Fig. 9 is another image data analyzing equipment schematic diagram provided in an embodiment of the present invention;
Figure 10 is another image data analyzing equipment schematic diagram provided in an embodiment of the present invention;
Figure 11 is another image data analyzing equipment schematic diagram provided in an embodiment of the present invention;
Figure 12 is a kind of image processing system schematic diagram provided in an embodiment of the present invention;
Figure 13 is a kind of electronic equipment schematic diagram provided in an embodiment of the present invention.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this
A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any
Mode limits the scope of the invention.
Currently, can all be related to picture structure information extraction technology in production and living numerous areas, pass through picture structure
Change information extraction, can quickly identify target and judges target.Picture structure information refers to by carrying out intelligence to image
Analysis, extracts key message, the information for the semantic description of style of writing originally of going forward side by side.Structuring letter is being carried out to a large amount of original image
While breath extracts, a large amount of picture structure data can be equally generated, usual original image and picture structure data use
Different storage mode carries out separate storage, and individual transmission is to other equipment.In subsequent image processing work, often need
Want original image and corresponding picture structure data one-to-one.Currently, mainly passing through original image and image
Corresponding filename between structural data, determines one-to-one original image and picture structure data, to realize original
It the pairing of beginning image and corresponding picture structure data and transfers.However this kind of mode, operating process are extremely complex simultaneously
And accuracy also compare it is lower.
In order to facilitate original image and corresponding picture structure data pairing and transfer, the embodiment of the present invention mentions
A kind of image processing method has been supplied, while corresponding equipment is also provided based on same inventive concept.
As shown in Figure 1, being a kind of implementation flow chart of image processing method provided in an embodiment of the present invention.Refering to figure
Shown in 1, this method comprises:
S101: the original image for carrying out picture structure information extraction is obtained.
Original image involved in the embodiment of the present invention can be understood as needing to carry out picture structure information extraction obtaining
To the image of picture structure data.
In the embodiment of the present invention, the mode for obtaining original image be can be through the means such as image or take a picture from real-time scene
In the original image that directly acquires;Be also possible to by receive the transmission of other equipment come original image.Certainly, the present invention is implemented
It is not limited to the mode that both the above obtains original image in example, other way can also be used and obtain original image.
S102: it obtains and the picture structure data obtained after structured message extraction is carried out to original image.
In the embodiment of the present invention, image knot can be obtained by carrying out picture structure information extraction to original image in real time
Structure data;It can also be obtained original by receiving picture structure data that other equipment are transmitted, corresponding with original image
The picture structure data of image.Certainly, the side that both the above obtains picture structure data is not limited in the embodiment of the present invention
The picture structure data that other way obtains original image can also be used in formula.
In the embodiment of the present invention, the mode of picture structure information extraction can be, but not limited to set by neural computing
It is standby to carry out picture structure information extraction using neural network model algorithm, it can also be set by server, PC, embedding assembly
Standby wait carries out picture structure information extraction.When carrying out picture structure information extraction using neural network model algorithm, need
Neural network is trained in advance, and input the original of pending picture structure information extraction to trained neural network
Beginning image, then by propagating forward, the picture structure data after obtaining picture structure information extraction.In one example, make
It can be completed by accelerator when carrying out picture structure information extraction with neural network model algorithm, accelerator may include
The embedded devices such as field programmable gate array (Field Programmable Gate Array, FPGA), chip.
Picture structure data involved in the embodiment of the present invention include but is not limited to target frame co-ordinate position information, mesh
Mark one or more of attribute information, target signature information etc..In different scenes, the target can be different, can also
Think multiple.The above-mentioned target being related to include but is not limited to be one or more of people, face, vehicle, license plate etc..We can
To detect to obtain different picture structure data according to actual needs.Such as, people, face, vehicle, license plate etc. are obtained by detection
The frame co-ordinate position information of target, further judges relevant attribute information or characteristic information, as people clothes color,
Whether knapsack etc., such as face expression or whether band sunglasses, such as the vehicle or vehicle color of vehicle, such as the number of license plate
Deng.Finally obtained picture structure data can include but is not limited to these frame co-ordinate position information, attribute information, features
Information.
S103: the picture structure data of original image He the original image are combined to form image file.
In the embodiment of the present invention, to be formed by being combined the picture structure data of original image He the original image
Image file passes through same image so that the image file includes the picture structure data of original image and the original image
File can the picture structure data more conveniently to original image and the original image correspond to, it is accurate that pairing can be improved
Degree and the convenience extracted.
In the embodiment of the present invention, the picture structure data of original image He the original image are combined the figure to be formed
It as the format of file can be diversified forms, such as may include Joint Photographic Experts Group (Joint Photographic
Experts Group, JPEG), label image file format (Tag Image File Format, TIFF), Resource Interchange File
The formats such as format (Resource Interchange File Format, RIFF), the embodiment of the present invention is without limitation.
In a kind of possible embodiment, the image file format of original image can be determined in the embodiment of the present invention, it will
Picture structure data formed in conjunction with original image with the consistent image file of the image file format of original image, to avoid
The conversion of image file format is carried out when combining and generating image file.
In the embodiment of the present invention, picture structure data are formed into the image file with original image in conjunction with original image
When the consistent image file of format, picture structure data can be arranged with the structuring number that can be identified for that picture structure data
According to packet header and structural data packet tail, by by picture structure data packet head and picture structure data packet tail and image
Structural data is written in image file head, to realize by picture structure data in conjunction with original image, forms image file.
The above-mentioned mode that picture structure data are written in image file head through the embodiment of the present invention, by picture structure
Change data in conjunction with original image, image file format does not change, so that can be directly used in transmission process original
The file format of image is transmitted.
Whether can include image file head according to original image in the embodiment of the present invention in possible embodiment, use
Different modes forms picture structure data and the consistent figure of the image file format of original image in conjunction with original image
As file.
In a kind of possible embodiment, if original image includes image file head, the image text of original image can extract
Picture structure data packet head and picture structure data packet tail is written in part head in the image file head of original image.And
Picture structure data are written between picture structure data packet head and picture structure data packet tail.
In alternatively possible embodiment, if original image does not include image file head, can be in the embodiment of the present invention
Original image adds image file head.Picture structure data packet head and picture structure are written in the image file head of addition
Data packet tail, and picture structure data are written between picture structure data packet head and picture structure data packet tail.
It is understood that the mode that picture structure data are written in image file head can in the embodiment of the present invention
To use numerous embodiments, such as it can be used but be not limited to by the way of photobuf that image is written in image file head
Structural data.
In the embodiment of the present invention, after original image is formed an image file in conjunction with its picture structure data,
It can also will include that original image and the image file of the picture structure data of the original image store, match in case subsequent
To with the use transferred.
In an alternative embodiment of the invention, the picture structure data of original image and the original image are combined and forms figure
As that after file, can also will include that original image and the image file transfers of the picture structure data of the original image are put down to other
In platform or equipment.
At present in cross-platform transmission, such as FPGA, specific integrated circuit (Application Specific
Integrated Circuits, ASIC), graphics processor (Graphics Processing Unit, GPU), central processing unit
The platforms such as (Central Processing Unit, CPU), system level chip (System on Chip, SoC), video processor
Between transmit in the case where, specific picture format, JPEG, TIFF, RIFF as previously described etc. can be transmitted for image,
But not general file format transmits picture structure data, required format definition figure when needing according to actual transmissions
As the format of structural data.And method through the embodiment of the present invention, pass through transmission original image and picture structure data
In conjunction with the image file of formation, which has the picture format for being adapted to cross-platform transmission, and there is no need to be individually biography
Defeated picture structure data redefine new data format.In addition, an image file is sent alone, without re-defining
Relationship between original image and its picture structure data, so that the correspondence of the two becomes more convenient.
It, can also be with it is understood that the image file transmitted in the embodiment of the present invention can be the image file of storage
It is in conjunction with formation but not stored image file.If the image file of transmission is the image file of storage, implement in the present invention
In example, the picture structure data of original image and the original image is combined after forming image file, can be stored including original
The image file of the picture structure data of image and the original image, and the image file of storage is called to be transmitted.
Using the data processing method of the above-mentioned offer of the embodiment of the present invention, can be used in subsequent image processing work opposite
The image data analyzing method answered.
As shown in Fig. 2, the embodiment of the invention also discloses a kind of image data analyzing methods, this method comprises:
S201: image file is obtained.
In the embodiment of the present invention, the image file of acquisition refers to using at the above-mentioned image data being related to of the embodiment of the present invention
Reason method carries out the picture structure data knot obtained after picture structure information extraction to original image and to the original image
Close the image file formed.The image file can be obtained by reading the image file of storage, can also be by receiving by it
Its platform or the mode of equipment transmission obtain.
S202: parsing image file.
Image file can be parsed in the embodiment of the present invention, obtain picture structure data.Due to including in image file
Original image, and be the image file format that can be read directly, the image of display is identical as original image, therefore passes through
It parses obtained picture structure data and image file is directly one-to-one.By to being combined with original image and image
The image file of structural data is parsed, and original image can be made corresponding with picture structure data more convenient.
In the embodiment of the present invention, the picture structure data that parsing image file obtains the original image may include but not
It is limited in the following ways: parses image file header in image file;Extract the picture structure for including in image file head
Between data packet head, picture structure data packet tail and picture structure data packet head and picture structure data packet tail
Data;By the data between picture structure data packet head and picture structure data packet tail, as picture structure data.
It can be very easily by the image file for parsing obtained picture structure data with this includes original image
It is corresponding, consequently facilitating paying close attention to the picture structure data of original image He the original image simultaneously.
Image file can be also parsed in the embodiment of the present invention and obtains original image, by by the image file head of image file
In the removal of relevant to picture structure data data, obtain original image, original image be used for other purposes to facilitate, together
When can preferably maintain secrecy to the picture structure information originally extracted.
In the embodiment of the present invention, parsing image file, which obtains original image, be can include but is not limited in the following ways:
If picture structure data are written in the image file head of original image, picture structure data in image file are removed
Data between packet header, picture structure data packet tail and picture structure data packet head and picture structure data packet tail,
Obtain original image.If picture structure data are written as in the image file head of original image addition, the figure is removed
As image file head described in file, described image structural data packet header, described image structural data packet tail and described
Data between picture structure data packet head and described image structural data packet tail, obtain the original image.
In an alternative embodiment of the invention, after parsing obtains original image and picture structure data, solution can also be stored
The original image and picture structure data of precipitation.
In still another embodiment of the process, after parsing obtains original image and picture structure data, solution can also be transmitted
The original image and picture structure data of precipitation.
In still another embodiment of the process, it after parsing obtains original image and picture structure data, can also store simultaneously
Transmit the original image parsed and picture structure data.
In practical applications, image real time transfer process and image data analyzing process are existing for correspondence.
Shown in Fig. 3 is provided in an embodiment of the present invention a kind of comprising image real time transfer process and image data analyzing mistake
The schematic diagram of journey.It, can disclosed image processing method according to embodiments of the present invention during carrying out image real time transfer
The picture structure data of original image He the original image are combined to form image file.Further, it can also store
Or transmit the image file.During image data analyzing, using image data analyzing side disclosed by the embodiments of the present invention
Method parses image file to obtain original image and picture structure data.
According to same inventive concept, the embodiment of the present invention has also correspondingly provided a kind of image-data processing apparatus 10 and one
Kind image data analyzing equipment 20.
Shown in Fig. 4 is a kind of exemplary structure signal of image-data processing apparatus 10 provided in an embodiment of the present invention
Figure.Wherein, image-data processing apparatus 10 includes image collection module 101, for obtaining original image;Picture structure data
Module 102 is obtained, for obtaining the picture structure data of original image;Binding modules 103, for picture structure number will to be stated
According to forming image file in conjunction with original image.
In the embodiment of the present invention, image collection module 101 can be the image capture devices such as video camera or camera, be used for
Image is directly acquired from real-time scene, and generates original image.Image collection module 101 also can receive from other platforms or
The original image that equipment transmits.
In the embodiment of the present invention, picture structure data acquisition module 102 can be to the original of the acquisition of image collection module 101
Beginning image carries out picture structure information extraction, picture structure data required for obtaining.
In another embodiment of the present invention, picture structure data acquisition module 102 also can receive from other platforms or set
The picture structure data corresponding with original image of standby transmission.
In the embodiment of the present invention, binding modules 103 are for tying obtained picture structure data with original image
It closes, forms the image file including original image and picture structure data.Image file format can be with original image
Format is identical, can also be different from raw image format, which may include the formats such as JPEG, TIFF, RIFF,
The embodiment of the present invention is without limitation.
In a kind of possible embodiment, image file format is identical as raw image format, and binding modules 103 are for true
The image file format for determining original image forms picture structure data and the image of original image text in conjunction with original image
The consistent image file of part format, to avoid the conversion for carrying out image file format when combining and generating image file.
In the embodiment of the present invention, binding modules 103 form picture structure data and original graph in conjunction with original image
When the consistent image file of the image file format of picture, picture structure data can be arranged can be identified for that picture structure number
According to structural data packet header and structural data packet tail, by by picture structure data packet head and picture structure data packet
Tail and picture structure data write-in image file head in, then by be written image file head picture structure data with
Original image combines, and forms image file.
In possible embodiment, whether binding modules 103 can include image file head according to original image, using difference
Mode picture structure data are formed and the image file format of original image consistent image text in conjunction with original image
Part.
If original image includes image file head, the shape in conjunction with original image by picture structure data of binding modules 103
Following manner can be used at the consistent image file of the image file format of original image: extracting the image file of original image
Head;Picture structure data packet head and picture structure data packet tail are written in the image file head of original image, and is scheming
As picture structure data are written between structural data packet header and picture structure data packet tail;Picture structure data packet head
With picture structure data packet tail for identifying picture structure data.
If original image does not include image file head, binding modules 103 are by picture structure data in conjunction with original image
Being formed can be in the following ways with the consistent image file of image file format of original image: adding image for original image
File header;Picture structure data packet head and picture structure data packet tail are written in the image file head of addition, and is scheming
As picture structure data are written between structural data packet header and picture structure data packet tail;Picture structure data packet head
With picture structure data packet tail for identifying picture structure data.
As shown in figure 5, in an alternative embodiment of the invention, image-data processing apparatus 10 can also be deposited including image file
Module 104 is stored up, for storing the image file with picture structure data generated.
As shown in fig. 6, in still another embodiment of the process, image-data processing apparatus 10 can also include that image file passes
Defeated module 105, the image file transfers with picture structure data for that will generate are into other platforms or equipment.
As shown in fig. 7, in still another embodiment of the process, image-data processing apparatus 10 can also be deposited including image file
Store up module 104 and image file transfers module 105.
Shown in Fig. 8 is a kind of exemplary structure signal of image data analyzing equipment 20 provided in an embodiment of the present invention
Figure.Wherein, image data analyzing equipment 20 includes that image file obtains module 201, image analysis module 202.
In the embodiment of the present invention, image file obtains module 201 for obtaining image file, which is by carrying out
The picture structure data combination shape obtained after the original image of picture structure information extraction and picture structure information extraction
At.
In the embodiment of the present invention, image analysis module 202 is for parsing image file, to obtain the image of original image
Structural data.
In the embodiment of the present invention, image analysis module 202 can be used under type such as and obtain the picture structure of original image
Data: image file header is parsed in image file;Extract picture structure data packet head, the image for including in image file head
Data between structural data packet tail and picture structure data packet head and picture structure data packet tail;By image knot
Data between structure data packet head and picture structure data packet tail, as picture structure data.
In another embodiment of the present invention, image analysis module 202 can also obtain original image by parsing image file.
In the embodiment of the present invention, image analysis module 202 can be used under type such as and obtain the original image: if image knot
Structure data are written in the image file head of original image, then remove picture structure data packet head in image file, figure
As the data between structural data packet tail and picture structure data packet head and picture structure data packet tail, original is obtained
Beginning image.If picture structure data are written as in the image file head of original image addition, described image text is removed
Image file head, picture structure data packet head, picture structure data packet tail and described image structural data in part
Data between packet header and described image structural data packet tail, obtain the original image.
As shown in figure 9, in an alternative embodiment of the invention, image data analyzing equipment 20 can also include parsing storage mould
Block 203, the picture structure data of the original image and the original image that are obtained for storing and resolving.
As shown in Figure 10, in still another embodiment of the process, image data analyzing equipment 20 can also include parsing transmission
Module 204, for will the obtained original image of parsing and the original image picture structure data be transmitted to other platforms or
In equipment.
As shown in figure 11, in still another embodiment of the process, image data analyzing equipment 20 can also include parsing storage
Module 203 and parsing transmission module 204.
As shown in figure 12, the embodiment of the invention also discloses a kind of image processing system, which includes at image data
Manage equipment 10 and image data analyzing equipment 20.Image-data processing apparatus 10 is used for the figure of original image and the original image
Image file is formed as structural data is combined, and the storage or transmission image file.Image data analyzing equipment 20 is logical
It crosses and reads or receive the image file that image-data processing apparatus 10 combines formation, image file is parsed, figure can be obtained
As structural data.
It is a kind of electronic equipment 30 provided in an embodiment of the present invention shown in Figure 13, wherein the electronic equipment 30 includes depositing
Reservoir 301, processor 302, input/output (Input/Output, I/O) interface 303.Wherein, memory 301, for storing
Instruction.Processor 302, the image processing method of the instruction execution embodiment of the present invention for calling memory 301 to store
Or image data analyzing method.Wherein, processor 302 is connect with memory 301, I/O interface 303 respectively, such as can be by total
Linear system system and/or bindiny mechanism's (not shown) of other forms are attached.Memory 301 can be used for storing program and data,
The program of program and/or image data analyzing including image real time transfer involved in the embodiment of the present invention, processor 302 are logical
It crosses operation and is stored in the program of memory 301 thereby executing the various function application and data processing of electronic equipment 30.
Processor 302 can use digital signal processor (Digital Signal in the embodiment of the present invention
Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable patrol
At least one of volume array (Programmable Logic Array, PLA) example, in hardware realizes, the processor 302
It can be central processing unit (Central Processing Unit, CPU) or there is data-handling capacity and/or instruction
The combination of one or more of the processing unit of other forms of executive capability.
Memory 301 in the embodiment of the present invention may include one or more computer program products, the computer
Program product may include various forms of computer readable storage mediums, such as volatile memory and/or non-volatile deposit
Reservoir.The volatile memory for example may include random access memory (Random Access Memory, RAM) and/
Or cache memory (cache) etc..The nonvolatile memory for example may include read-only memory (Read-Only
Memory, ROM), flash memory (flash memory), hard disk (hard disk drive, HDD) or solid state hard disk
(solid-state drive, SSD) etc..
In the embodiment of the present invention, I/O interface 303 can be used for receiving input instruction (such as number or character information, and
Generate key signals input related with the user setting of electronic equipment 30 and function control etc.), it can also be output to the outside various
Information (for example, image or sound etc.).In the embodiment of the present invention I/O interface 303 may include physical keyboard, function button (such as
Volume control button, switch key etc.), mouse, operating stick, trace ball, microphone, one in loudspeaker and touch panel etc.
It is a or multiple.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored with instruction, and the instruction is by processor
When execution, it can be achieved that the present embodiments relate to image processing method or image data analyzing method.
In the embodiment of the present invention, an image is formed by combining the corresponding original image of picture structure data
File, thus storage, transmission during, be easy to implement corresponding relationship between the two, improve corresponding accuracy and
Reliability.Especially it is widely used in the current of every field in picture structure information extraction, at neural computing
The picture and data of magnanimity are managed, even more there is effect outstanding.
Although description operation in a particular order in the accompanying drawings should not be construed as requiring specific shown in
Sequence or serial order operate to execute these operations, or shown in requirement execution whole to obtain desired result.?
In specific environment, multitask and parallel processing be may be advantageous.
The process and apparatus of the present invention can be completed using standard programming technology, using rule-based logic or its
Its logic realizes various method and steps.It should also be noted that herein and the terms used in the claims " equipment "
" module " is intended to include using the realization of a line or multirow software code and/or hardware realization and/or for receiving input
Equipment.
One or more combined individually or with other equipment can be used in any step, operation or program described herein
A hardware or software module are executed or are realized.In one embodiment, software module use includes comprising computer program
The computer program product of the computer-readable medium of code is realized, can be executed by computer processor any for executing
Or whole described step, operation or programs.
For the purpose of example and description, the preceding description that the present invention is implemented is had been presented for.Preceding description is not poor
Also not the really wanting of act property limits the invention to exact form disclosed, according to the above instruction there is likely to be various modifications and
Modification, or various changes and modifications may be obtained from the practice of the present invention.Select and describe these embodiments and be in order to
Illustrate the principle of the present invention and its practical application, so that those skilled in the art can be to be suitable for the special-purpose conceived
Come in a variety of embodiments with various modifications and utilize the present invention.
Claims (16)
1. a kind of image processing method, wherein the described method includes:
It obtains the original image for carrying out picture structure information extraction and picture structure information is carried out to the original image
The picture structure data obtained after extraction;
Described image structural data is formed into image file in conjunction with the original image.
2. according to the method described in claim 1, wherein, it is described by described image structural data in conjunction with the original image
Form image file, comprising:
Determine the image file format of the original image;
Described image structural data is formed in conjunction with the original image and the image file format one of the original image
The image file of cause.
3. according to the method described in claim 2, wherein, described image structural data is formed in conjunction with the original image
With the consistent image file of image file format of the original image, comprising:
Extract the image file head of the original image;
Picture structure data packet head and picture structure data packet tail are written in the image file head of the original image, and
Described image structural data is written between described image structural data packet header and described image structural data packet tail;
Described image structural data packet header and described image structural data packet tail are for identifying described image structural data.
4. according to the method described in claim 2, wherein, described image structural data is formed in conjunction with the original image
With the consistent image file of image file format of the original image, comprising:
Image file head is added for the original image;
Picture structure data packet head and picture structure data packet tail are written in the described image file header of addition, and in institute
State write-in described image structural data between picture structure data packet head and described image structural data packet tail;
Described image structural data packet header and described image structural data packet tail are for identifying described image structural data.
5. method according to claim 1 to 4, wherein by described image structural data with it is described original
Image is combined and is formed after image file, the method also includes:
Store described image file;And/or
Transmit described image file.
6. according to the method described in claim 1, wherein, picture structure number that described image structured message obtains after extracting
According to, comprising:
At least one of target frame co-ordinate position information, target property information, target signature information, the target include:
At least one of people, face, vehicle, license plate.
7. a kind of image data analyzing method, wherein the described method includes:
Image file is obtained, described image file is by the original image of carry out picture structure information extraction and to described original
Image carries out what the picture structure data obtained after picture structure information extraction combination was formed;
Described image file is parsed, described image structural data is obtained.
8. being wrapped according to the method described in claim 7, wherein, parsing described image file, obtaining described image structural data
It includes:
Image file header is parsed in described image file;
Extract the picture structure data packet head for including in described image file header, picture structure data packet tail and described
Data between picture structure data packet head and described image structural data packet tail;
By the data between described image structural data packet header and described image structural data packet tail, as picture structure
Data;
Described image structural data packet header and described image structural data packet tail are for identifying described image structural data.
9. method according to claim 7 or 8, wherein the method also includes:
Described image file is parsed, the original image is obtained.
10. according to the method described in claim 9, wherein, parsing described image file, obtaining the original image, comprising:
Remove picture structure data packet head, picture structure data packet tail and the described image knot in described image file
Data between structure data packet head and described image structural data packet tail, obtain the original image.
11. according to the method described in claim 9, wherein, parsing described image file, obtaining the original image, comprising:
Remove described image file in image file head, picture structure data packet head, picture structure data packet tail and
Data between described image structural data packet header and described image structural data packet tail, obtain the original image.
12. according to the method described in claim 7, wherein, picture structure that described image structured message obtains after extracting
Data, comprising:
At least one of target frame co-ordinate position information, target property information, target signature information, the target include:
At least one of people, face, vehicle, license plate.
13. a kind of image-data processing apparatus, wherein include:
Image collection module, for obtaining the original image for carrying out picture structure information extraction;
Picture structure data acquisition module is obtained for obtaining to after original image progress picture structure information extraction
Picture structure data;
Binding modules, for described image structural data to be formed image file in conjunction with the original image.
14. a kind of image data analyzing equipment, comprising:
Image file obtains module, and for obtaining image file, described image file is by the original of picture structure information extraction
It beginning image and carries out obtained picture structure data after picture structure information extraction to the original image and combines to be formed;
Image analysis module obtains described image structure for parsing the image file of described image file acquisition module acquisition
Change data.
15. a kind of electronic equipment, wherein the electronic equipment includes:
Memory, for storing instruction;And
Processor, for calling the instruction execution picture number for example described in any one of claims 1 to 6 of the memory storage
Image data analyzing method according to processing method or as described in any one of claim 7 to 12.
16. a kind of computer readable storage medium when described instruction is executed by processor, is executed as weighed wherein being stored with instruction
Benefit require any one of 1 to 6 described in image processing method or the picture number as described in any one of claim 7 to 12
According to analytic method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811629057.2A CN109670063A (en) | 2018-12-28 | 2018-12-28 | Image processing method, analyzing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811629057.2A CN109670063A (en) | 2018-12-28 | 2018-12-28 | Image processing method, analyzing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109670063A true CN109670063A (en) | 2019-04-23 |
Family
ID=66147628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811629057.2A Pending CN109670063A (en) | 2018-12-28 | 2018-12-28 | Image processing method, analyzing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109670063A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8504537B2 (en) * | 2006-03-24 | 2013-08-06 | Mcafee, Inc. | Signature distribution in a document registration system |
CN103902587A (en) * | 2012-12-27 | 2014-07-02 | 联想(北京)有限公司 | Method for synchronizing identifying information and electronic equipment |
CN105611268A (en) * | 2015-12-15 | 2016-05-25 | 联想(北京)有限公司 | Information processing method and electronic apparatus |
CN109002744A (en) * | 2017-06-06 | 2018-12-14 | 中兴通讯股份有限公司 | Image-recognizing method, device and video monitoring equipment |
-
2018
- 2018-12-28 CN CN201811629057.2A patent/CN109670063A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8504537B2 (en) * | 2006-03-24 | 2013-08-06 | Mcafee, Inc. | Signature distribution in a document registration system |
CN103902587A (en) * | 2012-12-27 | 2014-07-02 | 联想(北京)有限公司 | Method for synchronizing identifying information and electronic equipment |
CN105611268A (en) * | 2015-12-15 | 2016-05-25 | 联想(北京)有限公司 | Information processing method and electronic apparatus |
CN109002744A (en) * | 2017-06-06 | 2018-12-14 | 中兴通讯股份有限公司 | Image-recognizing method, device and video monitoring equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10726304B2 (en) | Refining synthetic data with a generative adversarial network using auxiliary inputs | |
US7870477B2 (en) | Method and system for portable data aggregation | |
CN113453040B (en) | Short video generation method and device, related equipment and medium | |
CN109308681B (en) | Image processing method and device | |
CN112215171B (en) | Target detection method, device, equipment and computer readable storage medium | |
CN105825083A (en) | Picture copyright protecting method and recognizing method and related method and system | |
CN109451006A (en) | A kind of data transmission method, device, server and computer storage medium | |
WO2022247112A1 (en) | Task processing method and apparatus, device, storage medium, computer program, and program product | |
CN113515997B (en) | Video data processing method and device and readable storage medium | |
US8719690B2 (en) | Method and system for automatic data aggregation | |
US8311271B2 (en) | Image processing apparatus and image processing method | |
CN113515669A (en) | Data processing method based on artificial intelligence and related equipment | |
CN113515998A (en) | Video data processing method and device and readable storage medium | |
CN111126390A (en) | Correlation method and device for identifying identification pattern in media content | |
CN116778148A (en) | Target detection method, target detection device, electronic equipment and storage medium | |
CN112561084B (en) | Feature extraction method and device, computer equipment and storage medium | |
CN111741329B (en) | Video processing method, device, equipment and storage medium | |
WO2024002092A1 (en) | Method and apparatus for pushing video, and storage medium | |
CN112569591A (en) | Data processing method, device and equipment and readable storage medium | |
CN101334990A (en) | Information display apparatus, display system, and information display method | |
CN109670063A (en) | Image processing method, analyzing method and device | |
CN116610304A (en) | Page code generation method, device, equipment and storage medium | |
JP2013015907A (en) | Image classification device, control method for image classification device, and program | |
CN113158803A (en) | Classroom vacant seat query system, real-time video analysis system and method | |
CN113392230A (en) | Method for processing and operating labeled data, labeled platform and database |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190423 |