[go: up one dir, main page]

CN106126108A - A kind of breviary map generalization method and mobile terminal - Google Patents

A kind of breviary map generalization method and mobile terminal Download PDF

Info

Publication number
CN106126108A
CN106126108A CN201610510980.9A CN201610510980A CN106126108A CN 106126108 A CN106126108 A CN 106126108A CN 201610510980 A CN201610510980 A CN 201610510980A CN 106126108 A CN106126108 A CN 106126108A
Authority
CN
China
Prior art keywords
image
preview interface
area
target object
partial area
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
CN201610510980.9A
Other languages
Chinese (zh)
Other versions
CN106126108B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610510980.9A priority Critical patent/CN106126108B/en
Publication of CN106126108A publication Critical patent/CN106126108A/en
Application granted granted Critical
Publication of CN106126108B publication Critical patent/CN106126108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供一种缩略图的生成方法及移动终端,解决现有技术中图像的缩略图界面无法显示关键内容或用户感兴趣的内容的问题。该方法包括:接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。本发明通过接收到的用户在移动终端的图像预览界面上对所关注目标对象的选择操作,生成以所述图像预览界面拍照时获得的第一图像的缩略图,使得移动终端可根据用户的感兴趣的内容显示所拍照图像的缩略图,提升用户体验,同时也有利于用户在大量的缩略图中快速地查找到其所需的图像。

The present invention provides a method for generating a thumbnail image and a mobile terminal, which solves the problem in the prior art that the thumbnail image interface of an image cannot display key content or content that a user is interested in. The method includes: receiving a user's selection operation on the concerned target object on the image preview interface of the mobile terminal; according to the selection operation, determining a first partial area on the image preview interface including the target object; according to the second For a part of the area, generate a thumbnail of the first image obtained when taking a picture using the image preview interface. The present invention generates a thumbnail image of the first image obtained when taking pictures on the image preview interface of the mobile terminal through the received user's selection operation on the concerned target object on the image preview interface of the mobile terminal, so that the mobile terminal can The content of interest displays the thumbnails of the images taken, which improves the user experience, and also helps users quickly find the images they need in a large number of thumbnails.

Description

一种缩略图的生成方法及移动终端A thumbnail generation method and mobile terminal

技术领域technical field

本发明涉及计算机技术领域,特别是涉及一种缩略图的生成方法及移动终端。The invention relates to the field of computer technology, in particular to a thumbnail generation method and a mobile terminal.

背景技术Background technique

当前设置有摄像头的移动终端的相册中,为了便于用户对其中图片的快速浏览,一般以缩略图的形式显示图片。In the photo album of a mobile terminal provided with a camera, in order to facilitate the user to quickly browse the pictures therein, the pictures are generally displayed in the form of thumbnails.

然而缩略图的生成方式大都在原始图片的基础上进行简单的压缩尺寸缩小后获得的。这样的生成方式单一乏味,也不利于后期从海量的缩略图界面中快速的寻找到需要的关键内容或者用户感兴趣的内容。However, most thumbnail generation methods are obtained after simple compression and size reduction on the basis of the original image. Such a generation method is monotonous and tedious, and it is not conducive to quickly finding the key content needed or the content that the user is interested in from the massive thumbnail interface in the later stage.

发明内容Contents of the invention

本发明实施例提供一种缩略图的生成方法及移动终端,以实现方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,提升用户体验的目的。Embodiments of the present invention provide a method for generating thumbnails and a mobile terminal, so as to facilitate users to quickly find images that meet user needs from a massive thumbnail interface, increase the fun of thumbnail generation, and improve user experience .

一方面,本发明实施例提供一种缩略图的生成方法,包括:On the one hand, an embodiment of the present invention provides a method for generating a thumbnail, including:

接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;receiving a user's selection operation on the concerned target object on the image preview interface of the mobile terminal;

根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;According to the selection operation, determine a first partial area on the image preview interface that includes the target object;

根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。According to the first partial area, a thumbnail of the first image obtained when taking a picture with the image preview interface is generated.

另一方面,本发明实施例还提供一种移动终端,包括:On the other hand, an embodiment of the present invention also provides a mobile terminal, including:

接收模块,用于接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;The receiving module is used to receive the user's selection operation on the concerned target object on the image preview interface of the mobile terminal;

区域确定模块,用于根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;An area determination module, configured to determine a first partial area on the image preview interface that includes the target object according to the selection operation;

缩略图生成模块,用于根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。The thumbnail generation module is configured to generate a thumbnail of the first image obtained when taking a photo with the image preview interface according to the first partial area.

本发明实施例提供的缩略图的生成方法,通过接收到的用户在移动终端的图像预览界面上对所关注目标对象的选择操作,生成以所述图像预览界面拍照时获得的第一图像的缩略图,方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,提升用户体验。The method for generating a thumbnail image provided by the embodiment of the present invention generates a thumbnail image of the first image obtained when taking a picture on the image preview interface of the mobile terminal through the received operation of selecting the target object concerned by the user on the image preview interface of the mobile terminal. Thumbnails are convenient for users to quickly find images that meet user needs from a large number of thumbnail interfaces, and at the same time increase the fun of thumbnail generation and improve user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1为本发明第一实施例中缩略图的生成方法的流程图;FIG. 1 is a flow chart of a method for generating a thumbnail image in the first embodiment of the present invention;

图2为本发明第二实施例中缩略图的生成方法的流程图;FIG. 2 is a flowchart of a method for generating a thumbnail image in a second embodiment of the present invention;

图3为本发明第三实施例中缩略图的生成方法的流程图;FIG. 3 is a flowchart of a method for generating a thumbnail image in a third embodiment of the present invention;

图4为本发明第四实施例中缩略图的生成方法的流程图;FIG. 4 is a flowchart of a method for generating a thumbnail image in a fourth embodiment of the present invention;

图5为图4中步骤403的具体流程图;FIG. 5 is a specific flowchart of step 403 in FIG. 4;

图6为本发明终端的第一实施例结构框图之一;FIG. 6 is one of the structural block diagrams of the first embodiment of the terminal of the present invention;

图7为本发明终端的第一实施例结构框图之二;FIG. 7 is the second structural block diagram of the first embodiment of the terminal of the present invention;

图8为本发明终端的第二实施例结构框图;FIG. 8 is a structural block diagram of the second embodiment of the terminal of the present invention;

图9为本发明终端的第三实施例结构框图。FIG. 9 is a structural block diagram of a third embodiment of a terminal according to the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

第一实施例first embodiment

如图1所示,为本发明第一实施例中缩略图的生成方法的流程图。下面就该图具体说明该缩略图的生成方法的实施过程。As shown in FIG. 1 , it is a flow chart of the method for generating thumbnails in the first embodiment of the present invention. The implementation process of the method for generating the thumbnail will be specifically described below with reference to this figure.

步骤101,接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作。Step 101, receiving a user's selection operation on a concerned target object on an image preview interface of a mobile terminal.

这里需要说明的是,所述选择操作可包括:用户在移动终端的图像预览界面上对所关注目标对象的触摸操作或手势操作。It should be noted here that the selection operation may include: the user's touch operation or gesture operation on the concerned target object on the image preview interface of the mobile terminal.

这里,触摸操作还可具体包括:点按触摸或滑动触摸。这里,移动终端可通过用户的滑动触摸确定图像预览界面上用户对所关注目标对象的选择范围。Here, the touch operation may also specifically include: tap touch or slide touch. Here, the mobile terminal may determine the user's selection range of the concerned target object on the image preview interface through the user's sliding touch.

步骤102,根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域。Step 102, according to the selection operation, determine a first partial area on the image preview interface that includes the target object.

需要说明的是,这里的目标对象可以是人物、景物或物品等,也就是说,用户感兴趣的事物都可以作为目标对象。It should be noted that the target object here may be a person, a scene, or an object, etc., that is, any thing that the user is interested in may be used as the target object.

步骤103,根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。Step 103, according to the first partial area, generate a thumbnail of the first image obtained when taking a picture using the image preview interface.

需要说明的是,第一部分区域包括用户所选的目标对象,缩略图界面上显示的内容包括该目标对象,且该缩略图的尺寸大小满足预设的尺寸大小。It should be noted that the first partial area includes the target object selected by the user, the content displayed on the thumbnail interface includes the target object, and the size of the thumbnail meets a preset size.

本发明实施例提供的缩略图的生成方法,通过接收到的用户在移动终端的图像预览界面上对所关注目标对象的选择操作,生成以所述图像预览界面拍照时获得的第一图像的缩略图,以方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,提升用户体验。The method for generating a thumbnail image provided by the embodiment of the present invention generates a thumbnail image of the first image obtained when taking a picture on the image preview interface of the mobile terminal through the received operation of selecting the target object concerned by the user on the image preview interface of the mobile terminal. Thumbnails, so that users can quickly find images that meet user needs from a large number of thumbnail interfaces, and at the same time increase the fun of thumbnail generation and improve user experience.

第二实施例second embodiment

如图2所示,为本发明第二实施例中缩略图的生成方法的流程图。下面就该图具体说明该缩略图的生成方法的实施过程。As shown in FIG. 2 , it is a flow chart of the method for generating thumbnail images in the second embodiment of the present invention. The implementation process of the method for generating the thumbnail will be specifically described below with reference to this figure.

步骤201,接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作。Step 201, receiving a user's selection operation on a concerned target object on an image preview interface of a mobile terminal.

这里需要说明的是,所述选择操作可包括:用户在移动终端的图像预览界面上对所关注目标对象的触摸操作或手势操作。It should be noted here that the selection operation may include: the user's touch operation or gesture operation on the concerned target object on the image preview interface of the mobile terminal.

这里,触摸操作还可具体包括:点按触摸或滑动触摸。这里,移动终端可通过用户的滑动触摸确定图像预览界面上用户对所关注目标对象的选择范围。Here, the touch operation may also specifically include: tap touch or slide touch. Here, the mobile terminal may determine the user's selection range of the concerned target object on the image preview interface through the user's sliding touch.

步骤202,接收用户的拍照指令,得到与所述图像预览界面对应的第一图像。Step 202, receiving a user's photographing instruction to obtain a first image corresponding to the image preview interface.

这里,用户的拍照指令可通过语音快门或触屏快门来生成实现。Here, the user's camera instruction can be generated and implemented through voice shutter or touch screen shutter.

需要说明的是,在接收用户的拍照指令之前,移动终端已存储用户在图像预览界面上对所关注目标对象的选择操作。It should be noted that, before receiving the user's photographing instruction, the mobile terminal has stored the user's selection operation on the concerned target object on the image preview interface.

步骤203,根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域。Step 203, according to the selection operation, determine a first partial area on the image preview interface that includes the target object.

需要说明的是,第一部分区域为第一图像上的部分图像区域,且第一部分区域包括整个目标对象。It should be noted that the first partial area is a partial image area on the first image, and the first partial area includes the entire target object.

这里,移动终端接收到用户在图像预览界面上的选择操作后,会在拍照所得的与图像预览界面对应的第一图像上获取到与所述选择操作对应的图像区域,对该图像区域进行图像处理后可得到包括目标对象的第一部分区域。Here, after the mobile terminal receives the user's selection operation on the image preview interface, it will obtain the image area corresponding to the selection operation on the first image corresponding to the image preview interface obtained by taking pictures, and image the image area. After processing, the first partial area including the target object can be obtained.

步骤204,根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。Step 204, according to the first partial area, generate a thumbnail of the first image obtained when taking a picture using the image preview interface.

需要说明的是,缩略图界面上显示的内容包括目标对象。It should be noted that the content displayed on the thumbnail interface includes the target object.

这里,第一图像的缩略图可以以缩放的图像处理方式来生成得到。当然也不限于其他的图像处理方式。Here, the thumbnail of the first image may be generated by zooming image processing. Of course, it is not limited to other image processing methods.

本发明实施例提供的缩略图的生成方法,通过接收到的用户在移动终端的图像预览界面上对所关注目标对象的选择操作后,接收用户的拍照指令,获得与该图像预览界面对应的第一图像,根据该选择操作对第一图像进行处理生成该第一图像的缩略图,方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,还可满足低图像处理速度的移动终端,提升用户体验。The thumbnail generation method provided by the embodiment of the present invention obtains the first image corresponding to the image preview interface by receiving the user’s photographing instruction after receiving the user’s selection operation on the concerned target object on the image preview interface of the mobile terminal. An image, according to the selection operation, the first image is processed to generate a thumbnail of the first image, which is convenient for the user to quickly find the image that meets the user's needs from the massive thumbnail interface, and at the same time increases the fun of thumbnail generation, and also It can satisfy mobile terminals with low image processing speed and improve user experience.

第三实施例third embodiment

如图3所示,为本发明第三实施例中缩略图的生成方法的流程图。下面就该图具体说明该缩略图的生成方法的实施过程。As shown in FIG. 3 , it is a flow chart of the method for generating thumbnail images in the third embodiment of the present invention. The implementation process of the method for generating the thumbnail will be specifically described below with reference to this figure.

步骤301,接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作。Step 301, receiving a user's selection operation on a concerned target object on an image preview interface of a mobile terminal.

这里需要说明的是,所述选择操作可包括:用户在移动终端的图像预览界面上对所关注目标对象的触摸操作或手势操作。It should be noted here that the selection operation may include: the user's touch operation or gesture operation on the concerned target object on the image preview interface of the mobile terminal.

这里,触摸操作还可具体包括:点按触摸或滑动触摸。这里,移动终端可通过用户的滑动触摸确定图像预览界面上用户对所关注目标对象的选择范围。Here, the touch operation may also specifically include: tap touch or slide touch. Here, the mobile terminal may determine the user's selection range of the concerned target object on the image preview interface through the user's sliding touch.

步骤302,根据所述选择操作对所述图像预览界面进行目标图像检测,获取所述选择操作对应于所述图像预览界面上的待处理部分区域,所述待处理部分区域包括所述目标对象的部分或全部。Step 302: Perform target image detection on the image preview interface according to the selection operation, and obtain the partial area to be processed corresponding to the selection operation on the image preview interface, and the partial area to be processed includes the target object some or all.

需要说明的是,待处理部分区域可具有预设的区域范围。也就是说,移动终端可将包括选择操作对应于图像预览界面上的图像区域确定到预设的区域范围。It should be noted that the partial area to be treated may have a preset area range. That is to say, the mobile terminal may determine the image area corresponding to the selection operation on the image preview interface to a preset area range.

步骤303,将包围所述待处理部分区域的第一预设区域范围的图像区域确定为第一部分区域,所述第一部分区域包括所述目标对象,所述第一预设区域范围与所述待处理部分区域在所述图像预览界面上的占比成正比。Step 303, determine the image area of the first preset area surrounding the partial area to be processed as the first partial area, the first partial area includes the target object, and the first preset area range is the same as the to-be-processed area The proportion of the processed part area on the image preview interface is directly proportional.

这里,第一预设区域范围可由系统预先设定,也可用户自行设定。Here, the first preset area range can be preset by the system, or can be set by the user.

需要说明的是,移动终端通过计算得到待处理部分区域在所述图像预览界面上的占比。It should be noted that the proportion of the area to be processed on the image preview interface is obtained by the mobile terminal through calculation.

移动终端可根据待处理部分区域在图像预览界面中的不同占比,对应设定有相应尺寸大小的第一预设区域范围。这里,可以以列表的形式将待处理部分区域在图像预览界面中的占比与第一预设区域范围的尺寸的对应关系存储于移动终端中。The mobile terminal can correspondingly set a first preset area range with a corresponding size according to different proportions of the area to be processed in the image preview interface. Here, the corresponding relationship between the proportion of the area to be processed in the image preview interface and the size of the first preset area range may be stored in the mobile terminal in the form of a list.

步骤304,根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。Step 304, according to the first partial area, generate a thumbnail of the first image obtained when taking a picture using the image preview interface.

这里,第一部分区域中包括整个目标对象。Here, the entire target object is included in the first partial area.

这里,第一图像的缩略图可以以缩放的图像处理方式来生成得到。当然也不限于其他的图像处理方式。Here, the thumbnail of the first image may be generated by zooming image processing. Of course, it is not limited to other image processing methods.

本发明实施例提供的缩略图的生成方法,通过接收到的用户在移动终端的图像预览界面上对所关注目标对象的选择操作,根据所述选择操作对所述图像预览界面进行目标图像检测与处理,生成以所述图像预览界面拍照时获得的第一图像的缩略图,提高缩略图的生成速率,方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,提升用户体验。In the method for generating thumbnails provided in the embodiments of the present invention, the user selects the concerned target object on the image preview interface of the mobile terminal and performs target image detection and detection on the image preview interface according to the selection operation. Processing, generating the thumbnail of the first image obtained when taking pictures with the image preview interface, improving the generation rate of thumbnails, making it convenient for users to quickly find images that meet user needs from a large number of thumbnail interfaces, and increasing thumbnail generation at the same time fun and improve user experience.

第四实施例Fourth embodiment

如图4所示,为本发明第四实施例中缩略图的生成方法的流程图。下面就该图具体说明该缩略图的生成方法的实施过程。As shown in FIG. 4 , it is a flow chart of the method for generating thumbnail images in the fourth embodiment of the present invention. The implementation process of the method for generating the thumbnail will be specifically described below with reference to this figure.

步骤401,接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作。Step 401, receiving a user's selection operation on a concerned target object on an image preview interface of a mobile terminal.

这里需要说明的是,所述选择操作可包括:用户在移动终端的图像预览界面上对所关注目标对象的触摸操作或手势操作。It should be noted here that the selection operation may include: the user's touch operation or gesture operation on the concerned target object on the image preview interface of the mobile terminal.

这里,触摸操作还可具体包括:点按触摸或滑动触摸。这里,移动终端可通过用户的滑动触摸确定图像预览界面上用户对所关注目标对象的选择范围。Here, the touch operation may also specifically include: tap touch or slide touch. Here, the mobile terminal may determine the user's selection range of the concerned target object on the image preview interface through the user's sliding touch.

步骤402,根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域。Step 402, according to the selection operation, determine a first partial area on the image preview interface that includes the target object.

需要说明的是,第一部分区域为第一图像上的部分图像区域,且第一部分区域包括整个目标对象。It should be noted that the first partial area is a partial image area on the first image, and the first partial area includes the entire target object.

需要说明的是,这里的目标对象可以是人物、景物或物品等,也就是说,用户感兴趣的事物都可以作为目标对象。It should be noted that the target object here may be a person, a scene, or an object, etc., that is, any thing that the user is interested in may be used as the target object.

步骤403,根据图像分割算法对所述第一部分区域进行图像处理,得到包括所述目标对象的第二预设区域范围的第二部分区域。Step 403: Perform image processing on the first partial area according to an image segmentation algorithm to obtain a second partial area including a second preset area range of the target object.

这里,第一部分区域的尺寸大于第二部分区域的尺寸。Here, the size of the first partial area is larger than the size of the second partial area.

需要说明的是,图像分割算法可以有很多种。例如,基于阀值的分割算法、基于边缘的分割算法、基于区域的分割算法等等。It should be noted that there are many kinds of image segmentation algorithms. For example, threshold-based segmentation algorithms, edge-based segmentation algorithms, region-based segmentation algorithms, and so on.

步骤404,对所述第二部分区域进行尺寸压缩,生成以所述图像预览界面拍照时获得的第一图像的缩略图;其中,所述第二预设区域范围的尺寸小于所述第一预设区域范围的尺寸。Step 404, compressing the size of the second part of the area to generate a thumbnail of the first image obtained when taking a picture on the image preview interface; wherein, the size of the second preset area is smaller than the size of the first preset area Set the size of the area range.

这里,可采用图像压缩处理算法对所述第二部分区域进行尺寸压缩。Here, an image compression processing algorithm may be used to perform size compression on the second partial region.

需要说明的是,生成的第一图像的缩略图具有预设的尺寸。It should be noted that the generated thumbnail of the first image has a preset size.

优选地,如图5所示,本发明实施例的缩略图的生成方法中所述步骤403还可进一步包括:Preferably, as shown in FIG. 5, the step 403 in the method for generating a thumbnail in the embodiment of the present invention may further include:

步骤4031,对所述第一部分区域进行图像边缘检测,识别出所述目标对象。Step 4031: Perform image edge detection on the first partial area to identify the target object.

这里需要说明的是,不同的区域之间的边缘上像素灰度值的变化往往比较剧烈。常用灰度的一阶或二阶微分算子进行边缘检测。What needs to be explained here is that the gray value of pixels on the edge between different regions often changes drastically. The first-order or second-order differential operator of gray scale is commonly used for edge detection.

具体的,对第一部分区域进行图像边缘检测,可以采用串行边缘分割技术或并行边缘分割技术。Specifically, to perform image edge detection on the first part of the region, a serial edge segmentation technique or a parallel edge segmentation technique may be used.

这里,串行边缘分割技术首先要确定边缘的起始点,然后根据预设的相似性搜索准则寻找下一个边缘点,通过跟踪相似边缘点最终得到目标对象。Here, the serial edge segmentation technology must first determine the starting point of the edge, and then find the next edge point according to the preset similarity search criteria, and finally obtain the target object by tracking similar edge points.

并行边缘检测方法,对图像上每一点的处理不依赖其他点的处理结果,算法可以并行处理,大大加快搜索检测的速度。In the parallel edge detection method, the processing of each point on the image does not depend on the processing results of other points. The algorithm can be processed in parallel, which greatly speeds up the search and detection speed.

需要说明的是,通常经过分割图像得到的目标对象的形状一般为不规则的。It should be noted that, usually, the shape of the target object obtained by segmenting the image is generally irregular.

步骤4032,将包围所述目标对象的所述第二预设区域范围的图像区域确定为第二部分区域。Step 4032: Determine the image area surrounding the second preset area range of the target object as a second partial area.

需要说明的是,第二部分区域的形状为规则的,一般为矩形。It should be noted that the shape of the second part of the area is regular, generally rectangular.

本发明实施例提供的缩略图的生成方法,通过接收到的用户在移动终端的图像预览界面上对所关注目标对象的选择操作,对所述选择操作确定的所述图像预览界面上包括所述目标对象的第一部分区域进行图像分割处理,生成以所述图像预览界面拍照时获得的第一图像的缩略图,以获取到准确的包括目标对象的缩略图,且方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,提升用户体验。In the method for generating a thumbnail image provided by the embodiment of the present invention, the received user selects the target object concerned on the image preview interface of the mobile terminal, and the image preview interface determined for the selection operation includes the The first partial area of the target object is subjected to image segmentation processing to generate a thumbnail of the first image obtained when taking pictures with the image preview interface, so as to obtain an accurate thumbnail including the target object, and it is convenient for the user to select from the massive thumbnail interface Quickly find images that meet the needs of users, and at the same time increase the fun of thumbnail generation and improve user experience.

第五实施例fifth embodiment

如图6所示,本发明实施例还提供一种移动终端500,包括:As shown in FIG. 6, the embodiment of the present invention also provides a mobile terminal 500, including:

接收模块501,用于接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作。The receiving module 501 is configured to receive the user's selection operation on the concerned target object on the image preview interface of the mobile terminal.

这里需要说明的是,所述选择操作可包括:用户在移动终端的图像预览界面上对所关注目标对象的触摸操作或手势操作。It should be noted here that the selection operation may include: the user's touch operation or gesture operation on the concerned target object on the image preview interface of the mobile terminal.

这里,触摸操作还可具体包括:点按触摸或滑动触摸。这里,移动终端可通过用户的滑动触摸确定图像预览界面上用户对所关注目标对象的选择范围。Here, the touch operation may also specifically include: tap touch or slide touch. Here, the mobile terminal may determine the user's selection range of the concerned target object on the image preview interface through the user's sliding touch.

区域确定模块502,用于根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域。An area determination module 502, configured to determine a first partial area on the image preview interface that includes the target object according to the selection operation.

这里的目标对象可以是人物、景物或物品等,也就是说,用户感兴趣的事物都可以作为目标对象。The target object here may be a person, a scene, or an item, etc., that is to say, any thing that the user is interested in may be used as the target object.

需要说明的是,第一部分区域为第一图像上的部分图像区域,且第一部分区域包括整个目标对象。It should be noted that the first partial area is a partial image area on the first image, and the first partial area includes the entire target object.

缩略图生成模块503,用于根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。The thumbnail generation module 503 is configured to generate a thumbnail of the first image obtained when taking a photo with the image preview interface according to the first partial area.

需要说明的是,缩略图界面上显示的内容包括目标对象,且该缩略图的尺寸大小满足预设的尺寸大小。It should be noted that the content displayed on the thumbnail interface includes the target object, and the size of the thumbnail meets the preset size.

这里,如图7所示,本发明实施例的移动终端还可包括:Here, as shown in FIG. 7, the mobile terminal in the embodiment of the present invention may further include:

图像获取模块504,用于接收用户的拍照指令,得到与所述图像预览界面对应的第一图像。The image acquisition module 504 is configured to receive a user's photographing instruction, and obtain a first image corresponding to the image preview interface.

这里,用户的拍照指令可通过语音快门或触屏快门来生成实现。Here, the user's camera instruction can be generated and implemented through voice shutter or touch screen shutter.

需要说明的是,在接收用户的拍照指令之前,移动终端已存储用户在图像预览界面上对所关注目标对象的选择操作。It should be noted that, before receiving the user's photographing instruction, the mobile terminal has stored the user's selection operation on the concerned target object on the image preview interface.

具体地,如图7所示,本发明实施例中所述区域确定模块502可具体包括:Specifically, as shown in FIG. 7, the area determination module 502 in the embodiment of the present invention may specifically include:

获取子模块5021,用于根据所述选择操作对所述图像预览界面进行目标图像检测,获取所述选择操作对应于所述图像预览界面上的待处理部分区域,所述待处理部分区域包括所述目标对象的部分或全部。The acquisition sub-module 5021 is configured to perform target image detection on the image preview interface according to the selection operation, and the acquisition operation corresponds to the partial area to be processed on the image preview interface, and the partial area to be processed includes all some or all of the target audience.

需要说明的是,待处理部分区域可具有预设的区域范围。也就是说,移动终端可将包括选择操作对应于图像预览界面上的图像区域确定到预设的区域范围。It should be noted that the partial area to be treated may have a preset area range. That is to say, the mobile terminal may determine the image area corresponding to the selection operation on the image preview interface to a preset area range.

区域确定子模块5022,将包围所述待处理部分区域的第一预设区域范围的图像区域确定为第一部分区域;所述第一部分区域包括所述目标对象,所述第一预设区域范围与所述待处理部分区域在所述图像预览界面上的占比成正比。The area determination sub-module 5022 determines the image area of the first preset area surrounding the partial area to be processed as the first partial area; the first partial area includes the target object, and the first preset area range is the same as The ratio of the to-be-processed partial area on the image preview interface is directly proportional.

这里,第一预设区域范围可由系统预先设定,也可用户自行设定。Here, the first preset area range can be preset by the system, or can be set by the user.

需要说明的是,移动终端通过计算得到待处理部分区域在所述图像预览界面上的占比。It should be noted that the proportion of the area to be processed on the image preview interface is obtained by the mobile terminal through calculation.

移动终端可根据待处理部分区域在图像预览界面中的不同占比,对应设定有相应尺寸大小的第一预设区域范围。这里,可以以列表的形式将待处理部分区域在图像预览界面中的占比与第一预设区域范围的尺寸的对应关系存储于移动终端中。The mobile terminal can correspondingly set a first preset area range with a corresponding size according to different proportions of the area to be processed in the image preview interface. Here, the corresponding relationship between the proportion of the area to be processed in the image preview interface and the size of the first preset area range may be stored in the mobile terminal in the form of a list.

具体地,如图7所示,本发明实施例中所述缩略图生成模块503包括:Specifically, as shown in FIG. 7, the thumbnail generation module 503 in the embodiment of the present invention includes:

图像处理子模块5031,用于根据图像分割算法对所述第一部分区域进行图像处理,得到包括所述目标对象的第二预设区域范围的第二部分区域。The image processing sub-module 5031 is configured to perform image processing on the first partial area according to an image segmentation algorithm to obtain a second partial area including a second preset area range of the target object.

这里,第一部分区域的尺寸大于第二部分区域的尺寸。Here, the size of the first partial area is larger than the size of the second partial area.

需要说明的是,图像分割算法可以有很多种。例如,基于阀值的分割算法、基于边缘的分割算法、基于区域的分割算法等等。It should be noted that there are many kinds of image segmentation algorithms. For example, threshold-based segmentation algorithms, edge-based segmentation algorithms, region-based segmentation algorithms, and so on.

缩略图生成子模块5032,用于对所述第二部分区域进行尺寸压缩,生成以所述图像预览界面拍照时获得的第一图像的缩略图;其中,所述第二预设区域范围的尺寸小于所述第一预设区域范围的尺寸。The thumbnail generation sub-module 5032 is configured to compress the size of the second part of the area, and generate a thumbnail of the first image obtained when taking a picture with the image preview interface; wherein, the size of the second preset area range smaller than the size of the first preset area range.

这里,可采用图像压缩处理算法对所述第二部分区域进行尺寸压缩。需要说明的是,生成的第一图像的缩略图具有预设的尺寸。Here, an image compression processing algorithm may be used to perform size compression on the second partial region. It should be noted that the generated thumbnail of the first image has a preset size.

这里,如图7所示,所述图像处理子模块5031还可具体包括:Here, as shown in FIG. 7, the image processing submodule 5031 may also specifically include:

图像检测单元50311,用于对所述第一部分区域进行图像边缘检测,识别出所述目标对象。The image detection unit 50311 is configured to perform image edge detection on the first partial area to identify the target object.

这里需要说明的是,不同的区域之间的边缘上像素灰度值的变化往往比较剧烈。常用灰度的一阶或二阶微分算子进行边缘检测。What needs to be explained here is that the gray value of pixels on the edge between different regions often changes drastically. The first-order or second-order differential operator of gray scale is commonly used for edge detection.

需要说明的是,通常经过分割图像得到的目标对象的形状一般为不规则的。It should be noted that, usually, the shape of the target object obtained by segmenting the image is generally irregular.

区域确定单元50312,用于将包围所述目标对象的所述第二预设区域范围的图像区域确定为第二部分区域。The area determining unit 50312 is configured to determine the image area surrounding the second preset area range of the target object as a second partial area.

需要说明的是,第二部分区域的形状为规则的,一般为矩形。It should be noted that the shape of the second part of the area is regular, generally rectangular.

本发明实施例提供的移动终端,接收模块接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作,缩略图生成模块对区域确定模块根据选择操作确定的所述图像预览界面上包括所述目标对象的第一部分区域进行图像分割处理,生成以所述图像预览界面拍照时获得的第一图像的缩略图,方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,还可满足低图像处理速度的移动终端,提升用户体验。In the mobile terminal provided by the embodiment of the present invention, the receiving module receives the user's selection operation on the target object of interest on the image preview interface of the mobile terminal, and the thumbnail generation module includes on the image preview interface determined by the area determination module according to the selection operation. Image segmentation processing is performed on the first partial area of the target object to generate a thumbnail of the first image obtained when taking pictures with the image preview interface, so that the user can quickly find an image that meets the user's needs from the massive thumbnail interface, and at the same time It increases the fun of generating thumbnails, and also satisfies mobile terminals with low image processing speed, thereby improving user experience.

第六实施例Sixth embodiment

如图8所示,为本发明终端的第二实施例结构框图。图8所示的移动终端600包括:至少一个处理器601、存储器602、至少一个网络接口604和用户接口603。移动终端600中的各个组件通过总线系统605耦合在一起。可理解,总线系统605用于实现这些组件之间的连接通信。总线系统605除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统605。As shown in FIG. 8 , it is a structural block diagram of the second embodiment of the terminal of the present invention. The mobile terminal 600 shown in FIG. 8 includes: at least one processor 601 , a memory 602 , at least one network interface 604 and a user interface 603 . Various components in the mobile terminal 600 are coupled together through a bus system 605 . It can be understood that the bus system 605 is used to realize connection and communication between these components. In addition to the data bus, the bus system 605 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 605 in FIG. 8 for clarity of illustration.

其中,用户接口603可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 603 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器602可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本文描述的系统和方法的存储器602旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 602 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (Direct Rambus RAM, DRRAM). Memory 602 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器602存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统6021和应用程序6022。In some implementations, the memory 602 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 6021 and an application program 6022 .

其中,操作系统6021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序6022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序6022中。Among them, the operating system 6021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 6022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 6022 .

在本发明实施例中,通过调用存储器602存储的程序或指令,具体的可以是在应用程序6022中存储的程序或指令,用户接口603用于接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;处理器601用于根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。In the embodiment of the present invention, by calling the program or instruction stored in the memory 602, specifically the program or instruction stored in the application program 6022, the user interface 603 is used to receive the user's attention on the image preview interface of the mobile terminal. The selection operation of the target object; the processor 601 is used to determine the first partial area including the target object on the image preview interface according to the selection operation; according to the first partial area, generate Get the thumbnail of the first image.

上述本发明实施例揭示的方法可以应用于处理器601中,或者由处理器601实现。处理器601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器601可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecificIntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器602,处理器601读取存储器602中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 601 or implemented by the processor 601 . The processor 601 may be an integrated circuit chip and has signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 601 or instructions in the form of software. The above-mentioned processor 601 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or Transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD ), Field-Programmable Gate Array (Field-Programmable GateArray, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选地,该用户接口603还用于:在接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作之后,接收用户的拍照指令,得到与所述图像预览界面对应的第一图像。Optionally, the user interface 603 is also configured to: after receiving the user's selection operation on the concerned target object on the image preview interface of the mobile terminal, receive the user's photographing instruction, and obtain the first image corresponding to the image preview interface. image.

需要说明的是,第一图像存储于存储器602中,处理器601可调用储存器602中的第一图像。It should be noted that the first image is stored in the memory 602 , and the processor 601 can call the first image in the memory 602 .

可选地,该处理器601还用于:根据所述选择操作对所述图像预览界面进行目标图像检测,获取所述选择操作对应于所述图像预览界面上的待处理部分区域,所述待处理部分区域包括所述目标对象的部分或全部;将包围所述待处理部分区域的第一预设区域范围的图像区域确定为第一部分区域,所述第一部分区域包括所述目标对象,所述第一预设区域范围与所述待处理部分区域在所述图像预览界面上的占比成正比。Optionally, the processor 601 is further configured to: perform target image detection on the image preview interface according to the selection operation, and obtain a part area to be processed corresponding to the selection operation on the image preview interface, and the to-be-processed part area on the image preview interface is acquired. Processing a partial area including part or all of the target object; determining an image area within a first preset area surrounding the to-be-processed partial area as a first partial area, the first partial area including the target object, the The first preset area range is proportional to the proportion of the to-be-processed partial area on the image preview interface.

可选地,该处理器601还用于:根据图像分割算法对所述第一部分区域进行图像处理,得到包括所述目标对象的第二预设区域范围的第二部分区域;对所述第二部分区域进行尺寸压缩,生成以所述图像预览界面拍照时获得的第一图像的缩略图;其中,所述第二预设区域范围的尺寸小于所述第一预设区域范围的尺寸。Optionally, the processor 601 is further configured to: perform image processing on the first partial area according to an image segmentation algorithm to obtain a second partial area including a second preset area range of the target object; Part of the area is compressed in size to generate a thumbnail of the first image obtained when taking a picture on the image preview interface; wherein, the size of the second preset area range is smaller than the size of the first preset area range.

可选地,该处理器601还用于:对所述第一部分区域进行图像边缘检测,识别出所述目标对象;将包围所述目标对象的所述第二预设区域范围的图像区域确定为第二部分区域。Optionally, the processor 601 is further configured to: perform image edge detection on the first partial area to identify the target object; determine the image area surrounding the second preset area range of the target object as The second part of the area.

本发明的移动终端如可以是手机、平板电脑、个人数字助理(PersonalDigitalAssistant,PDA)、或车载电脑等等移动终端。The mobile terminal of the present invention may be, for example, a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

移动终端600能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 600 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

本发明实施例的移动终端600,通过用户接口603用于接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;处理器601用于根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图,方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,提升用户体验。The mobile terminal 600 of the embodiment of the present invention is used to receive the user's selection operation on the target object concerned on the image preview interface of the mobile terminal through the user interface 603; the processor 601 is used to determine the image preview according to the selection operation The interface includes the first partial area of the target object; according to the first partial area, a thumbnail image of the first image obtained when taking pictures with the image preview interface is generated, which is convenient for users to quickly find satisfactory objects from the massive thumbnail interface. Images that users need, while increasing the fun of thumbnail generation and improving user experience.

第七实施例Seventh embodiment

如图9所示,为本发明通信终端的第三实施例结构框图。在本发明实施例中,图9中的移动终端700包括射频(RadioFrequency,RF)电路710、存储器720、输入单元730、显示单元740、处理器760、音频电路770、WiFi(WirelessFidelity)模块780和电源790。As shown in FIG. 9 , it is a structural block diagram of the third embodiment of the communication terminal of the present invention. In the embodiment of the present invention, the mobile terminal 700 in FIG. 9 includes a radio frequency (Radio Frequency, RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a processor 760, an audio circuit 770, a WiFi (Wireless Fidelity) module 780 and Power 790.

其中,输入单元730可用于接收用户输入的数字或字符信息,以及产生与移动终端700的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元730可以包括触控面板731。触控面板731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器760,并能接收处理器760发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 730 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 700 . Specifically, in the embodiment of the present invention, the input unit 730 may include a touch panel 731 . The touch panel 731, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 731 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 760, and can receive and execute commands sent by the processor 760. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 731, the input unit 730 may also include other input devices 732, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元740可用于显示由用户输入的信息或提供给用户的信息以及移动终端700的各种菜单界面。显示单元740可包括显示面板741,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板741。Wherein, the display unit 740 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 700 . The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板731可以覆盖显示面板741,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器760以确定触摸事件的类型,随后处理器760根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 731 can cover the display panel 741 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 760 to determine the type of the touch event, and then the processor The 760 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器760是移动终端700的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器721内的软件程序和/或模块,以及调用存储在第二存储器722内的数据,执行移动终端700的各种功能和处理数据,从而对移动终端700进行整体监控。可选的,处理器760可包括一个或多个处理单元。Wherein the processor 760 is the control center of the mobile terminal 700, utilizes various interfaces and lines to connect various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 721, and calling the software programs and/or modules stored in the second memory 721. The data in the memory 722 executes various functions of the mobile terminal 700 and processes data, so as to monitor the mobile terminal 700 as a whole. Optionally, the processor 760 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器721内的软件程序和/或模块和/或该第二存储器722内的数据,输入单元730用于接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;处理器760用于根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。In the embodiment of the present invention, the input unit 730 is used to receive the user input on the image preview interface of the mobile terminal by calling the software programs and/or modules stored in the first memory 721 and/or the data in the second memory 722. A selection operation on the target object concerned; the processor 760 is configured to determine a first partial area on the image preview interface that includes the target object according to the selection operation; The thumbnail of the first image obtained when the interface takes a picture.

可选地,该输入单元730还用于:在接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作之后,接收用户的拍照指令,得到与所述图像预览界面对应的第一图像。Optionally, the input unit 730 is also configured to: after receiving the user's selection operation on the concerned target object on the image preview interface of the mobile terminal, receive the user's photographing instruction, and obtain the first image corresponding to the image preview interface. image.

需要说明的是,第一图像存储于第二存储器722中,处理器760可调用第二储存器722中的第一图像。It should be noted that the first image is stored in the second memory 722 , and the processor 760 can recall the first image in the second memory 722 .

可选地,该处理器760还用于:根据所述选择操作对所述图像预览界面进行目标图像检测,获取所述选择操作对应于所述图像预览界面上的待处理部分区域,所述待处理部分区域包括所述目标对象的部分或全部;将包围所述待处理部分区域的第一预设区域范围的图像区域确定为第一部分区域,所述第一部分区域包括所述目标对象,所述第一预设区域范围与所述待处理部分区域在所述图像预览界面上的占比成正比。Optionally, the processor 760 is further configured to: perform target image detection on the image preview interface according to the selection operation, and acquire the part area to be processed corresponding to the selection operation on the image preview interface, the to-be-processed area Processing a partial area including part or all of the target object; determining an image area within a first preset area surrounding the to-be-processed partial area as a first partial area, the first partial area including the target object, the The first preset area range is proportional to the proportion of the to-be-processed partial area on the image preview interface.

可选地,该处理器760还可具体用于:根据图像分割算法对所述第一部分区域进行图像处理,得到包括所述目标对象的第二预设区域范围的第二部分区域;对所述第二部分区域进行尺寸压缩,生成以所述图像预览界面拍照时获得的第一图像的缩略图;其中,所述第二预设区域范围的尺寸小于所述第一预设区域范围的尺寸。Optionally, the processor 760 may also be specifically configured to: perform image processing on the first partial area according to an image segmentation algorithm to obtain a second partial area including a second preset area range of the target object; The size of the second part of the area is compressed to generate a thumbnail of the first image obtained when taking pictures on the image preview interface; wherein, the size of the second preset area range is smaller than the size of the first preset area range.

可选地,该处理器760还用于:对所述第一部分区域进行图像边缘检测,识别出所述目标对象;将包围所述目标对象的所述第二预设区域范围的图像区域确定为第二部分区域。Optionally, the processor 760 is further configured to: perform image edge detection on the first partial area to identify the target object; determine the image area surrounding the second preset area range of the target object as The second part of the area.

可见,本发明实施例提供的移动终端700,通过输入单元730接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;处理器760用于根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图,方便用户从海量的缩略图界面中快速查找到满足用户需要的图像,同时增加缩略图生成的趣味性,提升用户体验。It can be seen that the mobile terminal 700 provided by the embodiment of the present invention receives the user's selection operation on the target object of interest on the image preview interface of the mobile terminal through the input unit 730; the processor 760 is used to determine the image according to the selection operation. The preview interface includes the first partial area of the target object; according to the first partial area, a thumbnail of the first image obtained when taking pictures with the image preview interface is generated, which is convenient for users to quickly find the target object from a large number of thumbnail interfaces. Images that meet user needs, while increasing the fun of thumbnail generation, improve user experience.

本发明的移动终端如可以是手机、平板电脑、个人数字助理(PersonalDigitalAssistant,PDA)、或车载电脑等等移动终端。移动终端700能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal of the present invention may be, for example, a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer. The mobile terminal 700 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized by controlling related hardware through a computer program, and the program can be stored in a computer-readable storage medium, the program During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (10)

1.一种缩略图的生成方法,其特征在于,包括:1. A method for generating a thumbnail image, comprising: 接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;receiving a user's selection operation on the concerned target object on the image preview interface of the mobile terminal; 根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;According to the selection operation, determine a first partial area on the image preview interface that includes the target object; 根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。According to the first partial area, a thumbnail of the first image obtained when taking a picture with the image preview interface is generated. 2.根据权利要求1所述的缩略图的生成方法,其特征在于,接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作的步骤之后,所述方法还包括:2. The generation method of thumbnail according to claim 1, it is characterized in that, after receiving the user on the image preview interface of mobile terminal to the step of the selection operation of concerned target object, described method also comprises: 接收用户的拍照指令,得到与所述图像预览界面对应的第一图像。A photographing instruction from the user is received to obtain a first image corresponding to the image preview interface. 3.根据权利要求1所述的缩略图的生成方法,其特征在于,根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域的步骤包括:3. The method for generating a thumbnail image according to claim 1, wherein, according to the selection operation, the step of determining the first partial region comprising the target object on the image preview interface comprises: 根据所述选择操作对所述图像预览界面进行目标图像检测,获取所述选择操作对应于所述图像预览界面上的待处理部分区域,所述待处理部分区域包括所述目标对象的部分或全部;Perform target image detection on the image preview interface according to the selection operation, and obtain the partial area to be processed corresponding to the selection operation on the image preview interface, and the partial area to be processed includes part or all of the target object ; 将包围所述待处理部分区域的第一预设区域范围的图像区域确定为第一部分区域,所述第一部分区域包括所述目标对象,所述第一预设区域范围与所述待处理部分区域在所述图像预览界面上的占比成正比。Determining an image area of a first preset area surrounding the partial area to be processed as a first partial area, the first partial area includes the target object, and the first preset area range is the same as the partial area to be processed The proportion on the image preview interface is proportional. 4.根据权利要求3所述的缩略图的生成方法,其特征在于,根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图的步骤包括:4. The generation method of thumbnail according to claim 3, it is characterized in that, according to the first partial area, the step of generating the thumbnail of the first image obtained when taking pictures with the image preview interface comprises: 根据图像分割算法对所述第一部分区域进行图像处理,得到包括所述目标对象的第二预设区域范围的第二部分区域;performing image processing on the first partial area according to an image segmentation algorithm to obtain a second partial area including a second preset area range of the target object; 对所述第二部分区域进行尺寸压缩,生成以所述图像预览界面拍照时获得的第一图像的缩略图;performing size compression on the second partial area, and generating a thumbnail of the first image obtained when taking pictures with the image preview interface; 其中,所述第二预设区域范围的尺寸小于所述第一预设区域范围的尺寸。Wherein, the size of the second preset area range is smaller than the size of the first preset area range. 5.根据权利要求4所述的缩略图的生成方法,其特征在于,根据预设的图像分割算法对所述第一部分区域进行图像处理,得到包括所述目标对象的第二预设区域范围的第二部分区域的步骤包括:5. The method for generating a thumbnail according to claim 4, wherein image processing is performed on the first part of the region according to a preset image segmentation algorithm to obtain a second preset region including the target object. The steps in the second part of the area include: 对所述第一部分区域进行图像边缘检测,识别出所述目标对象;Perform image edge detection on the first partial area to identify the target object; 将包围所述目标对象的所述第二预设区域范围的图像区域确定为第二部分区域。Determining the image area surrounding the second preset area range of the target object as a second partial area. 6.一种移动终端,其特征在于,包括:6. A mobile terminal, characterized in that, comprising: 接收模块,用于接收用户在移动终端的图像预览界面上对所关注目标对象的选择操作;The receiving module is used to receive the user's selection operation on the concerned target object on the image preview interface of the mobile terminal; 区域确定模块,用于根据所述选择操作,确定所述图像预览界面上包括所述目标对象的第一部分区域;An area determination module, configured to determine a first partial area on the image preview interface that includes the target object according to the selection operation; 缩略图生成模块,用于根据所述第一部分区域,生成以所述图像预览界面拍照时获得的第一图像的缩略图。The thumbnail generation module is configured to generate a thumbnail of the first image obtained when taking a photo with the image preview interface according to the first partial area. 7.根据权利要求6所述的移动终端,其特征在于,所述移动终端还包括:7. The mobile terminal according to claim 6, wherein the mobile terminal further comprises: 图像获取模块,用于接收用户的拍照指令,得到与所述图像预览界面对应的第一图像。The image acquisition module is configured to receive a user's photographing instruction to obtain a first image corresponding to the image preview interface. 8.根据权利要求6所述的移动终端,其特征在于,区域确定模块包括:8. The mobile terminal according to claim 6, wherein the area determination module comprises: 获取子模块,用于根据所述选择操作对所述图像预览界面进行目标图像检测,获取所述选择操作对应于所述图像预览界面上的待处理部分区域,所述待处理部分区域包括所述目标对象的部分或全部;The acquisition sub-module is used to perform target image detection on the image preview interface according to the selection operation, and the acquisition operation corresponds to the to-be-processed partial area on the image preview interface, and the to-be-processed partial area includes the part or all of the target audience; 区域确定子模块,用于将包围所述待处理部分区域的第一预设区域范围的图像区域确定为第一部分区域,所述第一部分区域包括所述目标对象,所述第一预设区域范围与所述待处理部分区域在所述图像预览界面上的占比成正比。An area determining submodule, configured to determine an image area of a first preset area surrounding the partial area to be processed as a first partial area, the first partial area includes the target object, and the first preset area range It is proportional to the proportion of the area to be processed on the image preview interface. 9.根据权利要求6所述的移动终端,其特征在于,缩略图生成模块包括:9. The mobile terminal according to claim 6, wherein the thumbnail generating module comprises: 图像处理子模块,用于根据图像分割算法对所述第一部分区域进行图像处理,得到包括所述目标对象的第二预设区域范围的第二部分区域;An image processing sub-module, configured to perform image processing on the first partial area according to an image segmentation algorithm to obtain a second partial area including a second preset area range of the target object; 缩略图生成子模块,用于对所述第二部分区域进行尺寸压缩,生成以所述图像预览界面拍照时获得的第一图像的缩略图;A thumbnail generating submodule, configured to compress the size of the second part of the region, and generate a thumbnail of the first image obtained when taking a picture with the image preview interface; 其中,所述第二预设区域范围的尺寸小于所述第一预设区域范围的尺寸。Wherein, the size of the second preset area range is smaller than the size of the first preset area range. 10.根据权利要求9所述的移动终端,其特征在于,所述图像处理子模块包括:10. The mobile terminal according to claim 9, wherein the image processing submodule comprises: 图像检测单元,用于对所述第一部分区域进行图像边缘检测,识别出所述目标对象;An image detection unit, configured to perform image edge detection on the first partial area to identify the target object; 区域确定单元,用于将包围所述目标对象的所述第二预设区域范围的图像区域确定为第二部分区域。An area determining unit, configured to determine an image area surrounding the second preset area range of the target object as a second partial area.
CN201610510980.9A 2016-06-30 2016-06-30 A kind of generation method and mobile terminal of thumbnail Active CN106126108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610510980.9A CN106126108B (en) 2016-06-30 2016-06-30 A kind of generation method and mobile terminal of thumbnail

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610510980.9A CN106126108B (en) 2016-06-30 2016-06-30 A kind of generation method and mobile terminal of thumbnail

Publications (2)

Publication Number Publication Date
CN106126108A true CN106126108A (en) 2016-11-16
CN106126108B CN106126108B (en) 2019-04-12

Family

ID=57467975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610510980.9A Active CN106126108B (en) 2016-06-30 2016-06-30 A kind of generation method and mobile terminal of thumbnail

Country Status (1)

Country Link
CN (1) CN106126108B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750185A (en) * 2018-07-23 2020-02-04 夏普株式会社 Portable terminal device and display control method for portable terminal device
CN110955793A (en) * 2019-11-26 2020-04-03 维沃移动通信有限公司 A display control method and electronic device
CN111596812A (en) * 2019-02-21 2020-08-28 阿里巴巴集团控股有限公司 Information display method, device and storage medium
CN111815545A (en) * 2020-07-14 2020-10-23 南京信息工程大学 A fast color image processing method based on intelligent terminal
CN112822394A (en) * 2020-12-30 2021-05-18 维沃移动通信(杭州)有限公司 Display control method and device, electronic equipment and readable storage medium
CN114500821A (en) * 2020-10-26 2022-05-13 北京小米移动软件有限公司 Photographing method and device, terminal and storage medium
CN114546558A (en) * 2022-02-21 2022-05-27 金蝶云科技有限公司 Drawing processing method and device, computer equipment and storage medium
CN114697749A (en) * 2020-12-28 2022-07-01 北京小米移动软件有限公司 Video editing method, video editing device, storage medium and electronic equipment
CN115033154A (en) * 2021-02-23 2022-09-09 北京小米移动软件有限公司 Thumbnail generating method, thumbnail generating device and storage medium
CN115268742A (en) * 2021-04-30 2022-11-01 华为技术有限公司 Method for generating cover and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100797482B1 (en) * 2006-02-24 2008-01-24 엘지전자 주식회사 Mobile communication terminal and shooting method using the same
CN101753716A (en) * 2009-11-20 2010-06-23 华为终端有限公司 Terminal and photographing method thereof
JP4534816B2 (en) * 2005-03-16 2010-09-01 カシオ計算機株式会社 Imaging apparatus and program
CN102436342A (en) * 2011-10-13 2012-05-02 上海合合信息科技发展有限公司 Image previewing and processing method
CN103714161A (en) * 2013-12-30 2014-04-09 小米科技有限责任公司 Image thumbnail generation method and device and terminal
CN103927713A (en) * 2014-04-23 2014-07-16 锤子科技(北京)有限公司 Method and device for obtaining picture thumbnail
CN104731471A (en) * 2013-12-18 2015-06-24 Lg电子株式会社 Mobile terminal and method for controlling the same
KR20150093519A (en) * 2014-02-07 2015-08-18 엘지전자 주식회사 Mobile terminal and method for controlling the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4534816B2 (en) * 2005-03-16 2010-09-01 カシオ計算機株式会社 Imaging apparatus and program
KR100797482B1 (en) * 2006-02-24 2008-01-24 엘지전자 주식회사 Mobile communication terminal and shooting method using the same
CN101753716A (en) * 2009-11-20 2010-06-23 华为终端有限公司 Terminal and photographing method thereof
CN102436342A (en) * 2011-10-13 2012-05-02 上海合合信息科技发展有限公司 Image previewing and processing method
CN104731471A (en) * 2013-12-18 2015-06-24 Lg电子株式会社 Mobile terminal and method for controlling the same
CN103714161A (en) * 2013-12-30 2014-04-09 小米科技有限责任公司 Image thumbnail generation method and device and terminal
KR20150093519A (en) * 2014-02-07 2015-08-18 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN103927713A (en) * 2014-04-23 2014-07-16 锤子科技(北京)有限公司 Method and device for obtaining picture thumbnail

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750185A (en) * 2018-07-23 2020-02-04 夏普株式会社 Portable terminal device and display control method for portable terminal device
CN111596812B (en) * 2019-02-21 2023-04-18 阿里巴巴集团控股有限公司 Information display method, device and storage medium
CN111596812A (en) * 2019-02-21 2020-08-28 阿里巴巴集团控股有限公司 Information display method, device and storage medium
CN110955793A (en) * 2019-11-26 2020-04-03 维沃移动通信有限公司 A display control method and electronic device
CN111815545A (en) * 2020-07-14 2020-10-23 南京信息工程大学 A fast color image processing method based on intelligent terminal
CN114500821A (en) * 2020-10-26 2022-05-13 北京小米移动软件有限公司 Photographing method and device, terminal and storage medium
CN114500821B (en) * 2020-10-26 2024-02-27 北京小米移动软件有限公司 Photographing method and device, terminal and storage medium
CN114697749A (en) * 2020-12-28 2022-07-01 北京小米移动软件有限公司 Video editing method, video editing device, storage medium and electronic equipment
CN112822394A (en) * 2020-12-30 2021-05-18 维沃移动通信(杭州)有限公司 Display control method and device, electronic equipment and readable storage medium
CN112822394B (en) * 2020-12-30 2024-03-26 维沃移动通信(杭州)有限公司 Display control method, display control device, electronic equipment and readable storage medium
CN115033154A (en) * 2021-02-23 2022-09-09 北京小米移动软件有限公司 Thumbnail generating method, thumbnail generating device and storage medium
CN115268742A (en) * 2021-04-30 2022-11-01 华为技术有限公司 Method for generating cover and electronic equipment
WO2022228010A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Method for generating cover, and electronic device
CN114546558A (en) * 2022-02-21 2022-05-27 金蝶云科技有限公司 Drawing processing method and device, computer equipment and storage medium
CN114546558B (en) * 2022-02-21 2024-06-04 金蝶云科技有限公司 Drawing processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106126108B (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN106126108A (en) A kind of breviary map generalization method and mobile terminal
CN107343149B (en) A kind of photographic method and mobile terminal
CN106101545B (en) Image processing method and mobile terminal
CN107613203B (en) Image processing method and mobile terminal
CN107172346B (en) Virtualization method and mobile terminal
CN106658141B (en) A video processing method and mobile terminal
CN107509030B (en) A focusing method and mobile terminal
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN107632895A (en) A kind of information sharing method and mobile terminal
CN106156313B (en) A method for viewing album pictures and mobile terminal
CN106791357A (en) A kind of image pickup method and mobile terminal
CN107659837B (en) A multimedia data playback control method and mobile terminal
CN106657793A (en) Image processing method and mobile terminal
CN107678644A (en) A kind of image processing method and mobile terminal
CN107302655B (en) It is a kind of to shoot the adjusting method and mobile terminal found a view
CN107659722A (en) A kind of image-selecting method and mobile terminal
CN106101544A (en) A kind of image processing method and mobile terminal
CN107404577A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN106888354A (en) A kind of singlehanded photographic method and mobile terminal
CN106993091A (en) A kind of image weakening method and mobile terminal
CN106506801A (en) A kind of method of adjustment camera zoom magnification and mobile terminal
CN106776821A (en) A kind of album creating method and terminal
CN107622478A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107483821A (en) A kind of image processing method and mobile terminal
CN106250503B (en) Picture processing method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant