CN102750685A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN102750685A
CN102750685A CN2011103982003A CN201110398200A CN102750685A CN 102750685 A CN102750685 A CN 102750685A CN 2011103982003 A CN2011103982003 A CN 2011103982003A CN 201110398200 A CN201110398200 A CN 201110398200A CN 102750685 A CN102750685 A CN 102750685A
Authority
CN
China
Prior art keywords
image
effect
process zone
pattern
effect process
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
CN2011103982003A
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.)
Shenzhen Wondershare Software Co Ltd
Original Assignee
Shenzhen Wondershare Software 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 Shenzhen Wondershare Software Co Ltd filed Critical Shenzhen Wondershare Software Co Ltd
Priority to CN2011103982003A priority Critical patent/CN102750685A/en
Priority to PCT/CN2011/084168 priority patent/WO2013082832A1/en
Publication of CN102750685A publication Critical patent/CN102750685A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention discloses an image processing method in embodiments. The method comprises acquiring an image to be processed; selecting from at least one preset type of image effect partition information, and dividing the image into a first effect processing area and a second effect processing area according to the selected image effect partition information; selecting from the at least one preset type of image processing effect, and processing the image in the first effect processing area according to the selected image processing effect; retaining the image effect in the second effect processing area; and combining the processed image in the fist effect processing area and that in the second effect processing area. The invention also discloses an image processing device in embodiments. By the scheme of the invention, special effect processing is performed on video frame images produced in such a manner similar to those shot or recorded in real time, according to materials selected by a user, and then processing is performed to obtain special effect processed photos meeting recreation and amusement requirements of users, so that actuality and virtuality alternate, and thus the device has important applicability and recreation value.

Description

A kind of image process method and device thereof
Technical field
The present invention relates to image processing field, relate in particular to a kind of image process method and device.
Background technology
The type of picture effect is more and more; Picture like different-effect types such as handwritten drawings, photo and old film effect pictures; But at present and the image processing techniques that combines of the picture of no-trump different-effect type, how to realize on the basis of artistic works such as similar photography photo that processings such as similar drawing has important use property and follow recreational value.
Summary of the invention
The embodiment of the invention provides a kind of image processing method and device thereof, can the picture of different-effect type be combined, and realizes true illusory mutual the replacing of following, and has createed a kind of ultra presence of narrative, has important use property and recreational value.
In order to solve the problems of the technologies described above, a kind of image processing method that the embodiment of the invention provides comprises:
Obtain pending image;
From preset at least a image effect partition information, choose, image division is gone out first effect process zone and second effect process zone according to selected image effect partition information;
From preset at least a image processing effect, choose, the image in the said first effect process zone is handled according to selected image processing effect; Keep the image effect in the said second effect process zone;
First effect process zone after handling and the image in the second effect process zone are merged.
Preferably, said image effect partition information comprises the material pattern-information; Comprise the first material area of the pattern and first Flame Image Process zone from the first effect process zone that image division goes out according to selected image effect partition information;
Preferably, the selected image processing effect of said basis carries out processed steps to the image in the said first effect process zone and comprises:
Keep the material pattern in the said first material area of the pattern; Image processing effect according to selected is handled the image in the said first Flame Image Process zone.
Preferably, the selected image effect partition information of said basis goes out image division after the step in first effect process zone and second effect process zone, before the step of the image effect in the said second effect process zone of said reservation, also comprises:
From preset at least a material pattern-information, choosing, is the second material area of the pattern and second Flame Image Process zone according to selected material pattern-information with the said second effect process area dividing;
The step of the image effect in the said second effect process zone of said reservation comprises:
Keep the material pattern in the said second material area of the pattern, and keep the image effect in the said second Flame Image Process zone.
Preferably, preset said image effect partition information comprises the alpha value that each pixel in the image is provided with;
The selected image effect partition information of said basis comprises the step that image division goes out first effect process zone and second effect process zone:
It is regional that alpha value in the selected image effect partition information is not that 0 pixel is divided into first effect process; It is regional that alpha value in the selected image effect partition information is that 0 pixel is divided into second effect process.
Preferably, preset said material pattern-information comprises the alpha value to each pixel setting of the image in the said second effect process zone;
The selected material pattern-information of said basis is that the second material area of the pattern and the regional step of second Flame Image Process comprise with the said second effect process area dividing:
With alpha value in the selected material pattern-information is not that 0 pixel is divided into the second material area of the pattern; It is regional that alpha value in the selected image effect partition information is that 0 pixel is divided into second Flame Image Process.
Preferably, saidly obtain pending image and comprise the video frame images that obtains real-time shooting or record;
The step that first effect process zone after said will the processing and the image in the second effect process zone merge comprises: the image after will merging is exported demonstration in real time as video frame images.
The embodiment of the invention also provides a kind of device of Flame Image Process, comprising:
Image collection module is used to obtain pending image;
First chooses division module, is used for choosing from preset at least a image effect partition information, according to selected image effect partition information image division is gone out first effect process zone and second effect process zone;
The effect process module is used for choosing from preset at least a image processing effect, according to selected image processing effect the image in the said first effect process zone is handled; Keep the image effect in the said second effect process zone;
Merge module, be used for first effect process zone after handling and the image in the second effect process zone are merged.
Preferably, said image effect partition information comprises the material pattern-information; The said first effect process zone comprises the first material area of the pattern and first Flame Image Process zone;
Said effect process module comprises:
The first image stick unit is used for keeping the image effect in the said second effect process zone;
The first pattern stick unit is used for keeping the material pattern of the said first material area of the pattern;
First processing unit is used for according to selected image processing effect the image in the said first Flame Image Process zone being handled.
Preferably, said image processing apparatus also comprises:
Second chooses division module, be used for choosing from preset at least a material pattern-information, and be the second material area of the pattern and second Flame Image Process zone according to selected material pattern-information with the said second effect process area dividing;
Said effect process module comprises:
The second pattern stick unit is used for keeping the material pattern of the said second material area of the pattern;
The second image stick unit is used for keeping the image effect in the said second Flame Image Process zone;
Second processing unit is used for according to selected image processing effect the image in the said first effect process zone being handled.
Preferably, said image collection module is used to the video frame images that obtains real-time shooting or record;
The device of said Flame Image Process also comprises:
The output display module is used for the image after the said merging module merging is exported demonstration in real time as video frame images.
Embodiment of the present invention embodiment, the embodiment of the invention is through obtaining pending image; And choose in the preset at least a image effect partition information, according to selected image effect partition information image division is gone out first effect process zone and second effect process zone; And then from preset at least a image processing effect, choose, according to selected image processing effect the image in the said first effect process zone is handled; Keep the image effect in the said second effect process zone; First effect process zone after handling and the image in the second effect process zone are merged; Take this to have realized to select material to similar real-time shooting or the video frame images special effect processing recorded according to the user; And then handle to obtain to satisfy the photo after the special effect processing of consumer entertainment and interest demand; And the simple easy operating of this image processing process can combine the picture of different-effect type, realizes true in illusory alternately mutual; Create a kind of ultra presence of narrative, had important use property and recreational value.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the first embodiment process flow diagram of image processing method of the present invention;
Fig. 2 is the second embodiment process flow diagram of image processing method of the present invention;
Fig. 3 is the 3rd an embodiment process flow diagram of image processing method of the present invention;
Fig. 4 is that first embodiment of Flame Image Process treating apparatus of the present invention forms synoptic diagram;
Fig. 5 is that second embodiment of Flame Image Process treating apparatus of the present invention forms synoptic diagram;
Fig. 6 is that second embodiment of Flame Image Process treating apparatus of the present invention forms synoptic diagram;
Fig. 7 is the material template example that the embodiment of the invention provides;
Fig. 8 is another material template example that the embodiment of the invention provides;
Fig. 9 is of providing of the embodiment of the invention and the corresponding shade example of Fig. 8 material template example;
Figure 10 is the pending example images that the embodiment of the invention provides;
Figure 11,13, the 14th, three material template examples that the embodiment of the invention provides;
Figure 12, the 15th, the example images that the embodiment of the invention provides after based on Figure 11,14 two material template examples pending image effect shown in Figure 10 being handled.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
With reference to accompanying drawing 1, be the first embodiment process flow diagram of image processing method of the present invention.
The described image processing method of present embodiment comprises:
Step S101 obtains pending image, here; Said pending image can be the video frame images of taking in real time or recording, and like the photochrome or the black-and-white photograph of video camera or camera production, also can be other any type of still image works; Drawing and artistic work etc. like scanning; With reference to shown in Figure 10, be a pending image, this image is a shooting photo.
Step S102 chooses from preset at least a image effect partition information, according to selected image effect partition information image division is gone out first effect process zone and second effect process zone.Concrete; Said image effect partition information is meant pending image is carried out the partition information that image effect is handled; Some Flame Image Process material templates also promptly are set in advance, are planned at least two processing regions in this picture material template, wherein first effect process zone is for carrying out the zone of special effect processing to pending image corresponding region; Second effect process zone keeps the zone of original effect for after pending image is carried out Flame Image Process.
Step S103 chooses from preset at least a image processing effect, according to selected image processing effect the image in the said first effect process zone is handled; Keep the image effect in the said second effect process zone.
Step S104 merges first effect process zone after handling and the image in the second effect process zone.Concrete after step S104, can also the image after merging be exported demonstration in real time as video frame images.
Promptly; Further; The embodiment of the invention can also be handled the video of recording a video or need to play, particularly except carrying out the effect process single image or picture; Obtaining pending image among the step S101 is the video frame images of taking in real time or recording; The video frame images of the video that perhaps need play, in turn execution in step S102 is to step S104 in real time whenever to obtain two field picture general, and the image after then every frame being handled synthetic video is successively exported demonstration in real time.When for example the user holds electronic equipment and records a video, start the technical scheme of the embodiment of the invention, so the image in this first effect process zone of the entering in display screen in real time display effect handle the back image.
Preferably, in one embodiment, the image effect partition information also comprises the material pattern-information described in the embodiment of the invention step S102, and the said first effect process zone comprises the first material area of the pattern and first Flame Image Process zone.With reference to figure 7; A material template example that provides for the embodiment of the invention; The said in this embodiment first effect process zone comprises white portion 1 shown in the figure and hand-type shape area of the pattern 2, and wherein zone 1 is said first Flame Image Process zone, after pending image is handled; Pairing image is rendered as the effect after the special effect processing in this regional extent; Zone 2 is the said first material area of the pattern, and after pending image was handled, the pairing image of this regional location was rendered as the material pattern.Preset in this embodiment said image effect partition information comprises the alpha value that each pixel in the image is provided with; The selected image effect partition information of said basis comprises the step that image division goes out first effect process zone and second effect process zone: it is regional that alpha value in the selected image effect partition information is not that 0 pixel is divided into first effect process; It is regional that alpha value in the selected image effect partition information is that 0 pixel is divided into second effect process.
Preferably; In another embodiment; Between step S102 and step S103, also comprise step: from preset at least a material pattern-information, choosing, is the second material area of the pattern and second Flame Image Process zone according to selected material pattern-information with the said second effect process area dividing.Further; In this embodiment; The step of the image effect in the said second effect process zone of the reservation among the said step S103 comprises: keep the material pattern in the said second material area of the pattern, and keep the image effect in the said second Flame Image Process zone.With reference to figure 8, Fig. 9; Material template shown in Figure 8 is divided into white portion 1 and black region 2; Wherein white portion is first effect process zone, and after pending image was handled, pairing image was rendered as the effect after the special effect processing in this regional extent; Black region 2 is second Flame Image Process zone; In the material template shown in Fig. 9, be divided into hand-type zone 3 and grid area 4 with the black region 2 corresponding zones shown in Fig. 8, wherein said hand-type zone 3 is the said second material area of the pattern; After pending image was handled, the pairing image of this regional location was rendered as the second material pattern.Said grid area 4 said second Flame Image Process zones, after pending image was handled, the pairing image of this regional location was left the original image effect.Concrete, preset in this embodiment said material pattern-information comprises the alpha value to each pixel setting of the image in the said second effect process zone; The selected material pattern-information of said basis will the said second effect process area dividing be that the step in the second material area of the pattern and second Flame Image Process zone comprises: with alpha value in the material pattern-information of selecting is not that 0 pixel is divided into the second material area of the pattern; It is regional that alpha value in the selected image effect partition information is that 0 pixel is divided into second Flame Image Process.
Implement present embodiment, present embodiment is through obtaining pending image; And choose in the preset at least a image effect partition information, according to selected image effect partition information image division is gone out first effect process zone and second effect process zone; And then from preset at least a image processing effect, choose, according to selected image processing effect the image in the said first effect process zone is handled; Keep the image effect in the said second effect process zone; First effect process zone after handling and the image in the second effect process zone are merged; Take this to have realized to select material to similar real-time shooting or the video frame images special effect processing recorded according to the user; And then handle to obtain to satisfy the photo after the special effect processing of consumer entertainment and interest demand; And the simple easy operating of this image processing process can combine the picture of different-effect type, realizes true in illusory alternately mutual; Create a kind of ultra presence of narrative, had important use property and recreational value.
Fig. 2 is the second embodiment process flow diagram of image processing method of the present invention, and this embodiment comprises:
Step S201, read pending image,, then the coloured image of input is carried out gray processing and handle, obtain gray-scale map A,, then do not handle if what import is gray-scale map if the figure of input be a coloured image.
Here, said gray-scale map is meant and only comprises monochrome information that do not comprise the image of chromatic information, the conversion formula that coloured image is converted to gray-scale map is following:
Y?=?0.299*R?+?0.587*G?+?0.114*B
Wherein R, G, B are respectively the brightness value of three passages of red, green, blue of colour picture, and Y is the brightness value of gray scale picture, can change above-mentioned formula into the integer arithmetic formula in the computing embodiment of the invention for ease, as follows:
Y?=?(R*306?+?G*601?+?B*117?+?512)?>>?10
Just can calculate the gray-scale map of photochrome through this formula.
Step S202 carries out reverse process with said gray-scale map, generates converse digraph.
Reverse process can be calculated through following formula and realize,
Y0?=?255?–?Yi
Wherein Yi is the gray-scale value of input gray level figure, and Y0 is the gray-scale value of its anti-phase figure, can obtain converse digraph through this formula.
Step S203 carries out the corruption of minimum value gray scale with the converse digraph of said generation, generates foreground picture layer C.
Adopt the local minimum operator that anti-phase figure is degenerated in the embodiment of the invention; Can the marginal information of anti-phase picture be strengthened; Can also select for use the template of 3*3 to carry out the minimum value corruption; Can make the faster and better quality of the speed of handling picture like this, specifically can calculate foreground picture through following formula
Y0(i,?j)?=?min(?min(Yi(i-1,?j-1),?Yi(i,?j-1),?Yi(i+1,?j-1)),min(Yi(i-1,?j),?Yi?(i,?j),?Yi(i+1,?j)),min(Yi(i-1,?j+1),?Yi?(i,?j+1),?Yi(i+1,?j+1)))
Wherein Yi is the gray-scale value of input inversion figure, and Y0 is the gray-scale value of corrosion back image.
Step S204; The foreground picture layer C that gray-scale map A after will handling through the coloured image gray processing of step S201 input or direct input acquisition gray-scale map A and step S103 generate carries out the color dodge hybrid processing; Effect process figure layer D after the processing of generation acquisition image effect, for example handwritten drawings effect or old film special efficacy effect etc.Color dodge hybrid processing implementation can be: foreground picture layer C promotes brightness according to the GTG brightness of gray-scale map A, and then merges mutually with gray-scale map A.
Step S205 imports the material template B that the user selects, and reads the pixel number certificate of the material template of said input.According to being three zones with pending image division, zone 1 is the final zone that generates after image effect is handled according to pixel number, and zone 2 is for keeping the zone of original input picture effect, and zone 3 is for showing the zone of the material pattern in the material template.
Step S206 divides partition information according to said step S205, merges the image that generates after final image effect is handled.
In this step; Partition information according to selected material template; Zone 1 pixel pixel value is the pixel value of the effect layer D corresponding region of step S204 generation; Zone 2 pixel values are the pixel value of original input picture corresponding region, and regional 3 pixel values are material area of the pattern corresponding pixel value in the material template.Finally can obtain net result image after the effect process through this step.As with reference to Figure 10, Figure 11, Figure 12, Figure 13, Figure 14, Figure 15 and Figure 16, Figure 10 is pending image (actual be coloured image), and Figure 11, Figure 13, Figure 15 be the material template, and Figure 12, Figure 14, Figure 16 are the net result image that generates after the effect process.Wherein, in Figure 12,14,16 light color frame zone, be the special effect processing zone of generation, also i.e. zone 1; The hand-type zone is the material area of the pattern; Also be zone 3, other are with the identical zone of original pending image and keep the original image zone, also are regional 2.The described method of present embodiment is to convert original image whole into complete effect layer D earlier in the processing procedure of step S201 to S204; And then in step S206 with effect layer D, material pattern in the material template and pending original image synthesize the effect image of final generation according to the subregion division information.Optional; Can also carry out the processing of step S201 according to the subregion division information of material template to the zone 1 of pending image in the processing procedure of step S201 to S204 in the present embodiment to step S204; In step S204, generate like this be exactly original image in zone 1 carry out the effect layer that image effect is handled, take this again also can to obtain final effect image through the processing procedure of step S205 and S206.
Need to prove that the preset material pattern-information (corresponding material area of the pattern) in the embodiment of the invention includes but not limited to the hand-type pattern of embodiment of the invention exemplified, can be the material pattern of self-defining arbitrary shape or color; Preset at least a image processing effect in the embodiment of the invention includes but not limited to the pencil drawing painting effect, can also comprise the drawing with colored pencil effect that exists in the prior art, old film effect, lomo film effect, snowflower effect or flame effect or the like.
Fig. 3 is the 3rd an embodiment process flow diagram of image processing method of the present invention, and this embodiment comprises:
Step S301 reads pending image, if the figure of input is a coloured image, then the coloured image to input carries out the gray processing processing, obtains gray-scale map A, if input is gray-scale map, does not then handle.
Step S302 carries out reverse process with said gray-scale map, generates converse digraph.
Step S303 carries out the corruption of minimum value gray scale with the converse digraph of said generation, generates foreground picture layer C.
Step S304; Gray-scale map A after will handling through the coloured image gray processing of step S301 input or directly input obtain gray-scale map A and carry out the color dodge hybrid processing with the foreground picture layer C that step S303 generates, generate obtain the image effect processing after effect process figure layer E.
The processing procedure of step S201 to S204 is identical among second embodiment of above-mentioned steps S301 to S304 and said image processing method of the present invention, repeats no more at this.
Step S305 imports the screen cover template B that the user selects, and reads the pixel number certificate of the screen cover template of said input.According to being two zones with pending image division, zone 1 is the final zone that generates after image effect is handled according to pixel number, and zone 2 is non-image processing region.
Step S306 imports the material template C that the user selects, and reads the pixel number certificate of the material template of said input.According to zone 2 is divided into two zones, zone 3 is the final zone that keeps the material effect image according to pixel number, and zone 4 is for keeping the zone identical with original image content.
Step S307 divides partition information according to said step S305 and S306, merges the image that generates after final image effect is handled.
The processing procedure of step S206 is identical among second embodiment of this step and image processing method of the present invention, repeats no more at this.
With reference to figure 4, for the embodiment of image processing apparatus of the present invention forms synoptic diagram, the said image processing apparatus of present embodiment comprises:
Image collection module 401 is used to obtain pending image, and pending image described herein can be the video frame images of taking in real time or recording; Photochrome or black-and-white photograph like video camera or camera production; Also can be other any type of still image works, like drawing and the artistic work etc. of scanning, with reference to shown in Figure 2; Be a pending image, this image is a shooting photo.
First chooses division module 402, is used for choosing from preset at least a image effect partition information, according to selected image effect partition information image division is gone out first effect process zone and second effect process zone.
Here; Said image effect partition information is meant pending image is carried out the partition information that image effect is handled; Some Flame Image Process material templates also promptly are set in advance, are planned at least two processing regions in this picture material template, wherein first effect process zone is for carrying out the zone of special effect processing to pending image corresponding region; Second effect process zone keeps the zone of original effect for after pending image is carried out Flame Image Process.
Effect process module 403 is used for choosing from preset at least a image processing effect, according to selected image processing effect the image in the said first effect process zone is handled; Keep the image effect in the said second effect process zone;
Merge module 404, be used for first effect process zone after handling and the image in the second effect process zone are merged;
Output display module 405 is used for the image after the said merging module merging is exported demonstration in real time as video frame images.
Preferably, with reference to figure 5, in one embodiment, the embodiment of the invention said first is chosen the image effect partition information that division module 402 chooses and is comprised the material pattern-information; The said first effect process zone comprises the first material area of the pattern and first Flame Image Process zone; Said effect process module 403 comprises:
The first image stick unit 40311 is used for keeping the image effect in the said second effect process zone;
The first pattern stick unit 40312 is used for keeping the material pattern of the said first material area of the pattern;
First processing unit 40313 is used for according to selected image processing effect the image in the said first Flame Image Process zone being handled.
Preferably; With reference to figure 6; In another embodiment; The described image processing apparatus of the embodiment of the invention also comprises: second chooses division module 406, be used for choosing from preset at least a material pattern-information, and be the second material area of the pattern and second Flame Image Process zone according to selected material pattern-information with the said second effect process area dividing;
Said effect process module 403 comprises:
The second pattern stick unit 40321 is used for keeping the material pattern of the said second material area of the pattern;
The second image stick unit 40322 is used for keeping the image effect in the said second Flame Image Process zone;
Second processing unit 40323 is used for according to selected image processing effect the image in the said first effect process zone being handled.
Implement present embodiment, present embodiment is through obtaining pending image; And choose in the preset at least a image effect partition information, according to selected image effect partition information image division is gone out first effect process zone and second effect process zone; And then from preset at least a image processing effect, choose, according to selected image processing effect the image in the said first effect process zone is handled; Keep the image effect in the said second effect process zone; First effect process zone after handling and the image in the second effect process zone are merged; Take this to have realized to select material to similar real-time shooting or the video frame images special effect processing recorded according to the user; And then handle to obtain to satisfy the photo after the special effect processing of consumer entertainment and interest demand; And the simple easy operating of this image processing process can combine the picture of different-effect type, realizes true in illusory alternately mutual; Create a kind of ultra presence of narrative, had important use property and recreational value.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosedly be merely preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (10)

1. an image process method is characterized in that, comprising:
Obtain pending image;
From preset at least a image effect partition information, choose, image division is gone out first effect process zone and second effect process zone according to selected image effect partition information;
From preset at least a image processing effect, choose, the image in the said first effect process zone is handled according to selected image processing effect; Keep the image effect in the said second effect process zone;
First effect process zone after handling and the image in the second effect process zone are merged.
2. the method for claim 1 is characterized in that, said image effect partition information comprises the material pattern-information; Comprise the first material area of the pattern and first Flame Image Process zone from the first effect process zone that image division goes out according to selected image effect partition information;
The selected image processing effect of said basis carries out processed steps to the image in the said first effect process zone and comprises:
Keep the material pattern in the said first material area of the pattern; Image processing effect according to selected is handled the image in the said first Flame Image Process zone.
3. the method for claim 1; It is characterized in that; The selected image effect partition information of said basis goes out image division after the step in first effect process zone and second effect process zone; Before the step of the image effect in the said second effect process zone of said reservation, also comprise:
From preset at least a material pattern-information, choosing, is the second material area of the pattern and second Flame Image Process zone according to selected material pattern-information with the said second effect process area dividing;
The step of the image effect in the said second effect process zone of said reservation comprises:
Keep the material pattern in the said second material area of the pattern, and keep the image effect in the said second Flame Image Process zone.
4. method as claimed in claim 2 is characterized in that, preset said image effect partition information comprises the alpha value that each pixel in the image is provided with;
The selected image effect partition information of said basis comprises the step that image division goes out first effect process zone and second effect process zone:
It is regional that alpha value in the selected image effect partition information is not that 0 pixel is divided into first effect process; It is regional that alpha value in the selected image effect partition information is that 0 pixel is divided into second effect process.
5. method as claimed in claim 3 is characterized in that, preset said material pattern-information comprises the alpha value to each pixel setting of the image in the said second effect process zone;
The selected material pattern-information of said basis is that the second material area of the pattern and the regional step of second Flame Image Process comprise with the said second effect process area dividing:
With alpha value in the selected material pattern-information is not that 0 pixel is divided into the second material area of the pattern; It is regional that alpha value in the selected image effect partition information is that 0 pixel is divided into second Flame Image Process.
6. like each described method of claim 1-5, it is characterized in that, saidly obtain pending image and comprise the video frame images that obtains real-time shooting or record;
The step that first effect process zone after said will the processing and the image in the second effect process zone merge comprises: the image after will merging is exported demonstration in real time as video frame images.
7. the device of a Flame Image Process is characterized in that, comprising:
Image collection module is used to obtain pending image;
First chooses division module, is used for choosing from preset at least a image effect partition information, according to selected image effect partition information image division is gone out first effect process zone and second effect process zone;
The effect process module is used for choosing from preset at least a image processing effect, according to selected image processing effect the image in the said first effect process zone is handled; Keep the image effect in the said second effect process zone;
Merge module, be used for first effect process zone after handling and the image in the second effect process zone are merged.
8. device as claimed in claim 7 is characterized in that, said image effect partition information comprises the material pattern-information; The said first effect process zone comprises the first material area of the pattern and first Flame Image Process zone;
Said effect process module comprises:
The first image stick unit is used for keeping the image effect in the said second effect process zone;
The first pattern stick unit is used for keeping the material pattern of the said first material area of the pattern;
First processing unit is used for according to selected image processing effect the image in the said first Flame Image Process zone being handled.
9. device as claimed in claim 7 is characterized in that, also comprises:
Second chooses division module, be used for choosing from preset at least a material pattern-information, and be the second material area of the pattern and second Flame Image Process zone according to selected material pattern-information with the said second effect process area dividing;
Said effect process module comprises:
The second pattern stick unit is used for keeping the material pattern of the said second material area of the pattern;
The second image stick unit is used for keeping the image effect in the said second Flame Image Process zone;
Second processing unit is used for according to selected image processing effect the image in the said first effect process zone being handled.
10. like each described device of claim 7-9, it is characterized in that said image collection module is used to the video frame images that obtains real-time shooting or record;
The device of said Flame Image Process also comprises:
The output display module is used for the image after the said merging module merging is exported demonstration in real time as video frame images.
CN2011103982003A 2011-12-05 2011-12-05 Image processing method and device Pending CN102750685A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011103982003A CN102750685A (en) 2011-12-05 2011-12-05 Image processing method and device
PCT/CN2011/084168 WO2013082832A1 (en) 2011-12-05 2011-12-17 Method and device for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103982003A CN102750685A (en) 2011-12-05 2011-12-05 Image processing method and device

Publications (1)

Publication Number Publication Date
CN102750685A true CN102750685A (en) 2012-10-24

Family

ID=47030835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103982003A Pending CN102750685A (en) 2011-12-05 2011-12-05 Image processing method and device

Country Status (2)

Country Link
CN (1) CN102750685A (en)
WO (1) WO2013082832A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301604A (en) * 2014-07-31 2015-01-21 福建网龙计算机网络信息技术有限公司 Image previewing device and image previewing method
CN105389313A (en) * 2014-09-04 2016-03-09 华为技术有限公司 Photo previewing method and device thereof
CN108519865A (en) * 2018-03-09 2018-09-11 福州瑞芯微电子股份有限公司 Source switches display methods, storage medium and system
CN105825494B (en) * 2015-08-31 2019-01-29 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109859102A (en) * 2019-02-01 2019-06-07 北京达佳互联信息技术有限公司 Special display effect method, apparatus, terminal and storage medium
CN111062870A (en) * 2019-12-16 2020-04-24 联想(北京)有限公司 Processing method and device
CN111200705A (en) * 2018-11-16 2020-05-26 北京微播视界科技有限公司 Image processing method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109754375B (en) * 2018-12-25 2021-05-14 广州方硅信息技术有限公司 Image processing method, system, computer device, storage medium and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237510A (en) * 2007-01-29 2008-08-06 索尼株式会社 Image forming device and image editing method
CN101242512A (en) * 2008-02-18 2008-08-13 四川长虹电器股份有限公司 Enhanced method for processing video phone image
US7414625B1 (en) * 2003-01-31 2008-08-19 Microsoft Corporation Generation of glow effect

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7027663B2 (en) * 2000-02-11 2006-04-11 Sony Corporation Masking tool

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7414625B1 (en) * 2003-01-31 2008-08-19 Microsoft Corporation Generation of glow effect
CN101237510A (en) * 2007-01-29 2008-08-06 索尼株式会社 Image forming device and image editing method
CN101242512A (en) * 2008-02-18 2008-08-13 四川长虹电器股份有限公司 Enhanced method for processing video phone image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YIN LI等: "Lazy snapping", 《ACM TRANSACTIONS ON GRAPHICS(TOG)-PROCEEDINGS OF ACM SIGGRAPH 2004》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301604A (en) * 2014-07-31 2015-01-21 福建网龙计算机网络信息技术有限公司 Image previewing device and image previewing method
CN104301604B (en) * 2014-07-31 2017-08-29 福建网龙计算机网络信息技术有限公司 image preview apparatus and method
CN105389313A (en) * 2014-09-04 2016-03-09 华为技术有限公司 Photo previewing method and device thereof
CN105825494B (en) * 2015-08-31 2019-01-29 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108519865A (en) * 2018-03-09 2018-09-11 福州瑞芯微电子股份有限公司 Source switches display methods, storage medium and system
CN108519865B (en) * 2018-03-09 2021-04-09 瑞芯微电子股份有限公司 Source switching display method, storage medium and system
CN111200705A (en) * 2018-11-16 2020-05-26 北京微播视界科技有限公司 Image processing method and device
CN111200705B (en) * 2018-11-16 2021-05-25 北京微播视界科技有限公司 Image processing method and device
CN109859102A (en) * 2019-02-01 2019-06-07 北京达佳互联信息技术有限公司 Special display effect method, apparatus, terminal and storage medium
CN111062870A (en) * 2019-12-16 2020-04-24 联想(北京)有限公司 Processing method and device
CN111062870B (en) * 2019-12-16 2022-03-25 联想(北京)有限公司 Processing method and device

Also Published As

Publication number Publication date
WO2013082832A1 (en) 2013-06-13

Similar Documents

Publication Publication Date Title
CN102750685A (en) Image processing method and device
US8289342B2 (en) Image processing apparatus and storage medium having stored therein an image processing program
Wright Digital compositing for film and vídeo: Production Workflows and Techniques
CN103049894A (en) Image processing method and device
TW201444364A (en) An approach for camera control
CN103139478A (en) Photographing method with real-time rendering of main image and secondary image
CN102741879A (en) Method for generating depth maps from monocular images and systems using the same
CN101755285A (en) Image processing device and camera system
CN107146274A (en) Image data processing system, texture mapping compression and the method for producing panoramic video
CN103563359A (en) Image processing device, image processing method and digital camera
CN102819855B (en) The generation method of two dimensional image and device
CN107203966A (en) A kind of coloured image synthetic method and device
CN105023252A (en) Method and system for enhancement processing of beautified image and shooting terminal
CN102572219A (en) Mobile terminal and image processing method thereof
US20120169759A1 (en) Method and apparatus for creating a live artistic sketch of an image
TW201203169A (en) Image processing apparatus and storage medium having stored therein an image processing program
CN102447833B (en) Image processing apparatus and method for controlling same
CN113935891B (en) Pixel-style scene rendering method, device and storage medium
CN102750726A (en) Depth-of-field achieving method based on Open graphics library (GL)
CN103795925A (en) Interactive main-and-auxiliary-picture real-time rendering photographing method
CN114332356A (en) Virtual and real picture combining method and device
CN103873780A (en) Video capture method and electronic equipment
Willment et al. What is virtual production? An explainer and research agenda
JP2023540652A (en) Single-image 3D photography technology using soft layering and depth-aware inpainting
CN103514593B (en) Image processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road, room 9 building on the north side of block A901 No. 006 TCL Industry Research Institute building A A Building 8 floor

Applicant after: Shenzhen Wondershare Information Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Applicant before: Shenzhen Wondershare Software Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN WONDERSHARE SOFTWARE CO., LTD. TO: SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY CO., LTD.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121024