Summary of the invention
The purpose of this utility model is to take the solution that photo has related sound information for existing embedded digital photographing apparatus provides a kind of making, specifically provide a kind of embedded digital photographing apparatus, can obtain acoustic information and the acoustic information that obtains is preserved, the acoustic information of preservation can reduce sound effect at that time by special device.
The disclosed a kind of embedded digital photographing apparatus that can generate the speech bar code photograph of the utility model includes the digital camera of sound-recording function; Also comprise the compress speech processing module that is used for the voice data that recording obtains is compressed by high density sound compression protocol algorithm processing, be used for that voice data with compress speech processing module output is encoded to barcode data or barcode data be reduced to the bar code coding/decoding module of voice data and the photograph data that described barcode data is selected to dub with the user are synthesized combination image being stored in again in the memory or and carrying out the image processing module that decomposition-reduction is barcode data and photograph data to combination image.
The disclosed a kind of embedded digital photographing apparatus that can generate the speech bar code photograph of the utility model also comprises following technical characterictic:
Described digital camera comprises the mobile phone primary module, and described mobile phone primary module further comprises processor, is connected in the emission IC of this processor, receives IC, power supply speech processes IC and described memory; Described processor is connected described compress speech processing module, bar code coding/decoding module and image processing module with power supply speech processes IC by serial line interface;
Described image processing module comprises that two-way connection transmits the image processing circuit and the buffering memory of data mutually;
The view data that is covered by described barcode data when forming described combination image in the photograph data that described user selects to dub is stored in the backup image zone of described memory;
Described compress speech processing module comprises the voice compression module that carries out compress speech and is used for speech data is converted to the A/D modular converter of digital signal, also comprises and the two-way buffer storage that transmits data mutually that is connected of above-mentioned two modules;
Described A/D modular converter has been integrated sound CODEC (coding decoder) parts of A/D translation function.
The utility model uses image processing module, compress speech processing module and three modules of bar code coding/decoding module to constitute the upgrading module, because upgrading module and cell phone apparatus or other photographic equipment have interface clearly, easily existing photographic equipment is upgraded.The bar code coding/decoding module is used for voice data is encoded to barcode data, be the speech bar code reduction of data speech data perhaps, make speech data and speech bar code data to change mutually, thereby can not only generate the speech bar code data, and can from memory, directly be reduced into barcode data voice and not need special reader, this is particularly suitable for the equipment resemble the mobile phone.A part of view data in the original photo is covered by barcode data, and this part view data that is capped is retained, and is stored in the backup image zone of memory, so that recover the original photo image in case of necessity, has increased flexibility.Usually also there is speech processing module mobile module inside, but the compress speech processing module has the compress speech circuit, has reduced the area that bar code accounts in former photo.Photograph and bar code are combined to form combination image, when needs transmit data by wireless network, only transmit synthetic view data, thereby have saved bandwidth, have improved efficient.
Embodiment
Embedded digital photographing apparatus of the present utility model comprises digital camera, image processing module 2, compress speech processing module 4 and the bar code coding/decoding module 3 that can generate digital photo.Wherein:
Compress speech processing module 4 is used for voice data is compressed processing by high density sound compression protocol algorithm, the sound that picks up converts digital signal to by the A/D modular converter, handles the input of back as the bar code coding/decoding module through the compress speech processing module.
Bar code coding/decoding module 3 is used for voice data is encoded to barcode data, is the speech bar code reduction of data speech data perhaps.This module makes speech data and speech bar code data to change mutually, thereby can not only generate the speech bar code data, and can from memory 5, directly be reduced into barcode data voice and not need special reader, this is particularly suitable for the equipment resemble the mobile phone.
Image processing module 2 is the view data of bar code form, and the photograph data of selecting to dub with the user are synthesized together and are stored in the memory 5, and it also is provided with image compression module and is used for compressed image.Image processing module 2 can not only synthesize image, also can decompose and reduces image, both can add bar code image in the original image to, also can extract bar code information, restores sound thereby offer the bar code decoding module.
Above image processing module 2, compress speech processing module 4 and 3 three modules of bar code coding/decoding module have constituted the upgrading module, usually they and equipment, carry out communication such as mobile module 1 by serial line interface, therefore can upgrade to existing equipment easily, thereby make existing equipment have the function that generates the voice photograph.
In the utility model, be example with the mobile phone of taking pictures, the circuit structure theory diagram of embedded digital photographing apparatus as shown in Figure 1.Mobile phone primary module 1 has comprised processor, memory 5, speech processes and wlan transceiving integrated circuit, usually this part circuit is integrated is encapsulated in the module, provide serial line interface, ancillary equipment is such as keyboard, display screen, making a video recording first-classly links to each other with module by serial line interface, and image processing module 2, bar code coding/decoding module 3 and voice compression module 4 are also by serial line interface and mobile module communication.These three modules can constitute an integral body, as the upgrading module, because upgrading module and cell phone apparatus or other photographic equipment have interface clearly, easily existing photographic equipment are carried out upgrading.
In the memory 5 of photo storage in mobile phone primary module 1 of production, when the user dubs for the photo of having taken, the user at first selects a photos, this photo not only is presented on the display screen, be read out simultaneously in the image processing buffer memory, the user presses the special function key on the lower keyboard then, trigger sound pick-up outfit, in the time of recording, voice compression module 4 processed voice, bar code coding/decoding module 3 becomes two-dimensional barcode image to speech signal coding, image processing module 2 is synthetic original photo and speech bar code image in its buffer memory, when one section recording finishes, after the user unclamped button, the photograph image behind synthetic in the buffer memory was put back in the memory 5 of mobile module.
Be the theory diagram of image processing module 2 among Fig. 2, comprise that two-way connection transmits the image processing circuit and the buffering memory of data mutually.Image processing module 2 is read original photo according to user's selection on the one hand from memory 5, obtain speech bar code image after the respective coding from coding/decoding module 3 on the other hand, both stacks then, again through overcompression, generate the photograph image of tape code data, this composograph is stored in the position of memory 5 original images; A part of view data in the original photo is covered by barcode data, and this part view data that is capped is retained, and is stored in the backup image zone of memory 5, so that recover the original photo image in case of necessity.
Fig. 3 is the theory diagram of compress speech processing module 4, comprises voice compression module and A/D modular converter, also comprises and the two-way buffer storage that transmits data mutually that is connected of above-mentioned two modules.Usually also there is speech processing module mobile module 1 inside, but module 4 also has voice compression module, to reduce the size of speech bar code, the A/D modular converter can be integrated sound CODEC (coding decoder) parts of A/D translation function are used for speech data is converted to digital signal.
The critical piece of bar code coding/decoding module 3 is dsp processors, and it is a critical component of the present utility model, also can be a software program module.Wherein dsp processor is responsible for carrying out the encoding process of two-dimensional bar code.Have in the application of the playback sound of embedded camera installation own in the needs use, dsp processor also is responsible for the decoding reduction of sound barcode data.
Observe end (for example photo frame or photograph album) at photograph and read these bar codes in the photo, go out the voice signal of noting in the photograph with regard to reducible with special bar-code reader.Perhaps on another image display (for example mobile phone), by the sound barcode data in the direct reads image data, display image and playing sound synchronously.
Fig. 4 is picture image data and the relation of bar code image data in memory 5, and as seen photo internal memory image and speech bar code image bundle storage in memory 5, also comprises photo raw information memory block in memory 5.For conserve bandwidth in this embedded camera installation of mobile phone, bar code image and photograph image merge storage, and the position of bar code image in photograph image fixed, so that equipment such as mobile phone can therefrom be read speech data rapidly.The image section that is covered by bar code image in original photograph is stored in the storage area of photo raw information specially, in case need the reduction photo, can be from obtaining data here.And when needs transmit data by wireless network, only transmit synthetic view data, thus saved bandwidth, improved efficient.Because wireless telecommunications systems such as mobile phone mainly adopt equipment itself to show photo, arrangement is rational like this.In addition, when developing and printing photograph, photo and bar code printing are used always with one side again, this scheme is better than adopting duplex printing, does not need specially designed equipment, so photo and bar code image existence are had superiority together.
Fig. 5 is the workflow diagram of system, at first the user selects to browse photo storage or that just taken by keyboard function key, the bar code part that image processing module 2 is read photo, if bar code partly exists, then bar code coding/decoding module 3 is decoded into voice messaging to speech bar code, restores voice signal by speech processing module, drives the loud speaker pronunciation, when the user browses the photo of band speech bar code, just can hear sound synchronously like this.So this picture can also send to other mobile phone by wireless network (such as GPRS network), so long as possess the mobile phone of these three modules, hear acoustic information when photo can be browsed on screen.
If also there is not bar code information on the photo, perhaps want to revise the voice messaging in the picture, after pressing the sound-recording function key, sound under the record is handled by compress speech, be encoded to the speech bar code image through coding module, synthetic through the image of image processing module then, the photograph image of generation tape sign indicating number is deposited back in the memory.
The circuit of the recording processing section of digital camera is shown in Fig. 6,7,8 and 9 in preferred embodiment of the utility model.
During work, pick up voice signal by the microphone MIC among Fig. 7, import mould/number conversion chip U5 after amplifier U7A processing and amplifying, mould herein/number conversion U5 has adopted chip ADC08031, and the digital signal of finishing after mould/number conversion outputs to DSP by its 6th pin with serial mode.A/DCLK wherein is the clock signal that DSP produces, and U5 carries out mould/number conversion according to this clock signal, and its 7th pin whenever receives a clock and just carries out one-off pattern/number conversion.
On the other hand, signal after the amplifier U7A processing and amplifying in Fig. 7 also outputs to amplifier U3 among Fig. 8 through the AOUT terminal, by its amplification after loud speaker output, thereby realize that the sound that picks up is carried out the scene to be reset, perhaps audition, if, just abandon and pick up once more sound if be unsatisfied with to the satisfied processing such as just reservation and coding etc. of the sound that is picked up.
Power circuit among Fig. 9 then provides its required working power for other each circuit.
Fig. 6 is the core circuit of whole speech coding, and U1 wherein adopts the TMS320V5410 chip; Port J2 is used to debug the DSP program in the development phase, and as the port of a reservation on the finished product camera; Interface JP2 is a data interface, generally is used for carrying out exchanges data with other expansion equipment, and as memory device, microcomputer parallel port etc.; Chip U2 is a program storage, is used to store the working procedure of DSP.
The 41st pin clock signal of dsp chip U1 is given the U5 among Fig. 6, the 45th pin of U1 is accepted the digital speech data from the 6th pin output of U5 among Fig. 7, to this speech data compress, processing such as bar code generation, by interface JP2 the image compression module that barcode data outputs in the camera is compressed processing again, form integrated data with view data at last and output to holder.