CN103019537A - Image preview method and image preview device - Google Patents

Image preview method and image preview device Download PDF

Info

Publication number
CN103019537A
CN103019537A CN2012104680768A CN201210468076A CN103019537A CN 103019537 A CN103019537 A CN 103019537A CN 2012104680768 A CN2012104680768 A CN 2012104680768A CN 201210468076 A CN201210468076 A CN 201210468076A CN 103019537 A CN103019537 A CN 103019537A
Authority
CN
China
Prior art keywords
image
region
default display
display box
preview
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.)
Granted
Application number
CN2012104680768A
Other languages
Chinese (zh)
Other versions
CN103019537B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210468076.8A priority Critical patent/CN103019537B/en
Publication of CN103019537A publication Critical patent/CN103019537A/en
Application granted granted Critical
Publication of CN103019537B publication Critical patent/CN103019537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention is applicable to the technical field of mobile terminals and provides an image preview method and an image preview device. The method comprises the steps as follows: acquiring a detail area selected from an image preview; extracting an image area, which is in the same position as the detail area, from the original image of the image preview, wherein the same position means that the position of the detail area in the image preview is the same as that of the image area in the original image; and generating the image area in a pre-arranged display frame on a screen. According to the embodiment of the invention, the detail area is directly magnified and displayed on the screen of a mobile terminal, so that a user doesn't need to conduct repeated manual regulation and zooming operations to a camera, which improves the operation efficiency of the user.

Description

A kind of image preview method and device
Technical field
The invention belongs to technical field of mobile terminals, relate in particular to a kind of image preview method and device.
Background technology
Along with popularizing of portable terminal camera function, increasing user takes excellent moment or graceful scenery by the portable terminal photographic images in different places, fine moment is kept here so that slowly aftertaste.Usually the user is when photographic images, and the screen by portable terminal carries out image preview first, presses shutter key again and finishes the shooting of finding a view.
Yet, if the user needs details area is amplified when checking in image preview, the zoom that then needs the manual adjustments mobile terminal camera, when having different details area, then unavoidable manual adjustments zoom repeatedly, can check the preview effect in full details zone, to take group picture as example, need the manual adjustments zoom, amplify the preview effect of certain member in the collective, thereby ensure the quality of group picture, if the user also needs to see another one member's preview shooting effect, then need again manual adjustments zoom, complex operation has reduced user's operating efficiency.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of image preview method, be intended to solve existing user in image preview to details area inspection method complex operation, cause the low problem of user's operating efficiency.
The embodiment of the invention is achieved in that a kind of image preview method, comprising:
Obtain the details area of in image preview, selecting;
The image-region of extraction and described details area same position in the original image of described image preview, described same position refers to that the position of described details area in described image preview is identical with the position of described image-region in original image;
Generate described image-region in the default display box on screen.
Another purpose of the embodiment of the invention is to provide a kind of image preview device, comprising:
Acquiring unit is used for obtaining the details area of selecting at image preview;
Extraction unit, be used at the original image extraction of described image preview and the image-region of described details area same position, described same position refers to that the position of described details area in described image preview is identical with the position of described image-region in original image;
Generation unit, the default display box that is used on screen generates described image-region.
In embodiments of the present invention, by on the screen of portable terminal, details area is directly amplified demonstration, so that the user need not mobile terminal camera is carried out the manual adjustments zoom operation of repetition, thereby improved user's operating efficiency.
Description of drawings
Fig. 1 is the realization flow figure of the image preview method that provides of the embodiment of the invention;
Fig. 2 is the structured flowchart of the image preview device that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, by on the screen of portable terminal, details area is directly amplified demonstration, so that the user need not mobile terminal camera is carried out the manual adjustments zoom operation of repetition, thereby improved user's operating efficiency.
Fig. 1 shows the realization flow of a kind of image preview method that the embodiment of the invention provides, and details are as follows:
In step S101, obtain the details area of in image preview, selecting.
In the present embodiment, camera lens catches image by fixing frame rate, the data of the pixel of original image is kept in the buffer zone, and therefrom extracts data and carry out image preview at screen.The user can select the details area that need to check in image preview, the mode of selection includes but not limited to that touch-control is selected, button is selected.Choose the display mode of details area to comprise according to default figure and show, default figure includes but not limited to the geometric figures such as star, pentagon, rectangle, square, trapezoidal, parallelogram, circle, trapezoidal, fan-shaped, pentagram.The frame line of figure includes but not limited to dotted line, solid line.
In addition, obtain details area, can also carry out Intelligent Recognition in conjunction with recognition of face, will comprise that the zone of face as details area, chooses, demonstrate all details area at screen.
In step S102, the image-region of extraction and this details area same position in the original image of image preview, same position refers to that the position of this details area in this image preview is identical with the position of this image-region in original image.
Because the resolution of original image and screen resolution is inconsistent, need the match resampling to realize, the resolution of original image is original resolution, for example, original resolution is the image of 600*600, if when the resolution of screen is 500*500, then need to compress demonstration, the neighbor pixel that namely merges viewfinder image satisfies the resolution requirement of screen, and therefore the image display resolution after the compression is compared with the image display resolution of original resolution, has decline to a certain degree.
As the preferred embodiments of the present invention, the image-region of extraction and details area same position in the original image of image preview comprises:
Obtain the scaling of this image preview, and the scope of this details area and in the center of this image preview, this scaling refers to the ratio of the resolution of the resolution of this image preview and original image;
According to scaling, and scope and center, in the original image of this image preview, determine the image-region with this details area same position;
In the present embodiment, obtain scaling in the parameter of picture, in the screen assembly of system, obtain the scope of the details area of user selection, the range computation of choosing according to the user goes out the center, and obtains the screen coordinate of center.
Screen coordinate is converted to pixel coordinate, generate the distance at details area edge and image preview edge according to pixel coordinate, the scope of this distance and details area multiply by respectively scaling, can determine respectively the center of image-region in original image and the size of image-region.
As an alternative embodiment of the invention, in the original image of image preview, extract the image-region with the details area same position, can be when details area be selected, the edge of details area is recorded on the backstage, set up simultaneously a painting canvas, point centered by the center of the image preview of screen, image preview amplifies until identical with original image size, obtain the pixel coordinate at details area edge, this pixel coordinate is identical with the pixel coordinate of image-region in original image, thereby determines the position of image-region in original image.
As an alternative embodiment of the invention, in the original image of image preview, extract the image-region with the details area same position, can encode by the pixel storage array to original image, each pixel storage array is distributed a unique sign, this sign is corresponding one by one with pixel storage array, be convenient to follow-uply determine size and the position of image-region by the sign on details area, extract the image-region with the details area same position.
By above-mentioned steps, in original image, extract the image-region with the details area same position, be convenient to follow-uply in default display box, call demonstration, and guaranteed the sharpness that image shows.
In step S103, synthetic image zone in the default display box on screen.
In the present embodiment, obtain the resolution of image-region resolution and default display box, resolution according to both is determined zoom factor, by zooming in or out algorithm, pixel value to original image is processed, read in this original image in image-region storage array, call the storage array, to the original pixel value processing of decoding, in default display box, show.
As the preferred embodiments of the present invention, obtain the default display position of default display box and the predeterminable range that should preset display box and details area, according to this default display position and this predeterminable range, synthetic image zone in the default display box on screen.Display position includes but not limited to top, below, right-hand, left, and the unit of distance includes but not limited to centimetre.
As the preferred embodiments of the present invention, obtain the real-time resolution of default display box, according to this real-time resolution, synthetic image zone in the default display box on screen.Can pass through a control, setup times parameter, recording user operation time, when the user to establish in advance show frame carry out zoom operations the time, the real-time resolution that should preset display box also correspondingly changes, thereby image-region is carried out different demonstrations, further satisfies user's checking details area.
As the preferred embodiments of the present invention, the corresponding default display box of each details area, obtaining default the default of display box puts in order, according to this default putting in order, synthetic image zone in the default display box on screen, presetting puts in order includes but not limited to from top to bottom, from left to right.Arrange by default putting in order by presetting display box, effectively show details area at screen.Be convenient to the user and once check a plurality of details area.
Fig. 2 shows the structured flowchart of a kind of image preview device that the embodiment of the invention provides, this device can run on the various terminals that possess camera, include but not limited to mobile phone, pocket computing machine (PocketPersonal Computer, PPC), palm PC, computing machine, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), MP4, MP3 etc.For convenience of explanation, only show the part relevant with present embodiment.
With reference to Fig. 2, this image preview device comprises:
Acquiring unit 21 obtains the details area of selecting in image preview.
Extraction unit 22, the image-region of extraction and this details area same position in the original image of this image preview, same position refers to that the position of this details area in this image preview is identical with the position of this image-region in original image.
Generation unit 23, synthetic image zone in the default display box on screen.
Particularly, described extraction unit 22 comprises:
Obtain subelement 221, obtain the scaling of image preview, and the scope of details area and in the center of this image preview, this scaling refers to the ratio of the resolution of the resolution of this image preview and original image.
Determine subelement 222, according to scaling, and scope and this center, in the original image of this image preview, determine the image-region with this details area same position.
Extract subelement 223, in original image, this image-region of determining is extracted.
Alternatively, generation unit 22, also be used for obtaining described default display box default display position and should default display position and the predeterminable range of details area, according to this default display position and this predeterminable range, on screen should default display box in synthetic image regional.
Alternatively, generation unit 22 also is used for obtaining default the default of display box and puts in order, according to this default putting in order, and synthetic image zone in the default display box on screen.
Alternatively, generation unit 22 also is used for obtaining the real-time resolution of presetting display box, and according to this real-time resolution, being somebody's turn to do on screen preset synthetic image zone in the display box.
In embodiments of the present invention, by on the screen of portable terminal, details area is directly amplified demonstration, so that the user need not mobile terminal camera is carried out the manual adjustments zoom operation of repetition, thereby improved user's operating efficiency.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within the protection size of the present invention.

Claims (10)

1. an image preview method is characterized in that, comprising:
Obtain the details area of in image preview, selecting;
The image-region of extraction and described details area same position in the original image of described image preview, described same position refers to that the position of described details area in described image preview is identical with the position of described image-region in original image;
Generate described image-region in the default display box on screen.
2. method as claimed in claim 1 is characterized in that, the described step of extracting in the original image of described image preview with the image-region of described details area same position is specially:
Obtain the scaling of described image preview, and the scope of described details area and center, described scaling refers to the ratio of the resolution of the resolution of described image preview and original image;
According to described scaling, and described size and described center, in the original image of described image preview, determine the image-region with described details area same position;
In described original image, the described image-region of determining is extracted.
3. method as claimed in claim 1 is characterized in that, generates described image-region in the described default display box on screen, comprising:
Obtain the default display position of described default display box and the predeterminable range of described default display position and details area, according to described default display position and described predeterminable range, generate described image-region in the described default display box on described screen.
4. method as claimed in claim 1 is characterized in that, generates described image-region in the described default display box on screen, also comprises:
Obtain the real-time resolution of described default display box, according to described real-time resolution, generate described image-region in the described default display box on described screen.
5. method as claimed in claim 1 is characterized in that, generates described image-region in the described default display box on screen, also comprises:
Obtain the default of described default display box and put in order, according to described default putting in order, generate described image-region in the described default display box on described screen.
6. an image preview device is characterized in that, comprising:
Acquiring unit is used for obtaining the details area of selecting at image preview;
Extraction unit, be used at the original image extraction of described image preview and the image-region of described details area same position, described same position refers to that the position of described details area in described image preview is identical with the position of described image-region in original image;
Generation unit, the default display box that is used on screen generates described image-region.
7. install as claimed in claim 6, it is characterized in that described extraction unit comprises:
Obtain subelement, be used for obtaining the scaling of described image preview, and the scope of described details area and center, described scaling refers to the ratio of the resolution of the resolution of described image preview and original image;
Determine subelement, be used for according to described scaling, and described size and described center, in the original image of described image preview, determine the image-region with described details area same position;
Extract subelement, be used at described original image the described image-region of determining being extracted.
8. install as claimed in claim 6, it is characterized in that, described generation unit, also be used for obtaining the default display position of described default display box and the predeterminable range of described default display position and details area, according to described default display position and described predeterminable range, generate described image-region in the described default display box on described screen.
9. install as claimed in claim 6, it is characterized in that, described generation unit also for the real-time resolution of obtaining described default display box, according to described real-time resolution, generates described image-region in the described default display box on described screen.
10. install as claimed in claim 6, it is characterized in that, described generation unit also is used for obtaining the default of described default display box and puts in order, and according to described default putting in order, generates described image-region in the described default display box on described screen.
CN201210468076.8A 2012-11-19 2012-11-19 A kind of image preview method and device Active CN103019537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210468076.8A CN103019537B (en) 2012-11-19 2012-11-19 A kind of image preview method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210468076.8A CN103019537B (en) 2012-11-19 2012-11-19 A kind of image preview method and device

Publications (2)

Publication Number Publication Date
CN103019537A true CN103019537A (en) 2013-04-03
CN103019537B CN103019537B (en) 2016-04-13

Family

ID=47968195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210468076.8A Active CN103019537B (en) 2012-11-19 2012-11-19 A kind of image preview method and device

Country Status (1)

Country Link
CN (1) CN103019537B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513879A (en) * 2013-04-26 2014-01-15 展讯通信(上海)有限公司 Touch control device and display control method and device thereof
CN105373331A (en) * 2014-08-11 2016-03-02 佳能株式会社 Information processing apparatus and display control method
WO2016154806A1 (en) * 2015-03-27 2016-10-06 华为技术有限公司 Automatic zooming method and device
CN106161945A (en) * 2016-08-01 2016-11-23 乐视控股(北京)有限公司 Take pictures treating method and apparatus
CN106293589A (en) * 2016-08-31 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of the method for preview resolution, device and terminal are set
CN106612396A (en) * 2016-11-15 2017-05-03 努比亚技术有限公司 Photographing device, photographing terminal and photographing method
CN107003334A (en) * 2014-11-21 2017-08-01 株式会社岛津制作所 Scanning type probe microscope data display processing unit, scanning type probe microscope data display and treating method and control program
CN107547727A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of image preview method and apparatus
WO2018014517A1 (en) * 2016-07-21 2018-01-25 中兴通讯股份有限公司 Information processing method, device and storage medium
CN110896451A (en) * 2019-11-20 2020-03-20 维沃移动通信有限公司 Preview picture display method and electronic equipment
CN110941375A (en) * 2019-11-26 2020-03-31 腾讯科技(深圳)有限公司 Method and device for locally amplifying image and storage medium
CN112764650A (en) * 2021-01-29 2021-05-07 久瓴(江苏)数字智能科技有限公司 Graph scaling method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085331A1 (en) * 2002-04-17 2004-05-06 Seiko Epson Corporation Display control method and display control apparatus for layout image
CN101150645A (en) * 2007-10-31 2008-03-26 广东威创日新电子有限公司 An image processing method and image processing device
CN101385045A (en) * 2006-02-17 2009-03-11 微软公司 Perceptual image preview
CN101645998A (en) * 2008-08-08 2010-02-10 佳能株式会社 Image reading apparatus, method for same, image reading system, and method of controlling image reading system
WO2012002742A2 (en) * 2010-06-30 2012-01-05 Lg Innotek Co., Ltd. Camera module and method for driving the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085331A1 (en) * 2002-04-17 2004-05-06 Seiko Epson Corporation Display control method and display control apparatus for layout image
CN101385045A (en) * 2006-02-17 2009-03-11 微软公司 Perceptual image preview
CN101150645A (en) * 2007-10-31 2008-03-26 广东威创日新电子有限公司 An image processing method and image processing device
CN101645998A (en) * 2008-08-08 2010-02-10 佳能株式会社 Image reading apparatus, method for same, image reading system, and method of controlling image reading system
WO2012002742A2 (en) * 2010-06-30 2012-01-05 Lg Innotek Co., Ltd. Camera module and method for driving the same

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513879A (en) * 2013-04-26 2014-01-15 展讯通信(上海)有限公司 Touch control device and display control method and device thereof
CN105373331A (en) * 2014-08-11 2016-03-02 佳能株式会社 Information processing apparatus and display control method
CN107003334B (en) * 2014-11-21 2019-10-01 株式会社岛津制作所 Scanning type probe microscope data display processing unit and processing method
CN107003334A (en) * 2014-11-21 2017-08-01 株式会社岛津制作所 Scanning type probe microscope data display processing unit, scanning type probe microscope data display and treating method and control program
US10317777B2 (en) 2015-03-27 2019-06-11 Huawei Technologies Co., Ltd. Automatic zooming method and apparatus
WO2016154806A1 (en) * 2015-03-27 2016-10-06 华为技术有限公司 Automatic zooming method and device
CN106464799A (en) * 2015-03-27 2017-02-22 华为技术有限公司 Automatic zooming method and device
CN107547727A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of image preview method and apparatus
WO2018014517A1 (en) * 2016-07-21 2018-01-25 中兴通讯股份有限公司 Information processing method, device and storage medium
CN106161945A (en) * 2016-08-01 2016-11-23 乐视控股(北京)有限公司 Take pictures treating method and apparatus
CN106293589A (en) * 2016-08-31 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of the method for preview resolution, device and terminal are set
CN106612396A (en) * 2016-11-15 2017-05-03 努比亚技术有限公司 Photographing device, photographing terminal and photographing method
CN106612396B (en) * 2016-11-15 2020-06-16 努比亚技术有限公司 Photographing device, terminal and method
CN110896451A (en) * 2019-11-20 2020-03-20 维沃移动通信有限公司 Preview picture display method and electronic equipment
WO2021098603A1 (en) * 2019-11-20 2021-05-27 维沃移动通信有限公司 Preview picture display method and electronic device
CN110896451B (en) * 2019-11-20 2022-01-28 维沃移动通信有限公司 Preview picture display method, electronic device and computer readable storage medium
CN110941375A (en) * 2019-11-26 2020-03-31 腾讯科技(深圳)有限公司 Method and device for locally amplifying image and storage medium
CN110941375B (en) * 2019-11-26 2023-09-05 腾讯科技(深圳)有限公司 Method, device and storage medium for locally amplifying image
CN112764650A (en) * 2021-01-29 2021-05-07 久瓴(江苏)数字智能科技有限公司 Graph scaling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103019537B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN103019537B (en) A kind of image preview method and device
US11758265B2 (en) Image processing method and mobile terminal
EP3335416B1 (en) Digital photographing apparatus and method of operating the same
EP3547218B1 (en) File processing device and method, and graphical user interface
WO2019104705A1 (en) Image processing method and device
US9479693B2 (en) Method and mobile terminal apparatus for displaying specialized visual guides for photography
CN102566918B (en) Display control apparatus and control method therefore
US9373187B2 (en) Method and apparatus for producing a cinemagraph
KR20140104806A (en) Method for synthesizing valid images in mobile terminal having multi camera and the mobile terminal therefor
CN104410785A (en) An information processing method and electronic device
KR20150005270A (en) Method for previewing images captured by electronic device and the electronic device therefor
WO2022161260A1 (en) Focusing method and apparatus, electronic device, and medium
CN103034042A (en) Panoramic shooting method and device
CN102810048A (en) Display apparatus and method
CN102855482A (en) Method and device for processing picture
CN106713739B (en) A kind of recognition methods of the two dimensional code shown based on electronic curtain
CN102118557A (en) Digital photography control method and device as well as digital photographic device
CN107085699B (en) Information processing apparatus, control method of information processing apparatus, and storage medium
US20160127651A1 (en) Electronic device and method for capturing image using assistant icon
KR101517829B1 (en) Book scanning system using smart device
CN116403226A (en) Unconstrained fold document image correction method, system, equipment and storage medium
CN107105158B (en) Photographing method and mobile terminal
KR20140127131A (en) Method for displaying image and an electronic device thereof
CN103347151A (en) Image processing method, device and terminal
CN112532875A (en) Terminal device, image processing method and device thereof, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.