CN105659579B - A kind of camera shooting display methods and image display device - Google Patents

A kind of camera shooting display methods and image display device Download PDF

Info

Publication number
CN105659579B
CN105659579B CN201380080381.2A CN201380080381A CN105659579B CN 105659579 B CN105659579 B CN 105659579B CN 201380080381 A CN201380080381 A CN 201380080381A CN 105659579 B CN105659579 B CN 105659579B
Authority
CN
China
Prior art keywords
image
file
image data
group
unit
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.)
Active
Application number
CN201380080381.2A
Other languages
Chinese (zh)
Other versions
CN105659579A (en
Inventor
杨子晋
高伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Publication of CN105659579A publication Critical patent/CN105659579A/en
Application granted granted Critical
Publication of CN105659579B publication Critical patent/CN105659579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/743Bracketing, i.e. taking a series of images with varying exposure conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Image display methods and image display device.Camera shooting display methods includes: the mobile n times of control lens, is once shot after the completion of movement every time, and N images are obtained, and the N corresponding N group image datas of image are stored in corresponding image file (101);By N group image data conversion at N number of bitmap file, N number of bitmap file (102) are saved;Show the corresponding image (103) of any bitmap file in N number of bitmap file;The image switching command of user's input is received, image switching command has rectangular coordinates value (104);More N number of bitmap file is worth the clarity in corresponding region in rectangular coordinates, obtains rectangular coordinates and is worth the corresponding maximum bitmap file of region clarity (105);The corresponding image of the maximum bitmap file of display resolution (106).

Description

A kind of camera shooting display methods and image display device
Technical field
The present invention relates to camera shooting display field more particularly to a kind of camera shooting display methods and image display devices.
Background technique
Common camera can only select a focus point to be shot when taking pictures in viewfinder range, therefore for scape For scene more than profound level, the object that taking the photo come can only guarantee in some focus point is clearly and rest part Just some are fuzzy relatively.In this way, in user's previewing photos, the photo shown on camera be only one focus point region very Clearly, the photo of rest part Relative Fuzzy.If user wants the clear image in another region in the preview photo, use Family can only repeatedly shoot to obtain the clear image in another region, in this way can be pretty troublesome, reduce the experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of camera shooting display methods and image display device, can be by once shooting Journey obtains and shows the clear image of multiple regions on photo, for selection by the user, improves user experience.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, disclosing a kind of method of camera shooting display, comprising:
The mobile n times of lens are controlled, are once shot after the completion of each movement, N images are obtained and the N is opened into images Corresponding N group image data is stored in corresponding image file, wherein the lens move preset step-length every time, institute N/mono- for the focal range that preset step-length is camera is stated, the N is the integer more than or equal to 1;
By the N group image data conversion in described image file at N number of bitmap file, and save 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, the rectangle Coordinate value indicates a region on the image of display;
Compare the clarity that N number of bitmap file is worth corresponding region in the rectangular coordinates, obtains the rectangle and sit The corresponding maximum bitmap file of region clarity of scale value;
Show the corresponding image of the maximum bitmap file of the clarity.
With reference to first aspect, in the first possible implementation, the mobile n times of the control lens, have been moved every time It is once shot at rear, obtains N images, comprising:
Control lens motor drives the lens since the initial value of the focal range, the mobile preset step-length, Mobile starting shutter automatic after the completion is shot every time, obtains N images.
With reference to first aspect, in the second possible implementation, described by the N corresponding N group images of image Data are stored in corresponding image file, comprising:
Each Zhang Jinhang Joint Photographic Experts Group JPEG in the N images is encoded respectively, obtains the N figures It is stored in corresponding image file as corresponding N group image data, and by the N group image data;
Each group of image data is recorded in the N group image data in described image file at the end of described image file In offset.
With reference to first aspect, second of possible reality of the possible implementation of the first of first aspect or first aspect Existing mode, in the third possible implementation, the N group image data by described image file is decoded into N number of position Map file, and save N number of bitmap file, comprising:
The corresponding N group image data of N number of image is read in described image file at the end of described image file Offset;
According to offset of the corresponding N group image data of the N number of image in described image file, read described N number of The corresponding N group image data of image;
By the N group image data conversion at N number of bitmap file, and save N number of bitmap file.
With reference to first aspect, second of possible reality of the possible implementation of the first of first aspect or first aspect Existing mode, in the fourth possible implementation, the corresponding figure of any bitmap file in display N number of bitmap file Picture, comprising: first image of display.
The 4th kind of possible implementation with reference to first aspect, in a fifth possible implementation,
When storing the N corresponding N group image datas of image in image file, the method also includes,
Multifocal photo id is accorded with to the head of the corresponding image data of first image described in write-in described image file In information;
Before the described image switching command for receiving user's input, the method also includes:
It is described to judge whether the head information of the corresponding image data of first image described in described image file carries Multifocal photo id symbol.
The possible implementation of second with reference to first aspect, in a sixth possible implementation,
After obtaining N images and the N corresponding N group image datas of image be stored in image file, institute State method further include:
According to first offset of the one group of image data of user's input in described image file, described first is obtained partially The corresponding image data of shifting amount, so as to by described image data sharing to other equipment.
Second aspect discloses a kind of image display device, comprising:
Shooting unit is shot for controlling the mobile n times of lens, mobile every time once to be shot after the completion, obtains N Open image wherein, the lens move preset step-length every time, and the preset step-length is N/mono- of the focal range of camera, The N is the integer greater than 1;
Coding unit, the N images for obtaining to the shooting unit encode, and obtain the N images Corresponding N group image data;
Storage unit, the N for the obtaining the coding unit corresponding N group image datas of image are stored in pair In the image file answered;
Converting unit, the N group image data conversion in the described image file for storing the storage unit is at N number of Bitmap file;
The storage unit is also used to, and saves N number of bitmap file that the converting unit obtains;
Display unit, any bitmap file is corresponding in N number of bitmap file for showing storage unit storage Image;
Receiving unit, for receiving the image switching command of user's input, described image switching command carries rectangle seat Scale value, the rectangular coordinates value indicates a region on the image of display;
Comparing unit, N number of bitmap file for storage unit storage is in the rectangular coordinates value pair The clarity in the region answered obtains the corresponding maximum bitmap file of region clarity of the rectangular coordinates value;
The display unit is also used to, and shows that the maximum bitmap file of the clarity that the comparing unit obtains is corresponding Image.
In conjunction with second aspect, in the first possible implementation, the shooting unit is specifically used for, and controls lens horse Up to the lens are driven, the mobile preset step-length is automatic after the completion of movement every time since the initial value of the focal range Starting shutter is shot, and N images are obtained.
In conjunction with second aspect, in the second possible implementation, the coding unit is specifically used for, respectively to described Each Zhang Jinhang Joint Photographic Experts Group jpeg coding in N images, obtains the N corresponding N group picture numbers of image According to;
The storage unit is also used to, and records each group picture in the N group image data at the end of described image file As offset of the data in described image file.
In conjunction with the first possible implementation of second aspect, second aspect or second of possible reality of second aspect Existing mode, in the third possible implementation, the converting unit is specifically used for, and reads at the end of described image file Offset of the corresponding N group image data of N number of image in described image file;According to the corresponding N group of the N number of image Offset of the image data in described image file reads the corresponding N group image data of N number of image;By the N group picture As data conversion is at N number of bitmap file.
In conjunction with the first possible implementation of second aspect, second aspect or second of possible reality of second aspect Existing mode, in the fourth possible implementation, the display unit is also used to, and shows first image.
The 4th kind of possible implementation in conjunction with second aspect further includes in a fifth possible implementation writing Enter unit and judging unit,
Said write unit is specifically used for, and the described image that the coding unit obtains is written in multifocal photo id symbol In the head information of the corresponding image data of first image described in file;
The judging unit is specifically used for, the receiving unit receive user input described image switching command it Before, judge whether the head information of the corresponding image data of first image described in described image file carries the multifocal Photo id symbol.
Second of possible implementation in conjunction with second aspect further includes in a sixth possible implementation figure Picture data acquiring unit,
Described image data acquiring unit is specifically used for, in the N that the storage unit obtains the coding unit After the corresponding N group image data of image is stored in image file, the one group of image data inputted according to user is described The first offset in image file obtains the corresponding image data of first offset, to be total to described image data It enjoys to other equipment.
Camera shooting display methods provided in an embodiment of the present invention and image display device, by the focal range N of common camera Equal part simultaneously successively carries out n times shooting, obtains N images.The N images are subjected to coding and obtain image data and by the figure As data are converted to N number of bitmap file, in this way when user clicks other regions of the image currently shown, so that it may pass through ratio Compared with the maximum bitmap file of clarity obtained in user's click on area and show its corresponding image.With in the prior art can only Display one only one clear area rest part Relative Fuzzy photo compare, camera shooting display methods provided by the invention and Image display device, can the maximum image of display resolution according to the demand of user, improve user experience.
Detailed description of the invention
Fig. 1 is the camera shooting display methods flow diagram that the embodiment of the present invention 1 provides;
Fig. 2 is the camera shooting display methods flow diagram that the embodiment of the present invention 2 provides;
Fig. 3 is that the image data that the embodiment of the present invention 2 provides stores schematic diagram;
Fig. 4 is the structural block diagram for the image display device that the embodiment of the present invention 3 provides;
Fig. 5 is the structural block diagram for the image display device that the embodiment of the present invention 4 provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment 1:
The embodiment of the invention provides a kind of camera shooting display methods, as shown in Figure 1, the described method comprises the following steps:
101, the mobile n times of control lens, it is mobile every time once to be shot after the completion, obtain N images and by the N The corresponding N group image data of image is stored in corresponding image file.
Wherein, the lens move preset step-length every time, the preset step-length be the focal range of camera N/ One, the N are the integer greater than 1.
The step of mobile n times of the control lens are shot, obtain N images specifically includes: image display device control Lens motor processed drives the lens since the initial value of the focal range, and the mobile preset step-length has moved every time It is shot at rear automatic starting shutter, obtains N images.
Successively N images can be encoded after the image display device obtains the N image, in this way The N corresponding N group image datas of image are obtained with, wherein every image should all have one group of image data.Later, institute It states image display device the N group image data is stored in corresponding image file.In addition, the image display device is also Multifocal photo id can be accorded in write-in described image file in the head information of the corresponding image data of first image, and The end of described image file records offset of the N group image data in described image file.
102, by the N group image data conversion in described image file at N number of bitmap file, and N number of bitmap is saved File.
Here, the image display device is by the N group image data conversion in described image file at N number of bitmap file Step depends on the preservation form of the N group image data described in step 101.According to above-mentioned preservation form, the camera shooting Display device is when by the N group image data conversion in described image file at N number of bitmap file, first in described image file End read offset of the N group image data in described image file, then in the corresponding positions of described image file It sets place and reads the N corresponding N group image data of image, later the N group image data conversion is literary at N number of bitmap Part, and N number of bitmap file is saved in memory.
103, the corresponding image of any bitmap file in N number of bitmap file is shown.
Under normal circumstances, the image display device can default first image shown in the N image.
104, the image switching command of user's input is received, described image switching command carries rectangular coordinates value.
Wherein, the rectangular coordinates value indicates a region on the image of display.In fact, display of the user in camera As soon as clicking a region on screen, camera internal generates the image switching for the rectangular coordinates value that one carries user's click on area Order, correspondingly, camera internal can receive described image switching command.
Before this, the image display device can first determine whether in the head information of the corresponding image data of picture of load Whether multifocal photo id symbol is carried.If without described in carrying in the head information of the corresponding image data of the picture of the load Multifocal photo id symbol then proves that the picture of the load is not captured out using image pickup method described in step 101 Come, only a corresponding image, directly displays this image;If in the head information of the corresponding image data of the picture of the load The multifocal photo id symbol is carried, then proves that the picture of the load is to utilize image pickup method institute described in step 101 It shoots, and is corresponding with N images.
When other regions on the image currently shown when the user clicks, one will be automatically generated in camera internal and is taken The switching command of rectangular coordinates value with user's click on area (i.e. user needs region to be shown), in order to current display Image switch over, be shown in the clearest image of user's click on area.
105, N number of bitmap file is worth the clarity in corresponding region in the rectangular coordinates, obtains the square The corresponding maximum bitmap file of region clarity of shape coordinate value.
In fact, the image display device carrys out N number of bitmap file described in comparison in the rectangle using definition algorithm The clarity in the corresponding region of coordinate value obtains the corresponding maximum bitmap file of region clarity of the rectangular coordinates value.It is existing Have in technology, there are a variety of definition algorithms, comprising: the definition algorithm based on gray variance, the gradient based on gray scale it is clear Clear degree algorithm and edge detection etc..It can be sat come N number of bitmap file described in comparison in the rectangle using one of algorithm The clarity in the corresponding region of scale value, to obtain the maximum image of clarity that the rectangular coordinates are worth corresponding region.
It is exemplary, clarity is calculated using based on the definition algorithm of gray variance.For on each bitmap file The rectangular coordinates are worth the clarity evaluation of estimate F that corresponding region calculates the regioni, wherein it is describedDescribed M, N are the height and width of a certain pixel, described f (x, y) pixel The corresponding gray value of coordinate value (x, y) of point, the uiIt is currently the average gray value of the image.N number of bitmap text is having been calculated The clarity evaluation of estimate F of partiWhen, just obtain N number of FiValue.Wherein, maximum FiIt is maximum to be worth corresponding bitmap file clarity.
In a step 101, by the focal range N equal part of camera lens, lens motor when the image display device is shot Successively, the N being achieved in that images are all corresponding with different focus points, therefore institute for the shooting of N/mono- of every mobile focal range It states clarity of N number of bitmap file in the same region to be different, the image display device described in this way is calculated using clarity Method is to N number of bitmap file after the clarity that the rectangular coordinates are worth corresponding region is compared, so that it may obtain One rectangular coordinates is worth the corresponding maximum bitmap file of region clarity.
106, the corresponding image of the maximum bitmap file of clarity is shown.
The corresponding image of the maximum bitmap file of the clarity is shown that user can by the image display device To see the clear image of click on area, user experience is improved.
Camera shooting display methods provided in an embodiment of the present invention, image display device is by the focal range N etc. of common camera Divide and successively carry out n times shooting, obtains N images.The N images are subjected to coding and obtain image data and by described image Data are converted to N number of bitmap file, in this way when user clicks other regions of the image currently shown, the camera shooting display dress The maximum bitmap file of clarity in user's click on area can be obtained by comparing and show its corresponding image by setting.With The photo for being only able to display only one clear area rest part Relative Fuzzy in the prior art is compared, provided by the invention Image display methods, can the maximum image of display resolution according to the demand of user, improve user experience.
Embodiment 2:
The embodiment of the invention provides a kind of camera shooting display methods, as shown in Fig. 2, the described method comprises the following steps:
201, the mobile n times of control lens are shot, and obtain N images.
In specific implementation, image display device control lens motor drives the lens from the starting of the focal range Value starts, the mobile preset step-length, and mobile starting shutter automatic after the completion is shot every time, obtains N images.Due to every Secondary shooting is all corresponding with a focal length, therefore the N obtained images are corresponding with different focus points, i.e. clearest on every image Region be different.The preset step-length is N/mono- of the focal range of camera, and the N is the integer greater than 1.
202, the N corresponding N group image datas of image are stored in corresponding image file.
Saving image under normal conditions is that described image coding is compressed into image data, is then stored in corresponding figure again As in file.The preservation format of image has JPEG, and (Joint Photographic Experts Group, joint image expert are small Group), TIFF (Tagged Image File Format, label image file format) etc..It is exemplary, the image display device JPEG coding is carried out to the N images, N group image data is obtained, wherein every image should all have one group of image data.It is described The N group image data can be also stored in image file by image display device.
It, can also be described when the N group image data is saved in corresponding image file by the image display device The end of image file records offset of the every group of image data in described image file, exemplary, can with 8 bytes come Record the respective offset of N group image data.If the image display device is by corresponding that group of image of first image Data are stored in the initial position of described image file, then can have recorded at the end of described image file except first image Offset of the N-1 group image data in described image file except corresponding that group of image data;If the camera shooting display Corresponding that group of image data of first image is not stored in the initial position of described image file by device, then in the figure As the end of file just will record offset of the N group image data in described image file.Storage form can be such as Fig. 3 institute Show, wherein started in the corresponding one group of data of every image of storage with SOI (Star Of Image, image start) label, Terminated with EOI (End Of Image, image terminate) label.
Optionally, the image display device can also be in the head information of corresponding that group of image data of first image Multifocal photo id symbol is written.If screening-mode is set in the present embodiment 201 by the image display device in production The shooting step, then each scene of camera shooting is corresponding with N images.If the image display device was both It supports screening-mode described in step 201, and supports the screening-mode of only one general focus point, then scheming at first As corresponding that group of image data head information in write-in multifocal photo id symbol, in order to judge whether the photo is this The captured multifocal photo come out of the method provided is provided.
In addition, the N corresponding N group image datas of image are stored in it in image file by the image display device Afterwards, the corresponding image data of image that user chooses can also be obtained according to the demand of user, so that user can will be described Image data shares to other equipment.I.e. user can scheme for selection one in the N images according to the hobby of oneself Picture, the image display device obtains the corresponding offset of this image depending on the user's operation, and is existed according to this offset Image data is obtained in image file, in this way, the image data of the image can be sent to other equipment by user.Alternatively, Image file on the camera can be transferred on other display equipment, so as to user on the other display equipment root Image is selected according to hobby, the corresponding image data of the image is obtained and sends it to kith and kin.It is exemplary, it can show on computers Show the N images, when user chooses one in the N images according to hobby, when user clicks the image, in computer Portion just obtains offset of the image in described image file, then accesses described image file according to the offset, It is obtained with the corresponding image data of the image, so that it may give described image data forwarding to other kith and kin.
203, by the N group image data conversion in described image file at N number of bitmap file, and N number of bitmap is saved File.
In the image display device by the N group image data conversion at N number of bitmap file when depend on step 202 in The preserving type to the N group image data.If corresponding that group of image data of first image saves described image The initial position of file, and the end of described image file has recorded in addition to corresponding that group of image data of first image Offset of the N-1 group image data in described image file, then starting of the image display device in described image file First group of image data is read in position, and reads remaining each leisure of N-1 group image data in the end position of described image file Then offset in described image file reads phase in described image file according to the corresponding offset of each group image data The image data answered.Later, the image display device is again by the N group image data conversion read at bitmap file.Alternatively, If corresponding that group of image data of first image does not save the initial position of described image file, and described image file End has recorded offset of the N group image data in described image file.In this way, the image display device is first described The corresponding offset of N group image data is read at the end of image file, then according to respective offset described The N group image data is read in image file, later again by the N group image data conversion at bitmap file, and is stored in In memory.
204, the corresponding image of any bitmap file in N number of bitmap file is shown.
Under normal circumstances, first in N images of the image display device default display.If the camera shooting display dress It sets and only supports screening-mode described in step 201, then can in the head information of corresponding that group of image data of first image Not carry multifocal photo id symbol, at this moment the image display device shows any bitmap file pair in N number of bitmap file The image answered is ok.If it is general that the image display device not only supports that screening-mode described in step 201 is also supported Photographing mode, then just needing to carry multifocal photo id in the head information of corresponding that group of image data of first image Symbol, at this moment, first in N images of the image display device default display.
205, judge whether the head information of the corresponding image data of corresponding first image of image file carries The multifocal photo id symbol.
If carrying, step 206 is carried out, if not carrying, directly displays the corresponding image of image data.
206, the image switching command of user's input is received, described image switching command carries rectangular coordinates value.
Wherein, the rectangular coordinates value indicates a region on the image of display.In fact, when user is current in camera As soon as clicking a region on the image of display, camera internal generates one and carries (the user's requirement display of user's click on area Region) rectangular coordinates value image switching command, correspondingly, camera internal can receive described image switching life It enables.In this manner it is possible to show image, according to the demand of user to improve user experience.
Here, the corresponding focus point of the image that the image display device is currently shown, that is, it is very clear for having a region Clear.When other regions of the image currently shown when the user clicks, one will be automatically generated inside the image display device A image switching command, and the rectangular coordinates value that user requires the region of display is carried, so as to the image display device root Image is switched over according to the demand of user.
207, N number of bitmap file is worth the clarity in corresponding region in the rectangular coordinates, obtains the square The corresponding maximum bitmap file of region clarity of shape coordinate value.
Carry out N number of bitmap file described in comparison using definition algorithm and is worth the clear of corresponding region in the rectangular coordinates Degree, to obtain the maximum image of clarity that the rectangular coordinates are worth corresponding region.
It is exemplary, clarity is calculated using based on the definition algorithm of gray variance.For on each bitmap file The rectangular coordinates are worth the clarity evaluation of estimate that corresponding region calculates the region It is currently the average gray value of the image.In the clarity evaluation of estimate F that N number of bitmap file has been calculatediWhen, just obtain N number of FiValue. Wherein, maximum FiIt is maximum to be worth corresponding bitmap file clarity.
The same area as described in step 201, due to using different focal length to carry out n times shooting, on N images Domain clarity be different.The image display device is existed by more all N number of bitmap files of definition algorithm The rectangular coordinates are worth the clarity in corresponding region, it will be able to obtain and be worth the clarity in corresponding region in the rectangular coordinates Maximum bitmap file.
208, the corresponding image of the maximum bitmap file of clarity is shown.
At this moment, the corresponding image of the maximum bitmap file of the clarity shown on the image display device is exactly to use The maximum image of family click on area clarity.The image display device switches image according to user demand, improves user's body It tests.In addition, user can also obtain any in the N image according to hobby.
Camera shooting display methods provided in an embodiment of the present invention by the focal range N equal part of common camera and successively carries out N Secondary shooting obtains N images.The N images are subjected to coding acquisition image data and are converted to described image data N number of Bitmap file, in this way when user clicks other regions of the image currently shown, so that it may by comparing acquisition in user's point It hits the maximum bitmap file of clarity in region and shows its corresponding image.There was only one with being only able to display one in the prior art The photo of a clear area rest part Relative Fuzzy is compared, camera shooting display methods provided by the invention, can be according to user's The maximum image of demand display resolution, improves user experience.
Embodiment 3:
The embodiment of the invention provides a kind of image display devices, for executing method described in Fig. 1 embodiment of the method, As shown in figure 4, the image display device includes: shooting unit 401, coding unit 402, storage unit 403, converting unit 404, display unit 405, receiving unit 406 and comparing unit 407.
Shooting unit 401, it is mobile every time once to be shot after the completion for controlling the mobile n times of lens, obtain N figures As wherein, the lens move preset step-length, N/mono- of the preset step-length for the focal range of camera, the N every time For the integer greater than 1;Coding unit 402, the N images for obtaining to the shooting unit 401 are encoded, are obtained The N corresponding N group image datas of image;Storage unit 403, the N figures for obtaining the coding unit 402 As corresponding N group image data is stored in corresponding image file, wherein every image should all have one group of image data;Conversion Unit 404, the N group image data conversion in the described image file for storing the storage unit 403 is at N number of bitmap text Part;The storage unit 403 is also used to, and saves N number of bitmap file that the converting unit 404 obtains;Display unit 405, for showing the corresponding image of any bitmap file in N number of bitmap file that the storage unit 403 stores;It receives Unit 406, for receiving the image switching command of user's input, described image switching command carries rectangular coordinates value, described Rectangular coordinates value indicates a region on the image of display;Comparing unit 407, for storage unit storage 403 N number of bitmap file be worth the clarity in corresponding region in the rectangular coordinates, it is corresponding to obtain the rectangular coordinates value The maximum bitmap file of region clarity;The display unit 405 is also used to, and shows that the comparing unit 407 obtains described The corresponding image of the maximum bitmap file of clarity.
The shooting unit 401 is specifically used for, and control lens motor drives the lens from the starting of the focal range Value starts, the mobile preset step-length, and mobile starting shutter automatic after the completion is shot every time, obtains N images.
The coding unit 402 is specifically used for, small to each Zhang Jinhang joint image expert in the N images respectively Group jpeg coding, obtains the N corresponding N group image datas of image.The storage unit 403 is also used to, in described image The end of file records offset of each group of image data in described image file in the N group image data.
The converting unit 404 is specifically used for, and reads the corresponding image of N number of image at the end of described image file Offset of the data in described image file;According to the corresponding N group image data of the N number of image in described image file Offset, read the corresponding N group image data of the N number of image;By the N group image data conversion at N number of bitmap file.
The display unit 405 is specifically used for, and shows first image in described image file.
The image display device further includes writing unit and judging unit, and said write unit is specifically used for, will be multifocal The head of the corresponding image data of first image in the described image file that the coding unit obtains is written in point photo id symbol In information.The judging unit is specifically used for, and receives the described image switching command of user's input in the receiving unit 406 Before, it is described multifocal to judge whether the head information of the corresponding image data of corresponding first image of image file carries Point photo id symbol.
The image display device further includes image data obtaining unit, and described image data acquiring unit is specifically used for, The N corresponding N group image datas of image that the coding unit 402 obtains are stored in figure in the storage unit 403 After in file, according to first offset of the one group of image data of user's input in described image file, described in acquisition The corresponding image 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 by the focal range N equal part of common camera and successively carries out N Secondary shooting obtains N images.The N images are subjected to coding acquisition image data and are converted to described image data N number of Bitmap file, in this way when user clicks other regions of the image currently shown, so that it may by comparing acquisition in user's point It hits the maximum bitmap file of clarity in region and shows its corresponding image.There was only one with being only able to display one in the prior art The photo of a clear area rest part Relative Fuzzy is compared, and image display device provided by the invention can be according to user's The maximum image of demand display resolution, improves user experience.
Embodiment 4:
The embodiment of the invention provides a kind of image display devices, in hardware realization, receiving unit described in Fig. 4, Coding unit, storage unit, converting unit, comparing unit, writing unit, judging unit and image data obtaining unit can be with Example, in hardware or software form are embedded in the processor of the image display device.The processor can be central processing unit It (CPu), can also be with single-chip microcontroller.The image display device also device for shooting and display.Wherein, the receiving unit can be with figure Display unit shown in 4 collectively constitutes touch screen displays, is also possible to button external on the image display device.
As shown in figure 5, the image display device includes: what memory 501, processor 502 and processor 502 connected Device for shooting 503 and display 504.Wherein, batch processing code is stored in memory 502, and processor 502 is for calling storage The program code stored in device 501, for performing the following operations:
Device for shooting 503, it is mobile every time once to be shot after the completion for controlling the mobile n times of lens, obtain N images Wherein, the lens move preset step-length every time, and the preset step-length is N/mono- of the focal range of camera, and the N is Integer greater than 1.
The processor 502 encodes for the N images to acquisition, obtains the N corresponding N of image Group image data;The processor 502, it is corresponding for the N obtained the corresponding N group image data of image to be stored in In image file;The processor 502, the N group image data conversion in the described image file for that will store is at N number of bitmap File;The processor 502, for saving 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 also used to, and receives the image switching command of user's input, and described image switching command carries Rectangular coordinates value, the rectangular coordinates value indicate a region on the image of display;The processor 502 is also used to, and is compared N number of bitmap file is worth the clarity in corresponding region in the rectangular coordinates, obtains the corresponding area of the rectangular coordinates value The maximum bitmap file of domain clarity.
The display 504 is also used to, and shows the corresponding image of the maximum bitmap file of the clarity of acquisition.
The processor 502 is specifically used for, and control lens motor drives the lens from the initial value of the focal range Start, the mobile preset step-length, mobile starting shutter automatic after the completion is shot every time, obtains N images.
The processor 502 is also used to, respectively to each Zhang Jinhang Joint Photographic Experts Group in the N images Jpeg coding obtains the N corresponding N group image datas of image;The N group image is recorded at the end of described image file Offset of each group of image data in described image file in data.
The processor 502 is specifically used for, and reads the corresponding picture number of N number of image at the end of described image file According to the offset in described image file;According to the corresponding N group image data of the N number of image in described image file Offset reads the corresponding N group image data of N number of image;By the N group image data conversion at N number of bitmap file.
The display 504 is specifically used for, and shows first image in described image file.
The processor 502 is also used to, and multifocal photo id is accorded with first image pair in write-in described image file In the head information for the image data answered;Before the described image switching command for receiving user's input, judge that image file is corresponding The head information of the corresponding image data of first image whether carry multifocal photo id symbol.
The processor 502 is also used to, and is stored in image file by the N corresponding N group image datas of image Later, the first offset according to one group of image data of user's input in described image file obtains first offset Measure corresponding image data, so as to by described image data sharing to other equipment.
Image display device provided in an embodiment of the present invention by the focal range N equal part of common camera and successively carries out N Secondary shooting obtains N images.The N images are subjected to coding acquisition image data and are converted to described image data N number of Bitmap file, in this way when user clicks other regions of the image currently shown, so that it may by comparing acquisition in user's point It hits the maximum bitmap file of clarity in region and shows its corresponding image.There was only one with being only able to display one in the prior art The photo of a clear area rest part Relative Fuzzy is compared, and image display device provided by the invention can be according to user's The maximum image of demand display resolution, improves user experience.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic or disk Etc. the various media that can store program code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. a kind of method of camera shooting display, which is characterized in that the described method includes:
The mobile n times of lens are controlled, are once shot after the completion of movement every time, N images are obtained and correspond to the N images N group image data be stored in corresponding image file, wherein the lens move preset step-length, the default step every time N/mono- of the focal range of a length of camera, the N are the integer more than or equal to 1;
By the N group image data conversion in described image file at N number of bitmap file, and save 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, the rectangular coordinates Value indicates the region that the user clicks on the image of display;
Compare the clarity that N number of bitmap file is worth corresponding region in the rectangular coordinates, obtains the rectangular coordinates value The corresponding maximum bitmap file of region clarity;
Show the corresponding image of the maximum bitmap file of the clarity;
Wherein, described that the N corresponding N group image datas of image are stored in corresponding image file, comprising: right respectively Each Zhang Jinhang Joint Photographic Experts Group JPEG coding in the N images, obtains the N corresponding N group pictures of image As data, and the N group image data is stored in corresponding image file;Described in the record of the end of described image file Offset of each group of image data in described image file in N group image data.
2. mobile completion is laggard every time the method according to claim 1, wherein the control lens move n times The primary shooting of row, obtains N images, comprising:
Control lens motor drives the lens since the initial value of the focal range, the mobile preset step-length, every time Automatic starting shutter is shot after the completion of mobile, obtains N images.
3. the method according to claim 1, wherein the N group image data solution by described image file Code saves N number of bitmap file at N number of bitmap file, comprising: reads N number of figure at the end of described image file As offset of the corresponding N group image data in described image file;
According to offset of the corresponding N group image data of the N number of image in described image file, N number of image is read Corresponding N group image data;
By the N group image data conversion at N number of bitmap file, and save N number of bitmap file.
4. method according to claim 1 or 2, which is characterized in that any bitmap in display N number of bitmap file The corresponding image of file, comprising: first image of display.
5. according to the method described in claim 4, it is characterized in that, being stored by the corresponding N group image data of the N images When in image file, the method also includes,
Multifocal photo id is accorded with to the head information of the corresponding image data of first image described in write-in described image file In;
Before the described image switching command for receiving user's input, the method also includes:
It is described multifocal to judge whether the head information of the corresponding image data of first image described in described image file carries Point photo id symbol.
6. the method according to claim 1, wherein obtaining N images and the N being opened the corresponding N of image After group image data is stored in image file, the method also includes:
According to first offset of the one group of image data of user's input in described image file, first offset is obtained Corresponding image data, so as to by described image data sharing to other equipment.
7. a kind of image display device characterized by comprising
Shooting unit, it is mobile every time once to be shot after the completion for controlling the mobile n times of lens, obtain N images, wherein The lens move preset step-length every time, and the preset step-length is N/mono- of the focal range of camera, and the N is greater than 1 Integer;
Coding unit, the N images for obtaining to the shooting unit encode, and it is corresponding to obtain the N images N group image data;
Storage unit, the N corresponding N group image datas of image for obtaining the coding unit are stored in corresponding In image file;
Converting unit, the N group image data conversion in the described image file for storing the storage unit is at N number of bitmap File;
The storage unit is also used to, and saves N number of bitmap file that the converting unit obtains;
Display unit, the corresponding figure of any bitmap file in N number of bitmap file for showing storage unit storage Picture;
Receiving unit, for receiving the image switching command of user's input, described image switching command carries rectangular coordinates value, The rectangular coordinates value indicates the region that the user clicks on the image of display;
Comparing unit, N number of bitmap file for storage unit storage are worth corresponding in the rectangular coordinates The clarity in region obtains the corresponding maximum bitmap file of region clarity of the rectangular coordinates value;
The display unit is also used to, and shows the corresponding figure of the maximum bitmap file of the clarity that the comparing unit obtains Picture;
The coding unit is specifically used for, respectively to each Zhang Jinhang Joint Photographic Experts Group jpeg in the N images Coding obtains the N corresponding N group image datas of image;
The storage unit is also used to, and records each group of picture number in the N group image data at the end of described image file According to the offset in described image file.
8. image display device according to claim 7, which is characterized in that the shooting unit is specifically used for, and control is saturating Mirror motor drives the lens since the initial value of the focal range, the mobile preset step-length, every time after the completion of movement Automatic starting shutter is shot, and N images are obtained.
9. image display device according to claim 7, which is characterized in that the converting unit is specifically used for, described Read offset of the corresponding N group image data of N number of image in described image file in the end of image file;According to institute Offset of the corresponding N group image data of N number of image in described image file is stated, the corresponding N group picture of N number of image is read As data;By the N group image data conversion at N number of bitmap file.
10. image display device according to claim 7 or 8, which is characterized in that the display unit is also used to, display First image.
11. image display device according to claim 10, which is characterized in that it further include writing unit and judging unit,
Said write unit is specifically used for, and the described image file that the coding unit obtains is written in multifocal photo id symbol Described in the corresponding image data of first image head information in;
The judging unit is specifically used for, before the described image switching command that the receiving unit receives user's input, Judge whether the head information of the corresponding image data of first image described in described image file carries the multifocal and shine Piece identifier.
12. image display device according to claim 7, which is characterized in that it further include image data obtaining unit,
Described image data acquiring unit is specifically used for, in the N that the storage unit obtains the coding unit figures After being stored in image file as corresponding N group image data, according to one group of image data of user's input in described image The first offset in file obtains the corresponding image data of first offset, to give described image data sharing Other equipment.
CN201380080381.2A 2013-12-27 2013-12-27 A kind of camera shooting display methods and image display device Active CN105659579B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/090658 WO2015096118A1 (en) 2013-12-27 2013-12-27 Photographing display method and photographing display device

Publications (2)

Publication Number Publication Date
CN105659579A CN105659579A (en) 2016-06-08
CN105659579B true CN105659579B (en) 2019-08-20

Family

ID=53477385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380080381.2A Active CN105659579B (en) 2013-12-27 2013-12-27 A kind of camera shooting display methods and image display device

Country Status (2)

Country Link
CN (1) CN105659579B (en)
WO (1) WO2015096118A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462076B (en) * 2020-03-31 2023-05-16 湖南国科智瞳科技有限公司 Full-slice digital pathological image fuzzy region detection method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102282836A (en) * 2009-01-19 2011-12-14 索尼公司 Display control device, method of control of display, and program
CN102625038A (en) * 2012-02-10 2012-08-01 明基电通有限公司 Image capturing device and image processing method
CN103034987A (en) * 2012-12-16 2013-04-10 吴凡 Layout and generating device and image file processing method of multi-focus image file

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4241460B2 (en) * 2004-03-25 2009-03-18 キヤノン株式会社 Electronic imaging device
JP2013088579A (en) * 2011-10-17 2013-05-13 Olympus Imaging Corp Imaging apparatus
CN102523376A (en) * 2011-12-06 2012-06-27 鸿富锦精密工业(深圳)有限公司 Shooting equipment and method
EP2645704A1 (en) * 2012-03-26 2013-10-02 BlackBerry Limited Method and device for focus selection in digital cameras

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102282836A (en) * 2009-01-19 2011-12-14 索尼公司 Display control device, method of control of display, and program
CN102625038A (en) * 2012-02-10 2012-08-01 明基电通有限公司 Image capturing device and image processing method
CN103034987A (en) * 2012-12-16 2013-04-10 吴凡 Layout and generating device and image file processing method of multi-focus image file

Also Published As

Publication number Publication date
CN105659579A (en) 2016-06-08
WO2015096118A1 (en) 2015-07-02

Similar Documents

Publication Publication Date Title
JP4645685B2 (en) Camera, camera control program, and photographing method
US10212362B2 (en) Method and apparatus for creating or storing resultant image which changes in selected area
JP4702401B2 (en) Camera, camera control program, and camera control method
JP4250543B2 (en) Imaging apparatus, information processing apparatus, and control method thereof
US10033931B2 (en) Image processing apparatus and image processing method for processing still image data
US8013913B2 (en) Image recording method, image recording device, and storage medium
US8451365B2 (en) Image control apparatus, image control method, and recording medium
US20110032406A1 (en) Digital photographing apparatus, method of controlling the same, and computer-readable storage medium
JP2014017641A (en) Electronic camera and image processing apparatus
JP4826217B2 (en) Imaging apparatus and program
CN105659579B (en) A kind of camera shooting display methods and image display device
JP2016005103A (en) Imaging apparatus and control method therefor
JP2007201935A (en) Control method of image processing apparatus, and image processing apparatus
US11496682B2 (en) Information processing apparatus that performs arithmetic processing of neural network, and image pickup apparatus, control method, and storage medium
JP5187416B2 (en) Imaging apparatus, imaging condition setting method and program
JP5170217B2 (en) Camera, camera control program, and photographing method
JP5181935B2 (en) Image processing apparatus, program, and subject detection method
JP2008288863A (en) Image processor, imaging apparatus, and program
JP2006287588A (en) Image processing apparatus and method, data file structure, computer program, and storage medium
JP2007221722A (en) Image processing apparatus and control method thereof
JP5641069B2 (en) Image processing apparatus and program
JP5195170B2 (en) Image processing apparatus and program
US11711607B2 (en) Information processing apparatus capable of applying image processing based on evaluation results, image processing apparatus, and method of controlling the same
US20220394177A1 (en) Image capture apparatus and control method for raw images
JP5418657B2 (en) Image processing apparatus and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171030

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: HUAWEI DEVICE Co.,Ltd.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: Huawei terminal (Dongguan) Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210430

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right