WO2016107055A1 - Processing method and device for image splicing - Google Patents

Processing method and device for image splicing Download PDF

Info

Publication number
WO2016107055A1
WO2016107055A1 PCT/CN2015/079616 CN2015079616W WO2016107055A1 WO 2016107055 A1 WO2016107055 A1 WO 2016107055A1 CN 2015079616 W CN2015079616 W CN 2015079616W WO 2016107055 A1 WO2016107055 A1 WO 2016107055A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
interface
preset
puzzle
framing
Prior art date
Application number
PCT/CN2015/079616
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 中兴通讯股份有限公司
Publication of WO2016107055A1 publication Critical patent/WO2016107055A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for processing a puzzle.
  • the third-party editing software is used to perform the operation of the puzzle.
  • the POCO camera introduces the concept of jigsaw photography in the photographing function, and allows the user to take a maximum of 8 photos in the photographing and viewing interface (or Manually select to add photo album photos, and then select the puzzle template to synthesize the puzzle. In fact, it is still the puzzle after the photo is finished.
  • the method is used to edit a sub-picture, the sub-picture size is too small, which makes the operation less convenient.
  • the main object of the present invention is to provide a method and a device for processing a puzzle, so as to at least solve the problem that the user needs to perform the puzzle operation of the image in the manner of performing the image puzzle operation in the related art. .
  • a method for processing a puzzle comprising: triggering a specified framing interface in a preset puzzle template to perform image collection, wherein the preset puzzle template has multiple, each of the presets There are a plurality of the framing interfaces in the puzzle template; after the image capture is performed by triggering one or more of the finder interfaces in the preset template, the preset puzzle template is generated into a puzzle photo.
  • triggering the specified framing interface in the preset jigsaw template to perform image acquisition includes: activating an interface in the specified framing interface to switch from a preset image to an image currently required to be acquired; and the specified framing interface And/or performing a predetermined operation on the current image in the specified framing interface, wherein the predetermined operation comprises: adjusting a size of the specified framing interface and/or a position in the preset template, rotating, dragging, and zooming Said image.
  • the activation of the interface in the specified framing interface by the preset image to the current image to be acquired includes: automatically activating the framing interface with the smallest sequence of all the framing interfaces in the preset puzzle template as the Specifying a framing interface, and switching the preset image of the specified framing interface to the image that needs to be collected currently; or receiving a first trigger signal used by the user to select the framing interface, and framing the user according to the first trigger signal
  • the interface serves as the specified framing interface, and switches the preset image of the specified framing interface to an image that needs to be collected currently.
  • triggering one or more of the framing interfaces in the preset template to perform image collection including: automatically activating the specified framing interface number sequence after the image capturing operation of the specified framing interface is completed Receiving an image of the next viewing interface; or receiving a second trigger signal for image acquisition by the user, wherein the second trigger signal is used to indicate that one or more images are selected from the locally stored image to be added to the preview Set the framing interface that is not activated in the puzzle template.
  • the image capturing process of triggering one or more of the framing interfaces in the preset template acquiring a first number of framing interfaces that have been image capturing, and comparing the first The quantity and the second quantity, wherein the second quantity is the number of the framing interfaces in the other puzzle templates; according to the comparison result, marking the second number of other puzzle templates smaller than the first quantity, wherein the The marker is used to indicate that the puzzle template marked during the current image acquisition process is not available.
  • a processing device for a puzzle including: a triggering module, configured to trigger a specified framing interface in a preset puzzle template to perform image collection, wherein the preset puzzle template has multiple Each of the preset puzzle templates has a plurality of the framing interfaces; and the generating module is configured to: after triggering one or more of the framing interfaces in the preset templates to perform image collection, the preset puzzles The template generates a puzzle photo.
  • the triggering module includes: a first activation unit, configured to activate an interface in the specified framing interface to switch from a preset image to an image that needs to be collected currently; and an execution unit configured to specify the Performing a predetermined operation on the current image in the framing interface and/or the specified framing interface, wherein the predetermined operation comprises: adjusting a size of the specified framing interface and/or a position in the preset template, rotating, dragging, and Scale the image.
  • the first activation unit is further configured to automatically activate a framing interface having the smallest sequence of all the framing interface numbers in the preset puzzle template as the specified framing interface, and the specified framing interface
  • the preset image is switched to the image that needs to be collected currently; or the first trigger signal used by the user to select the framing interface is received, and the framing interface required by the user is used as the predetermined framing interface according to the first trigger signal, and the The preset image of the specified framing interface is switched to the image currently needed to be acquired.
  • the triggering module further includes: a second activation unit, configured to automatically activate the next framing interface of the specified framing interface number sequence to perform an image after the image capturing operation of the specified framing interface is completed
  • the receiving unit is configured to receive a second trigger signal for the user to perform image acquisition, wherein the second trigger signal is used to indicate that one or more images are selected from the locally stored image and added to the preset puzzle template. In the framing interface that is not activated.
  • the acquiring module is configured to acquire, in an image capturing process of triggering one or more of the framing interfaces in the preset template, a first number of framing interfaces that have already performed image capturing, Comparing the first quantity and the second quantity, wherein the second quantity is the number of the framing interfaces in the other puzzle templates; the marking module is configured to set the second quantity to be smaller than the first quantity according to the comparison result Other puzzle templates are marked, wherein the markers are used to indicate that the puzzle template marked during the current image capture process is not available.
  • a terminal comprising the processing device of the puzzle of any of the above.
  • a computer storage medium which may store execution instructions for performing the method in the above embodiments.
  • the image capturing is performed in a real-time manner through a specified framing interface in the preset jigsaw template during the process of performing the jigsaw, and the jigsaw photo is generated by the preset jigsaw template after the one or more images are collected.
  • the method solves the problem that in the related art, when performing the jigsaw operation of the image, the method of performing the jigsaw operation of the image and then performing the jigsaw operation of the image is difficult to satisfy the user's demand for the jigsaw puzzle, and the user's operation experience is improved by the operation of collecting the jigsaw image in real time. .
  • FIG. 1 is a flow chart of a processing method of a puzzle according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of a processing device for a puzzle according to an embodiment of the present invention
  • FIG. 3 is a block diagram of an optional structure of a processing device for a puzzle according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention
  • FIG. 5 is a block diagram 3 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 4 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a terminal interface layout according to an embodiment of the present invention.
  • FIG. 8 is a flow chart of a method for interacting with a jigsaw puzzle according to an alternative embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a puzzle template enabling detection according to an embodiment of the present invention.
  • Figure 10 is a scaled enlarged view of a framing window in accordance with an alternative embodiment of the present invention.
  • the image capturing is performed by selecting the framing interface in the jigsaw template preset by the terminal during the photographing process, and when the image capturing is performed on the framing interface, the user can view the framing interface according to his own preferences or needs.
  • the image in the framing interface is adaptively adjusted and has reached the user's needs; in the process of image acquisition, the user can select multiple framing interfaces for real-time framing, or select the desired image from the locally stored photos.
  • the puzzle template is saved after the framing interface in the puzzle template meets the user's needs.
  • the present embodiment can perform a real-time image puzzle, and the user can adjust the image that needs the puzzle in the process, which further satisfies the user's needs.
  • FIG. 1 is a flowchart of a method for processing a puzzle according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 triggering a specified framing interface in the preset puzzle template to perform image collection
  • each preset puzzle template has multiple viewing interfaces
  • Step S104 After the image collection is performed by triggering one or more finder interfaces in the preset template, the preset puzzle template is generated to generate a puzzle photo.
  • the image capturing is performed in a real-time manner through a specified framing interface in the preset jigsaw template during the process of performing the jigsaw, and the jigsaw puzzle photo is generated by the preset jigsaw template after the one or more images are collected.
  • the method of performing the jigsaw operation of the image and then performing the jigsaw operation of the image is difficult to satisfy the user's demand for the jigsaw puzzle, and the operation of the jigsaw image is collected in real time, thereby improving the operation of the user.
  • the image capturing is performed in a real-time manner through a specified framing interface in the preset jigsaw template during the process of performing the jigsaw, and the jigsaw puzzle photo is generated by the preset jigsaw template after the one or more images are collected.
  • the method may further include: selecting the most recently used puzzle template, or the default puzzle template as the preset puzzle template, wherein The default puzzle template is the smallest numbered puzzle template in all puzzle templates.
  • the manner of selecting the puzzle template is only to start the default puzzle template of the terminal as the preset puzzle template. After starting the puzzle operation, if the user does not need the default puzzle template, the other puzzle template preset by the terminal can be selected as the current image collection. Puzzle template.
  • the method for triggering the image collection by using the specified framing interface in the preset puzzle template may be implemented by the following steps:
  • Step S11 Activate the interface in the specified framing interface to switch from the preset image to the image that needs to be collected currently;
  • the framing interface of the puzzle template in order to beautify the interface of the puzzle template, generally has a preset image. Therefore, when collecting the image required by the user, it is necessary to switch from the current preset image to the currently acquired image, if the designation is specified. If there is no preset image in the framing interface, you can directly capture the image.
  • Step S12 Perform a predetermined operation on the specified framing interface and/or the current image in the specified framing interface, wherein the predetermined operation comprises: adjusting the size of the specified framing interface and/or the position in the preset template, rotating, dragging, and scaling the image.
  • the predetermined operation of this embodiment is not limited to the above operation, and may be an operation of performing beauty on the current image. That is, the manner of operating the image in the prior art is applicable in this embodiment.
  • a method for activating an interface in a specified framing interface to switch from a preset image to an image currently required to be acquired may be implemented as follows:
  • Method 1 automatically activate the framing interface with the smallest sequence number of all the framing interfaces in the preset puzzle template as the specified framing interface, and switch the preset image of the specified framing interface to the image currently needed to be acquired;
  • Manner 2 The receiving user sets the first trigger signal to select the framing interface, and uses the framing interface required by the user as the specified framing interface according to the first trigger signal, and switches the preset image of the specified framing interface to the image that needs to be collected currently.
  • the first method is a method for selecting a default view interface
  • the second method is to select a viewfinder interface required by the user as the specified view interface by triggering by the user.
  • Method A After the image capturing operation is completed on the specified framing interface, the next framing interface of the specified framing interface number sequence is automatically activated to collect the image;
  • Mode B receiving a second trigger signal for the user to perform image acquisition, wherein the second trigger signal is set to indicate that one or more images are selected from the locally stored images and added to the inactive framing interface in the preset puzzle template.
  • the mode A means that after the current framing operation is completed, the terminal automatically activates the operation of switching to the next framing interface for framing, and the mode B means that the user can perform image collection without taking a photo.
  • Image acquisition can be achieved by selecting one or more images from locally stored images to be added to the inactive view interface in the preset puzzle.
  • the inactive viewfinder interface refers to the viewfinder interface not entering the real-time image capture. Interface.
  • an optional embodiment of the embodiment adopts the following manner, and the manner includes:
  • Step S21 During the image capturing process of triggering one or more finder interfaces in the preset template, acquiring a first number of framing interfaces that have been image capturing, and comparing the first quantity with the second quantity, wherein, the second The number is the number of framing interfaces in other puzzle templates;
  • Step S22 According to the comparison result, the second number of other puzzle templates smaller than the first number are marked, wherein the mark is used to indicate that the bookmark template marked in the current image collection process is unavailable.
  • a processing device for the puzzle is provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
  • the term “module” "unit” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device includes: a triggering module 22 configured to trigger a specified framing interface in a preset jigsaw template to perform image capturing, wherein There are multiple jigsaw templates, and each of the preset jigsaw templates has a plurality of framing interfaces; the generating module 24 is coupled to the triggering module 22, and is configured to perform image capturing after triggering one or more framing interfaces in the preset template.
  • the preset puzzle template generates a puzzle photo.
  • FIG. 3 is a block diagram of an optional structure of a processing device for a puzzle according to an embodiment of the present invention.
  • the device further includes: a selection module 32 coupled to the trigger module 22, and configured to select a puzzle template that is used last time. Or the default puzzle template as a preset puzzle template, wherein the default puzzle template is the lowest numbered puzzle template in all puzzle templates.
  • the triggering module 22 includes: a first activation unit 42 configured to activate an interface in a specified viewing interface by a preset image. Switching to the image that is currently required to be acquired; the execution unit 44 is coupled to the first activation unit 42 and configured to perform a predetermined operation on the current image in the specified framing interface and/or the specified framing interface, wherein the predetermined operation comprises: adjusting the specified framing interface Rotate, drag, and scale the image by size and/or position in the preset template.
  • the first activation unit 42 is further configured to automatically activate the framing interface with the smallest sequence number of the framing interface in the preset puzzle template as the specified framing interface, and switch the preset image of the specified framing interface to the current collection. And receiving the first trigger signal used by the user to select the framing interface, using the framing interface required by the user as the predetermined framing interface according to the first trigger signal, and switching the preset image of the specified framing interface to the image currently required to be acquired.
  • FIG. 5 is a block diagram 3 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention.
  • the triggering module 22 further includes: a second activation unit 52 coupled to the execution unit 44, and configured to be selected at a specified viewing interface. After the image operation is completed, the next framing interface of the specified framing interface number sequence is automatically activated to collect the image; or
  • the receiving unit 54 is coupled to the executing unit 44 and configured to receive a second trigger signal for the user to perform image acquisition, wherein the second trigger signal is used to indicate that one or more selected from the locally stored images are added to the preset puzzle template.
  • Inactive viewfinder interface is coupled to the executing unit 44 and configured to receive a second trigger signal for the user to perform image acquisition, wherein the second trigger signal is used to indicate that one or more selected from the locally stored images are added to the preset puzzle template.
  • FIG. 6 is a block diagram of an optional structure of a processing device for a puzzle according to an embodiment of the present invention.
  • the device further includes: an acquisition module 62 coupled to the trigger module 22, and configured to trigger one of the preset templates. Or the image capturing process of the plurality of framing interfaces, obtaining a first number of framing interfaces that have been image capturing, and comparing the first quantity with the second quantity, wherein the second quantity is the number of framing interfaces in the other puzzle templates;
  • the marking module 64 is coupled to the acquisition module 62 and configured to mark a second number of other puzzle templates smaller than the first number according to the comparison result, wherein the marking is used to indicate that the marked template is not available during the current image acquisition process. .
  • a terminal comprising the processing device of the puzzle piece according to any one of the above.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the method in the foregoing embodiment.
  • the optional embodiment combines a photo taking process with an editing operation, and provides a method for performing a jigsaw photo in a photographing and framing interface; in the method, after the photographing application is started, selecting a puzzle template in the framing interface, Each sub-frame is activated to perform framing and photographing in sequence; when photographing each sub-frame, it can be automatically scaled according to the size of the sub-frame, and various adjustment operations can be performed on the photograph after the shot in real time; Generate a puzzle photo.
  • the manner provided by the optional embodiment is applicable to various types of camera products, such as a smart phone, a camera, a tablet computer, and the like, and a camera application software running thereon.
  • the technical solution of the alternative embodiment includes three major aspects: (1) the basic layout of the jigsaw photo framing interface; (2) the interactive design of the jigsaw photo; (3) the photo saving of the jigsaw photo.
  • the basic layout of the jigsaw photo viewing interface can be implemented as follows:
  • the jigsaw photo taking mode is a subset of the photographing scheme, and can be displayed in the form of a photographing option in various terminal products having a shooting function or a photographing application software running thereon.
  • FIG. 7 is a schematic diagram of the layout of the framing interface according to an alternative embodiment of the present invention, the interface including: a jigsaw template selection and a jigsaw photo interface.
  • the puzzle template selection area different puzzle templates can be slid and selected, and the template can be downloaded and expanded online;
  • the puzzle photo interface is all sub-frames in the illustration, the sub-frame layout of the photo interface and the currently selected puzzle template.
  • the sub-photo layouts are identical, and each sub-frame is independently framing using the camera of the end product.
  • All preset puzzle templates are given numerical numbers from 1, 2, ..., X; each puzzle template contains the number of sub-frames, corresponding to the template number, set to M1, M2, ..., MX; In the puzzle template, the sub-frames are sequentially numbered P1, P2, ..., PM; in the photo of the puzzle, the number of sub-frames that have been filled by the effective photo is N, wherein the valid photo refers to taking a photo or manually Add a photo form and finally fill the photo in the child viewfinder.
  • the sub-frame activation rule in the currently used puzzle template is defined as: no matter which one of the currently activated sub-frames is activated, the next sub-frame that is automatically activated after the photo is taken is always not filled yet. The photo has the smallest number of sub-frames.
  • FIG. 7 is a schematic diagram of a layout of a terminal interface according to an embodiment of the present invention; the flow of the method for interacting with a jigsaw photo in the optional embodiment is described in detail below based on the interface layout shown in FIG. 7, and FIG. 8 is an optional process of the present invention.
  • Step S802 Start a jigsaw photography mode
  • Step S804 Select the default puzzle template; if it is necessary to adjust the puzzle photo at this time, it is known to perform step S816; if not, execute step S806;
  • the default puzzle template is the puzzle template X used when the previous puzzle is taken. If not used, the default is the puzzle template 1;
  • Step S806 displaying a current puzzle template in the framing interface
  • sub-frame P1 can be automatically activated and framing, and the other sub-frames display preset images of the template
  • Step S810 modifying the state of the puzzle template of N>M to prohibit calling;
  • the step is to enable the detection of the puzzle template; for each preset puzzle template, if N is greater than M, the corresponding puzzle template option is grayed out, and the call is prohibited;
  • FIG. 9 is a schematic diagram of the puzzle template enabling detection according to an embodiment of the present invention.
  • Step S812 fills the current framing interface
  • the activated sub-frame preview screen press the shutter to take a photo; after the photo action is completed, the next sub-frame is automatically activated. You can also choose not to take a photo, and choose to add an existing photo from the album directly in the viewfinder window;
  • Replace the puzzle template select a template other than the current puzzle template, confirm the selection and display the changed puzzle template in the viewfinder interface; or select more templates, link to the online download address of the puzzle template, download and expand the installation template;
  • Step S816 adjusting the photo of the puzzle before taking a picture; then performing step S806;
  • Step S818 the jigsaw photo is completed
  • the condition for satisfying the completion of the jigsaw photographing is that the number N of valid photos is detected and the maximum number of photographs M of the currently used jigsaw template is equal, and the jigsaw photograph is completed;
  • Step S820 Select to modify, discard or save the photo from the photo menu, and end the jigsaw photo.
  • the "framing window proportional enlargement" of the above steps is a function option in the jigsaw photographing technical scheme, and the "Jigsaw photo view window automatic enlargement” option can be provided in the photograph setting:
  • the currently activated sub-frame is activated for 3 seconds, then it is automatically scaled up; when the camera is finished, it will be restored for 2 seconds, and the currently activated viewfinder will be restored.
  • the original size automatically activates the next child viewfinder.
  • FIG. 10 is a schematic enlarged view of a framing window according to an alternative embodiment of the present invention.
  • the sub-frame P3 is taken as an example to illustrate the process of scaling up the framing window P3, and the framing window is enlarged in proportion to FIG.
  • P2 is filled
  • P3 is activated and framing, and is automatically or manually scaled up.
  • P3 is filled, it is restored to its original size and the next finder frame P4 is activated.
  • the "Jumpography Photo View Window Auto Zoom" option is enabled. The only effect on the process is whether to automatically enlarge the activated sub-frame. The description is no longer separated here.
  • the high quality puzzle mode can be selected, wherein the post-spliced photo is not compressed, or the general quality puzzle mode, in which the post-splicing photo is compressed; all the sub-photographs in the jigsaw photo process are saved in the original image by default in the terminal form.
  • the photos are stored in the same subdirectory under the directory, named after a uniform rule.
  • Step S1 triggering a specified framing interface in the storage medium preset puzzle template to perform image collection
  • Step S2 After the image collection is performed by triggering one or more finder interfaces in the preset template, the preset puzzle template is generated to generate a puzzle photo.
  • the storage medium may be a ROM/RAM, a magnetic disk, an optical disk, or the like.
  • the processor executes, according to the stored program code in the storage medium, a framing interface that automatically activates all the framing interface number sequences in the preset puzzle template as the specified framing interface, and specifies the framing interface.
  • a framing interface that automatically activates all the framing interface number sequences in the preset puzzle template as the specified framing interface, and specifies the framing interface.
  • the processor performs, according to the stored program code in the storage medium, the first trigger signal used by the user to select the framing interface, and the framing interface required by the user is used as the specified framing interface according to the first trigger signal. And switch the preset image of the specified framing interface to the image that needs to be acquired currently.
  • the post-shooting puzzle scheme in the related art may be solved, and the user may repeatedly take a photo and replace the photo because the preview effect cannot be previewed in advance.
  • the related puzzle scheme is solved.
  • the sub-picture is edited, the sub-picture size is too small, which is caused by the inconvenience; the jigsaw template enables the detection and avoids the user error.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the above-mentioned embodiments and the preferred embodiments solve the problem that in the related art, when performing the jigsaw operation of the image, the method of performing the jigsaw operation of the image and then performing the jigsaw operation of the image is difficult to satisfy the user's demand for the jigsaw.
  • the operation of the puzzle image improves the user's operating experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

Provided are a processing method and device for image splicing. The method comprises: triggering a specified framing interface in a preset image splicing template to implement image collection, wherein there are multiple preset image splicing templates and each preset image splicing template has multiple framing interfaces; and after one or more framing interfaces in the preset template are triggered to implement image collection, generating an image spliced picture according to the preset image splicing template. Therefore, the problem in the related art that the image splicing requirements of users can hardly be satisfied because image splicing is performed after shooting during the image splicing operation is solved, and the images to be spliced are collected in real time, so the user experience is improved.

Description

拼图的处理方法及装置Puzzle processing method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种拼图的处理方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for processing a puzzle.
背景技术Background technique
随着科技的发展,智能终端的功能不仅仅是能实现日常的通信,还能满足人们日常生活中的工作、娱乐、学习等需求,随着这些需求的日益增加,人们对智能终端要求也越来越来高,如:通话不仅限于语音通话、购物不仅仅是在网上购物还要能线下购物,线上支付、拍照不仅仅是简单的拍照,还需要各种各样对图片的美化等等。With the development of technology, the function of intelligent terminals is not only to achieve daily communication, but also to meet the needs of people's daily work, entertainment, learning, etc. With the increasing demand, the more people demand smart terminals. More and more, such as: calls are not limited to voice calls, shopping is not only online shopping, but also offline shopping, online payment, taking pictures is not just a simple photo, but also a variety of picture beautification, etc. Wait.
而针对于用户群体经常进行的拼图操作,通常都是在选择拼图模版后,然后添加照片,该方式首先需要使用照相机或其它拍照工具拍摄数张照片,或者使用已有照片;然后用户需要启动拼图应用(第三方应用,或者在部分终端产品的相册编辑功能中集成),用户在选择拼图模板后,进入相册选择多张照片,自动生成拼图,再对每个模板中的每张图片进行旋转、缩放、拖动、替换等调整,以符合个人期望或达到美观的目的,但是这种方式可能因拍照时取景角度、主体大小等因素,导致照片添加到模板后才发现怎么调整都满足不了用户的需求,进而可能需要用户反复取景拍照来替换照片。For the puzzle operations that are often performed by the user community, it is usually after selecting the puzzle template, and then adding photos. This method first needs to take several photos using a camera or other camera tool, or use existing photos; then the user needs to start the puzzle. Application (third-party application, or integrated in the album editing function of some terminal products), after selecting the puzzle template, the user enters the album to select multiple photos, automatically generates puzzles, and then rotates each image in each template. Zoom, drag, replace, etc. to meet personal expectations or achieve aesthetics, but this method may cause factors such as the angle of view and the size of the subject when taking pictures, so that after the photos are added to the template, it is found that the adjustment can not satisfy the user. The demand, in turn, may require the user to take a picture of the scene repeatedly to replace the photo.
而在相关技术的另一种方式中,使用第三方编辑软件进行拼图的操作,例如,POCO相机在拍照功能中引入了拼图拍照的概念,在拍照取景界面允许用户最大连拍8张照片(或手动选择添加相册照片,再选择拼图模版合成拼图,实际上仍然是拍照完毕后再拼图;但该方式对某个子图进行编辑操作时,会因为子图尺寸过小,导致操作上不太方便。In another mode of the related art, the third-party editing software is used to perform the operation of the puzzle. For example, the POCO camera introduces the concept of jigsaw photography in the photographing function, and allows the user to take a maximum of 8 photos in the photographing and viewing interface (or Manually select to add photo album photos, and then select the puzzle template to synthesize the puzzle. In fact, it is still the puzzle after the photo is finished. However, when the method is used to edit a sub-picture, the sub-picture size is too small, which makes the operation less convenient.
针对相关技术中在进行图像的拼图操作时,采用先进行拍照再进行图像的拼图操作的方式难以满足用户对拼图需求的问题,目前尚未提出有效的解决方案。For the jigsaw operation of the image in the related art, it is difficult to satisfy the user's demand for the puzzle by adopting the method of taking the photo and then performing the jigsaw operation of the image. Currently, an effective solution has not been proposed.
发明内容Summary of the invention
本发明的主要目的在于提供一种拼图的处理方法及装置,以至少解决相关技术中在进行图像的拼图操作时,采用先进行拍照再进行图像的拼图操作的方式难以满足用户对拼图需求的问题。 The main object of the present invention is to provide a method and a device for processing a puzzle, so as to at least solve the problem that the user needs to perform the puzzle operation of the image in the manner of performing the image puzzle operation in the related art. .
根据本发明的一个方面,提供了一种拼图的处理方法,包括:触发预设拼图模板中的指定取景界面进行图像采集,其中,所述预设拼图模板有多个,每一个所述预设拼图模板中有多个所述取景界面;在触发所述预设模板中的一个或多个所述取景界面进行图像采集之后,将所述预设拼图模板生成拼图照片。According to an aspect of the present invention, a method for processing a puzzle is provided, comprising: triggering a specified framing interface in a preset puzzle template to perform image collection, wherein the preset puzzle template has multiple, each of the presets There are a plurality of the framing interfaces in the puzzle template; after the image capture is performed by triggering one or more of the finder interfaces in the preset template, the preset puzzle template is generated into a puzzle photo.
在本发明实施例中,触发预设拼图模板中的指定取景界面进行图像的采集包括:激活所述指定取景界面中的界面由预设图像切换到当前需要采集的图像;对所述指定取景界面和/或所述指定取景界面中当前图像执行预定操作,其中,所述预定操作包括:调整所述指定取景界面的大小和/或在所述预设模板中的位置,旋转、拖曳以及缩放所述图像。In the embodiment of the present invention, triggering the specified framing interface in the preset jigsaw template to perform image acquisition includes: activating an interface in the specified framing interface to switch from a preset image to an image currently required to be acquired; and the specified framing interface And/or performing a predetermined operation on the current image in the specified framing interface, wherein the predetermined operation comprises: adjusting a size of the specified framing interface and/or a position in the preset template, rotating, dragging, and zooming Said image.
在本发明实施例中,激活所述指定取景界面中的界面由预设图像切换到当前需要采集的图像包括:自动激活所述预设拼图模板中所有取景界面编号顺序最小的取景界面作为所述指定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像;或,接收用户用于选择取景界面的第一触发信号,依据所述第一触发信号将用户需要的取景界面作为所述指定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像。In the embodiment of the present invention, the activation of the interface in the specified framing interface by the preset image to the current image to be acquired includes: automatically activating the framing interface with the smallest sequence of all the framing interfaces in the preset puzzle template as the Specifying a framing interface, and switching the preset image of the specified framing interface to the image that needs to be collected currently; or receiving a first trigger signal used by the user to select the framing interface, and framing the user according to the first trigger signal The interface serves as the specified framing interface, and switches the preset image of the specified framing interface to an image that needs to be collected currently.
在本发明实施例中,触发所述预设模板中的一个或多个所述取景界面进行图像采集,包括:在所述指定取景界面采集图像操作完成之后,自动激活所述指定取景界面编号顺序的下一个取景界面进行图像的采集;或接收用户进行图像采集的第二触发信号,其中,所述第二触发信号用于指示从本地存储的图像中选择一个或多个图像添加到所述预设拼图模板中未激活的取景界面中。In the embodiment of the present invention, triggering one or more of the framing interfaces in the preset template to perform image collection, including: automatically activating the specified framing interface number sequence after the image capturing operation of the specified framing interface is completed Receiving an image of the next viewing interface; or receiving a second trigger signal for image acquisition by the user, wherein the second trigger signal is used to indicate that one or more images are selected from the locally stored image to be added to the preview Set the framing interface that is not activated in the puzzle template.
在本发明实施例中,在触发所述预设模板中的一个或多个所述取景界面进行图像采集过程中,获取当前已经进行过图像采集的取景界面的第一数量,比较所述第一数量与第二数量,其中,所述第二数量为其他拼图模板中取景界面的数量;依据比较结果,将所述第二数量小于所述第一数量的其他拼图模板进行标记,其中,所述标记用于指示在当前图像采集过程中被标记的拼图模板不可用。In the embodiment of the present invention, in the image capturing process of triggering one or more of the framing interfaces in the preset template, acquiring a first number of framing interfaces that have been image capturing, and comparing the first The quantity and the second quantity, wherein the second quantity is the number of the framing interfaces in the other puzzle templates; according to the comparison result, marking the second number of other puzzle templates smaller than the first quantity, wherein the The marker is used to indicate that the puzzle template marked during the current image acquisition process is not available.
根据本发明的另一个方面,提供了一种拼图的处理装置,包括:触发模块,设置为触发预设拼图模板中的指定取景界面进行图像采集,其中,所述预设拼图模板有多个,每一个所述预设拼图模板中有多个所述取景界面;生成模块,设置为在触发所述预设模板中的一个或多个所述取景界面进行图像采集之后,将所述预设拼图模板生成拼图照片。 According to another aspect of the present invention, a processing device for a puzzle is provided, including: a triggering module, configured to trigger a specified framing interface in a preset puzzle template to perform image collection, wherein the preset puzzle template has multiple Each of the preset puzzle templates has a plurality of the framing interfaces; and the generating module is configured to: after triggering one or more of the framing interfaces in the preset templates to perform image collection, the preset puzzles The template generates a puzzle photo.
在本发明实施例中,所述触发模块包括:第一激活单元,设置为激活所述指定取景界面中的界面由预设图像切换到当前需要采集的图像;执行单元,设置为对所述指定取景界面和/或所述指定取景界面中当前图像执行预定操作,其中,所述预定操作包括:调整所述指定取景界面的大小和/或在所述预设模板中的位置,旋转、拖曳以及缩放所述图像。In the embodiment of the present invention, the triggering module includes: a first activation unit, configured to activate an interface in the specified framing interface to switch from a preset image to an image that needs to be collected currently; and an execution unit configured to specify the Performing a predetermined operation on the current image in the framing interface and/or the specified framing interface, wherein the predetermined operation comprises: adjusting a size of the specified framing interface and/or a position in the preset template, rotating, dragging, and Scale the image.
在本发明实施例中,所述第一激活单元还设置为,自动激活所述预设拼图模板中所有取景界面编号顺序最小的取景界面作为所述指定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像;或,接收用户用于选择取景界面的第一触发信号,依据所述第一触发信号将用户需要的取景界面作为所述预定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像。In the embodiment of the present invention, the first activation unit is further configured to automatically activate a framing interface having the smallest sequence of all the framing interface numbers in the preset puzzle template as the specified framing interface, and the specified framing interface The preset image is switched to the image that needs to be collected currently; or the first trigger signal used by the user to select the framing interface is received, and the framing interface required by the user is used as the predetermined framing interface according to the first trigger signal, and the The preset image of the specified framing interface is switched to the image currently needed to be acquired.
在本发明实施例中,所述触发模块还包括:第二激活单元,设置为在所述指定取景界面采集图像操作完成之后,自动激活所述指定取景界面编号顺序的下一个取景界面进行图像的采集;或接收单元,设置为接收用户进行图像采集的第二触发信号,其中,所述第二触发信号用于指示从本地存储的图像中选择一个或多个图像添加到所述预设拼图模板中未激活的取景界面中。In the embodiment of the present invention, the triggering module further includes: a second activation unit, configured to automatically activate the next framing interface of the specified framing interface number sequence to perform an image after the image capturing operation of the specified framing interface is completed The receiving unit is configured to receive a second trigger signal for the user to perform image acquisition, wherein the second trigger signal is used to indicate that one or more images are selected from the locally stored image and added to the preset puzzle template. In the framing interface that is not activated.
在本发明实施例中,获取模块,设置为在触发所述预设模板中的一个或多个所述取景界面进行图像采集过程中,获取当前已经进行过图像采集的取景界面的第一数量,比较所述第一数量与第二数量,其中,所述第二数量为其他拼图模板中取景界面的数量;标记模块,设置为依据比较结果,将所述第二数量小于所述第一数量的其他拼图模板进行标记,其中,所述标记用于指示在当前图像采集过程中被标记的拼图模板不可用。In the embodiment of the present invention, the acquiring module is configured to acquire, in an image capturing process of triggering one or more of the framing interfaces in the preset template, a first number of framing interfaces that have already performed image capturing, Comparing the first quantity and the second quantity, wherein the second quantity is the number of the framing interfaces in the other puzzle templates; the marking module is configured to set the second quantity to be smaller than the first quantity according to the comparison result Other puzzle templates are marked, wherein the markers are used to indicate that the puzzle template marked during the current image capture process is not available.
根据本发明的还一方面,提供了一种终端,包括上述任一项所述的拼图的处理装置。According to still another aspect of the present invention, a terminal, comprising the processing device of the puzzle of any of the above, is provided.
根据本发明的再一方面,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的方法。According to still another aspect of the present invention, there is also provided a computer storage medium, which may store execution instructions for performing the method in the above embodiments.
通过本发明实施例,采用在进行拼图过程中可以实时的通过预设拼图模板中的指定取景界面进行图像的采集,在进行一次或多次图像的采集之后将该预设拼图模板生成拼图照片的方式,解决了相关技术中在进行图像的拼图操作时,采用先进行拍照再进行图像的拼图操作的方式难以满足用户对拼图需求的问题,通过实时采集拼图图像的操作,提高了用户的操作体验。 According to the embodiment of the present invention, the image capturing is performed in a real-time manner through a specified framing interface in the preset jigsaw template during the process of performing the jigsaw, and the jigsaw photo is generated by the preset jigsaw template after the one or more images are collected. The method solves the problem that in the related art, when performing the jigsaw operation of the image, the method of performing the jigsaw operation of the image and then performing the jigsaw operation of the image is difficult to satisfy the user's demand for the jigsaw puzzle, and the user's operation experience is improved by the operation of collecting the jigsaw image in real time. .
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例拼图的处理方法流程图;1 is a flow chart of a processing method of a puzzle according to an embodiment of the present invention;
图2是根据本发明实施例的拼图的处理装置结构框图;2 is a block diagram showing the structure of a processing device for a puzzle according to an embodiment of the present invention;
图3是根据本发明实施例的拼图的处理装置可选结构框图一;3 is a block diagram of an optional structure of a processing device for a puzzle according to an embodiment of the present invention;
图4是根据本发明实施例的拼图的处理装置可选结构框图二;4 is a block diagram 2 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention;
图5是根据本发明实施例的拼图的处理装置可选结构框图三;5 is a block diagram 3 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention;
图6是根据本发明实施例的拼图的处理装置可选结构框图四;6 is a block diagram 4 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention;
图7是根据本发明实施例的终端界面布局示意图;FIG. 7 is a schematic diagram of a terminal interface layout according to an embodiment of the present invention; FIG.
图8是本发明可选实施例的拼图拍照交互方法流程图;8 is a flow chart of a method for interacting with a jigsaw puzzle according to an alternative embodiment of the present invention;
图9是根据本发明实施例的拼图模版使能检测示意图;9 is a schematic diagram of a puzzle template enabling detection according to an embodiment of the present invention;
图10是根据本发明可选实施例的取景窗口等比例放大示意图。Figure 10 is a scaled enlarged view of a framing window in accordance with an alternative embodiment of the present invention.
具体实施方式detailed description
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
功能概述:Functional Overview:
在本发明实施例中通过在拍照的过程中,选择终端已预设的拼图模板中的取景界面进行图像的采集,在取景界面进行图像采集时,用户可以根据自己的喜好或需求对取景界面和该取景界面中的图像进行适应性的调整,已到达用户的需求;在图像采集的过程中,用户可以选择多个取景界面进行实时的取景,也可以从本地存储的照片中选择需要的图像添加到取景界面中,在拼图模板中的取景界面满足用户需求之后保存该拼图模板。由上述过程中,本实施例可以进行实时图像的拼图,用户在该过程中可以对需要拼图的图像进行调整,该方式进一步满足了用户的需求。 In the embodiment of the present invention, the image capturing is performed by selecting the framing interface in the jigsaw template preset by the terminal during the photographing process, and when the image capturing is performed on the framing interface, the user can view the framing interface according to his own preferences or needs. The image in the framing interface is adaptively adjusted and has reached the user's needs; in the process of image acquisition, the user can select multiple framing interfaces for real-time framing, or select the desired image from the locally stored photos. In the framing interface, the puzzle template is saved after the framing interface in the puzzle template meets the user's needs. In the above process, the present embodiment can perform a real-time image puzzle, and the user can adjust the image that needs the puzzle in the process, which further satisfies the user's needs.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, may differ from this The steps shown are performed in the order shown or described.
本实施例提供了一种拼图的处理方法,图1是根据本发明实施例拼图的处理方法流程图,如图1所示,该方法包括如下步骤:The embodiment provides a method for processing a puzzle. FIG. 1 is a flowchart of a method for processing a puzzle according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S102:触发预设拼图模板中的指定取景界面进行图像采集;Step S102: triggering a specified framing interface in the preset puzzle template to perform image collection;
其中,预设拼图模板有多个,每一个预设拼图模板中有多个取景界面;Wherein, there are multiple preset puzzle templates, and each preset puzzle template has multiple viewing interfaces;
步骤S104:在触发预设模板中的一个或多个取景界面进行图像采集之后,将预设拼图模板生成拼图照片。Step S104: After the image collection is performed by triggering one or more finder interfaces in the preset template, the preset puzzle template is generated to generate a puzzle photo.
在本实施例中,采用了在进行拼图过程中可以实时的通过预设拼图模板中的指定取景界面进行图像的采集,在进行一次或多次图像的采集之后将该预设拼图模板生成拼图照片的方式,解决了相关技术中在进行图像的拼图操作时,采用先进行拍照再进行图像的拼图操作的方式难以满足用户对拼图需求的问题,通过实时采集拼图图像的操作,提高了用户的操作体验。In this embodiment, the image capturing is performed in a real-time manner through a specified framing interface in the preset jigsaw template during the process of performing the jigsaw, and the jigsaw puzzle photo is generated by the preset jigsaw template after the one or more images are collected. In the related art, when the image jigsaw operation is performed in the related art, the method of performing the jigsaw operation of the image and then performing the jigsaw operation of the image is difficult to satisfy the user's demand for the jigsaw puzzle, and the operation of the jigsaw image is collected in real time, thereby improving the operation of the user. Experience.
而在本实施例上述步骤S102在触发预设拼图模板中的指定取景界面进行图像的采集之前,还可以包括:选择最近一次使用的拼图模板,或默认的拼图模板作为预设拼图模板,其中,默认的拼图模板为所有拼图模板中编号顺序最小的拼图模板。Before the step S102 of the embodiment is used to trigger the image capture of the specified finder interface in the preset puzzle template, the method may further include: selecting the most recently used puzzle template, or the default puzzle template as the preset puzzle template, wherein The default puzzle template is the smallest numbered puzzle template in all puzzle templates.
上述选择拼图模板的方式仅仅是启动终端默认的拼图模板作为预设拼图模板,在启动进行拼图操作之后,用户如果不需要默认的拼图模板,可以选择终端预设的其他拼图模板作为当前进行图像采集的拼图模板。The manner of selecting the puzzle template is only to start the default puzzle template of the terminal as the preset puzzle template. After starting the puzzle operation, if the user does not need the default puzzle template, the other puzzle template preset by the terminal can be selected as the current image collection. Puzzle template.
而在本实施例的一个可选实施方式中涉及到触发预设拼图模板中的指定取景界面进行图像的采集的方式,可以通过如下步骤来实现:In an optional implementation manner of this embodiment, the method for triggering the image collection by using the specified framing interface in the preset puzzle template may be implemented by the following steps:
步骤S11:激活指定取景界面中的界面由预设图像切换到当前需要采集的图像;Step S11: Activate the interface in the specified framing interface to switch from the preset image to the image that needs to be collected currently;
需要说明的是,为了美化拼图模板的界面,该拼图模板的取景界面一般都会有预设图像,因此,在采集用户需要的图像时需要由当前预设的图像切换到当前采集图像,如果该指定取景界面没有预设图像,则可以直接进行图像的采集。 It should be noted that, in order to beautify the interface of the puzzle template, the framing interface of the puzzle template generally has a preset image. Therefore, when collecting the image required by the user, it is necessary to switch from the current preset image to the currently acquired image, if the designation is specified. If there is no preset image in the framing interface, you can directly capture the image.
步骤S12:对指定取景界面和/或指定取景界面中当前图像执行预定操作,其中,预定操作包括:调整指定取景界面的大小和/或在预设模板中的位置,旋转、拖曳以及缩放图像。Step S12: Perform a predetermined operation on the specified framing interface and/or the current image in the specified framing interface, wherein the predetermined operation comprises: adjusting the size of the specified framing interface and/or the position in the preset template, rotating, dragging, and scaling the image.
需要说明的是,本实施例的预定操作并不仅仅限于上述操作,还可以是对当前图像进行美颜的操作。即现有技术中对图像操作的方式在本实施例中都是可以应用的。It should be noted that the predetermined operation of this embodiment is not limited to the above operation, and may be an operation of performing beauty on the current image. That is, the manner of operating the image in the prior art is applicable in this embodiment.
此外,在本实施例的另一个实施方式中涉及到激活指定取景界面中的界面由预设图像切换到当前需要采集的图像的方式,可以通过如下方式来实现:In addition, in another embodiment of the present embodiment, a method for activating an interface in a specified framing interface to switch from a preset image to an image currently required to be acquired may be implemented as follows:
方式一:自动激活预设拼图模板中所有取景界面编号顺序最小的取景界面作为指定取景界面,并将指定取景界面的预设图像切换到当前需要采集的图像;Method 1: automatically activate the framing interface with the smallest sequence number of all the framing interfaces in the preset puzzle template as the specified framing interface, and switch the preset image of the specified framing interface to the image currently needed to be acquired;
方式二:接收用户设置为选择取景界面的第一触发信号,依据第一触发信号将用户需要的取景界面作为指定取景界面,并将指定取景界面的预设图像切换到当前需要采集的图像。Manner 2: The receiving user sets the first trigger signal to select the framing interface, and uses the framing interface required by the user as the specified framing interface according to the first trigger signal, and switches the preset image of the specified framing interface to the image that needs to be collected currently.
需要说明的是,上述方式一是一种选择默认取景界面的方式,而方式二则是可以通过用户的触发,选择用户需要的取景界面作为该指定取景界面。It should be noted that the first method is a method for selecting a default view interface, and the second method is to select a viewfinder interface required by the user as the specified view interface by triggering by the user.
对于本实施例涉及的触发预设模板中的一个或多个取景界面进行图像采集,在本实施例的又一个可选实施例方式中可以通过如下方式来实现:For the image collection of one or more framing interfaces in the triggering preset template of the embodiment, in another optional embodiment manner of this embodiment, the following manner can be implemented:
方式A:在指定取景界面采集图像操作完成之后,自动激活指定取景界面编号顺序的下一个取景界面进行图像的采集;Method A: After the image capturing operation is completed on the specified framing interface, the next framing interface of the specified framing interface number sequence is automatically activated to collect the image;
方式B:接收用户进行图像采集的第二触发信号,其中,第二触发信号设置为指示从本地存储的图像中选择一个或多个图像添加到预设拼图模板中未激活的取景界面中。Mode B: receiving a second trigger signal for the user to perform image acquisition, wherein the second trigger signal is set to indicate that one or more images are selected from the locally stored images and added to the inactive framing interface in the preset puzzle template.
需要说明的是,方式A是指在当前取景操作完成之后,终端会自动激活切换到下一个取景界面进行取景的操作,而方式B则是指用户可以不用通过拍照的方式进行图像的采集,而可以通过从本地存储的图像中选择一个或多个图像添加到该预设拼图中未激活的取景界面中从而实现图像的采集,该未激活的取景界面指的是取景界面没有进入到实时图像采集的界面。It should be noted that the mode A means that after the current framing operation is completed, the terminal automatically activates the operation of switching to the next framing interface for framing, and the mode B means that the user can perform image collection without taking a photo. Image acquisition can be achieved by selecting one or more images from locally stored images to be added to the inactive view interface in the preset puzzle. The inactive viewfinder interface refers to the viewfinder interface not entering the real-time image capture. Interface.
此外,在本实施例中为了能够满足用户在图像采集的过程中进行更方便的进行拼图模板的切换,本实施例的一个可选实施方式中采用了如下方式,该方式包括: In addition, in this embodiment, in order to enable the user to perform the switching of the puzzle template more conveniently in the process of image collection, an optional embodiment of the embodiment adopts the following manner, and the manner includes:
步骤S21:在触发预设模板中的一个或多个取景界面进行图像采集过程中,获取当前已经进行过图像采集的取景界面的第一数量,比较第一数量与第二数量,其中,第二数量为其他拼图模板中取景界面的数量;Step S21: During the image capturing process of triggering one or more finder interfaces in the preset template, acquiring a first number of framing interfaces that have been image capturing, and comparing the first quantity with the second quantity, wherein, the second The number is the number of framing interfaces in other puzzle templates;
步骤S22:依据比较结果,将第二数量小于第一数量的其他拼图模板进行标记,其中,标记用于指示在当前图像采集过程中被标记的拼图模板不可用。Step S22: According to the comparison result, the second number of other puzzle templates smaller than the first number are marked, wherein the mark is used to indicate that the bookmark template marked in the current image collection process is unavailable.
在本实施例中还提供了一种拼图的处理装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a processing device for the puzzle is provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again. As used below, the term "module" "unit" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的拼图的处理装置结构框图,如图2所示,该装置包括:触发模块22,设置为触发预设拼图模板中的指定取景界面进行图像采集,其中,预设拼图模板有多个,每一个预设拼图模板中有多个取景界面;生成模块24与触发模块22耦合连接,设置为在触发预设模板中的一个或多个取景界面进行图像采集之后,将预设拼图模板生成拼图照片。2 is a structural block diagram of a processing device for a jigsaw according to an embodiment of the present invention. As shown in FIG. 2, the device includes: a triggering module 22 configured to trigger a specified framing interface in a preset jigsaw template to perform image capturing, wherein There are multiple jigsaw templates, and each of the preset jigsaw templates has a plurality of framing interfaces; the generating module 24 is coupled to the triggering module 22, and is configured to perform image capturing after triggering one or more framing interfaces in the preset template. The preset puzzle template generates a puzzle photo.
图3是根据本发明实施例的拼图的处理装置可选结构框图一,如图3所示,该装置还包括:选择模块32与触发模块22耦合连接,设置为选择最近一次使用的拼图模板,或默认的拼图模板作为预设拼图模板,其中,默认的拼图模板为所有拼图模板中编号顺序最小的拼图模板。FIG. 3 is a block diagram of an optional structure of a processing device for a puzzle according to an embodiment of the present invention. As shown in FIG. 3, the device further includes: a selection module 32 coupled to the trigger module 22, and configured to select a puzzle template that is used last time. Or the default puzzle template as a preset puzzle template, wherein the default puzzle template is the lowest numbered puzzle template in all puzzle templates.
图4是根据本发明实施例的拼图的处理装置可选结构框图二,如图4所示,该触发模块22包括:第一激活单元42,设置为激活指定取景界面中的界面由预设图像切换到当前需要采集的图像;执行单元44与第一激活单元42耦合连接,设置为对指定取景界面和/或指定取景界面中当前图像执行预定操作,其中,预定操作包括:调整指定取景界面的大小和/或在预设模板中的位置,旋转、拖曳以及缩放图像。4 is a block diagram of an optional structure of a processing device for a puzzle according to an embodiment of the present invention. As shown in FIG. 4, the triggering module 22 includes: a first activation unit 42 configured to activate an interface in a specified viewing interface by a preset image. Switching to the image that is currently required to be acquired; the execution unit 44 is coupled to the first activation unit 42 and configured to perform a predetermined operation on the current image in the specified framing interface and/or the specified framing interface, wherein the predetermined operation comprises: adjusting the specified framing interface Rotate, drag, and scale the image by size and/or position in the preset template.
可选地,该第一激活单元42还设置为,自动激活预设拼图模板中所有取景界面编号顺序最小的取景界面作为指定取景界面,并将指定取景界面的预设图像切换到当前需要采集的图像;或,接收用户用于选择取景界面的第一触发信号,依据第一触发信号将用户需要的取景界面作为预定取景界面,并将指定取景界面的预设图像切换到当前需要采集的图像。Optionally, the first activation unit 42 is further configured to automatically activate the framing interface with the smallest sequence number of the framing interface in the preset puzzle template as the specified framing interface, and switch the preset image of the specified framing interface to the current collection. And receiving the first trigger signal used by the user to select the framing interface, using the framing interface required by the user as the predetermined framing interface according to the first trigger signal, and switching the preset image of the specified framing interface to the image currently required to be acquired.
图5是根据本发明实施例的拼图的处理装置可选结构框图三,如图5所示,触发模块22还包括:第二激活单元52与执行单元44耦合连接,设置为在指定取景界面采 集图像操作完成之后,自动激活指定取景界面编号顺序的下一个取景界面进行图像的采集;或FIG. 5 is a block diagram 3 of an optional structure of a processing device for a puzzle according to an embodiment of the present invention. As shown in FIG. 5, the triggering module 22 further includes: a second activation unit 52 coupled to the execution unit 44, and configured to be selected at a specified viewing interface. After the image operation is completed, the next framing interface of the specified framing interface number sequence is automatically activated to collect the image; or
接收单元54与执行单元44耦合连接,设置为接收用户进行图像采集的第二触发信号,其中,第二触发信号用于指示从本地存储的图像中选择一个或多个添加到预设拼图模板中未激活的取景界面中。The receiving unit 54 is coupled to the executing unit 44 and configured to receive a second trigger signal for the user to perform image acquisition, wherein the second trigger signal is used to indicate that one or more selected from the locally stored images are added to the preset puzzle template. Inactive viewfinder interface.
图6是根据本发明实施例的拼图的处理装置可选结构框图四,如图6所示,该装置还包括:获取模块62与触发模块22耦合连接,设置为在触发预设模板中的一个或多个取景界面进行图像采集过程中,获取当前已经进行过图像采集的取景界面的第一数量,比较第一数量与第二数量,其中,第二数量为其他拼图模板中取景界面的数量;标记模块64与获取模块62耦合连接,设置为依据比较结果,将第二数量小于第一数量的其他拼图模板进行标记,其中,标记用于指示在当前图像采集过程中被标记的拼图模板不可用。FIG. 6 is a block diagram of an optional structure of a processing device for a puzzle according to an embodiment of the present invention. As shown in FIG. 6, the device further includes: an acquisition module 62 coupled to the trigger module 22, and configured to trigger one of the preset templates. Or the image capturing process of the plurality of framing interfaces, obtaining a first number of framing interfaces that have been image capturing, and comparing the first quantity with the second quantity, wherein the second quantity is the number of framing interfaces in the other puzzle templates; The marking module 64 is coupled to the acquisition module 62 and configured to mark a second number of other puzzle templates smaller than the first number according to the comparison result, wherein the marking is used to indicate that the marked template is not available during the current image acquisition process. .
在本发明实施例中,还提供了一种终端,包括上述任一项所述的拼图的处理装置。In the embodiment of the present invention, there is also provided a terminal, comprising the processing device of the puzzle piece according to any one of the above.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the method in the foregoing embodiment.
下面结合本发明可选实施例对本发明实施实例进行详细的说明;The embodiments of the present invention are described in detail below in conjunction with the optional embodiments of the present invention;
本可选实施例将照片拍照过程与编辑操作相结合,提供了一种在拍照取景界面进行拼图拍照的方法;在该方法中,拍照应用启动后,在取景界面选择拼图模板,将模板中的各个子取景框依次激活进行取景和拍照;在各个子取景框拍照时,可以根据子取景框大小自动等比例放大显示,可以实时对拍后的照片进行多种调整操作;拼图拍照完毕后,即时生成拼图照片。The optional embodiment combines a photo taking process with an editing operation, and provides a method for performing a jigsaw photo in a photographing and framing interface; in the method, after the photographing application is started, selecting a puzzle template in the framing interface, Each sub-frame is activated to perform framing and photographing in sequence; when photographing each sub-frame, it can be automatically scaled according to the size of the sub-frame, and various adjustment operations can be performed on the photograph after the shot in real time; Generate a puzzle photo.
需要说明的是,本可选实施例所提供的方式适用于智能手机、照相机、平板电脑等各类有拍照功能的终端产品及运行其上的拍照类应用软件。It should be noted that the manner provided by the optional embodiment is applicable to various types of camera products, such as a smart phone, a camera, a tablet computer, and the like, and a camera application software running thereon.
本可选实施例的技术方案包括三个大的方面:(1)拼图拍照取景界面的基本布局;(2)拼图拍照的交互设计;(3)拼图拍照的照片保存。The technical solution of the alternative embodiment includes three major aspects: (1) the basic layout of the jigsaw photo framing interface; (2) the interactive design of the jigsaw photo; (3) the photo saving of the jigsaw photo.
其中,拼图拍照取景界面的基本布局可以通过如下方式来实现:The basic layout of the jigsaw photo viewing interface can be implemented as follows:
拼图拍照方式是拍照类方案的一个子集,可以以一种拍照选项的形式出现在各类有拍功能的终端产品或及运行其上的拍照类应用软件中。 The jigsaw photo taking mode is a subset of the photographing scheme, and can be displayed in the form of a photographing option in various terminal products having a shooting function or a photographing application software running thereon.
以智能手机产品为例,拼图拍照启动后取景界面的基本布局见图7,图7是根据本发明可选实施例的取景界面的布局示意图,该界面包括:拼图模板选择和拼图拍照界面。其中,在拼图模板选择区域,可以滑动选择不同的拼图模板,并可进行模板在线下载扩展;拼图拍照界面即图示中所有子取景框区域,拍照界面的子取景框布局与当前选择的拼图模板子照片布局完全相同,每个子取景框使用终端产品的摄像头进行独立取景。Taking the smart phone product as an example, the basic layout of the framing interface after the start of the jigsaw photography is shown in FIG. 7. FIG. 7 is a schematic diagram of the layout of the framing interface according to an alternative embodiment of the present invention, the interface including: a jigsaw template selection and a jigsaw photo interface. In the puzzle template selection area, different puzzle templates can be slid and selected, and the template can be downloaded and expanded online; the puzzle photo interface is all sub-frames in the illustration, the sub-frame layout of the photo interface and the currently selected puzzle template. The sub-photo layouts are identical, and each sub-frame is independently framing using the camera of the end product.
拼图拍照在取景界面的交互流程通过如下方式来实现:The interaction process of the jigsaw photo in the viewfinder interface is implemented as follows:
对所有预置拼图模版赋予数字编号从1、2、……、X;每个拼图模版中含有子取景框的数量信息,与模版编号相对应,设为M1、M2、……、MX;每个拼图模版中,对子取景框依次编号P1、P2、……、PM;当次拼图拍照中,已经被有效照片填充的子取景框数量计数器为N,其中,有效照片,指通过拍照或手动添加照片形式,最终填充在子取景框中的照片。All preset puzzle templates are given numerical numbers from 1, 2, ..., X; each puzzle template contains the number of sub-frames, corresponding to the template number, set to M1, M2, ..., MX; In the puzzle template, the sub-frames are sequentially numbered P1, P2, ..., PM; in the photo of the puzzle, the number of sub-frames that have been filled by the effective photo is N, wherein the valid photo refers to taking a photo or manually Add a photo form and finally fill the photo in the child viewfinder.
在本可选实施例中,定义当前使用的拼图模版中的子取景框激活规则为:不论当前激活的子取景框是哪一个,拍照后自动激活的下一个子取景框应该总是还没填充照片的编号最小的子取景框。In this alternative embodiment, the sub-frame activation rule in the currently used puzzle template is defined as: no matter which one of the currently activated sub-frames is activated, the next sub-frame that is automatically activated after the photo is taken is always not filled yet. The photo has the smallest number of sub-frames.
图7是根据本发明实施例的终端界面布局示意图;下面以图7所示界面布局为基础,对本可选实施例中涉及到的拼图拍照交互方法流程进行详细说明,图8是本发明可选实施例的拼图拍照交互方法流程图,如图8所示,该方法包括:FIG. 7 is a schematic diagram of a layout of a terminal interface according to an embodiment of the present invention; the flow of the method for interacting with a jigsaw photo in the optional embodiment is described in detail below based on the interface layout shown in FIG. 7, and FIG. 8 is an optional process of the present invention. A flowchart of a jigsaw photo interaction method of an embodiment, as shown in FIG. 8, the method includes:
步骤S802:启动拼图拍照模式;Step S802: Start a jigsaw photography mode;
步骤S804:选择默认拼图模板;如果此时需要对拼图子照片进行调整,则可知执行步骤S816;如果不需要则执行步骤S806;Step S804: Select the default puzzle template; if it is necessary to adjust the puzzle photo at this time, it is known to perform step S816; if not, execute step S806;
其中,该默认拼图模板为上一次进行拼图拍照时使用的拼图模版X,如果没有使用过,默认为拼图模版1;The default puzzle template is the puzzle template X used when the previous puzzle is taken. If not used, the default is the puzzle template 1;
步骤S806:在取景界面显示当前拼图模版;Step S806: displaying a current puzzle template in the framing interface;
其中,可以是子取景框P1自动激活并取景,其它子取景框显示模版的预置图片;Wherein, the sub-frame P1 can be automatically activated and framing, and the other sub-frames display preset images of the template;
步骤S808:比较计数N与M;在N>M时执行步骤S810,在N=M时执行步骤S818;Step S808: compare the counts N and M; when N>M, step S810 is performed, and when N=M, step S818 is performed;
步骤S810:对N>M的拼图模板修改状态为禁止调用; Step S810: modifying the state of the puzzle template of N>M to prohibit calling;
其中,该步骤是对拼图模版使能检测;对每个预置拼图模版,如果N大于M,则将对应的拼图模版选项灰显,禁止调用;Wherein, the step is to enable the detection of the puzzle template; for each preset puzzle template, if N is greater than M, the corresponding puzzle template option is grayed out, and the call is prohibited;
图9是根据本发明实施例的拼图模版使能检测示意图,如图9所示,当前使用的是拼图模版1,子取景框数量M1=7,子取景框P1、P2、P3已经拍照完毕并被有效照片填充,即N=3;如果拼图模版2的子取景框数量为M2=2,而其它拼图模版的子取景框数量大于等于3,则应将拼图模版2的选项灰显。FIG. 9 is a schematic diagram of the puzzle template enabling detection according to an embodiment of the present invention. As shown in FIG. 9 , the puzzle template 1 is currently used, the number of sub-frames M1=7, and the sub-frames P1, P2, and P3 have been photographed. Filled with a valid photo, that is, N=3; if the number of sub-frames of the puzzle template 2 is M2=2, and the number of sub-frames of other puzzle templates is greater than or equal to 3, the option of the puzzle template 2 should be grayed out.
步骤S812填充当前取景界面;Step S812 fills the current framing interface;
其中,通过已激活的子取景框预览画面,按下快门拍照;拍照动作完毕后,将下一个子取景框自动激活。也可以选择不拍照,直接在取景窗口中选择从相册添加已有照片;Among them, through the activated sub-frame preview screen, press the shutter to take a photo; after the photo action is completed, the next sub-frame is automatically activated. You can also choose not to take a photo, and choose to add an existing photo from the album directly in the viewfinder window;
步骤S814:拍照之后调整拼图子照片;重复执行上述步骤直到N=M时,之后执行步骤S818;Step S814: adjusting the photo of the puzzle after photographing; repeating the above steps until N=M, then performing step S818;
其中,可以在当前拼图模版选择上一张拍完的照片,直接进行画面旋转、画面缩放、拖拽、替换或添加图片等操作;可以通过手动选择激活任意一个子取景框;Among them, you can select the last photo taken in the current puzzle template, directly perform the operations of screen rotation, screen zooming, dragging, replacing or adding pictures; you can activate any sub-frame by manual selection;
更换拼图模版;选择某个除当前拼图模版外的其他模版,确认选择后在取景界面显示更改后的拼图模版;或者选择更多模版,链接到拼图模版的在线下载地址,下载并扩展安装模版;Replace the puzzle template; select a template other than the current puzzle template, confirm the selection and display the changed puzzle template in the viewfinder interface; or select more templates, link to the online download address of the puzzle template, download and expand the installation template;
步骤S816:拍照之前调整拼图子照片;之后执行步骤S806;Step S816: adjusting the photo of the puzzle before taking a picture; then performing step S806;
在已激活的子取景框中提供多种画面调整选项,如取景窗口等比例放大、画面旋转、画面缩放、拖拽、替换或添加图片等;Provide various screen adjustment options in the activated sub-view frame, such as zooming in the framing window, rotating the screen, zooming, dragging, replacing or adding pictures;
步骤S818:拼图拍照完成;Step S818: the jigsaw photo is completed;
其中,满足拼图拍照完成的条件为检测到有效照片数量N和当前使用的拼图模版最大允许拍照数量M相等,拼图拍照完毕;Wherein, the condition for satisfying the completion of the jigsaw photographing is that the number N of valid photos is detected and the maximum number of photographs M of the currently used jigsaw template is equal, and the jigsaw photograph is completed;
步骤S820:从拍照菜单选择修改、放弃或保存照片,结束拼图拍照。Step S820: Select to modify, discard or save the photo from the photo menu, and end the jigsaw photo.
其中,上述步骤的“取景窗口等比例放大”是拼图拍照技术方案中的一个功能选项,可在拍照设置中提供“拼图拍照取景窗口自动放大”选项: Among them, the "framing window proportional enlargement" of the above steps is a function option in the jigsaw photographing technical scheme, and the "Jigsaw photo view window automatic enlargement" option can be provided in the photograph setting:
该选项如果未使能,则需要在拼图拍照时手动选择开启取景窗口放大;拼图拍照时,在当前激活的子取景框中选择取景窗口放大操作后,立即等比例放大显示;当拍照动作完毕时回显2秒后,将当前激活的取景窗口恢复原始大小,将下一个子取景框自动激活;If this option is not enabled, you need to manually select to open the viewfinder window when the jigsaw is taken. When the jigsaw is taken, select the viewfinder window to enlarge the display after zooming in the currently activated sub-frame. When the camera is finished, After the echo is displayed for 2 seconds, the currently activated viewfinder window is restored to the original size, and the next sub-frame is automatically activated;
该选项如果使能,则在拼图拍照时,当前已激活的子取景框激活3秒后,将其自动等比例放大显示;当拍照动作完毕时回显2秒后,将当前激活的取景窗口恢复原始大小,将下一个子取景框自动激活。If this option is enabled, when the jigsaw is taken, the currently activated sub-frame is activated for 3 seconds, then it is automatically scaled up; when the camera is finished, it will be restored for 2 seconds, and the currently activated viewfinder will be restored. The original size automatically activates the next child viewfinder.
图10是根据本发明可选实施例的取景窗口等比例放大示意图,如图10所示,以子取景框P3为例,说明取景窗口P3等比例放大的过程,参照图3取景窗口等比例放大示意图,在P2填充完毕后,P3被激活并取景,且被自动或手动进行等比例放大显示,P3填充完毕后,还原至原始大小,激活下一取景框P4。“拼图拍照取景窗口自动放大”选项是否使能,对流程上的影响仅在于是否自动放大已激活的子取景框,此处不再区分说明。10 is a schematic enlarged view of a framing window according to an alternative embodiment of the present invention. As shown in FIG. 10, the sub-frame P3 is taken as an example to illustrate the process of scaling up the framing window P3, and the framing window is enlarged in proportion to FIG. Schematic, after P2 is filled, P3 is activated and framing, and is automatically or manually scaled up. After P3 is filled, it is restored to its original size and the next finder frame P4 is activated. The "Jumpography Photo View Window Auto Zoom" option is enabled. The only effect on the process is whether to automatically enlarge the activated sub-frame. The description is no longer separated here.
拼图拍照的照片保存的方式可以通过如下方式实现:The way the photo of the jigsaw photo is saved can be achieved as follows:
拼图照片保存时,可选高质量拼图模式,其中,拼后的照片不压缩,或一般质量拼图模式,其中拼后的照片压缩;拼图拍照过程中的所有子照片默认以原图形式保存在终端的照片存放目录下的同一个子目录下,以统一规则命名。When the puzzle photo is saved, the high quality puzzle mode can be selected, wherein the post-spliced photo is not compressed, or the general quality puzzle mode, in which the post-splicing photo is compressed; all the sub-photographs in the jigsaw photo process are saved in the original image by default in the terminal form. The photos are stored in the same subdirectory under the directory, named after a uniform rule.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,的程序可以存储于一计算机可读取存储介质中,该位于该存储介质中的程序可以用来进行拼图的处理,该程序在执行时,可以包括如下步骤:A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, which is located in the storage medium. The program can be used to process the puzzle. When the program is executed, the program can include the following steps:
步骤S1:触发在存储介质预设拼图模板中的指定取景界面进行图像采集;Step S1: triggering a specified framing interface in the storage medium preset puzzle template to perform image collection;
步骤S2:在触发预设模板中的一个或多个取景界面进行图像采集之后,将预设拼图模板生成拼图照片。Step S2: After the image collection is performed by triggering one or more finder interfaces in the preset template, the preset puzzle template is generated to generate a puzzle photo.
其中,该存储介质可以是ROM/RAM、磁碟、光盘等。The storage medium may be a ROM/RAM, a magnetic disk, an optical disk, or the like.
可选地,在本实施方式中,处理器根据存储介质中已存储的程序代码执行自动激活预设拼图模板中所有取景界面编号顺序最小的取景界面作为指定取景界面,并将指定取景界面的预设图像切换到当前需要采集的图像;或, Optionally, in this implementation manner, the processor executes, according to the stored program code in the storage medium, a framing interface that automatically activates all the framing interface number sequences in the preset puzzle template as the specified framing interface, and specifies the framing interface. Set the image to switch to the image currently needed to be acquired; or,
可选地,在本实施方式中,处理器根据存储介质中已存储的程序代码执行接收用户用于选择取景界面的第一触发信号,依据第一触发信号将用户需要的取景界面作为指定取景界面,并将指定取景界面的预设图像切换到当前需要采集的图像。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, the first trigger signal used by the user to select the framing interface, and the framing interface required by the user is used as the specified framing interface according to the first trigger signal. And switch the preset image of the specified framing interface to the image that needs to be acquired currently.
可选地,本实施例中的具体示例可以参考上述可选实施例中所描述的示例,本实施方式在此不再赘述。Optionally, the specific examples in this embodiment may refer to the examples described in the foregoing optional embodiments, and details are not described herein again.
在本可选实施例中的实施方式中,通过将取景拍照过程与拼图操作有机结合,解决了相关技术中拍后拼图方案可能导致用户因无法事先预览拼图效果而反复取景拍照、被迫替换照片等问题;此外,通过取景窗口等比例放大,解决了相关拼图方案中,对子图进行编辑操作时,由于子图尺寸过小引起的诸多不便捷;通过拼图模版使能检测,避免了用户误选择不合适模版的不必要操作;以及实时拼图,即拍即拼的方式,更契合人的潜在需求和感知,能为用户带来更好的使用体验。In the embodiment of the present embodiment, by combining the framing photographing process and the jigsaw operation, the post-shooting puzzle scheme in the related art may be solved, and the user may repeatedly take a photo and replace the photo because the preview effect cannot be previewed in advance. In addition, through the proportional zooming of the framing window, the related puzzle scheme is solved. When the sub-picture is edited, the sub-picture size is too small, which is caused by the inconvenience; the jigsaw template enables the detection and avoids the user error. Unnecessary operations that choose inappropriate templates; and real-time puzzles, that is, the way to shoot and match, more in line with people's potential needs and perceptions, can bring a better user experience.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,解决了相关技术中在进行图像的拼图操作时,采用先进行拍照再进行图像的拼图操作的方式难以满足用户对拼图需求的问题,通过实时采集拼图图像的操作,提高了用户的操作体验。 As described above, the above-mentioned embodiments and the preferred embodiments solve the problem that in the related art, when performing the jigsaw operation of the image, the method of performing the jigsaw operation of the image and then performing the jigsaw operation of the image is difficult to satisfy the user's demand for the jigsaw. The operation of the puzzle image improves the user's operating experience.

Claims (12)

  1. 一种拼图的处理方法,包括:A method of processing a puzzle, comprising:
    触发预设拼图模板中的指定取景界面进行图像采集,其中,所述预设拼图模板有多个,每一个所述预设拼图模板中有多个所述取景界面;And triggering a specified framing interface in the preset puzzle template to perform image collection, wherein the preset puzzle template has a plurality of, and each of the preset puzzle templates has a plurality of the framing interfaces;
    在触发所述预设拼图模板中的一个或多个所述取景界面进行图像采集之后,将所述预设拼图模板生成拼图照片。After the image capture is performed by triggering one or more of the viewfinder interfaces in the preset puzzle template, the preset puzzle template is generated to generate a puzzle photo.
  2. 根据权利要求1所述的方法,其中,触发预设拼图模板中的指定取景界面进行图像的采集包括:The method of claim 1, wherein triggering the specified framing interface in the preset puzzle template to perform image collection comprises:
    激活所述指定取景界面中的界面由预设图像切换到当前需要采集的图像;Activating an interface in the specified framing interface to switch from a preset image to an image currently required to be acquired;
    对所述指定取景界面和/或所述指定取景界面中当前图像执行预定操作,其中,所述预定操作包括:调整所述指定取景界面的大小和/或在所述预设模板中的位置,旋转、拖曳以及缩放所述图像。Performing a predetermined operation on the specified framing interface and/or the current image in the specified framing interface, wherein the predetermined operation comprises: adjusting a size of the specified framing interface and/or a position in the preset template, Rotate, drag, and scale the image.
  3. 根据权利要求2所述的方法,其中,激活所述指定取景界面中的界面由预设图像切换到当前需要采集的图像包括:The method according to claim 2, wherein the activation of the interface in the specified framing interface from the preset image to the image currently required to be acquired comprises:
    自动激活所述预设拼图模板中所有取景界面编号顺序最小的取景界面作为所述指定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像;或,Automatically activating a framing interface having the smallest sequence of all the framing interface numbers in the preset puzzle template as the specified framing interface, and switching the preset image of the specified framing interface to the image currently required to be acquired; or
    接收用户用于选择取景界面的第一触发信号,依据所述第一触发信号将用户需要的取景界面作为所述指定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像。Receiving, by the user, a first trigger signal for selecting a framing interface, using a framing interface required by the user as the specified framing interface according to the first trigger signal, and switching the preset image of the specified framing interface to the current required collection image.
  4. 根据权利要求2所述的方法,其中,触发所述预设模板中的一个或多个所述取景界面进行图像采集,包括:The method of claim 2, wherein triggering one or more of the preset interfaces to perform image collection comprises:
    在所述指定取景界面采集图像操作完成之后,自动激活所述指定取景界面编号顺序的下一个取景界面进行图像的采集;或After the image capturing operation of the specified viewing interface is completed, the next viewing interface of the specified viewing interface number sequence is automatically activated to collect images; or
    接收用户进行图像采集的第二触发信号,其中,所述第二触发信号用于指示从本地存储的图像中选择一个或多个图像添加到所述预设拼图模板中未激活的取景界面中。 Receiving, by the user, a second trigger signal for image acquisition, wherein the second trigger signal is used to indicate that one or more images are selected from the locally stored images and added to the inactive view interface in the preset puzzle template.
  5. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    在触发所述预设模板中的一个或多个所述取景界面进行图像采集过程中,获取当前已经进行过图像采集的取景界面的第一数量,比较所述第一数量与第二数量,其中,所述第二数量为其他拼图模板中取景界面的数量;And acquiring the first quantity of the framing interface that has already performed image acquisition, and comparing the first quantity with the second quantity, where the image capturing process is performed by triggering one or more of the framing interfaces in the preset template, where the first quantity and the second quantity are compared, wherein The second quantity is the number of framing interfaces in other puzzle templates;
    依据比较结果,将所述第二数量小于所述第一数量的其他拼图模板进行标记,其中,所述标记用于指示在当前图像采集过程中被标记的拼图模板不可用。According to the comparison result, the second number of other puzzle templates smaller than the first number are marked, wherein the mark is used to indicate that the marked puzzle template is unavailable during the current image acquisition process.
  6. 一种拼图的处理装置,包括:A processing device for a puzzle, comprising:
    触发模块,设置为触发预设拼图模板中的指定取景界面进行图像采集,其中,所述预设拼图模板有多个,每一个所述预设拼图模板中有多个所述取景界面;a triggering module, configured to trigger a specified framing interface in the preset puzzle template to perform image collection, wherein the preset puzzle template has multiple, and each of the preset puzzle templates has a plurality of the framing interfaces;
    生成模块,设置为在触发所述预设拼图模板中的一个或多个所述取景界面进行图像采集之后,将所述预设拼图模板生成拼图照片。And generating a module, configured to generate the puzzle photo after the image capture is performed by triggering one or more of the finder interfaces in the preset puzzle template.
  7. 根据权利要求6所述的装置,其中,所述触发模块包括:The apparatus of claim 6, wherein the triggering module comprises:
    第一激活单元,设置为激活所述指定取景界面中的界面由预设图像切换到当前需要采集的图像;a first activation unit, configured to activate an interface in the specified framing interface to switch from a preset image to an image that needs to be collected currently;
    执行单元,设置为对所述指定取景界面和/或所述指定取景界面中当前图像执行预定操作,其中,所述预定操作包括:调整所述指定取景界面的大小和/或在所述预设模板中的位置,旋转、拖曳以及缩放所述图像。An execution unit configured to perform a predetermined operation on the specified framing interface and/or the current image in the specified framing interface, wherein the predetermined operation comprises: adjusting a size of the specified framing interface and/or at the preset Position in the template, rotate, drag, and scale the image.
  8. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述第一激活单元还设置为,自动激活所述预设拼图模板中所有取景界面编号顺序最小的取景界面作为所述指定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像;或,接收用户用于选择取景界面的第一触发信号,依据所述第一触发信号将用户需要的取景界面作为所述指定取景界面,并将所述指定取景界面的预设图像切换到当前需要采集的图像。The first activation unit is further configured to automatically activate a framing interface with the smallest sequence of all the framing interface numbers in the preset puzzle template as the specified framing interface, and switch the preset image of the specified framing interface to the current needs. And acquiring a first trigger signal used by the user to select a framing interface, using a framing interface required by the user as the specified framing interface according to the first trigger signal, and setting a preset image of the specified framing interface Switch to the image you want to capture now.
  9. 根据权利要求7所述的装置,其中,所述触发模块还包括:The device of claim 7, wherein the triggering module further comprises:
    第二激活单元,设置为在所述指定取景界面采集图像操作完成之后,自动激活所述指定取景界面编号顺序的下一个取景界面进行图像的采集;或 a second activation unit, configured to automatically activate the next framing interface of the specified framing interface number sequence to perform image collection after the image capturing operation of the specified framing interface is completed; or
    接收单元,设置为接收用户进行图像采集的第二触发信号,其中,所述第二触发信号用于指示从本地存储的图像中选择一个或多个图像添加到所述预设拼图模板中未激活的取景界面中。a receiving unit, configured to receive a second trigger signal for performing image acquisition by the user, wherein the second trigger signal is used to indicate that selecting one or more images from the locally stored image to be added to the preset puzzle template is not activated In the framing interface.
  10. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    获取模块,设置为在触发所述预设模板中的一个或多个所述取景界面进行图像采集过程中,获取当前已经进行过图像采集的取景界面的第一数量,比较所述第一数量与第二数量,其中,所述第二数量为其他拼图模板中取景界面的数量;Obtaining a module, configured to acquire a first number of framing interfaces that have performed image acquisition, and compare the first quantity with the image capturing process of one or more of the framing interfaces in the preset template a second quantity, wherein the second quantity is a number of framing interfaces in other puzzle templates;
    标记模块,设置为依据比较结果,将所述第二数量小于所述第一数量的其他拼图模板进行标记,其中,所述标记用于指示在当前图像采集过程中被标记的拼图模板不可用。The marking module is configured to mark the second number of other puzzle templates that are smaller than the first number according to the comparison result, wherein the marking is used to indicate that the marked puzzle template is unavailable during the current image acquisition process.
  11. 一种终端,其特征在于,包括权利要求6至10中任一项所述拼图的处理装置。A terminal characterized by comprising the processing device of the puzzle of any one of claims 6 to 10.
  12. 一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行权利要求1至5中任一项所述的方法。 A computer storage medium storing execution instructions for performing the method of any one of claims 1 to 5.
PCT/CN2015/079616 2014-12-30 2015-05-22 Processing method and device for image splicing WO2016107055A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410842799.9 2014-12-30
CN201410842799.9A CN105812643A (en) 2014-12-30 2014-12-30 Puzzle processing method and device

Publications (1)

Publication Number Publication Date
WO2016107055A1 true WO2016107055A1 (en) 2016-07-07

Family

ID=56284076

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/079616 WO2016107055A1 (en) 2014-12-30 2015-05-22 Processing method and device for image splicing

Country Status (2)

Country Link
CN (1) CN105812643A (en)
WO (1) WO2016107055A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769511A (en) * 2018-05-07 2018-11-06 北京金山安全软件有限公司 Image shooting method and device, electronic equipment and storage medium
CN110569378A (en) * 2019-07-24 2019-12-13 广东智媒云图科技股份有限公司 Method for establishing jigsaw collocation and combination database, jigsaw method and storage medium
CN112162805A (en) * 2020-09-23 2021-01-01 维沃移动通信有限公司 Screenshot method and device and electronic equipment
CN112449110A (en) * 2020-11-05 2021-03-05 维沃移动通信有限公司 Image processing method and device and electronic equipment

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825534B (en) * 2016-03-15 2021-06-04 北京金山安全软件有限公司 Picture processing method and device
CN107786803A (en) * 2016-08-29 2018-03-09 中兴通讯股份有限公司 A kind of image generating method, device and terminal device
CN108776950A (en) * 2018-06-07 2018-11-09 北京本邦科技股份有限公司 Picture-adjusting method based on mobile terminal and device
CN109656450A (en) * 2018-11-28 2019-04-19 维沃移动通信有限公司 A kind of image display method and terminal device
CN113194256B (en) * 2021-04-29 2023-04-25 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN113596329A (en) * 2021-07-23 2021-11-02 维沃移动通信(杭州)有限公司 Photographing method and photographing apparatus
CN113824878A (en) * 2021-08-20 2021-12-21 荣耀终端有限公司 Shooting control method based on foldable screen and electronic equipment
CN114968414A (en) * 2022-06-21 2022-08-30 杭州海康威视系统技术有限公司 Resource mapping method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744078A (en) * 2004-09-03 2006-03-08 佳能株式会社 Electronic document editing apparatus and control method therefor
JP2007049518A (en) * 2005-08-11 2007-02-22 Fujifilm Holdings Corp Album creator and album creation program
CN101102407A (en) * 2006-07-07 2008-01-09 卡西欧计算机株式会社 Imaging device, through image display control method, and recording medium
CN102316257A (en) * 2010-07-06 2012-01-11 佳能株式会社 Image pickup apparatus capable of easily generating album and method of controlling the same
US20120147214A1 (en) * 2010-12-08 2012-06-14 Canon Kabushiki Kaisha Imaging apparatus, control method of the apparatus, and program
CN104243846A (en) * 2013-06-19 2014-12-24 北京千橡网景科技发展有限公司 Image stitching method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100619975B1 (en) * 2004-12-22 2006-09-08 엘지전자 주식회사 Composed picture producing method for mobile communication terminal
US20120281874A1 (en) * 2011-05-05 2012-11-08 Lure Yuan-Ming F Method, material, and apparatus to improve acquisition of human frontal face images using image template

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744078A (en) * 2004-09-03 2006-03-08 佳能株式会社 Electronic document editing apparatus and control method therefor
JP2007049518A (en) * 2005-08-11 2007-02-22 Fujifilm Holdings Corp Album creator and album creation program
CN101102407A (en) * 2006-07-07 2008-01-09 卡西欧计算机株式会社 Imaging device, through image display control method, and recording medium
CN102316257A (en) * 2010-07-06 2012-01-11 佳能株式会社 Image pickup apparatus capable of easily generating album and method of controlling the same
US20120147214A1 (en) * 2010-12-08 2012-06-14 Canon Kabushiki Kaisha Imaging apparatus, control method of the apparatus, and program
CN104243846A (en) * 2013-06-19 2014-12-24 北京千橡网景科技发展有限公司 Image stitching method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769511A (en) * 2018-05-07 2018-11-06 北京金山安全软件有限公司 Image shooting method and device, electronic equipment and storage medium
CN110569378A (en) * 2019-07-24 2019-12-13 广东智媒云图科技股份有限公司 Method for establishing jigsaw collocation and combination database, jigsaw method and storage medium
CN110569378B (en) * 2019-07-24 2024-04-19 广东智媒云图科技股份有限公司 Method for establishing jigsaw collocation combination database, jigsaw method and storage medium
CN112162805A (en) * 2020-09-23 2021-01-01 维沃移动通信有限公司 Screenshot method and device and electronic equipment
CN112449110A (en) * 2020-11-05 2021-03-05 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN112449110B (en) * 2020-11-05 2022-03-11 维沃移动通信有限公司 Image processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN105812643A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
WO2016107055A1 (en) Processing method and device for image splicing
KR102045957B1 (en) Method and apparatus for photographing of a portable terminal
US9992410B2 (en) Apparatus and method photographing image
JP6534655B2 (en) Method and apparatus for displaying preview image
WO2016058468A1 (en) Mobile terminal, server, shooting method and computer storage medium
WO2016123893A1 (en) Photographing method, device and terminal
EP2981061A1 (en) Method and apparatus for displaying self-taken images
WO2019214574A1 (en) Image capturing method and apparatus, and electronic terminal
KR20210133112A (en) Video processing method, apparatus and storage media
CN107124551B (en) Automatic synthesis method for mobile terminal photographing, storage device and mobile terminal
WO2013185649A1 (en) Photographing method, device and mobile terminal
WO2014173350A1 (en) Image-capture processing method and system
EP3840361A1 (en) Photographing method and device, and computer-readable storage medium
CN106791390B (en) Wide-angle self-timer real-time preview method and user terminal
CN112887617B (en) Shooting method and device and electronic equipment
KR20170027266A (en) Image capture apparatus and method for operating the image capture apparatus
CN112637515B (en) Shooting method and device and electronic equipment
JP2006042330A (en) Video photographing method
CN104735353A (en) Method and device for taking panoramic photo
WO2023174009A1 (en) Photographic processing method and apparatus based on virtual reality, and electronic device
CN112887624B (en) Shooting method and device and electronic equipment
CN116600190A (en) Photographing control method and device for mobile phone and computer readable storage medium
JP5233726B2 (en) Electronic camera
WO2016101426A1 (en) Photographing method and apparatus
JP2017041778A (en) Imaging apparatus, moving picture formation method and program

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: 15874747

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: 15874747

Country of ref document: EP

Kind code of ref document: A1