CN109544587A - A kind of FIG pull handle method, apparatus and terminal device - Google Patents
A kind of FIG pull handle method, apparatus and terminal device Download PDFInfo
- Publication number
- CN109544587A CN109544587A CN201811291952.8A CN201811291952A CN109544587A CN 109544587 A CN109544587 A CN 109544587A CN 201811291952 A CN201811291952 A CN 201811291952A CN 109544587 A CN109544587 A CN 109544587A
- Authority
- CN
- China
- Prior art keywords
- image
- selection area
- pull handle
- user
- preset
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Processing (AREA)
Abstract
The application is suitable for technical field of image processing, provides a kind of FIG pull handle method, apparatus and terminal device, which comprises obtain the first image by the resolution ratio that image preprocessing reduces image to be processed;User is received to the label of selection area and background area, the first image is handled by preset stingy nomography, obtains corresponding second image of the selection area.The application can solve that existing FIG pull handle speed is slow, and practicability is low, and user experience is bad, and when improving processing speed by hardware modifications, less economical problem.
Description
Technical field
The application belongs to technical field of image processing more particularly to a kind of FIG pull handle method, apparatus and terminal device.
Background technique
Stingy figure refers to the image processing operations that the part that will be needed in image is extracted from original image, is in image procossing
One of most common operation.
There are many stingy figure softwares at present, user can respectively be marked selection area and background area, then
The image of selection area is extracted by scratching nomography.But it when carrying out scratching figure due to scratching nomography, needs largely to be counted
It calculates, the processing time is long, and practicability is low.
If necessary to improve the speed of FIG pull handle, current main way is set about from hardware aspect, improves server
Configuration, enhance the operational capability of server, thus achieve the effect that improve FIG pull handle speed.But this mode can be very big
Ground improves hardware cost and later period O&M cost, less economical.
To sum up, current FIG pull handle speed is slow, and practicability is low, and user experience is bad, and by hardware modifications raising at
It is less economical when managing speed.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of FIG pull handle method, apparatus and terminal device, it is existing to solve
FIG pull handle speed it is slow, practicability is low, and user experience is bad, and by hardware modifications improve processing speed when, it is less economical
The problem of.
The first aspect of the embodiment of the present application provides a kind of FIG pull handle method, comprising:
The first image is obtained by the resolution ratio that image preprocessing reduces image to be processed;
User is received to the label of selection area and background area, by preset stingy nomography to the first image into
Row processing, obtains corresponding second image of the selection area.
The second aspect of the embodiment of the present application provides a kind of FIG pull handle device, comprising:
Preprocessing module, the resolution ratio for reducing image to be processed by image preprocessing obtain the first image;
It scratches module and passes through preset stingy nomography pair for receiving user to the label of selection area and background area
The first image is handled, and corresponding second image of the selection area is obtained.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes such as the step of the above method.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, realizes when the computer program is executed by processor such as the step of the above method.
Existing beneficial effect is the embodiment of the present application compared with prior art:
In the FIG pull handle method of the application, the resolution ratio that image preprocessing reduces image to be processed is first passed through, then
FIG pull handle is carried out again, and since the resolution ratio of image is smaller, stingy figure speed is faster, therefore, passes through point for reducing image to be processed
Stingy figure speed can be improved in resolution, and due to being the improvement in algorithm level, without improving hardware facility, upgrade cost is low,
Good economy performance, solves that existing FIG pull handle speed is slow, and practicability is low, and user experience is bad, and passes through hardware modifications and improve
When processing speed, less economical problem.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of FIG pull handle method provided by the embodiments of the present application;
Fig. 2 is the schematic diagram of FIG pull handle device provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, above equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage
Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application
Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer
With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,
Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
In addition, term " first ", " second ", " third " etc. are only used for distinguishing description, and cannot in the description of the present application
It is interpreted as indication or suggestion relative importance.
Embodiment one:
A kind of FIG pull handle method provided below the embodiment of the present application one is described, and please refers to attached drawing 1, the application
FIG pull handle method in embodiment one includes:
Step S101, the first image is obtained by the resolution ratio that image preprocessing reduces image to be processed;
The corresponding figure in the address url that image to be processed can directly be inputted from the image locally uploaded or user for user
Picture.
After receiving image to be processed, image can be pre-processed to reduce the resolution ratio of image, be obtained first
First image.
Step S102, user is received to the label of selection area and background area, by preset stingy nomography to described
First image is handled, and corresponding second image of the selection area is obtained.
After obtaining the first image, user is received to the label of selection area and background area, the mode of label can be selected
Select trimap mark mode, scribbles mark mode or other mark modes.
It, can be by preset stingy nomography to the first figure after user is obtained to the label of selection area and background area
As being handled, corresponding second image of selection area is obtained, preset stingy nomography can select Wang according to actual needs
And Cohen algorithm, global Poisson scratch nomography, the stingy nomography of random walk, enclosed resolving Algorithm or other stingy nomographys.
When scratching nomography to image progress FIG pull handle, handling duration is related with the size of image, therefore, first by image
It carries out pretreatment and reduces resolution ratio and reuse stingy nomography and scratch figure that the processing speed of stingy nomography can be greatlyd improve.
Further, described image pretreatment includes one of Fuzzy Processing, Edge contrast and compression processing or a variety of.
Further, it is described obtain corresponding second image of the selection area after further include:
A1, second image is handled by image restoring algorithm, obtains third image.
After obtaining the second image, since the second image is to scratch figure on the basis of reducing the first image of resolution ratio
It obtains, it is less clear compared with the original image to be processed that user provides, therefore can be by image restoring algorithm to the
Two images are handled, and are improved the clarity of the second image, are obtained third image.
Further, described image retrieving algorithm includes one in edge calculations algorithm, Morphology Algorithm and filtering algorithm
Kind is a variety of.
Image restoring algorithm may include one of edge calculations algorithm, Morphology Algorithm and filtering algorithm or a variety of,
The clarity of the second image can be improved by image restoring algorithm
It optionally, can also be by parameters such as the form and aspect, saturation degree and brightness of image to be processed to the parameter of the second image
Tuning is carried out, the details of the second image is restored, improves the experience property of user.
Further, before the reception user is to the label of selection area and background area further include:
B1, the image to be processed or the first image are shown.
It, can directly will be wait locate after user uploads the address url of the image to be processed of image to be processed or input
Reason image shows user to carry out the label of selection area and background area, can also be after obtaining the first image by first
Image shows user to carry out the label of selection area and background area, and specific set-up mode can be configured in advance, can also
To carry out analysis setting according to the behavioral statistics data of user.
When being configured by the behavioral statistics data of user, the image displaying in available user's history record refers to
It enables, shows that Instruction Statistics user selects to show time that the number of image to be processed and selection show the first image according to described image
Number, the image that automatic Display user selects number more, such as show that instruction carries out according to the image in the historical record of user
Statistics, obtains user and selects the number for showing image to be processed to be 17 times, selects to show that the number of the first image is 3 times, then originally
Secondary automatic Display image to be processed, if the subsequent image for receiving user shows that instruction is shown the change of image again;Or
Person can also follow image last in user's history record to show that the selection instructed, such as the image of last user are shown
Instruction selection shows image to be processed, then this automatic Display image to be processed, and last image is followed to show the choosing of instruction
It selects.
Further, the reception user passes through preset stingy nomography pair to the label of selection area and background area
The first image is handled, and is obtained corresponding second image of the selection area and is specifically included:
C1, user is received to the label of the selection area and the background area;
C2, it calls CPU and GPU to carry out cooperated computing, the first image is carried out by the preset stingy nomography
Processing, obtains corresponding second image of the selection area.
In computer, calculating is usually responsible for by CPU, image procossing is responsible for by GPU, but with the development of video card,
The computing capability of GPU has obtained great promotion, and the computing capability of GPU has been over general CPU, therefore, is being answered
When miscellaneous operation, calls CPU and GPU to carry out cooperated computing, processing speed when computer disposal challenge can be improved.
By preset stingy nomography to the first image in the process of processing, need to carry out complicated operation, if
It is calculated only by CPU, needs to expend longer time, therefore, CPU and GPU can be called to carry out cooperated computing to mention
The calculating speed of the stingy nomography of height, reduces the waiting time of user.
In addition, may call upon other than calling CPU and GPU to carry out cooperated computing to the treatment process of stingy nomography
CPU and GPU carries out cooperated computing to other steps, such as after getting image to be processed, calls directly CPU and GPU to whole
A FIG pull handle process carries out cooperated computing.
Further, the calling CPU and GPU carry out cooperated computing, by the preset stingy nomography to described the
One image is handled, and is obtained corresponding second image of the selection area and is specifically included:
D1, CPU and GPU is called to carry out cooperated computing by CUDA technology, by the preset stingy nomography to described
First image is handled, and corresponding second image of the selection area is obtained.
CUDA (Compute Unified Device Architecture) is a kind of universal parallel released by NVIDIA
Computing architecture can call GPU that CPU is cooperateed with to carry out collaboration processing, solve complicated computational problem by CUDA technology.
After getting image to be processed, CPU and GPU can be called to carry out image to be processed simultaneously using CUDA technology
FIG pull handle, to improve the speed of FIG pull handle.
In the FIG pull handle method that the present embodiment one provides, first image to be processed can be pre-processed, reduce image
Resolution ratio, reuse preset stingy nomography and handled, due to scratch nomography processing speed it is related with the size of image,
Therefore the resolution ratio for reducing image, which reuses stingy nomography, can greatly improve the processing speed of stingy nomography.
After processing by scratching nomography obtains the second image, the second image can be carried out by image restoring algorithm
Processing, so that the details of the second image is restored and be improved the clarity of the second image, to improve the experience property of user.
Showing user to carry out selection area and the image of background area label can be image to be processed, or the
One image, specific set-up mode can be selected according to actual needs.
Using stingy nomography in the process of processing, CPU can be called simultaneously using CUDA technology to the first image
Collaboration processing is carried out with GPU, to improve the speed of FIG pull handle.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit
It is fixed.
Embodiment two:
The embodiment of the present application two provides a kind of FIG pull handle device, for purposes of illustration only, only showing relevant to the application
Part, as shown in Fig. 2, FIG pull handle device includes,
Preprocessing module 201, the resolution ratio for reducing image to be processed by image preprocessing obtain the first image;
It scratches module 202 and passes through preset stingy nomography for receiving user to the label of selection area and background area
The first image is handled, corresponding second image of the selection area is obtained.
Further, described image pretreatment includes one of Fuzzy Processing, Edge contrast and compression processing or a variety of.
Further, described device further include:
Recovery module obtains third image for handling by image restoring algorithm second image.
Further, described image retrieving algorithm includes one in edge calculations algorithm, Morphology Algorithm and filtering algorithm
Kind is a variety of.
Further, described device further include:
Image display module, for showing the image to be processed or the first image.
Further, the stingy module 202 specifically includes:
Submodule is marked, for receiving user to the label of the selection area and the background area;
Submodule is cooperateed with, for calling CPU and GPU to carry out cooperated computing, by the preset stingy nomography to described
First image is handled, and corresponding second image of the selection area is obtained.
Further, the collaboration submodule is specifically used for calling CPU and GPU to carry out cooperated computing by CUDA technology,
The first image is handled by the preset stingy nomography, obtains corresponding second image of the selection area.
It should be noted that the contents such as information exchange, implementation procedure between above-mentioned apparatus/unit, due to the application
Embodiment of the method is based on same design, concrete function and bring technical effect, for details, reference can be made to embodiment of the method part, this
Place repeats no more.
Embodiment three:
Fig. 3 is the schematic diagram for the terminal device that the embodiment of the present application three provides.As shown in figure 3, the terminal of the embodiment is set
Standby 3 include: processor 30, memory 31 and are stored in the meter that can be run in the memory 31 and on the processor 30
Calculation machine program 32.The processor 30 realizes the step in above-mentioned FIG pull handle embodiment of the method when executing the computer program 32
Such as step S101 to S102 shown in FIG. 1 suddenly,.Alternatively, the processor 30 is realized when executing the computer program 32
State the function of each module/unit in each Installation practice, such as the function of module 201 to 202 shown in Fig. 2.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 32 in the terminal device 3 is described.For example, the computer program 32 can be divided
It is cut into preprocessing module and stingy module, each module concrete function is as follows:
The first image is obtained by the resolution ratio that image preprocessing reduces image to be processed;
User is received to the label of selection area and background area, by preset stingy nomography to the first image into
Row processing, obtains corresponding second image of the selection area.
The terminal device 3 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3
The only example of terminal device 3 does not constitute the restriction to terminal device 3, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 31 can be the internal storage unit of the terminal device 3, such as the hard disk or interior of terminal device 3
It deposits.The memory 31 is also possible to the External memory equipment of the terminal device 3, such as be equipped on the terminal device 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 31 can also both include the storage inside list of the terminal device 3
Member also includes External memory equipment.The memory 31 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it 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.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of FIG pull handle method characterized by comprising
The first image is obtained by the resolution ratio that image preprocessing reduces image to be processed;
User is received to the label of selection area and background area, by preset stingy nomography to the first image at
Reason, obtains corresponding second image of the selection area.
2. FIG pull handle method as described in claim 1, which is characterized in that it includes Fuzzy Processing that described image, which pre-processes, sharp
Change one of processing and compression processing or a variety of.
3. FIG pull handle method as described in claim 1, which is characterized in that obtain the selection area corresponding described
After two images further include:
Second image is handled by image restoring algorithm, obtains third image.
4. FIG pull handle method as claimed in claim 3, which is characterized in that described image retrieving algorithm includes that edge calculations are calculated
One of method, Morphology Algorithm and filtering algorithm are a variety of.
5. FIG pull handle method as described in claim 1, which is characterized in that in the reception user to selection area and background
Before the label in region further include:
Show the image to be processed or the first image.
6. FIG pull handle method as described in claim 1, which is characterized in that the reception user is to selection area and background area
The label in domain is handled the first image by preset stingy nomography, obtains the selection area corresponding second
Image specifically includes:
User is received to the label of the selection area and the background area;
It calls CPU and GPU to carry out cooperated computing, the first image is handled by the preset stingy nomography, is obtained
To corresponding second image of the selection area.
7. FIG pull handle method as claimed in claim 6, which is characterized in that the calling CPU and GPU carries out cooperated computing,
The first image is handled by the preset stingy nomography, obtains the corresponding second image tool of the selection area
Body includes:
CPU and GPU is called to carry out cooperated computing by CUDA technology, by the preset stingy nomography to the first image
It is handled, obtains corresponding second image of the selection area.
8. a kind of FIG pull handle device characterized by comprising
Preprocessing module, the resolution ratio for reducing image to be processed by image preprocessing obtain the first image;
Module is scratched, for receiving user to the label of selection area and background area, by preset stingy nomography to described
First image is handled, and corresponding second image of the selection area is obtained.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 7 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811291952.8A CN109544587A (en) | 2018-10-31 | 2018-10-31 | A kind of FIG pull handle method, apparatus and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811291952.8A CN109544587A (en) | 2018-10-31 | 2018-10-31 | A kind of FIG pull handle method, apparatus and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109544587A true CN109544587A (en) | 2019-03-29 |
Family
ID=65846405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811291952.8A Pending CN109544587A (en) | 2018-10-31 | 2018-10-31 | A kind of FIG pull handle method, apparatus and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109544587A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110517215A (en) * | 2019-08-28 | 2019-11-29 | 咪咕视讯科技有限公司 | A kind of Video compression method, electronic equipment and storage medium |
CN114820686A (en) * | 2022-05-16 | 2022-07-29 | 北京百度网讯科技有限公司 | Matting method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7636128B2 (en) * | 2005-07-15 | 2009-12-22 | Microsoft Corporation | Poisson matting for images |
CN103473780A (en) * | 2013-09-22 | 2013-12-25 | 广州市幸福网络技术有限公司 | Portrait background cutout method |
CN107230182A (en) * | 2017-08-03 | 2017-10-03 | 腾讯科技(深圳)有限公司 | A kind of processing method of image, device and storage medium |
CN107346547A (en) * | 2017-07-04 | 2017-11-14 | 易视腾科技股份有限公司 | Real-time foreground extracting method and device based on monocular platform |
CN107730528A (en) * | 2017-10-28 | 2018-02-23 | 天津大学 | A kind of interactive image segmentation and fusion method based on grabcut algorithms |
-
2018
- 2018-10-31 CN CN201811291952.8A patent/CN109544587A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7636128B2 (en) * | 2005-07-15 | 2009-12-22 | Microsoft Corporation | Poisson matting for images |
CN103473780A (en) * | 2013-09-22 | 2013-12-25 | 广州市幸福网络技术有限公司 | Portrait background cutout method |
CN107346547A (en) * | 2017-07-04 | 2017-11-14 | 易视腾科技股份有限公司 | Real-time foreground extracting method and device based on monocular platform |
CN107230182A (en) * | 2017-08-03 | 2017-10-03 | 腾讯科技(深圳)有限公司 | A kind of processing method of image, device and storage medium |
CN107730528A (en) * | 2017-10-28 | 2018-02-23 | 天津大学 | A kind of interactive image segmentation and fusion method based on grabcut algorithms |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110517215A (en) * | 2019-08-28 | 2019-11-29 | 咪咕视讯科技有限公司 | A kind of Video compression method, electronic equipment and storage medium |
CN110517215B (en) * | 2019-08-28 | 2022-03-25 | 咪咕视讯科技有限公司 | Video compression processing method, electronic equipment and storage medium |
CN114820686A (en) * | 2022-05-16 | 2022-07-29 | 北京百度网讯科技有限公司 | Matting method and device, electronic equipment and storage medium |
CN114820686B (en) * | 2022-05-16 | 2022-12-16 | 北京百度网讯科技有限公司 | Matting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109144647B (en) | Form design method and device, terminal equipment and storage medium | |
CN108921806A (en) | A kind of image processing method, image processing apparatus and terminal device | |
CN109086742A (en) | scene recognition method, scene recognition device and mobile terminal | |
CN109064390A (en) | A kind of image processing method, image processing apparatus and mobile terminal | |
CN108319592A (en) | A kind of method, apparatus and intelligent terminal of translation | |
CN110119733A (en) | Page recognition methods and device, terminal device, computer readable storage medium | |
CN109636278A (en) | Material replenishing method, material goods compensator and terminal device | |
CN109165316A (en) | A kind of method for processing video frequency, video index method, device and terminal device | |
CN109376645A (en) | A kind of face image data preferred method, device and terminal device | |
CN109215037A (en) | Destination image partition method, device and terminal device | |
CN107193598A (en) | One kind application startup method, mobile terminal and computer-readable recording medium | |
CN109118447A (en) | A kind of image processing method, picture processing unit and terminal device | |
CN107506494B (en) | Document handling method, mobile terminal and computer readable storage medium | |
CN109151337A (en) | Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal | |
CN108874134A (en) | Eyeshield mode treatment method, mobile terminal and computer readable storage medium | |
CN107506483A (en) | Page loading method, device, electronic equipment and storage medium | |
CN109359582A (en) | Information search method, information search device and mobile terminal | |
CN109544587A (en) | A kind of FIG pull handle method, apparatus and terminal device | |
CN109848052A (en) | A kind of method and terminal device of goods sorting | |
WO2022095640A1 (en) | Method for reconstructing tree-shaped tissue in image, and device and storage medium | |
CN108920704A (en) | File access pattern method, file restoring device and mobile terminal | |
CN109492249A (en) | Rapid generation, device and the terminal device of design drawing | |
CN110263741A (en) | Video frame extraction method, apparatus and terminal device | |
CN108521460A (en) | Information-pushing method, device, mobile terminal and computer readable storage medium | |
CN109409869A (en) | A kind of method of payment of smartwatch, device and terminal device |
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 |
Application publication date: 20190329 |
|
RJ01 | Rejection of invention patent application after publication |