WO2018209523A1 - Shooting processing method and shooting processing device - Google Patents

Shooting processing method and shooting processing device Download PDF

Info

Publication number
WO2018209523A1
WO2018209523A1 PCT/CN2017/084402 CN2017084402W WO2018209523A1 WO 2018209523 A1 WO2018209523 A1 WO 2018209523A1 CN 2017084402 W CN2017084402 W CN 2017084402W WO 2018209523 A1 WO2018209523 A1 WO 2018209523A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
photographing
salient region
point position
processing
Prior art date
Application number
PCT/CN2017/084402
Other languages
French (fr)
Chinese (zh)
Inventor
陈雅芳
Original Assignee
深圳市永恒丰科技有限公司
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 深圳市永恒丰科技有限公司 filed Critical 深圳市永恒丰科技有限公司
Priority to PCT/CN2017/084402 priority Critical patent/WO2018209523A1/en
Publication of WO2018209523A1 publication Critical patent/WO2018209523A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and a processing device for photographing.
  • the quality of the image in the photo will directly affect the user's perception of the image content in the photo.
  • Some photo images have low definition and the image in the salient area is not prominent enough. Users of such photos may not be able to objectively and accurately recognize the image content of their salient regions, and cannot satisfy the user's needs.
  • the main object of the present invention is to solve the problem in the prior art that the image of the clear and significant area is not prominent enough, and the user cannot objectively and accurately recognize the image content of the salient region, and cannot meet the technical problem of the user's demand.
  • the present invention provides a method for processing a photograph, and the method for processing the photograph includes:
  • Enhancing the image of the salient region and/or performing defocus blurring on the image outside the salient region;
  • a photo formed by the processed image displayed by the photographing and framing interface is generated according to a photographing determination instruction input by the user.
  • the performing enhancement processing on the image of the salient region specifically includes:
  • Texture, color, brightness, saturation, and/or contrast enhancement processing on images of salient regions are Texture, color, brightness, saturation, and/or contrast enhancement processing on images of salient regions
  • the image of the salient region is a human body image
  • the image of the salient region is subjected to a beauty and/or skin treatment.
  • the present invention further provides a processing device for photographing, the processing device for photographing includes:
  • a monitoring module configured to monitor, in real time, whether a pressing pressure from an area where the photographing and framing interface is received is received during a process of displaying a photographed target in a photographing and viewing interface
  • a determining module configured to determine a starting point position and a ending point position of the pressing pressure when the pressing pressure is received
  • a first determining module configured to determine a salient region in the photo framing interface according to the starting point position and the ending point position;
  • a processing module for performing enhancement processing on the image of the salient region; and/or performing defocus blur processing on the image outside the salient region;
  • a generating module configured to generate a photo formed by the processed image displayed by the photographing and framing interface according to the photographing determination instruction input by the user.
  • the processing module comprises:
  • An enhancement processing unit configured to perform texture, color, brightness, saturation, and/or contrast enhancement processing on the image of the salient region; determine whether the image of the salient region is a human face image; and when the image of the salient region is a human body image And performing beauty and/or skin treatment on the image of the salient region;
  • the blur processing unit is configured to perform defocus blur processing on images other than the salient region.
  • the photographing processing method and processing device monitors whether the pressing pressure from the region where the photographing framing interface is received is detected in real time during the process of displaying the photographed target in the photographing and framing interface; when the pressing pressure is received, Determining a starting point position and a ending point position of the pressing pressure; determining a salient region in the photographing framing interface according to the starting point position and the ending point position; performing enhancement processing on the image of the salient region; and/or, Defocusing blur processing is performed on an image other than the salient region; and a photograph formed by the processed image displayed by the photographing and framing interface is generated according to a photographing determination instruction input by the user, which can be made in the photo compared to the conventional photographing method
  • the image of the salient area is more clear and more prominent than other areas, ensuring the user's accuracy of the image content of the significant area in the photo, and can meet the user's needs.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for processing photographs according to the present invention
  • FIG. 2 is a schematic diagram of functional modules of an embodiment of a photographing processing device of the present invention.
  • FIG. 3 is a schematic diagram of a specific refinement function module of the first determining module in FIG. 2;
  • FIG. 4 is a schematic diagram of a specific refinement function module of the processing module of FIG. 2.
  • the invention provides a method for processing photographs.
  • 1 is a schematic flow chart of an embodiment of a method for processing photographs according to the present invention.
  • the processing method of the photographing comprises:
  • Step S10 During the process of displaying the captured target in the photographing and framing interface, real-time monitoring whether the pressing pressure from the region where the photographing framing interface is received is received.
  • Step S20 When the pressing pressure is received, the starting point position and the ending point position of the pressing pressure are determined.
  • the user in the process of displaying the captured image in the photographing and framing interface, can press and slide the finger in the area where the photographing and framing interface is located; wherein the starting position of the pressing sliding is the starting point position of the pressing pressure, and the end point of the pressing sliding The position is the end point position of the pressing pressure.
  • the user can also click twice in the area where the photographing and framing interface is located by the finger, the position of the first click is the starting point position of the pressing pressure, and the position of the second click is the ending point position of the pressing pressure.
  • Step S30 Determine a salient region in the photographing and framing interface according to the starting point position and the ending point position.
  • the step S30 specifically includes: generating a connection line connected by the starting point position and the ending point position. Determining whether the connecting line is parallel to a set of opposite border lines of the photographing framing interface; if yes, generating a square frame with the connecting line as an edge in the photographing framing interface, and defining the square frame The area is the significant area. If not, a rectangular frame with the connecting line as a diagonal is generated in the photographing and framing interface, and an area defined by the rectangular frame is defined as the salient region. a set of opposite border lines in the rectangular frame are parallel to a set of opposite border lines of the photographing framing interface; another set of opposite border lines in the rectangular frame and another set of opposite border lines of the photographing framing interface parallel.
  • a square frame with the connecting line as an edge is not generated in the photographing and framing interface (for example, when the connecting line is parallel to the long border line of the photographing framing interface, and the length is larger than the photographing framing)
  • the short border line of the interface is unable to generate a square frame with the connecting line as an edge in the camera view interface, a prominent area determination failure prompt message is generated and played to prompt the user to fail the operation and needs to be operated again.
  • Step S40 performing enhancement processing on the image of the salient region; and/or performing defocus blur processing on the image other than the salient region.
  • the enhancement processing of the image of the salient region in the embodiment includes: performing texture, color, brightness, saturation, and/or contrast enhancement processing on the image of the salient region; determining whether the image of the salient region is a face image When the image of the salient region is a human body image, the image of the salient region is subjected to beauty and/or skin treatment.
  • This embodiment adopts the conventional defocus blur processing technology in the prior art, and the description will not be repeated here.
  • Step S50 Generate a photo formed by the processed image displayed by the photographing and framing interface according to the photographing determination instruction input by the user.
  • the method for processing the photographing provided by the above embodiment, in the process of displaying the photographed target in the photographing and framing interface, real-time monitoring whether the pressing pressure from the region where the photographing and framing interface is received is received in real time; when the pressing pressure is received, determining the Determining a starting point position and a ending point position of the pressing pressure; determining a salient region in the photographing framing interface according to the starting point position and the ending point position; performing enhancement processing on the image of the salient region; and/or, on the salient region Defocusing blur processing is performed on the image other than the image; the photograph formed by the processed image displayed by the photographing and framing interface is generated according to the photographing determination instruction input by the user, and the significant area in the photograph can be made compared with the conventional photographing mode
  • the image is more clear and more prominent than other areas, ensuring the user's accuracy of the image content of the prominent area of the photo, and can meet the user's needs.
  • FIG. 2 is a schematic diagram of functional modules of an embodiment of a photographing processing apparatus according to the present invention.
  • the processing device 100 for photographing includes: a monitoring module 110, a determining module 120, a first determining module 130, a processing module 140, and a generating module 150.
  • the monitoring module 110 is configured to monitor, in real time, whether the pressing pressure from the region where the camera framing interface is received is received during the process of displaying the captured target in the camera framing interface.
  • the determining module 120 is configured to determine a starting point position and a ending point position of the pressing pressure when the pressing pressure is received.
  • the first determining module 130 is configured to determine a salient region in the photo framing interface according to the starting point position and the ending point position.
  • the processing module 140 is configured to perform enhancement processing on the image of the salient region; and/or perform defocus blur processing on the image other than the salient region.
  • the generating module 150 is configured to generate a photo formed by the processed image displayed by the photographing and framing interface according to the photographing determination instruction input by the user.
  • the user in the process of displaying the captured image in the photographing and framing interface, can press and slide the finger in the area where the photographing and framing interface is located; wherein the starting position of the pressing sliding is the starting point position of the pressing pressure, and the end point of the pressing sliding The position is the end point position of the pressing pressure.
  • the user can also click twice in the area where the photographing and framing interface is located by the finger, the position of the first click is the starting point position of the pressing pressure, and the position of the second click is the ending point position of the pressing pressure.
  • FIG. 3 is a schematic diagram of a specific refinement function module of the first determining module in FIG.
  • the first determining module 130 in this embodiment includes: a generating unit 131, a determining unit 132, a first generating unit 133, and a second generating unit 134.
  • the generating unit 131 is configured to generate a connection line connected by the starting point position and the ending point position.
  • the determining unit 132 is configured to determine whether the connection line is parallel to a set of opposite frame lines of the photographing framing interface.
  • the first generating unit 133 is configured to generate a square frame with the connecting line as an edge in the photographing and framing interface when the connecting line is parallel to a set of opposite border lines of the photographing and framing interface.
  • a region defined by the square frame is defined as the salient region.
  • the second generating unit 134 is configured to generate the connecting line as a diagonal line in the photographing and framing interface when the connecting line is not parallel to a set of opposite frame lines of the photographing framing interface.
  • a rectangular frame defining an area enclosed by the rectangular frame as the salient region. a set of opposite border lines in the rectangular frame are parallel to a set of opposite border lines of the photographing framing interface; another set of opposite border lines in the rectangular frame and another set of opposite border lines of the photographing framing interface parallel.
  • a square frame with the connecting line as an edge is not generated in the photographing and framing interface (for example, when the connecting line is parallel to the long border line of the photographing framing interface, and the length is larger than the photographing framing)
  • the camera control device 100 When the short border line of the interface is used, a square frame with the connecting line as an edge cannot be generated in the photographing and framing interface, and the camera control device 100 generates and plays a prominent area forming failure prompt message to prompt the user to operate. Failed and needs to be re-operated.
  • FIG. 4 is a schematic diagram of a specific refinement function module of the processing module of FIG.
  • the processing module 140 in this embodiment includes an enhancement processing unit 141 and a blur processing unit 142.
  • the enhancement processing unit 141 is configured to perform texture, color, brightness, saturation, and/or contrast enhancement processing on the image of the salient region; determine whether the image of the salient region is a face image; when the salient region The image is a human body image, and the image of the salient region is subjected to facial and/or skin treatment.
  • the blur processing unit 142 is configured to perform defocus blur processing on an image other than the salient region.
  • This embodiment adopts the conventional defocus blur processing technology in the prior art, and the description will not be repeated here.
  • the processing device 100 for photographing monitors in real time whether the pressing pressure from the region where the photographing framing interface is received is detected in real time during the shooting of the photographed target interface; when the pressing pressure is received, the determined Determining a starting point position and a ending point position of the pressing pressure; determining a salient region in the photographing framing interface according to the starting point position and the ending point position; performing enhancement processing on the image of the salient region; and/or, on the salient region Defocusing blur processing is performed on the image other than the image; the photograph formed by the processed image displayed by the photographing and framing interface is generated according to the photographing determination instruction input by the user, and the significant area in the photograph can be made compared with the conventional photographing mode
  • the image is more clear and more prominent than other areas, ensuring the user's accuracy of the image content of the prominent area of the photo, and can meet the user's needs.

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)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed is a shooting processing method. The method comprises: in a process in which a shot target is displayed in a shooting framing interface, monitoring, in real time, whether a press pressure from a region where the shooting framing interface is located is received; if yes, determining the position of a start point and the position of an end point of the press pressure; determining a highlighted region in the shooting framing interface according to the position of the start point and the position of the end point; strengthening an image in the highlighted region; and/or enabling the image outside the heighted region to be out of focus and blurred; and according to a shooting confirmation instruction entered by a user, generating a photo formed by a processed image displayed in the shooting framing interface. Also disclosed is a shooting processing device. Compared to the traditional shooting manner, the shooting processing method and the shooting processing device enable an image in a highlighted region in a photo to be visually clearer and more salient than an image in other regions, which ensures the understanding accuracy of a user on image content of the highlighted region in the photo and can satisfy the demands of the user.

Description

拍照的处理方法及处理装置  Photo processing method and processing device
技术领域Technical field
本发明涉及通讯技术领域,尤其涉及一种拍照的处理方法及处理装置。The present invention relates to the field of communications technologies, and in particular, to a method and a processing device for photographing.
背景技术Background technique
照片中图像质量的好坏会直接影响用户对照片中图像内容的认知。有些照片图像清晰度低,显著区域的图像不够突出,这种照片用户可能无法对其显著区域的图像内容进行客观准确的认知,无法满足用户需求。The quality of the image in the photo will directly affect the user's perception of the image content in the photo. Some photo images have low definition and the image in the salient area is not prominent enough. Users of such photos may not be able to objectively and accurately recognize the image content of their salient regions, and cannot satisfy the user's needs.
发明内容Summary of the invention
本发明的主要目的在于解决现有技术中针对清晰低、显著区域图像不够突出的照片,用户无法对其显著区域的图像内容进行客观准确的认知,无法满足用户需求的技术问题。The main object of the present invention is to solve the problem in the prior art that the image of the clear and significant area is not prominent enough, and the user cannot objectively and accurately recognize the image content of the salient region, and cannot meet the technical problem of the user's demand.
为实现上述目的,本发明提供一种拍照的处理方法,所述拍照的处理方法包括:In order to achieve the above object, the present invention provides a method for processing a photograph, and the method for processing the photograph includes:
在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力;During the process of displaying the captured target in the photographing and framing interface, real-time monitoring whether the pressing pressure from the region where the photographing and framing interface is received is received;
当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置;Determining a starting point position and a ending point position of the pressing pressure when the pressing pressure is received;
根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域;Determining a salient region in the photographing framing interface according to the starting point position and the ending point position;
对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理;Enhancing the image of the salient region; and/or performing defocus blurring on the image outside the salient region;
根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片。A photo formed by the processed image displayed by the photographing and framing interface is generated according to a photographing determination instruction input by the user.
优选地,所述对显著区域的图像进行增强处理具体包括:Preferably, the performing enhancement processing on the image of the salient region specifically includes:
对显著区域的图像进行纹理、色彩、亮度、饱和度、和/或对比度增强处理;Texture, color, brightness, saturation, and/or contrast enhancement processing on images of salient regions;
判断所述显著区域的图像是否为人脸图像;Determining whether the image of the salient region is a face image;
当所述显著区域的图像为人体图像,则对所述显著区域的图像进行美颜和/或美肤处理。When the image of the salient region is a human body image, the image of the salient region is subjected to a beauty and/or skin treatment.
此外,为实现上述目的,本发明还提供一种拍照的处理装置,所述拍照的处理装置包括:In addition, in order to achieve the above object, the present invention further provides a processing device for photographing, the processing device for photographing includes:
监测模块,用于在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力;a monitoring module, configured to monitor, in real time, whether a pressing pressure from an area where the photographing and framing interface is received is received during a process of displaying a photographed target in a photographing and viewing interface;
确定模块,用于当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置;a determining module, configured to determine a starting point position and a ending point position of the pressing pressure when the pressing pressure is received;
第一确定模块,用于根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域;a first determining module, configured to determine a salient region in the photo framing interface according to the starting point position and the ending point position;
处理模块,用于对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理;a processing module for performing enhancement processing on the image of the salient region; and/or performing defocus blur processing on the image outside the salient region;
生成模块,用于根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片。And a generating module, configured to generate a photo formed by the processed image displayed by the photographing and framing interface according to the photographing determination instruction input by the user.
优选地,所述处理模块包括:Preferably, the processing module comprises:
增强处理单元,用于对显著区域的图像进行纹理、色彩、亮度、饱和度、和/或对比度增强处理;判断所述显著区域的图像是否为人脸图像;当所述显著区域的图像为人体图像,则对所述显著区域的图像进行美颜和/或美肤处理;An enhancement processing unit configured to perform texture, color, brightness, saturation, and/or contrast enhancement processing on the image of the salient region; determine whether the image of the salient region is a human face image; and when the image of the salient region is a human body image And performing beauty and/or skin treatment on the image of the salient region;
模糊处理单元,用于对显著区域以外的图像进行失焦模糊处理。The blur processing unit is configured to perform defocus blur processing on images other than the salient region.
本发明所提供的拍照的处理方法及处理装置,通过在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力;当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置;根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域;对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理;根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片的方式,相比传统的拍照方式,能够使照片中显著区域的图像在视觉上相比其他区域更加清晰,更加突出,确保了用户对照片中显著区域的图像内容认知的准确度,能够满足用户需求。The photographing processing method and processing device provided by the present invention monitors whether the pressing pressure from the region where the photographing framing interface is received is detected in real time during the process of displaying the photographed target in the photographing and framing interface; when the pressing pressure is received, Determining a starting point position and a ending point position of the pressing pressure; determining a salient region in the photographing framing interface according to the starting point position and the ending point position; performing enhancement processing on the image of the salient region; and/or, Defocusing blur processing is performed on an image other than the salient region; and a photograph formed by the processed image displayed by the photographing and framing interface is generated according to a photographing determination instruction input by the user, which can be made in the photo compared to the conventional photographing method The image of the salient area is more clear and more prominent than other areas, ensuring the user's accuracy of the image content of the significant area in the photo, and can meet the user's needs.
附图说明DRAWINGS
图1为本发明的拍照的处理方法一实施例的流程示意图;1 is a schematic flow chart of an embodiment of a method for processing photographs according to the present invention;
图2为本发明的拍照的处理装置一实施例的功能模块示意图;2 is a schematic diagram of functional modules of an embodiment of a photographing processing device of the present invention;
图3为图2中第一确定模块的具体细化功能模块示意图;3 is a schematic diagram of a specific refinement function module of the first determining module in FIG. 2;
图4为图2中处理模块的具体细化功能模块示意图。4 is a schematic diagram of a specific refinement function module of the processing module of FIG. 2.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明,并且在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。The preferred embodiments of the present invention are described in conjunction with the accompanying drawings, and the preferred embodiments described herein are intended to illustrate and explain the invention, and not to limit the invention, and The embodiments and the features in the embodiments can be combined with each other.
本发明提供一种拍照的处理方法。参照图1,图1为本发明的拍照的处理方法一实施例的流程示意图。在一实施例中,所述拍照的处理方法包括:The invention provides a method for processing photographs. 1 is a schematic flow chart of an embodiment of a method for processing photographs according to the present invention. In an embodiment, the processing method of the photographing comprises:
步骤S10:在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力。Step S10: During the process of displaying the captured target in the photographing and framing interface, real-time monitoring whether the pressing pressure from the region where the photographing framing interface is received is received.
步骤S20:当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置。Step S20: When the pressing pressure is received, the starting point position and the ending point position of the pressing pressure are determined.
本实施例中在拍照取景界面显示被拍图像过程中,用户可以通过手指在所述拍照取景界面所在区域按压滑动;其中按压滑动的起点位置为所述按压压力的起始点位置,按压滑动的终点位置为所述按压压力的终了点位置。用户也可以通过手指在所述拍照取景界面所在区域点击两次,第一次点击的位置为所述按压压力的起始点位置,第二次点击的位置为所述按压压力的终了点位置。In the embodiment, in the process of displaying the captured image in the photographing and framing interface, the user can press and slide the finger in the area where the photographing and framing interface is located; wherein the starting position of the pressing sliding is the starting point position of the pressing pressure, and the end point of the pressing sliding The position is the end point position of the pressing pressure. The user can also click twice in the area where the photographing and framing interface is located by the finger, the position of the first click is the starting point position of the pressing pressure, and the position of the second click is the ending point position of the pressing pressure.
步骤S30:根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域。Step S30: Determine a salient region in the photographing and framing interface according to the starting point position and the ending point position.
所述步骤S30具体包括:生成由所述起始点位置与所述终了点位置相连的连接线。判断所述连接线是否与所述拍照取景界面的一组相对的边框线平行;若是,则在所述拍照取景界面内生成以所述连接线为边线的正方形框,定义所述正方形框围成的区域为所述显著区域。若否,则在所述拍照取景界面内生成以所述连接线为对角线的矩形框,定义所述矩形框围成的区域为所述显著区域。所述矩形框中一组相对的边框线与拍照取景界面的一组相对的边框线平行;所述矩形框中另一组相对的边框线与所述拍照取景界面的另一组相对的边框线平行。The step S30 specifically includes: generating a connection line connected by the starting point position and the ending point position. Determining whether the connecting line is parallel to a set of opposite border lines of the photographing framing interface; if yes, generating a square frame with the connecting line as an edge in the photographing framing interface, and defining the square frame The area is the significant area. If not, a rectangular frame with the connecting line as a diagonal is generated in the photographing and framing interface, and an area defined by the rectangular frame is defined as the salient region. a set of opposite border lines in the rectangular frame are parallel to a set of opposite border lines of the photographing framing interface; another set of opposite border lines in the rectangular frame and another set of opposite border lines of the photographing framing interface parallel.
本实施例中若无法在所述拍照取景界面内生成以所述连接线为边线的正方形框(例如当所述连接线平行于所述拍照取景界面的长边框线,且长度大于所述拍照取景界面的短边框线时,无法在所述拍照取景界面内生成以所述连接线为边线的正方形框),则生成并播放显著区域确定失败提示信息,以提示用户操作失败,需要重新操作。In this embodiment, if a square frame with the connecting line as an edge is not generated in the photographing and framing interface (for example, when the connecting line is parallel to the long border line of the photographing framing interface, and the length is larger than the photographing framing) When the short border line of the interface is unable to generate a square frame with the connecting line as an edge in the camera view interface, a prominent area determination failure prompt message is generated and played to prompt the user to fail the operation and needs to be operated again.
步骤S40:对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理。Step S40: performing enhancement processing on the image of the salient region; and/or performing defocus blur processing on the image other than the salient region.
本实施例中所述对显著区域的图像进行增强处理具体包括:对显著区域的图像进行纹理、色彩、亮度、饱和度、和/或对比度增强处理;判断所述显著区域的图像是否为人脸图像;当所述显著区域的图像为人体图像,则对所述显著区域的图像进行美颜和/或美肤处理。The enhancement processing of the image of the salient region in the embodiment includes: performing texture, color, brightness, saturation, and/or contrast enhancement processing on the image of the salient region; determining whether the image of the salient region is a face image When the image of the salient region is a human body image, the image of the salient region is subjected to beauty and/or skin treatment.
本实施例采用的是现有技术中常规的失焦模糊处理技术,在此不再展开描述。This embodiment adopts the conventional defocus blur processing technology in the prior art, and the description will not be repeated here.
步骤S50:根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片。Step S50: Generate a photo formed by the processed image displayed by the photographing and framing interface according to the photographing determination instruction input by the user.
上述实施例所提供的拍照的处理方法,通过在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力;当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置;根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域;对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理;根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片的方式,相比传统的拍照方式,能够使照片中显著区域的图像在视觉上相比其他区域更加清晰,更加突出,确保了用户对照片中显著区域的图像内容认知的准确度,能够满足用户需求。The method for processing the photographing provided by the above embodiment, in the process of displaying the photographed target in the photographing and framing interface, real-time monitoring whether the pressing pressure from the region where the photographing and framing interface is received is received in real time; when the pressing pressure is received, determining the Determining a starting point position and a ending point position of the pressing pressure; determining a salient region in the photographing framing interface according to the starting point position and the ending point position; performing enhancement processing on the image of the salient region; and/or, on the salient region Defocusing blur processing is performed on the image other than the image; the photograph formed by the processed image displayed by the photographing and framing interface is generated according to the photographing determination instruction input by the user, and the significant area in the photograph can be made compared with the conventional photographing mode The image is more clear and more prominent than other areas, ensuring the user's accuracy of the image content of the prominent area of the photo, and can meet the user's needs.
本发明进一步提供一种拍照的处理装置。参照图2,图2为本发明的拍照的处理装置一实施例的功能模块示意图。在一实施例中,所述拍照的处理装置100包括:监测模块110、确定模块120、第一确定模块130、处理模块140、生成模块150。其中,所述监测模块110,用于在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力。所述确定模块120,用于当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置。所述第一确定模块130,用于根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域。所述处理模块140,用于对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理。所述生成模块150,用于根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片。The invention further provides a processing device for photographing. Referring to FIG. 2, FIG. 2 is a schematic diagram of functional modules of an embodiment of a photographing processing apparatus according to the present invention. In an embodiment, the processing device 100 for photographing includes: a monitoring module 110, a determining module 120, a first determining module 130, a processing module 140, and a generating module 150. The monitoring module 110 is configured to monitor, in real time, whether the pressing pressure from the region where the camera framing interface is received is received during the process of displaying the captured target in the camera framing interface. The determining module 120 is configured to determine a starting point position and a ending point position of the pressing pressure when the pressing pressure is received. The first determining module 130 is configured to determine a salient region in the photo framing interface according to the starting point position and the ending point position. The processing module 140 is configured to perform enhancement processing on the image of the salient region; and/or perform defocus blur processing on the image other than the salient region. The generating module 150 is configured to generate a photo formed by the processed image displayed by the photographing and framing interface according to the photographing determination instruction input by the user.
本实施例中在拍照取景界面显示被拍图像过程中,用户可以通过手指在所述拍照取景界面所在区域按压滑动;其中按压滑动的起点位置为所述按压压力的起始点位置,按压滑动的终点位置为所述按压压力的终了点位置。用户也可以通过手指在所述拍照取景界面所在区域点击两次,第一次点击的位置为所述按压压力的起始点位置,第二次点击的位置为所述按压压力的终了点位置。In the embodiment, in the process of displaying the captured image in the photographing and framing interface, the user can press and slide the finger in the area where the photographing and framing interface is located; wherein the starting position of the pressing sliding is the starting point position of the pressing pressure, and the end point of the pressing sliding The position is the end point position of the pressing pressure. The user can also click twice in the area where the photographing and framing interface is located by the finger, the position of the first click is the starting point position of the pressing pressure, and the position of the second click is the ending point position of the pressing pressure.
参见图3,图3为图2中第一确定模块的具体细化功能模块示意图。本实施例中所述第一确定模块130包括:生成单元131、判断单元132、第一生成单元133、第二生成单元134。其中,所述生成单元131,用于生成由所述起始点位置与所述终了点位置相连的连接线。所述判断单元132,用于判断所述连接线是否与所述拍照取景界面的一组相对的边框线平行。所述第一生成单元133,用于当所述连接线与所述拍照取景界面的一组相对的边框线平行,则在所述拍照取景界面内生成以所述连接线为边线的正方形框,定义所述正方形框围成的区域为所述显著区域。所述第二生成单元134,用于当所述连接线不与所述拍照取景界面的任何一组相对的边框线平行,则在所述拍照取景界面内生成以所述连接线为对角线的矩形框,定义所述矩形框围成的区域为所述显著区域。所述矩形框中一组相对的边框线与拍照取景界面的一组相对的边框线平行;所述矩形框中另一组相对的边框线与所述拍照取景界面的另一组相对的边框线平行。Referring to FIG. 3, FIG. 3 is a schematic diagram of a specific refinement function module of the first determining module in FIG. The first determining module 130 in this embodiment includes: a generating unit 131, a determining unit 132, a first generating unit 133, and a second generating unit 134. The generating unit 131 is configured to generate a connection line connected by the starting point position and the ending point position. The determining unit 132 is configured to determine whether the connection line is parallel to a set of opposite frame lines of the photographing framing interface. The first generating unit 133 is configured to generate a square frame with the connecting line as an edge in the photographing and framing interface when the connecting line is parallel to a set of opposite border lines of the photographing and framing interface. A region defined by the square frame is defined as the salient region. The second generating unit 134 is configured to generate the connecting line as a diagonal line in the photographing and framing interface when the connecting line is not parallel to a set of opposite frame lines of the photographing framing interface. A rectangular frame defining an area enclosed by the rectangular frame as the salient region. a set of opposite border lines in the rectangular frame are parallel to a set of opposite border lines of the photographing framing interface; another set of opposite border lines in the rectangular frame and another set of opposite border lines of the photographing framing interface parallel.
本实施例中若无法在所述拍照取景界面内生成以所述连接线为边线的正方形框(例如当所述连接线平行于所述拍照取景界面的长边框线,且长度大于所述拍照取景界面的短边框线时,无法在所述拍照取景界面内生成以所述连接线为边线的正方形框),所述拍照控制的装置100则生成并播放显著区域形成失败提示信息,以提示用户操作失败,需要重新操作。In this embodiment, if a square frame with the connecting line as an edge is not generated in the photographing and framing interface (for example, when the connecting line is parallel to the long border line of the photographing framing interface, and the length is larger than the photographing framing) When the short border line of the interface is used, a square frame with the connecting line as an edge cannot be generated in the photographing and framing interface, and the camera control device 100 generates and plays a prominent area forming failure prompt message to prompt the user to operate. Failed and needs to be re-operated.
参见图4,图4为图2中处理模块的具体细化功能模块示意图。本实施例中所述处理模块140包括:增强处理单元141和模糊处理单元142。其中,所述增强处理单元141,用于对显著区域的图像进行纹理、色彩、亮度、饱和度、和/或对比度增强处理;判断所述显著区域的图像是否为人脸图像;当所述显著区域的图像为人体图像,则对所述显著区域的图像进行美颜和/或美肤处理。所述模糊处理单元142,用于对显著区域以外的图像进行失焦模糊处理。Referring to FIG. 4, FIG. 4 is a schematic diagram of a specific refinement function module of the processing module of FIG. The processing module 140 in this embodiment includes an enhancement processing unit 141 and a blur processing unit 142. The enhancement processing unit 141 is configured to perform texture, color, brightness, saturation, and/or contrast enhancement processing on the image of the salient region; determine whether the image of the salient region is a face image; when the salient region The image is a human body image, and the image of the salient region is subjected to facial and/or skin treatment. The blur processing unit 142 is configured to perform defocus blur processing on an image other than the salient region.
本实施例采用的是现有技术中常规的失焦模糊处理技术,在此不再展开描述。This embodiment adopts the conventional defocus blur processing technology in the prior art, and the description will not be repeated here.
上述实施例所提供的拍照的处理装置100,通过在拍照取景界面显示被拍目标过程中实时监测是否接收到来自所述拍照取景界面所在区域的按压压力;当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置;根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域;对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理;根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片的方式,相比传统的拍照方式,能够使照片中显著区域的图像在视觉上相比其他区域更加清晰,更加突出,确保了用户对照片中显著区域的图像内容认知的准确度,能够满足用户需求。The processing device 100 for photographing provided by the above embodiment monitors in real time whether the pressing pressure from the region where the photographing framing interface is received is detected in real time during the shooting of the photographed target interface; when the pressing pressure is received, the determined Determining a starting point position and a ending point position of the pressing pressure; determining a salient region in the photographing framing interface according to the starting point position and the ending point position; performing enhancement processing on the image of the salient region; and/or, on the salient region Defocusing blur processing is performed on the image other than the image; the photograph formed by the processed image displayed by the photographing and framing interface is generated according to the photographing determination instruction input by the user, and the significant area in the photograph can be made compared with the conventional photographing mode The image is more clear and more prominent than other areas, ensuring the user's accuracy of the image content of the prominent area of the photo, and can meet the user's needs.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (4)

  1. 一种拍照的处理方法,其特征在于,所述拍照的处理方法包括: A processing method for photographing, wherein the processing method of the photographing comprises:
    在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力;During the process of displaying the captured target in the photographing and framing interface, real-time monitoring whether the pressing pressure from the region where the photographing and framing interface is received is received;
    当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置;Determining a starting point position and a ending point position of the pressing pressure when the pressing pressure is received;
    根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域;Determining a salient region in the photographing framing interface according to the starting point position and the ending point position;
    对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理;Enhancing the image of the salient region; and/or performing defocus blurring on the image outside the salient region;
    根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片。A photo formed by the processed image displayed by the photographing and framing interface is generated according to a photographing determination instruction input by the user.
  2. 根据权利要求1所述的拍照的处理方法,其特征在于,所述对显著区域的图像进行增强处理具体包括: The method for processing a photograph according to claim 1, wherein the enhancing the image of the salient region comprises:
    对显著区域的图像进行纹理、色彩、亮度、饱和度、和/或对比度增强处理;Texture, color, brightness, saturation, and/or contrast enhancement processing on images of salient regions;
    判断所述显著区域的图像是否为人脸图像;Determining whether the image of the salient region is a face image;
    当所述显著区域的图像为人体图像,则对所述显著区域的图像进行美颜和/或美肤处理。When the image of the salient region is a human body image, the image of the salient region is subjected to a beauty and/or skin treatment.
  3. 一种拍照的处理装置,其特征在于,所述拍照的处理装置包括:A processing device for photographing, wherein the processing device for photographing comprises:
    监测模块,用于在拍照取景界面显示被拍目标过程中,实时监测是否接收到来自所述拍照取景界面所在区域的按压压力;a monitoring module, configured to monitor, in real time, whether a pressing pressure from an area where the photographing and framing interface is received is received during a process of displaying a photographed target in a photographing and viewing interface;
    确定模块,用于当接收到所述按压压力,确定所述按压压力的起始点位置和终了点位置;a determining module, configured to determine a starting point position and a ending point position of the pressing pressure when the pressing pressure is received;
    第一确定模块,用于根据所述起始点位置和终了点位置,在所述拍照取景界面中确定显著区域;a first determining module, configured to determine a salient region in the photo framing interface according to the starting point position and the ending point position;
    处理模块,用于对显著区域的图像进行增强处理;和/或,对显著区域以外的图像进行失焦模糊处理;a processing module for performing enhancement processing on the image of the salient region; and/or performing defocus blur processing on the image outside the salient region;
    生成模块,用于根据用户输入的拍照确定指令,生成由所述拍照取景界面显示的处理后的图像所形成的照片。And a generating module, configured to generate a photo formed by the processed image displayed by the photographing and framing interface according to the photographing determination instruction input by the user.
  4. 根据权利要求3所述的拍照的处理装置,其特征在于,所述处理模块包括:The processing device for photographing according to claim 3, wherein the processing module comprises:
    增强处理单元,用于对显著区域的图像进行纹理、色彩、亮度、饱和度、和/或对比度增强处理;判断所述显著区域的图像是否为人脸图像;当所述显著区域的图像为人体图像,则对所述显著区域的图像进行美颜和/或美肤处理;An enhancement processing unit configured to perform texture, color, brightness, saturation, and/or contrast enhancement processing on the image of the salient region; determine whether the image of the salient region is a human face image; and when the image of the salient region is a human body image And performing beauty and/or skin treatment on the image of the salient region;
    模糊处理单元,用于对显著区域以外的图像进行失焦模糊处理。The blur processing unit is configured to perform defocus blur processing on images other than the salient region.
PCT/CN2017/084402 2017-05-15 2017-05-15 Shooting processing method and shooting processing device WO2018209523A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084402 WO2018209523A1 (en) 2017-05-15 2017-05-15 Shooting processing method and shooting processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084402 WO2018209523A1 (en) 2017-05-15 2017-05-15 Shooting processing method and shooting processing device

Publications (1)

Publication Number Publication Date
WO2018209523A1 true WO2018209523A1 (en) 2018-11-22

Family

ID=64273183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084402 WO2018209523A1 (en) 2017-05-15 2017-05-15 Shooting processing method and shooting processing device

Country Status (1)

Country Link
WO (1) WO2018209523A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969532A (en) * 2009-07-27 2011-02-09 三洋电机株式会社 Image reproducing apparatus and image sensing apparatus
CN103209291A (en) * 2012-01-17 2013-07-17 百度在线网络技术(北京)有限公司 Method, apparatus and device for controlling automatic image shooting
CN103702024A (en) * 2013-12-02 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Image processing device and image processing method
CN104199610A (en) * 2014-08-27 2014-12-10 联想(北京)有限公司 Information processing method and electronic device
US20160139764A1 (en) * 2013-06-28 2016-05-19 Orange Method of selection of a portion of a graphical user interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969532A (en) * 2009-07-27 2011-02-09 三洋电机株式会社 Image reproducing apparatus and image sensing apparatus
CN103209291A (en) * 2012-01-17 2013-07-17 百度在线网络技术(北京)有限公司 Method, apparatus and device for controlling automatic image shooting
US20160139764A1 (en) * 2013-06-28 2016-05-19 Orange Method of selection of a portion of a graphical user interface
CN103702024A (en) * 2013-12-02 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Image processing device and image processing method
CN104199610A (en) * 2014-08-27 2014-12-10 联想(北京)有限公司 Information processing method and electronic device

Similar Documents

Publication Publication Date Title
WO2014035072A1 (en) Photographing apparatus, method of controlling the same, and computer-readable recording medium
WO2018018771A1 (en) Dual camera-based photography method and system
WO2018040444A1 (en) Dual-camera image capturing control method, image capturing control device, and terminal
WO2018053908A1 (en) Dual-camera photographic method, system, and terminal
WO2017197664A1 (en) Panoramic image collection apparatus and collection method
WO2013094891A1 (en) Digital photographing apparatus and method of controlling the same
WO2018010240A1 (en) Photographing synchronization method and apparatus
WO2015117287A1 (en) Interactive display system
JP2007013926A (en) Manual focusing method and system in photographing device
WO2017070998A1 (en) Portable desktop audio and video conference device and system
WO2017008320A1 (en) Method of detecting quality of polysilicon thin film and system utilizing same
WO2019000118A1 (en) Visual detection method for industrial process, control device, system and storage device
WO2017092401A1 (en) Pressure sensing based image acquisition system, method and mobile terminal
WO2018209523A1 (en) Shooting processing method and shooting processing device
WO2015156547A2 (en) Electronic apparatus and method of controlling the same
WO2018209524A1 (en) Shooting processing method for photo and shooting processing device for photo
WO2014172995A1 (en) Method and system for correcting lens of liquid crystal panel appearance detection device
WO2016206002A1 (en) Catadioptric lens assembly and panoramic image acquisition device
JP2004023452A (en) Electronic camera
KR101960508B1 (en) Display apparatus and method
WO2021033811A1 (en) Half-mirror self-photographing system and psychological counseling method using same
TW200830868A (en) Image capturing method
TWI379587B (en) Image pickup apparatus and image pickup method
WO2015023069A1 (en) Electronic apparatus and method of controlling the same
WO2018018365A1 (en) Mobile terminal used for photographing vr image, and vr image photography system thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17909852

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17909852

Country of ref document: EP

Kind code of ref document: A1