Photographing display method and photographing display device
One kind shooting display methods and image display device technical field
The present invention relates to shooting display field, more particularly to a kind of shooting display methods and image display device.
Background technology
Common camera can only select a focusing to be shot when taking pictures in viewfinder range, therefore for the scene more than depth queuing, the object that taking the photo come can only ensure in some focusing be clearly, and remainder just it is relative some obscure.So, in user's previewing photos, the photo shown on camera is that only one of which focusing region is blunt clear, the photo of remainder Relative Fuzzy.If the picture rich in detail in another region in user's desired preview photo, user can only be repeatedly shot to obtain the picture rich in detail in another region, so can be pretty troublesome, the experience of user is reduced.
The content of the invention
Embodiments of the invention provide a kind of shooting display methods and image display device, can obtain and show the picture rich in detail in multiple regions on photo by a shooting process, so that user selects, improve Consumer's Experience.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
In a first aspect, a kind of method for imaging display is disclosed, including:
Control lens movement n times, once shot after the completion of movement every time, obtain N images and the N corresponding N groups view data of image are stored in corresponding image file, wherein, the lens are mobile every time to preset step-length, the default step-length is N/mono- of the focal range of camera, and the N is the integer more than or equal to 1;
N group view data in described image file is converted into N number of bitmap file, and preserves N number of bitmap file;
Show the corresponding image of any bitmap file in N number of bitmap file;
The image switching command of user's input is received, described image switching command carries rectangular coordinates value, and the rectangular coordinates value represents a region on the image of display;
Compare definition of the N number of bitmap file in the corresponding region of the rectangular coordinates value, obtain the rectangular coordinates and be worth the maximum bitmap file of corresponding region definition;
Show the maximum corresponding image of bitmap file of the definition.
With reference in a first aspect, in the first possible implementation, the control lens move N
It is secondary, once shot after the completion of movement every time, obtain N images, including:Lens motor is controlled to drive the lens since the initial value of the focal range, the mobile default step-length, automatic start shutter is shot after the completion of movement every time, obtains N images.
It is described that the N corresponding N groups view data of image are stored in corresponding image file with reference in a first aspect, in second of possible implementation, including:
Each Zhang Jinhang Joint Photographic Experts Groups JPEG in the N images is encoded respectively, the N corresponding N groups view data of image is obtained, and the N groups view data is stored in corresponding image file;
Offset of each group of view data in described image file in the N groups view data is recorded at the end of described image file.
With reference to second of possible implementation of the first possible implementation or first aspect of first aspect, first aspect, in the third possible implementation, N groups image data decoding in the file by described image is into N number of bitmap file, and N number of bitmap file is preserved, including:
Offset of the corresponding N groups view data of N number of image in described image file is read at the end of described image file;
According to offset of the corresponding N groups view data of the N number of image in described image file, the corresponding N groups view data of N number of image is read;
The N groups view data is converted into N number of bitmap file, and preserves the N bitmap file.
With reference to second of possible implementation of the first possible implementation or first aspect of first aspect, first aspect, in the 4th kind of possible implementation, the corresponding image of any bitmap file in the display N bitmap file, including:Show first image.
With reference to the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation,
When the N corresponding N groups view data of image are stored in image file, methods described also includes,
Multifocal photo id is accorded with described in write-in described image file in the header of the corresponding view data of first image;
Before the described image switching command of user's input is received, methods described also includes:Judge whether the header of the corresponding view data of first image described in described image file carries the multifocal photo id symbol.
With reference to second of possible implementation of first aspect, in the 6th kind of possible implementation,
After obtaining N images and the N corresponding N groups view data of image are stored in image file, methods described also includes:
First offset of the one group of view data inputted according to user in described image file, obtains the corresponding view data of first offset, so as to by described image data sharing to other equipment.
Second aspect, discloses a kind of image display device, including:
Shooting unit, is shot for controlling lens to move n times, is once shot after the completion of movement every time, obtain N images wherein, the lens are mobile every time to preset step-length, and the default step-length is N/mono- of the focal range of camera, and the N is the integer more than 1;
Coding unit, the N images for being obtained to the shooting unit are encoded, and obtain the N corresponding N groups view data of image;
Memory cell, the N corresponding N groups view data of image for the coding unit to be obtained are stored in corresponding image file;
Converting unit, N number of bitmap file is converted into for the N group view data in the described image file that stores the memory cell;
The memory cell is additionally operable to, and preserves the N bitmap file that the converting unit is obtained;
The corresponding image of any bitmap file in display unit, N number of bitmap file for showing memory cell storage;
Receiving unit, the image switching command for receiving user's input, described image switching command carries rectangular coordinates value, the rectangular coordinates value represents a region on the image of display;Comparing unit, definition of the N number of bitmap file in the corresponding region of the rectangular coordinates value for comparing the memory cell storage, obtains the rectangular coordinates and is worth the maximum bitmap file of corresponding region definition;
The display unit is additionally operable to, and shows the maximum corresponding image of bitmap file of the definition that the comparing unit is obtained.
With reference to second aspect, in the first possible implementation, the shooting unit specifically for, lens motor is controlled to drive the lens since the initial value of the focal range, the mobile default step-length, automatic start shutter is shot after the completion of movement every time, obtains N images.
With reference to second aspect, in second of possible implementation, the coding unit is specifically used
In, respectively to each Zhang Jinhang Joint Photographic Experts Groups j peg codings in the N images, the acquisition N corresponding N groups view data of image;
The memory cell is additionally operable to, and offset of each group of view data in described image file in the N groups view data is recorded at the end of described image file.
With reference to second of possible implementation of the first possible implementation or second aspect of second aspect, second aspect, in the third possible implementation, the converting unit is specifically for reading offset of the corresponding N groups view data of N number of image in described image file at the end of described image file;According to offset of the corresponding N groups view data of the N number of image in described image file, the corresponding N groups view data of N number of image is read;The N groups view data is converted into N number of bitmap file.
With reference to second of possible implementation of the first possible implementation or second aspect of second aspect, second aspect, in the 4th kind of possible implementation, the display unit is additionally operable to, and shows first image.
With reference to the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, in addition to writing unit and judging unit,
Said write unit by multifocal photo id specifically for according with and writing described in the described image file that the coding unit is obtained in the header of the corresponding view data of first image;
The judging unit is specifically for before the described image switching command that the receiving unit receives user's input, judging whether the header of the corresponding view data of first image described in described image file carries the multifocal photo id symbol.
With reference to second of possible implementation of second aspect, in the 6th kind of possible implementation, in addition to view data obtaining unit,
Described image data acquiring unit specifically for, after the N that the memory cell the obtains the coding unit corresponding N groups view data of image are stored in image file, first offset of the one group of view data inputted according to user in described image file, obtain the corresponding view data of first offset, so as to by described image data sharing to other equipment.
Shooting display methods provided in an embodiment of the present invention and image display device, carry out the focal range N deciles of common camera and successively n times shooting, obtain N images.The N images are subjected to coding acquisition view data and described image data are changed into N number of bitmap file, so when user clicks on other regions of the image currently shown, it is possible to by comparing the bitmap file obtained in the definition maximum of user's click on area and showing its corresponding image.Compared with being only able to display the photo of an only one of which clear area remainder Relative Fuzzy in the prior art, the present invention
The shooting display methods and image display device of offer, can improve Consumer's Experience according to the maximum image of the demand display resolution of user.
Brief description of the drawings
Fig. 1 is the shooting display methods schematic flow sheet that the embodiment of the present invention 1 is provided;
Fig. 2 is the shooting display methods schematic flow sheet that the embodiment of the present invention 2 is provided;
Fig. 3 is the view data storage schematic diagram that the embodiment of the present invention 2 is provided;
Fig. 4 is the structured flowchart for the image display device that the embodiment of the present invention 3 is provided;
Fig. 5 is the structured flowchart for the image display device that the embodiment of the present invention 4 is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
Embodiment 1:
Display methods is imaged the embodiments of the invention provide one kind, as shown in Fig. 1, be the described method comprises the following steps:
1 01, control lens movement n times, are once shot after the completion of movement every time, obtain N images and simultaneously the N corresponding N groups view data of image are stored in corresponding image file.
Wherein, the lens are mobile every time presets step-length, and the default step-length is N/mono- of the focal range of camera, and the N is the integer more than 1.
The control lens movement n times are shot, and the step of obtaining N images specifically includes:Image display device control lens motor drives the lens since the initial value of the focal range, the mobile default step-length, and automatic start shutter is shot after the completion of movement every time, obtains N images.
N images can just be encoded successively after the image display device obtains the N image, the N corresponding N groups view data of image are so obtained with, wherein every image should all have one group of view data.Afterwards, the N groups view data is stored in corresponding image file by the image display device.In addition, the image display device can also accord with multifocal photo id the header of the corresponding view data of first image in write-in described image file
In, and record at the end of described image file offset of the N groups view data in described image file.
1 02, the N group view data in described image file is converted into N number of bitmap file, and preserves N number of bitmap file.
Here, the step of N group view data in described image file is converted into N number of bitmap file by the image display device depending on the N groups view data described in step 1 01 preservation form.According to above-mentioned preservation form, the image display device by the N group view data in described image file when being converted into N number of bitmap file, offset of the N groups view data in described image file is read at the end of described image file first, then the N corresponding N groups view data of image is read in the corresponding position of described image file, the N groups view data is being converted into N number of bitmap file afterwards, and N number of bitmap file is being stored in internal memory.
1 03, the corresponding image of any bitmap file in N number of bitmap file is shown.
Generally, the image display device can give tacit consent to first image shown in the N image.
1 04, the image switching command of user's input is received, described image switching command carries rectangular coordinates value.
Wherein, the rectangular coordinates value represents a region on the image of display.In fact, user clicks on a region on the display screen of camera, camera internal just generates the image switching command of a rectangular coordinates value for carrying user's click on area, and correspondingly, camera internal can just receive described image switching command.
Before this, the image display device can first determine whether multifocal photo id symbol whether is carried in the header of the corresponding view data of picture of loading.If without the carrying multifocal photo id symbol in the header of the corresponding view data of the picture of the loading, the picture for then proving the loading is not captured out using the image pickup method described in step 1 01, only one image of correspondence, directly displays this image;If carrying the multifocal photo id symbol in the header of the corresponding view data of the picture of the loading, the picture for proving the loading is captured out using the image pickup method described in step 1 01, and to that should have N images.
When user clicks on other regions on the image currently shown, it will automatically generate one in camera internal and carry user's click on area(I.e. user needs the region shown)Rectangular coordinates value switching command, in order to be switched over to the image currently shown, be shown in user's click on area most clearly image.
1 05, relatively more described N number of bitmap file is worth the definition in corresponding region in the rectangular coordinates, obtains the rectangular coordinates and is worth the maximum bitmap file of corresponding region definition.
In fact, the image display device carrys out definition of the N number of bitmap file described in comparison in the corresponding region of the rectangular coordinates value using definition algorithm, obtain the rectangular coordinates and be worth the maximum bitmap file of corresponding region definition.In the prior art, there are a variety of definition algorithms, including:Definition algorithm based on gray variance, definition algorithm and rim detection of the gradient based on gray scale etc..The definition in corresponding region can be worth in the rectangular coordinates come N number of bitmap file described in comparison using one of which algorithm, with the image that the definition for obtaining the corresponding region of the rectangular coordinates value is maximum.
Example, definition is calculated using the definition algorithm based on gray variance.The definition evaluation of estimate in the region is calculated for the corresponding region of the rectangular coordinates value on each bitmap file, wherein, described=1/MN Z Z [f x, y)-Ui ]2, described M, N are the height and width of a certain pixel, the coordinate value of described/(x, _ y) pixel(X, y) corresponding gray value, the ^ is currently the average gray value of the image.When having calculated the definition evaluation of estimate of N number of bitmap file, N number of value is just obtained.Wherein, the corresponding bitmap file definition of maximum value is maximum.
In step 1 01, by the focal range N deciles of camera lens when the image display device is shot, N/mono- that lens motor often moves focal range shoots successively, the N being achieved in that images are all to that should have different focusings, therefore definition of the N number of bitmap file in same region is different, so described image display device using definition algorithm to the N bitmap file after the definition in the corresponding region of the rectangular coordinates value is compared, it is obtained with the maximum bitmap file of the corresponding region definition of the rectangular coordinates value.
1 06, the maximum corresponding image of bitmap file of the definition is shown.
The maximum corresponding image of bitmap file of the definition is shown that user is it is seen that the picture rich in detail of click on area, improves Consumer's Experience by the image display device.
Shooting display methods provided in an embodiment of the present invention, image display device is by the focal range N deciles of common camera and carries out n times shooting successively, obtains N images.The N images are subjected to coding acquisition view data and described image data are changed into N number of bitmap file, so when user clicks on other regions of the image currently shown, the image display device just can be by comparing acquisition in the maximum bitmap file of the definition of user's click on area and showing its corresponding image.Compared with being only able to display the photo of an only one of which clear area remainder Relative Fuzzy in the prior art, the shooting display methods that the present invention is provided can improve Consumer's Experience according to the maximum image of the demand display resolution of user.
Embodiment 2:
Display methods, as shown in Fig. 2, methods described are imaged the embodiments of the invention provide one kind
Comprise the following steps:
201st, control lens movement n times are shot, and obtain N images.
When implementing, image display device control lens motor drives the lens since the initial value of the focal range, the mobile default step-length, and automatic start shutter is shot after the completion of movement every time, obtains N images.Due to shooting every time all to that should have a focal length, therefore to that should have on different focusings, i.e., every image, most clearly region is different to the N images obtained.The default step-length is N/mono- of the focal range of camera, and the N is the integer more than 1.
202nd, the N corresponding N groups view data of image are stored in corresponding image file.
It is that described image coding is compressed into view data to preserve image under normal circumstances, is then stored in again in corresponding image file.The preservation form of image has JPEG (Jo int Pho t ograph i c Exper t s Group, Joint Photographic Experts Group), TI FF (Tagged Image F i l e Forma t, TIF)Deng.Example, the image display device carries out JPEG codings to the N images, N group view data is obtained, wherein every image should all have one group of view data.The a view data can be also stored in image file by the image display device.
When the N groups view data is saved in corresponding image file by the image display device, offset of the every group of view data in described image file can be also recorded at the end of described image file, example, the respective offset of N groups view data can be recorded with 8 bytes.If corresponding that group of view data of first image is stored in the original position of described image file by the image display device, then offset of the N-1 groups view data in described image file in addition to corresponding that group of view data of first image can be have recorded at the end of described image file;If corresponding that group of view data of first image is not stored in the original position of described image file by the image display device, then offset of the N groups view data in described image file will be recorded at the end of described image file.Storage form can be with as shown in figure 3, wherein, in the corresponding one group of data of every image of storage, with SO I, (S tar Of Image, image starts)Mark starts, and with E0 I, (End Of Image, image terminates)Mark terminates.
Alternatively, the image display device can also write multifocal photo id symbol in the header of corresponding that group of view data of first image.If screening-mode is set to the shooting step described in the present embodiment 201 in production by the image display device, then each scene that camera is shot is to that should have N images.If the image display device had both supported the screening-mode described in step 201, the screening-mode of general only one of which focusing is supported again, multifocal photo id symbol is write so in the header of corresponding that group of view data of first image, in order to sentence
Whether the photo that breaks is for the captured multifocal photo out of the method that provides of the present invention.
In addition, after the N corresponding N groups view data of image are stored in image file by the image display device, the corresponding view data of image that user chooses can also be obtained according to the demand of user, so that other equipment can be shared to by described image Data Data by obtaining user.I.e. user can select an image according to the hobby of oneself in the N images, the image display device obtains the corresponding offset of this image according to the operation of user, and view data is obtained in image file according to this offset, so, the view data of the image can be just sent to other equipment by user.Or, the image file on the camera can be transferred on other display equipment, so that user selects image on the other display equipment according to hobby, obtain the corresponding view data of the image and send it to kith and kin.Example, the N images can be shown on computers, when user chooses one according to hobby in the N images, when user clicks on the image, offset of the image in described image file is just obtained inside computer, then described image file is accessed according to the offset, it is possible to obtain the corresponding view data of the image, it is possible to give other kith and kin by described image data forwarding.
2 03, the N group view data in described image file is converted into N number of bitmap file, and preserves N number of bitmap file.
When the N groups view data is converted into N number of bitmap file by the image display device depending on the preserving type to the N groups view data described in step 2 02.If corresponding that group of view data of first image preserves the original position of described image file, and the end of described image file have recorded offset of the 1 group of view data of N- in described image file in addition to corresponding that group of view data of first image, then the image display device reads first group of view data in the original position of described image file, and the offset in the end position of described image file reads each comfortable described image file of 1 group of view data of remaining N-, then corresponding view data is read in described image file according to the corresponding offset of each group view data.Afterwards, the N group view data read is converted into bitmap file by the image display device again.Or, if corresponding that group of view data of first image does not preserve the original position of described image file, and the end of described image file have recorded offset of the N groups view data in described image file.So, the image display device reads each self-corresponding offset of N groups view data at the end of described image file first, then the N groups view data is read in described image file according to respective offset, the N groups view data is converted into bitmap file again afterwards, and is stored in internal memory.
2 04, the corresponding image of any bitmap file in N number of bitmap file is shown.
Generally, the image display device acquiescence shows first in N images.If
The image display device only supports the screening-mode described in step 2 01, multifocal photo id symbol can not be carried in the header of corresponding that group of view data of so first image, at this moment the image display device shows that the corresponding image of any bitmap file can in N number of bitmap file.If the image display device not only supports the screening-mode described in step 2 01 also to support general exposal model, it is accomplished by carrying multifocal photo id symbol in the header of corresponding that group of view data of so first image, at this moment, the image display device acquiescence shows first in N images.
2 05, judge whether the header of the corresponding view data of corresponding first image of image file carries the multifocal photo id symbol.
If carrying, step 2 06 is carried out, if not carrying, the corresponding image of view data is directly displayed.
2 06, the image switching command of user's input is received, described image switching command carries rectangular coordinates value.
Wherein, the rectangular coordinates value represents a region on the image of display.In fact, when user clicks on a region on the image that camera is currently shown, camera internal just generates one and carries user's click on area(User requires the region of display)Rectangular coordinates value image switching command, correspondingly, camera internal can just receive described image switching command.In this manner it is possible to according to the demand display image of user, to improve Consumer's Experience.
Here, image one focusing of correspondence that the image display device is currently shown, that is, have a region to be apparent from.When user clicks on other regions of the image currently shown, an image switching command will be automatically generated inside the image display device, and the rectangular coordinates value that user requires the region of display is carried, so that the image display device is switched over according to the demand of user to image.
2 07, relatively more described N number of bitmap file is worth the definition in corresponding region in the rectangular coordinates, obtains the rectangular coordinates and is worth the maximum bitmap file of corresponding region definition.
Carry out definition of the N bitmap file described in comparison in the corresponding region of the rectangular coordinates value using definition algorithm, with the image that the definition for obtaining the corresponding region of the rectangular coordinates value is maximum.
Example, definition is calculated using the definition algorithm based on gray variance.The definition evaluation of estimate in the region is calculated for the corresponding region of the rectangular coordinates value on each bitmap file, wherein, described=1/MN Z Z
Uj, described M, N are the height and width of a certain pixel, and described/(x, _ y) shouldxAs the coordinate value at sight spot(X, y) corresponding gray value, the ^ is currently the average gray value of the image.Calculating the definition evaluation of estimate of N number of bitmap file
When, just obtain N number of value.Wherein, the corresponding bitmap file definition of maximum value is maximum.As described in step 201, due to having carried out n times shooting using different focal, therefore same region on N images definition be different.The image display device is worth the definition in corresponding region by N more all bitmap file of definition algorithm in the rectangular coordinates, it becomes possible to obtain the bitmap file for being worth the definition maximum in corresponding region in the rectangular coordinates.
208th, the maximum corresponding image of bitmap file of the definition is shown.
At this moment, the corresponding image of bitmap file of the definition maximum shown on the image display device is exactly the maximum image of user's click on area definition.The image display device switches image according to user's request, improves Consumer's Experience.In addition, user can also obtain any in the N image according to hobby.
Shooting display methods provided in an embodiment of the present invention, carries out the focal range N deciles of common camera and successively n times shooting, obtains N images.The N images are subjected to coding acquisition view data and described image data are changed into N number of bitmap file, so when user clicks on other regions of the image currently shown, it is possible to by comparing the bitmap file obtained in the definition maximum of user's click on area and showing its corresponding image.Compared with being only able to display the photo of an only one of which clear area remainder Relative Fuzzy in the prior art, the shooting display methods that the present invention is provided can improve Consumer's Experience according to the maximum image of the demand display resolution of user.
Embodiment 3:
The embodiments of the invention provide a kind of image display device, for performing the method described in Fig. 1 embodiments of the method, as shown in figure 4, the image display device includes:Shooting unit 401, coding unit 402, memory cell 403, converting unit 404, display unit 405, receiving unit 406 and comparing unit 407.
Shooting unit 401, for controlling lens to move n times, is once shot after the completion of movement every time, obtain N images wherein, the lens are mobile every time to preset step-length, and the default step-length is N/mono- of the focal range of camera, and the N is the integer more than 1;Coding unit 402, the N images for being obtained to the shooting unit 401 are encoded, and obtain the N corresponding N groups view data of image;Memory cell 403, the N corresponding N groups view data of image for the coding unit 402 to be obtained are stored in corresponding image file, wherein every image should all have one group of view data;Converting unit 404, N number of bitmap file is converted into for the N group view data in the described image file that stores the memory cell 403;The memory cell 403 is additionally operable to, and preserves the N that the converting unit 404 is obtained
Individual bitmap file;Display unit 405, for showing the corresponding image of any bitmap file in the N bitmap file that the memory cell 403 is stored;Receiving unit 406, the image switching command for receiving user's input, described image switching command carries rectangular coordinates value, and the rectangular coordinates value represents a region on the image of display;Comparing unit 407, definition of the N number of bitmap file in the corresponding region of the rectangular coordinates value for comparing the memory cell storage 403, obtains the rectangular coordinates and is worth the maximum bitmap file of corresponding region definition;The display unit 405 is additionally operable to, and shows the maximum corresponding image of bitmap file of the definition that the comparing unit 407 is obtained.
The shooting unit 401 is specifically for control lens motor drives the lens since the initial value of the focal range, the mobile default step-length, and automatic start shutter is shot after the completion of movement every time, obtains N images.
The coding unit 402 to each Zhang Jinhang Joint Photographic Experts Groups j peg in the N images specifically for encoding, obtaining the N corresponding N groups view data of image respectively.The memory cell 403 is additionally operable to, and offset of each group of view data in described image file in the N groups view data is recorded at the end of described image file.
The converting unit 404 is specifically for reading offset of the corresponding view data of the N image in described image file at the end of described image file;According to offset of the corresponding N groups view data of the N number of image in described image file, the corresponding N groups view data of N number of image is read;The N groups view data is converted into N number of bitmap file.
The display unit 405 is specifically for first image in display described image file.The image display device also includes writing unit and judging unit, and said write unit by multifocal photo id specifically for according with and writing in the header of the corresponding view data of first image in the described image file that the coding unit is obtained.The judging unit specifically for, before the described image switching command that the receiving unit 406 receives user's input, judge whether the header of the corresponding view data of corresponding first image of image file carries the multifocal photo id and accord with.
The image display device also includes view data obtaining unit, described image data acquiring unit specifically for, after the N that the memory cell 403 the obtains the coding unit 402 corresponding N groups view data of image are stored in image file, first offset of the one group of view data inputted according to user in described image file, obtain the corresponding view data of first offset, so as to by described image data sharing to other equipment.
Image display device provided in an embodiment of the present invention, carries out the focal range N deciles of common camera and successively n times shooting, obtains N images.The N images are carried out into coding to obtain
Obtain view data and described image data are changed into N number of bitmap file, so when user clicks on other regions of the image currently shown, it is possible to by comparing the bitmap file obtained in the definition maximum of user's click on area and showing its corresponding image.Compared with being only able to display the photo of an only one of which clear area remainder Relative Fuzzy in the prior art, the image display device that the present invention is provided can improve Consumer's Experience according to the maximum image of the demand display resolution of user.
Embodiment 4:
The embodiments of the invention provide a kind of image display device, in hardware realization, receiving unit, coding unit, memory cell, converting unit, comparing unit, writing unit, judging unit and view data obtaining unit described in Fig. 4 can in the form of hardware or software form is embedded in the processor of the image display device.The processor can be CPU(), CPU can also single-chip microcomputer.The image display device also device for shooting and display.Wherein, the receiving unit with the display unit shown in Fig. 4 can collectively constitute touch screen displays or described image display device on external button.
As shown in figure 5, the image display device includes:Device for shooting 503 and display 504 that memory 501, processor 502 and processor 502 are connected.Wherein, batch processing code is stored in memory 502, and processor 502 is used to call the program code stored in memory 501, for performing following operation:
Device for shooting 503, for controlling lens to move n times, is once shot after the completion of movement every time, obtain N images wherein, the lens are mobile every time to preset step-length, and the default step-length is N/mono- of the focal range of camera, and the N is the integer more than 1.
The processor 502, encodes for the N images to acquisition, obtains the N corresponding N groups view data of image;The processor 502, for the N of the acquisition corresponding N groups view data of image to be stored in corresponding image file;The processor 502, N number of bitmap file is converted into for the N group view data in the described image file by storage;The processor 502, for preserving the N number of bitmap file obtained.
The display 504, for showing the corresponding image of any bitmap file in N number of bitmap file.
The processor 502 is additionally operable to, and receives the image switching command of user's input, and described image switching command carries rectangular coordinates value, and the rectangular coordinates value represents a region on the image of display;The processor 502 is additionally operable to, and relatively more described N number of bitmap file is worth the definition in corresponding region in the rectangular coordinates, is obtained the rectangular coordinates and is worth the maximum bitmap file of corresponding region definition.
The display 5 04 is additionally operable to, and shows the maximum corresponding image of bitmap file of the definition obtained.
The processor 5 02 is specifically for control lens motor drives the lens since the initial value of the focal range, the mobile default step-length, and automatic start shutter is shot after the completion of movement every time, obtains N images.
The processor 5 02 is additionally operable to, and each Zhang Jinhang Joint Photographic Experts Groups j pe g in the N images are encoded respectively, obtains the N corresponding N groups view data of image;Offset of each group of view data in described image file in the N groups view data is recorded at the end of described image file.
The processor 5 02 is specifically for reading offset of the corresponding view data of N number of image in described image file at the end of described image file;According to offset of the corresponding N groups view data of the N number of image in described image file, the corresponding N groups view data of N number of image is read;The N groups view data is converted into N number of bitmap file.
The display 5 04 is specifically for first image in display described image file.The processor 5 02 is additionally operable to, and multifocal photo id is accorded with write-in described image file in the header of the corresponding view data of first image;Before the described image switching command of user's input is received, judge whether the header of the corresponding view data of corresponding first image of image file carries the multifocal photo id and accord with.
The processor 5 02 is additionally operable to, after the N corresponding N groups view data of image are stored in image file, first offset of the one group of view data inputted according to user in described image file, obtain the corresponding view data of first offset, so as to by described image data sharing to other equipment.
Image display device provided in an embodiment of the present invention, carries out the focal range N deciles of common camera and successively n times shooting, obtains N images.The N images are subjected to coding acquisition view data and described image data are changed into N number of bitmap file, so when user clicks on other regions of the image currently shown, it is possible to by comparing the bitmap file obtained in the definition maximum of user's click on area and showing its corresponding image.Compared with being only able to display the photo of an only one of which clear area remainder Relative Fuzzy in the prior art, the image display device that the present invention is provided can improve Consumer's Experience according to the maximum image of the demand display resolution of user.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can be completed by the related hardware of programmed instruction, and foregoing program can be stored in computer read/write memory medium, and the program upon execution, performs the step of including above method embodiment;And it is foregoing
Storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
It is described above; only embodiment of the invention, but protection scope of the present invention is not limited thereto, any one skilled in the art the invention discloses technical scope in; change or replacement can be readily occurred in, should be all included within the scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.