CN109461111A - Image editing method, device, terminal device and medium - Google Patents

Image editing method, device, terminal device and medium Download PDF

Info

Publication number
CN109461111A
CN109461111A CN201811260245.2A CN201811260245A CN109461111A CN 109461111 A CN109461111 A CN 109461111A CN 201811260245 A CN201811260245 A CN 201811260245A CN 109461111 A CN109461111 A CN 109461111A
Authority
CN
China
Prior art keywords
image
region
user
text
editable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811260245.2A
Other languages
Chinese (zh)
Inventor
李梦迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianshang Xinchang Network Technology Co Ltd
Original Assignee
Lianshang Xinchang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lianshang Xinchang Network Technology Co Ltd filed Critical Lianshang Xinchang Network Technology Co Ltd
Priority to CN201811260245.2A priority Critical patent/CN109461111A/en
Publication of CN109461111A publication Critical patent/CN109461111A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a kind of image editing method, device, terminal device and computer-readable medium.Wherein, image editing method includes: to show the first image;The first trigger action of first image is directed in response to user, identification meets the region of the first preset condition from first image, with the editable region in determination first image, wherein, the region for meeting the first preset condition includes: region where meeting the text of the second preset condition or meets region where the image of third preset condition;The edit operation in the editable region handles first image based on user, generates the second image.Compared to the prior art, the application step is less, process is simple, meet the region of the first preset condition by automatic identification, the manual steps of user can be greatly decreased, reduce operation difficulty, to improve the creation efficiency for carrying out to first image secondary creation.

Description

Image editing method, device, terminal device and medium
Technical field
This application involves image-editing technology fields, and in particular to a kind of image editing method, device, terminal device and Computer-readable medium.
Background technique
The high speed development of computer technology and Internet technology is popularized with quick, is that people pass through electronic channel acquisition number Image and carry out read provide a great convenience, more and more users by internet share and obtain photo, caricature, move The images resources such as figure, and watched by terminal device.User carries out secondary editor to above-mentioned image resource, to generate newly Original work also has become common secondary writing means.
In the prior art, user carry out secondary creation method it is as follows: first the locally downloading terminal of the image of viewing is set It is standby upper, the image editing software of profession is then opened, and load the image using the image editing software, then carry out to the image The edit operations such as figure, editing area selection, content replacement are scratched, the works of secondary creation, the above editor behaviour are obtained after the completion of editor It is both needed to be completed by manual operation, it is entire editing process complex steps, complicated for operation, especially scratch the edit operations such as figure often The a large amount of time is consumed, and then causes the efficiency of secondary creation lower.
In view of the above problems, it is desirable to provide a kind of image editing method that can effectively improve secondary creation efficiency.
Summary of the invention
The purpose of the application is to provide a kind of image editing method, device, terminal device and computer-readable medium.
The application first aspect provides a kind of image editing method, is used for terminal device, comprising: shows the first image;It rings Should be in user for the first trigger action of first image, identification meets the first preset condition from first image Region, with the editable region in determination first image, wherein the region for meeting the first preset condition includes: symbol It closes the region where the text of the second preset condition or meets the region where the image of third preset condition;Based on user The edit operation in the editable region handles first image, generates the second image.
The application second aspect provides a kind of video editing apparatus, comprising: image show module, for showing the first shadow Picture;Editing area determining module, for being directed to the first trigger action of first image in response to user, from first shadow Identification meets the region of the first preset condition as in, with the editable region in determination first image, wherein described to meet The region of first preset condition includes: region where meeting the text of the second preset condition or meets third preset condition Image where region;Image editing module, for based on user to the edit operation in the editable region to described One image is handled, and the second image is generated.
The application third aspect provides a kind of terminal device, comprising: memory, processor and is stored on the memory And the computer program that can be run on the processor, the processor execute when running the computer program to realize such as Method described in the application first aspect.
The application fourth aspect provides a kind of computer-readable medium, is stored thereon with computer-readable instruction, the meter Calculation machine readable instruction can be executed by processor to realize the method as described in the application first aspect.
Compared to the prior art, the image editing method that the application first aspect provides, can be in the displaying of the first image In the process, the region for meeting the first preset condition is automatically identified in response to the first trigger action of user, and determining can Editing area, and then the edit operation in the editable region can handle first image based on user, it is raw At the second image, entire editing process step is less, process is simple, and the region etc. of the first preset condition is met by automatic identification Step can be greatly decreased the manual steps of user, reduce operation difficulty, carry out two to first image to improve The creation efficiency of secondary creation.
The terminal device and fourth aspect of video editing apparatus, third aspect offer that the application second aspect provides mention The computer-readable medium of confession, the image editing method provided with above-mentioned first aspect have phase for identical inventive concept Same beneficial effect.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of application scenarios schematic diagram provided by some embodiments of the application;
A kind of flow chart of image editing method provided by some embodiments Fig. 2 shows the application;
Fig. 3 shows a kind of schematic diagram of video editing apparatus provided by some embodiments of the application;
Fig. 4 shows a kind of schematic diagram of terminal device provided by some embodiments of the application;
Fig. 5 shows a kind of schematic diagram of computer-readable medium provided by some embodiments of the application.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in attached drawing The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here The mode of applying is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can be by this public affairs The range opened is fully disclosed to those skilled in the art.
It should be noted that unless otherwise indicated, technical term or scientific term used in this application should be this Shen It please the ordinary meaning that is understood of one of ordinary skill in the art.
In addition, term " first " and " second " etc. are not use to describe a particular order for distinguishing different objects.This Outside, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as contain a system The process, method, system, product or equipment of column step or unit are not limited to listed step or unit, but optional Ground further includes the steps that not listing or unit, or optionally further comprising intrinsic for these process, methods, product or equipment Other step or units.
Referring to FIG. 1, a kind of application of image editing method provided by some embodiments it illustrates the application Schematic diagram of a scenario, as shown in connection with fig. 1, people check the images (example such as caricature, photo, cardon using terminal device such as mobile phone etc. The first image as shown in figure 1) when, the demand that secondary creation is carried out based on the image is often had, such as modify in the image Text adds some elements etc. into the image.Since active user carries out secondary creation to image, it is required to utilize profession Image editing software, it is just achievable by largely scratching the artificial edit operation such as figure, it is complex steps, complicated for operation, it is therefore, secondary The efficiency of creation is lower.
In order to improve secondary creation efficiency, the application embodiment provides a kind of image editing method, device, terminal device And computer-readable medium, embodiments herein is illustrated with reference to the accompanying drawing.It should be noted that shown in Fig. 1 Mobile phone be only terminal device citing, the application can also be applied to other terminal devices, such as tablet computer, e-book reading Device, pocket computer on knee and desktop computer etc., the application does not limit this.
Referring to FIG. 2, a kind of process of image editing method provided by some embodiments it illustrates the application Figure, the image editing method are used for terminal device, comprising the following steps:
Step S101: the first image is shown.
Software or soft with image show function can be installed in some embodiments of the application, in the terminal device Part module can show first image using the software or software module in the terminal device.
Wherein, first image can include but is not limited to caricature, photo, network picture, design drawing, cardon (also known as Dynamic picture refers to that one group of still image generates the picture of certain dynamic effect, such as gif format with specified frequency error factor Picture) etc., be used equally for carrying out secondary creation.
Step S102: it is directed to the first trigger action of first image in response to user, knows from first image Do not meet the region of the first preset condition, with the editable region in determination first image, wherein described to meet first in advance If the region of condition includes: region where meeting the text of the second preset condition or the image for meeting third preset condition The region at place.
Wherein, the user can preset as needed for the first trigger action of first image, as this One trigger action can include but is not limited to: clicking operation of the user on first image, long press operation, gesture operation, The clicking operation for showing the first functionality controls in interface and dragging behaviour of delineation operation and user for first image One of work or a variety of combinations.In the specific implementation, above-mentioned at least one first trigger action triggering can be preassigned Identification meets the mode in the region of the first preset condition, for example, the length in the dialog box (such as bubble etc.) in the first image It can be triggered by operation and identify the region of the dialog box and determine it as editable region, personage's head portrait in the first image The gesture operation (such as drawing letter C) of other white space, which can be triggered, creates editable region, etc. in the white space, The present embodiment is not specifically limited, and those skilled in the art are referred to embodiment disclosed in the present embodiment and flexibly change reality It applies, it should all be within the scope of protection of this application.
In some embodiments, the text for meeting the second preset condition, can include but is not limited to: be located at dialogue Text in frame, be more than with the color difference of the background image of region preset threshold text (such as white gravoply, with black engraved characters, black matrix wrongly written or mispronounced character Deng).
By taking the region for meeting the first preset condition includes the region where meeting the text of the second preset condition as an example, In some embodiments, the identification from the first image meets the region of the first preset condition, with determination first shadow Editable region as in may include:
Text region is carried out to first image;
Meet region locating for the text of second preset condition in the text that will identify that and is determined as first shadow The editable region of picture.
Wherein, Text region is carried out to first image, can be realized using optical character identification (OCR) technology, so Region locating for the text for meeting the second preset condition is determined as editable region afterwards.
By above embodiment, the character area in first image can be automatically identified, and determine therefrom that Editable region out, user, which is based on the editable region, can carry out the edit operations such as text input, replacement, deletion, save It is artificial to scratch figure, choose, delete and cumbersome, the highly difficult steps such as newly-built editing area, first shadow is based on to improve The secondary creation efficiency of picture.
Copy editor is quickly finished for the ease of user, on the basis of the above embodiment, is determining to meet Region where the text of two preset conditions and after determining therefrom that behind editable region, the image editing method can also wrap It includes: removing the text in the editable region, and the editing interface for editing the editable region is provided.Wherein, institute Stating editing interface may include copy editor's tool such as dummy keyboard, input frame, and the embodiment of the present application is without limitation.By this reality Mode is applied, text original in the editable region, and automatic Display editing interface can be automatically removed, in order to which user is fast Speed directly starts copy editor's operation, to improve secondary creation efficiency.
As the change embodiment of above embodiment, in other embodiments, determining to meet second in advance If region where the text of condition and after determining therefrom that behind editable region, the image editing method can also include: to mention For the editing interface for editing the editable region, and shows in the editing interface and editable described to meet second The text of preset condition.By present embodiment, text original in the editable region can be changed into editable shape State, and editing interface is provided, in order to which user is grasped on the basis of original language by deleting, replacing, increasing the editors such as text Make, completes copy editor's operation, quickly to improve secondary creation efficiency.
In other embodiments, the image for meeting third preset condition, can include but is not limited to: location The image or the figure near face that the color difference between each pixel in domain is less than preset difference value and size is greater than preset range Picture.By present embodiment, can automatically identify the large area in the first image by personage's head portrait same colour system region (such as White space) etc., and editable region is created herein, in order to which user adds picture and text element etc. into the editable region, To easily complete secondary creation.
It is considered that the region for meeting the first preset condition in first image might have multiple, but it is often only needed In one be used as editable region, therefore, in some embodiments, it is pre- that the identification from first image meets first It may include: the identifier from first image with the editable region in determination first image if the region of condition The region of the first preset condition is closed, and according to the trigger position of first trigger action, determines compiling for first image Collect region.By present embodiment, multiple can be met from what is identified according to the trigger position of first trigger action Editable region is determined in the region of one preset condition, the mechanism realization combined using machine recognition with artificial selection can compile The determination in volume region can determine the editable region that user's needs are edited more accurately, improve this method customizability, Being adjusted flexibly property and operability.
Step S103: being handled first image edit operation in the editable region based on user, raw At the second image.
In some embodiments, this step S103 may include:
The first picture and text element is obtained according to the edit operation of user;
The first picture and text element is added to the editable region.
Wherein, the first picture and text element can be the text etc. that user is inputted by input tool (such as dummy keyboard) Element, is also possible to facial expression, icon, figure etc. that user chooses from the picture and text element database that software provides, and the application is real Apply example without limitation.For example, user can be summarized by edit operation from picture and text element database chooses an icon, confirmation is being executed After the operation of addition, the icon can be added in the editable region, later, user can also to the icon into The edit operations such as row rotation, deformation, discoloration.
It is easily understood that in some embodiments, it is described that first picture and text element is obtained according to the edit operation of user, May include:
At least one functionality controls is provided in the editing interface of first image, the functionality controls for trigger with Its corresponding editting function;
Corresponding editting function is triggered according to second trigger action of the user to the functionality controls;
According to edit operation of the user under the editting function, the first picture and text element is obtained.
For example, software can provide multiple functionality controls, each functionality controls correspond to different editting functions, for example, adding Add text, addition icon, graphing, adjustment color, adjustment contrast etc., user can trigger corresponding functionality controls, institute It states after functionality controls are triggered, corresponding edit tool, editing interface or editable element can be provided, accordingly in order to user It is edited.
By above embodiment, it can use functionality controls and edit operation abundant be provided, and improve the intuitive of editor Property and convenience, quickly complete editor using each functionality controls, that is, bootable user.
It is considered that in the editable region may original second picture and text element and influence edit effect, in above-mentioned implementation On the basis of mode, in some embodiments, it is described the first picture and text element is added to the editable region before, It can also include: the removal original second picture and text element in editable region.It, can automatically will be described by present embodiment After original second picture and text element is deleted in editable region, then the first picture and text element is added, so that it is guaranteed that edit effect.
It should be noted that the first image in some embodiments of the present application includes cardon, for cardon, may only need A certain frame therein or multiple frames are edited, therefore, in some embodiments, first image includes dynamic shadow Picture;Aforementioned the step of identification meets the region of the first preset condition from the first image, may include: determining first image Multiple frames at least one frame editable region;It is aforementioned based on user to the edit operation in the editable region to institute It states the first image and carries out the step of processing generates the second image, comprising: based on user to the editable area of at least one frame At least one described frame is edited in the edit operation in domain;Second image is generated according to edited the multiple frame.
By above embodiment, it can be convenient, secondary creation quickly is carried out to cardon.
It is considered that the purpose that user carries out secondary creation is in order to be shared with other users etc., therefore, in some embodiment party In formula, image editing method provided in this embodiment can also include: in response to user at the displaying interface of second image In third trigger action, second image is shared to target sharing platform.
Wherein, the target sharing platform can be identical or associated as the platform of displaying first image.It is described Third trigger action of the user in the displaying interface of the second image can be set as needed, and can include but is not limited to: user Clicking operation, long press operation, gesture operation and user on second image are directed to displaying circle of second image One of clicking operation of third functionality controls in face or a variety of combinations.
By above embodiment, can after the completion of secondary creation, quickly by the second image obtained after creation into Row is shared, and the convenience of sharing is improved.Target sharing platform is identical or associated as the platform for showing first image, has Conducive to the second image obtained after creation easily to be shared to the friendship for being conducive to user to target sharing platform to image works Stream improves user's viscosity.
It is considered that secondary creation can generate corresponding copyright problem, therefore, in some embodiments, in step S103 It later, can also include: the insertion copyright tracing information in second image, the copyright tracing information is according to described the What the user information of the copyright information of one image and/or the user generated.It, can be by first shadow by present embodiment The copyright information of picture is added in second image, in order to subsequent user it will be seen that the original works of second image The user information of the user can also be added in second image by information, on the one hand convenient for user to described second Image carries out copyright retrospect, on the other hand, links up copyright authorization etc. convenient for the author of first image and the user, thus Reasonably the copyright of first image and second image is reasonably protected.
More than, it is the embodiment explanation of image editing method provided by the above embodiments of the present application, compared to existing skill Art, image editing method provided by the above embodiments of the present application, can be during the displaying of the first image, in response to user The first trigger action and automatically identify the region for meeting the first preset condition, and determine editable region, and then can be with The edit operation in the editable region handles first image based on user, generates the second image, it is entire to compile Volume process steps are less, process is simple, meet the region of the first preset condition by automatic identification, can be greatly decreased The manual steps of user reduce operation difficulty, to improve the creation efficiency for carrying out secondary creation to first image.
In the above-described embodiment, a kind of image editing method is provided, corresponding, the application also provides one kind Video editing apparatus.Above-mentioned image editing method can be implemented in the video editing apparatus that some embodiments of the present application provide, should Video editing apparatus can be realized by way of software, hardware or soft or hard combination.For example, the video editing apparatus can wrap Integrated or separated functional module or unit are included to execute the correspondence step in above-mentioned each method.Referring to FIG. 3, it is this Shen A kind of schematic diagram of video editing apparatus provided by some embodiments please.Since Installation practice is substantially similar to method Embodiment, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Device described below Embodiment is only schematical.
As shown in figure 3, a kind of video editing apparatus 10 that some embodiments of the application provide, comprising:
Image show module 101, for showing the first image;
Editing area determining module 102, for being directed to the first trigger action of first image in response to user, from institute The region that identification in the first image meets the first preset condition is stated, with the editable region in determination first image, wherein The region for meeting the first preset condition includes: region where meeting the text of the second preset condition or meets third Region where the image of preset condition;
Image editing module 103, for based on user to the edit operation in the editable region to first image It is handled, generates the second image.
In some change embodiments provided by the embodiments of the present application, the text for meeting the second preset condition includes The color difference of the background image of text and region in dialog box is more than the text of preset threshold.
In some change embodiments provided by the embodiments of the present application, the editing area determining module 102, comprising:
Word recognition unit, for carrying out Text region to first image;
Area determination unit meets region locating for the text of second preset condition in the text for will identify that It is determined as the editable region of first image.
In some change embodiments provided by the embodiments of the present application, the device 10 further include:
Text removes module, for removing the text in the editable region, and provides for editing the editable The editing interface in region.
In some change embodiments provided by the embodiments of the present application, the device 10 further include:
Editing interface provides module, for providing the editing interface for editing the editable region, and in the volume The editable text for meeting the second preset condition is shown in editing interface.
In some change embodiments provided by the embodiments of the present application, the image packet for meeting third preset condition Include: the color difference between each pixel in region is less than preset difference value and size is greater than the image or face of preset range Neighbouring image.
In some change embodiments provided by the embodiments of the present application, the editing area determining module 102, comprising:
Determination unit is triggered, for identifying the region for meeting the first preset condition from first image, and according to institute The trigger position for stating the first trigger action determines the editable region of first image.
In some change embodiments provided by the embodiments of the present application, the image editing module 103, comprising:
Picture and text acquiring unit, for obtaining the first picture and text element according to the edit operation of user;
Picture and text adding unit, for the first picture and text element to be added to the editable region.
In some change embodiments provided by the embodiments of the present application, the image editing module 103, further includes:
Picture and text removal unit, for removing the original second picture and text element in the editable region.
In some change embodiments provided by the embodiments of the present application, the picture and text acquiring unit, comprising:
Control provides subelement, for providing at least one functionality controls, institute in the editing interface of first image Functionality controls are stated for triggering corresponding editting function;
Control triggers subelement, corresponding for being triggered according to second trigger action of the user to the functionality controls Editting function;
Picture and text obtain subelement, for the edit operation according to user under the editting function, obtain first figure Literary element.
In some change embodiments provided by the embodiments of the present application, first image includes dynamic image;It is described Editing area determining module 102, comprising:
Unit is acquired in frames, the editable region of at least one frame in multiple frames for determining first image;
The image editing module 103, comprising:
By frame-editing unit, for the edit operation based on user to the editable region of at least one frame, to institute At least one frame is stated to be edited;
Second video generation unit, for generating second image according to edited the multiple frame.
In some change embodiments provided by the embodiments of the present application, described device 10, further includes:
Image sharing module, in response to user second image show interface in third trigger action, Second image is shared to target sharing platform.
In some change embodiments provided by the embodiments of the present application, described device 10, further includes:
Copyright information is embedded in module, for being embedded in copyright tracing information, the copyright retrospect letter in second image Breath is generated according to the copyright information of first image and/or the user information of the user.
Video editing apparatus 10 provided by the embodiments of the present application, the image editing method provided with the application previous embodiment For identical inventive concept, beneficial effect having the same.
In the above-described embodiment, a kind of image editing method and device are provided, corresponding, the application also mentions For a kind of terminal device, the terminal device can be any with data, the calculating equipment of graphics capability, such as hand Machine, laptop, tablet computer, desktop computer etc..Referring to FIG. 4, Fig. 4 is one that some embodiments of the present application provide The schematic diagram of kind terminal device.As shown in figure 4, the terminal device 20 includes: processor 200, memory 201,202 He of bus Communication interface 203, the processor 200, communication interface 203 and memory 201 are connected by bus 202;The memory 201 In be stored with the computer program that can be run on the processor 200, when the processor 200 runs the computer program Execute image editing method provided by the present application.
Wherein, memory 201 may include high-speed random access memory (RAM:Random AccessMemory), It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely A few communication interface 203 (can be wired or wireless) is realized logical between the system network element and at least one other network element Letter connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 202 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, number According to bus, control bus etc..Wherein, memory 201 is for storing program, the processor 200 after receiving and executing instruction, Described program is executed, the image editing method that aforementioned the embodiment of the present application any embodiment discloses can be applied to handle In device 200, or realized by processor 200.
Processor 200 may be a kind of IC chip, the processing capacity with signal.It is above-mentioned during realization Each step of method can be completed by the integrated logic circuit of the hardware in processor 200 or the instruction of software form.On The processor 200 stated can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), dedicated Integrated circuit (ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor Logical device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logic in the embodiment of the present application Block diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with this Shen It please can be embodied directly in hardware decoding processor the step of method disclosed in embodiment and execute completion, or be handled with decoding Hardware and software module combination in device execute completion.Software module can be located at random access memory, flash memory, read-only memory, In the storage medium of this fields such as programmable read only memory or electrically erasable programmable memory, register maturation.This is deposited Storage media is located at memory 201, and processor 200 reads the information in memory 201, and the step of the above method is completed in conjunction with its hardware Suddenly.
Terminal device provided by the embodiments of the present application is with image editing method provided by the embodiments of the present application for identical Inventive concept, beneficial effect having the same.
The embodiment of the present application also provides a kind of computer-readable medium corresponding with above-mentioned image editing method, please refers to Fig. 5, the computer readable storage medium shown are CD 30, are stored thereon with computer program (i.e. program product), described Computer program can execute image editing method provided by aforementioned any embodiment when being run by processor.
It should be noted that the example of the computer readable storage medium can also include, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of arbitrary access are deposited Reservoir (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other light It learns, magnetic-based storage media, this is no longer going to repeat them.
Computer readable storage medium provided by the embodiments of the present application and image editing method provided by the embodiments of the present application For identical inventive concept, beneficial effect having the same.
It should be noted that the flow chart and block diagram in the drawings show according to the systems of multiple embodiments of the application, The architecture, function and operation in the cards of method and computer program product.In this regard, in flowchart or block diagram Each box can represent a part of a module, section or code, a part packet of the module, section or code Containing one or more executable instructions for implementing the specified logical function.It should also be noted that in some realities as replacement In existing, function marked in the box can also occur in a different order than that indicated in the drawings.For example, two continuous sides Frame can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this according to related function and It is fixed.It is also noted that the group of each box in block diagram and or flow chart and the box in block diagram and or flow chart It closes, can be realized with the dedicated hardware based system for executing defined function or movement, or specialized hardware can be used Combination with computer instruction is realized.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can combine Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be through some communication interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution The range of scheme should all cover in claims hereof and the range of specification.

Claims (15)

1. a kind of image editing method is used for terminal device characterized by comprising
Show the first image;
The first trigger action of first image is directed in response to user, it is default to meet first for identification from first image The region of condition, with the editable region in determination first image, wherein the region packet for meeting the first preset condition Include: meeting the region where the text of the second preset condition or meet the region where the image of third preset condition;
The edit operation in the editable region handles first image based on user, generates the second image.
2. the method according to claim 1, wherein the text for meeting the second preset condition include be located at pair The color difference for talking about the background image of the text and region in frame is more than the text of preset threshold.
3. the method according to claim 1, wherein the identification from the first image meets the first preset condition Region, with the editable region in determination first image, comprising:
Text region is carried out to first image;
Meet region locating for the text of second preset condition in the text that will identify that and is determined as first image The editable region.
4. according to the method described in claim 3, it is characterized in that, this method further include: remove in the editable region Text, and the editing interface for editing the editable region is provided.
5. according to the method described in claim 3, it is characterized in that, this method further include: provide for editing the editable The editing interface in region, and the editable text for meeting the second preset condition is shown in the editing interface.
6. the method according to claim 1, wherein where the image for meeting third preset condition includes: The image or the figure near face that the color difference between each pixel in region is less than preset difference value and size is greater than preset range Picture.
7. the method according to claim 1, wherein identification meets the first preset condition from first image Region, with the editable region in determination first image, comprising:
Identification meets the region of the first preset condition from first image, and according to the trigger bit of first trigger action It sets, determines the editable region of first image.
8. the method according to claim 1, wherein described grasped based on editor of the user to the editable region First image of opposing is handled, comprising:
The first picture and text element is obtained according to the edit operation of user;
The first picture and text element is added to the editable region.
9. according to the method described in claim 8, it is characterized in that, described be added to the first picture and text element described can compile Before volume region, further includes:
Remove the original second picture and text element in the editable region.
10. according to the method described in claim 8, it is characterized in that, described obtain the first picture and text according to the edit operation of user Element, comprising:
At least one functionality controls is provided in the editing interface of first image, the functionality controls are right with it for triggering The editting function answered;
Corresponding editting function is triggered according to second trigger action of the user to the functionality controls;
According to edit operation of the user under the editting function, the first picture and text element is obtained.
11. the method according to claim 1, wherein first image includes dynamic image;It is described from first Identification meets the region of the first preset condition in image, comprising:
Determine the editable region of at least one frame in multiple frames of first image;
It is described that the edit operation in the editable region handles first image based on user, generate the second shadow Picture, comprising:
At least one described frame is edited in edit operation based on user to the editable region of at least one frame;
Second image is generated according to edited the multiple frame.
12. according to claim 1 to 11 described in any item methods, which is characterized in that further include:
In response to user in the third trigger action of second image shown in interface, second image is shared to mesh Mark sharing platform.
13. according to the method for claim 12, which is characterized in that it is described based on user to the editor in the editable region Operation handles first image, after the second image of generation, further includes:
Copyright tracing information is embedded in second image, the copyright tracing information is the copyright according to first image What information and/or the user information of the user generated.
14. a kind of terminal device, comprising: memory, processor and be stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor executes when running the computer program to realize that right such as is wanted Seek the described in any item methods of 1-13.
15. a kind of computer-readable medium, is stored thereon with computer-readable instruction, the computer-readable instruction can be processed Device is executed to realize such as the described in any item methods of claim 1-13.
CN201811260245.2A 2018-10-26 2018-10-26 Image editing method, device, terminal device and medium Pending CN109461111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811260245.2A CN109461111A (en) 2018-10-26 2018-10-26 Image editing method, device, terminal device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811260245.2A CN109461111A (en) 2018-10-26 2018-10-26 Image editing method, device, terminal device and medium

Publications (1)

Publication Number Publication Date
CN109461111A true CN109461111A (en) 2019-03-12

Family

ID=65608619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811260245.2A Pending CN109461111A (en) 2018-10-26 2018-10-26 Image editing method, device, terminal device and medium

Country Status (1)

Country Link
CN (1) CN109461111A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005078162A (en) * 2003-08-28 2005-03-24 Ricoh Co Ltd Image management system and image management program
CN104462044A (en) * 2014-12-16 2015-03-25 上海合合信息科技发展有限公司 Recognizing and editing method and device of tabular images
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal
CN105493496A (en) * 2014-12-14 2016-04-13 深圳市大疆创新科技有限公司 Video processing method, and device and image system
CN107102786A (en) * 2016-02-19 2017-08-29 腾讯科技(北京)有限公司 A kind of information processing method and client
CN107222765A (en) * 2017-05-27 2017-09-29 魏振兴 Edit methods, server and the system of the video playback page of web camera
CN107610206A (en) * 2017-09-29 2018-01-19 北京金山安全软件有限公司 Dynamic picture processing method and device, storage medium and electronic equipment
CN107678650A (en) * 2017-09-29 2018-02-09 努比亚技术有限公司 A kind of image identification method, mobile terminal and computer-readable recording medium
CN107678644A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107797737A (en) * 2017-09-26 2018-03-13 努比亚技术有限公司 The method, apparatus and computer-readable recording medium that picture is edited again
TWM560053U (en) * 2017-06-23 2018-05-11 Lu Chun Yen Editing device for integrating augmented reality online
CN108614657A (en) * 2018-04-20 2018-10-02 惠州学院 Image combining method, device, equipment and its image-carrier

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005078162A (en) * 2003-08-28 2005-03-24 Ricoh Co Ltd Image management system and image management program
CN105493496A (en) * 2014-12-14 2016-04-13 深圳市大疆创新科技有限公司 Video processing method, and device and image system
CN104462044A (en) * 2014-12-16 2015-03-25 上海合合信息科技发展有限公司 Recognizing and editing method and device of tabular images
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal
CN107102786A (en) * 2016-02-19 2017-08-29 腾讯科技(北京)有限公司 A kind of information processing method and client
CN107222765A (en) * 2017-05-27 2017-09-29 魏振兴 Edit methods, server and the system of the video playback page of web camera
TWM560053U (en) * 2017-06-23 2018-05-11 Lu Chun Yen Editing device for integrating augmented reality online
CN107678644A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107797737A (en) * 2017-09-26 2018-03-13 努比亚技术有限公司 The method, apparatus and computer-readable recording medium that picture is edited again
CN107610206A (en) * 2017-09-29 2018-01-19 北京金山安全软件有限公司 Dynamic picture processing method and device, storage medium and electronic equipment
CN107678650A (en) * 2017-09-29 2018-02-09 努比亚技术有限公司 A kind of image identification method, mobile terminal and computer-readable recording medium
CN108614657A (en) * 2018-04-20 2018-10-02 惠州学院 Image combining method, device, equipment and its image-carrier

Similar Documents

Publication Publication Date Title
CN109801347B (en) Method, device, equipment and medium for generating editable image template
JP4700423B2 (en) Common charting using shapes
CN110119515B (en) Translation method, translation device, terminal and readable storage medium
JP2020187736A (en) Learning data generation method for classifier learning having regional features, and system thereof
CN109145272B (en) Text rendering and layout method, device, equipment and storage medium
CN111752557A (en) Display method and device
JP7170773B2 (en) Structured document information marking method, structured document information marking device, electronic device, computer-readable storage medium, and computer program
Feng et al. Auto-icon: An automated code generation tool for icon designs assisting in ui development
CN113655999B (en) Page control rendering method, device, equipment and storage medium
US20180189249A1 (en) Providing application based subtitle features for presentation
US20170344247A1 (en) Touch screen device enabling entity to be shifted or copied based on touch input, and operating method thereof
US11410701B2 (en) Systems and methods for direct video retouching for text, strokes and images
US9465785B2 (en) Methods and apparatus for comic creation
CN116881353A (en) Financial data display method and device, storage medium and electronic equipment
CN105184838A (en) Picture processing method and terminal
US20150169508A1 (en) Obfuscating page-description language output to thwart conversion to an editable format
CN112598687A (en) Image segmentation method and device, storage medium and electronic equipment
CN111724455A (en) Image processing method and electronic device
CN109947334B (en) Ink mark canceling method and device and electronic equipment
CN109461111A (en) Image editing method, device, terminal device and medium
US20160188538A1 (en) Method and apparatus of building intermediate character library
CN112395834B (en) Brain graph generation method, device and equipment based on picture input and storage medium
US20180300301A1 (en) Enhanced inking capabilities for content creation applications
CN114548040A (en) Note processing method, electronic device and storage medium
KR102300444B1 (en) Document editing device to check whether the font applied to the document is a supported font and operating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190312