CN109151338A - Image processing method and related product - Google Patents
Image processing method and related product Download PDFInfo
- Publication number
- CN109151338A CN109151338A CN201810751560.9A CN201810751560A CN109151338A CN 109151338 A CN109151338 A CN 109151338A CN 201810751560 A CN201810751560 A CN 201810751560A CN 109151338 A CN109151338 A CN 109151338A
- Authority
- CN
- China
- Prior art keywords
- image
- target
- information
- video
- presupposed information
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8146—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
- H04N21/8153—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics comprising still images, e.g. texture, background image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/272—Means for inserting a foreground image in a background image, i.e. inlay, outlay
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Graphics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses a kind of image processing method and Related products, wherein, this method comprises: electronic equipment obtains image collection from image library first, image collection includes multiple images, then, determine the target image in image collection comprising presupposed information, target image is at least one in multiple images, show in target image comprising privacy information, in turn, presupposed information in target image is executed and hides operation, target video is created according to the image collection after hiding operation, to, it can be during video be recalled in creation, privacy information in image is hidden, effective protection privacy information.
Description
Technical field
This application involves electronic technology field more particularly to a kind of image processing methods and Related product.
Background technique
With the rapid development of electronic equipment (such as smart phone) technology and more more and more universal, user is become
Indispensable electronic product in daily life.The application such as mobile phone photo album can carry out same according to screening conditions such as time, places
The picture of theme screens, and forms exclusive atlas, and generate according to the exclusive atlas and recall video, recalls video, refer to according to electricity
What image set in sub- equipment generated is played out with magic lantern sheet form, makes user to the video recalled image set.
Summary of the invention
The embodiment of the present application provides a kind of image processing method and Related product, can during video is recalled in creation,
Effective protection is carried out to the privacy information for including in the image of creation video.
In a first aspect, the embodiment of the present application provides a kind of image processing method, which comprises
Image collection is obtained, described image set includes multiple images;
Determine that the target image in described image set comprising presupposed information, the target image are in multiple described images
At least one;
The presupposed information in the target image is executed and hides operation, according to the described image collection after hiding operation
Close creation target video.
Second aspect, the embodiment of the present application provide a kind of image processing apparatus, and described image processing unit includes:
Acquiring unit, for obtaining image collection, described image set includes multiple images;
Determination unit, for determine include in described image set presupposed information target image, the target image is
At least one in multiple described images;
Execution unit hides operation for executing to the presupposed information in the target image, according to hiding operation
Described image set afterwards creates target video.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory and one or more
Program, wherein said one or multiple programs are stored in above-mentioned memory, and are configured to be executed by above-mentioned processor,
Above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable
Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as
Step some or all of described in the embodiment of the present application first aspect either method.
As can be seen that in the embodiment of the present application, electronic equipment obtains image collection, image collection from image library first
Including multiple images, then, it is determined that including the target image of presupposed information in image collection, target image is in multiple images
At least one, show comprising privacy information in target image, in turn, the presupposed information in target image executed and hides operation,
Target video is created according to the image collection after hiding operation, thus, it can be during video be recalled in creation, in image
Privacy information is hidden, effective protection privacy information.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application or in background technique below will be implemented the application
Attached drawing needed in example or background technique is illustrated.
Figure 1A is a kind of structural schematic diagram of exemplary electronic device provided by the embodiments of the present application;
Figure 1B is a kind of flow diagram of image processing method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another image processing method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another image processing method provided by the embodiments of the present application;
Fig. 4 is another structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 5 A is a kind of structural schematic diagram of image processing apparatus provided by the embodiments of the present application;
Fig. 5 B is the modification structures of image processing apparatus shown in Fig. 5 A provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.
Specific implementation
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application may include the various handheld devices with wireless communication function,
Mobile unit, calculates equipment or is connected to wireless-modulated wearable device (such as smartwatch, Intelligent bracelet, pedometer etc.)
Other processing equipments of demodulator and various forms of user equipmenies (user equipment, UE), mobile station (mobile
Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronics
Equipment.
Hereinafter, the part term in the application is explained, in order to those skilled in the art understand that.
Recall video, refers to and played out according to what the image set in electronic equipment generated with magic lantern sheet form, make user
To the video recalled image set.Increase a memory function in the application of the photograph album of iOS system or android system
Can, when function is recalled in triggering, several pictures is selected to synthesize a video file in photograph album, which is to recall
Video, therefore the memory video is not take up memory space, is the file of video format, is similar to lantern slide.
It describes in detail below to the embodiment of the present application.
Figure 1A is please referred to, Figure 1A is the structural schematic diagram of a kind of electronic equipment 100 provided by the embodiments of the present application, above-mentioned electricity
Sub- equipment 100 includes: shell 110, the circuit board 120 being set in the shell 110 and is set on the shell 110
Display screen 130 is provided with processor 121 on the circuit board 120, and the processor 121 connects the display screen 130, wherein
The display screen may include touching display screen, and the touching display screen is used to receive user and executes touching for electronic equipment to it
Control operation.
Figure 1B is please referred to, Figure 1B is a kind of flow diagram of image processing method provided by the embodiments of the present application, this figure
As processing method includes:
101, image collection is obtained, described image set includes multiple images.
In the embodiment of the present application, electronic equipment can screen multiple images from image library, obtain the figure comprising multiple images
Image set closes, wherein user can voluntarily screen multiple images by electronic equipment from image library, then form figure by multiple images
Image set closes.
Optionally, in above-mentioned steps 101, image collection is obtained, it may include following steps:
11, optical sieving instruction is obtained, described image screening instruction carries optical sieving strategy;
12, the figure of the second quantity is screened from the image of the first quantity in image library according to described image screening strategy
Picture forms described image set, wherein first quantity is greater than second quantity.
Optionally, video is recalled when user wants creation, can trigger optical sieving by the touching display screen of electronic equipment
Instruction, and optical sieving strategy is set, specifically, electronic equipment can receive optical sieving range first, and user can be in image column
Selected digital image screens range in table, obtains the image of the first quantity, and the first quantity for example can be 80-100 images, the application
Be not specifically limited, then, can in the image according to the first quantity each image image information, determine that the image information is corresponding
Scoring tactics, wherein image information may include following at least one: reference object, shooting time, shooting location, shooting field
Scape, shooting environmental etc. determine the corresponding scoring tactics of the image information, it may be determined that the image information in each image is corresponding
To be evaluated point of characteristic parameter can score to following characteristics parameter: color, exposure for example, being the image of personage for reference object
Luminosity, clarity, expressive force are the image of scenery for reference object, can score following characteristics parameter: color, exposure
Then luminosity, clarity score respectively to all images of the first quantity, the second quantity of screening score value from high to low
Image, wherein the second quantity for example can be 40,45,50 etc., be not especially limited herein, for example, be directed to any figure
Picture can be for color, exposure, clarity, the feature ginseng of four aspects of expressive force if the reference object of image is character image
Number scores, and the first score value, the second score value, third score value and the 4th score value is obtained, then according to aforementioned four
Corresponding first weight of characteristic parameter, the second weight, third weight, the 4th weight, determine the target score value of the image,
Calculation formula is as follows:
Target score value=first the second weight of score value * the first weight the+the second score value *+third score value * third power
The 4th weight of the four score value * of weight+the
102, determine that the target image in described image set comprising presupposed information, the target image are multiple described figures
At least one as in.
In the embodiment of the present application, above-mentioned presupposed information refers to privacy information, to include privacy in the above-mentioned image collection of determination
The target image of information can carry out information extraction to each image in image collection, if in information including presupposed information type
Information, it may be determined that include privacy information, i.e. presupposed information in the image.
Optionally, in above-mentioned steps 102, the presupposed information includes text information or pattern-information, determines described image
Include the target image of presupposed information in set, it may include following steps:
21, the text information or the pattern-information of each image in multiple images of described image set are extracted;
If 22, the text information includes the keyword of the first preset kind, alternatively, the pattern-information is second default
The pattern of type determines there is the target image comprising the presupposed information in described image set.
Wherein, it is possible that following at least one privacy information for text information in target image: telephone number is lived
Location, Bank Account Number, identification card number, password etc., in addition, in the confidential information of some enterprises or tissue, it will usually in the secret
In information by pattern perhaps label character confidential information when in image comprising indicate confidential information pattern or text when,
Also it can determine that the image is the target image comprising privacy information, therefore, can extract the text information in image, if the text is believed
Breath includes the information of following any presupposed information type: number, address, Bank Account Number, identification card number or Bank Account Number, can be true
It surely include the target image of the presupposed information, the pattern-information in also extractable image, by the pattern-information and preset pattern
Pattern template in template library is matched, and the matching value more than preset threshold is obtained, so that it is determined that comprising the image be comprising
The target image of presupposed information, according to aforesaid operations, it may be determined that include an at least target figure for privacy information in image collection
Picture.
103, the presupposed information in the target image is executed and hides operation, according to the figure after hiding operation
Image set closes creation target video.
In the embodiment of the present application, when there is the target image comprising presupposed information, leakage of private information in order to prevent can be right
Presupposed information, which executes, hides operation, wherein hiding operation may include following at least one: not show the target image, to hidden
Personal letter, which ceases corresponding target area, to be carried out Fuzzy processing, adds paster in target area, with block privacy information or, it is right
Mosaic etc. is broken in target area, wherein and above-mentioned video is memory video, thus, when user's creation target video, and wanting will
Target video is shared with other people when watching, and avoids the leakage of private information in target image.
Optionally, in above-mentioned steps 103, the presupposed information in the target image is executed and hides operation, according to
Described image set after hiding operation creates target video, it may include following steps:
31, the area of the corresponding target area of presupposed information described in the target image is determined;
If 32, the area is less than or equal to preset threshold, the presupposed information is carried out to block processing, after obtaining processing
Target image;
33, the mesh according to all image creations in described image set including treated the target image
Mark video;
If 34, the area be greater than the preset threshold, according in described image set in addition to the target image
Target video described in other image creations.
In the embodiment of the present application, when the area of target area is less than or equal to preset threshold, show shared by privacy information
Area is smaller, can carry out blocking processing to it, be used to create memory video for the target image after blocking, and viewing can be made to recall view
The people of frequency can watch the partial content in target image in addition to privacy information, when the area of target area is greater than default threshold
When value, showing that privacy information occupied area is larger, continue to show target image, the viewing effect of presentation may be bad,
Therefore, video is recalled only on the basis of other image creations except target image, wherein preset threshold can be set by system default
It sets, also can be set by the user himself, for example, preset threshold can be set according to the size of target image, the size of target image is got over
Greatly, preset threshold is bigger, and the size of target image is smaller, and preset threshold is smaller, so as to be rationally located in privacy information
Reason is that preferable viewing effect is presented in target image.
Optionally, in the embodiment of the present application, it may further determine that the corresponding target area of presupposed information accounts for the ratio of target image,
If the ratio is less than or equal to preset threshold, presupposed information is carried out to block processing, the target image that obtains that treated, then,
According to target video described in all image creations in image collection including treated target image, if the ratio is greater than
The preset threshold, according to target video described in other image creations in image collection in addition to target image.
Optionally, in above-mentioned steps 32, the presupposed information is carried out to block processing, it may include following steps:
A1, the target area corresponding to the presupposed information carry out Fuzzy processing;
Alternatively,
A2, target paster identical with the area of the target area is superimposed in the target area.
Optionally, it before target area is superimposed target paster, can also be used in the display screen display of electronic equipment
Family sets the operation interface of target paster, so that user be prompted to choose the paster oneself liked, target paster can be static map
Picture is also possible to dynamic image, herein with no restriction.
Optionally, electronic equipment can also obtain the first colouring information of target image, and then from preset paster set
Colouring information and the highest target paster of the first matches color information value are screened, thus, colouring information can be filtered out and more matched
Target paster, so that the display effect of target image is compared coordination.
Optionally, in the embodiment of the present application, following steps be can also carry out:
B1, the target broadcast strategy for obtaining the target video, the target broadcast strategy include the first configuration information and
Second configuration information, first configuration information include the following configuration information for the target video: playing duration, broadcasting
Sequentially, title, cover, theme, background music, second configuration information include the following configuration information for every image:
Animation mode, display duration;
B2, the target video is played according to the target broadcast strategy.
Wherein, the broadcast mode for recalling video is generally the playing process of lantern slide, recalls video creation instruction in triggering
When, the memory video of creation in electronic equipment internal and is not take up additional memory space, and still, electronic equipment can be by this time
Video Quality Metric is recalled into video file, and transmits the video file, thus, memory video can be sent to other terminals and set by user
It is standby.
Wherein, target broadcast strategy can be stored by the file of preset format, detect the broadcasting for the memory video
When request, then this document is called to read target broadcast strategy to play multiple Target Photos, in addition, the memory video is associated more
Opening Target Photo is the picture stored in photograph album or picture library, will not configure the new picture of occupancy additional storage space to support
The broadcasting of the memory video.
Wherein, the picture number of a memory video can be 30 or 40, and playing duration can be 2 minutes etc.,
Playing sequence can be ranked up according to the shooting time of picture, and title can be selected by user's typing, cover by user
It selects or is adapted to according to theme, theme can be configured according to picture images content, and background music can be matched by user
Set or be adapted to based on theme, the animation mode of single picture include it is horizontal, vertical, be fade-in, display duration can be
0.5s, 1s etc., parameter do not limit uniquely.
The memory video that electronic equipment is created in user's interaction level can be rendered as that the component of picture playing can be carried out,
To show the visual experience of video file to user, and actually video file, occupancy storage do not provide the memory video
Source is few, realizes that function is strong, enhances product functionality while improving resource utilization.
Optionally, in the embodiment of the present application, the non-privacy image in addition to target image is concentrated for target image, it can be right
It executes following at least one operation: amplification, diminution, rotation, inclination, mirror image, perspective etc., wherein not for any two
The processing mode of same non-privacy image may be the same or different, thus, it can be used and recall the image of video in creation
Display effect is more preferable.
As can be seen that in the embodiment of the present application, electronic equipment obtains image collection, image collection from image library first
Including multiple images, then, it is determined that including the target image of presupposed information in image collection, target image is in multiple images
At least one, show comprising privacy information in target image, in turn, the presupposed information in target image executed and hides operation,
Target video is created according to the image collection after hiding operation, thus, it can be during video be recalled in creation, in image
Privacy information is hidden, and avoids the private information disclosure of user.
It is consistent with embodiment shown in described Figure 1B, referring to Fig. 2, Fig. 2 is another kind provided by the embodiments of the present application
The flow diagram of image processing method, image processing method as described in this embodiment, the electronics applied to such as Figure 1A are set
Standby, this method can comprise the following steps that
201, image collection is obtained, described image set includes multiple images.
202, determine that the target image in described image set comprising presupposed information, the target image are multiple described figures
At least one as in.
203, the area of the corresponding target area of presupposed information described in the target image is determined.
If 204, the area is less than or equal to preset threshold, the presupposed information is carried out to block processing, is handled
Target image afterwards.
205, according to all image creations in described image set including treated the target image
Target video.
If 206, the area be greater than the preset threshold, according in described image set in addition to the target image
Target video described in other image creations.
Wherein, the specific implementation process of above-mentioned steps 201-206 can refer in method shown in Figure 1B describes accordingly,
This is repeated no more.
Optionally, it in the embodiment of the present application, can comprise the further steps of:
C1, before playing the target video, face recognition is carried out to user, obtains recognition result;
If the success of C2, face recognition, revocation are directed to the hiding operation of the presupposed information.
It in the embodiment of the present application, is identified successfully when watching the user's face for recalling video, shows that the user is to possess to check
The hiding operation to privacy information can be revoked in the user of privacy information permission, so that user, which can be improved, watches the effect for recalling video
Fruit.
As can be seen that electronic equipment obtains image collection, image collection packet from image library first in the embodiment of the present application
Include multiple images, then, it is determined that in image collection include presupposed information target image, target image be multiple images in extremely
It is one few, determine the area of the corresponding target area of presupposed information in target image, it is right if area is less than or equal to preset threshold
Presupposed information carries out blocking processing, the target image that obtains that treated, according to the target image that in image collection includes that treated
All image creations inside recall video, if area is greater than preset threshold, according in image collection in addition to target image
Other image creations recall video, thus, the privacy information in image can be carried out hidden during video is recalled in creation
Hiding, avoids the privacy image leakage of user.
It is consistent with embodiment shown in described Figure 1B, referring to Fig. 3, Fig. 3 is a kind of figure provided by the embodiments of the present application
As the flow diagram of processing method, such as the electronic equipment of Figure 1A, as shown in figure 3, this image processing method includes:
301, image collection is obtained, described image set includes multiple images.
302, the text information or pattern-information of each image in multiple images of described image set are extracted.
If 303, the text information includes the keyword of the first preset kind, alternatively, the pattern-information is second pre-
If the pattern of type, determine there is the target image comprising the presupposed information in described image set.
304, the area of the corresponding target area of presupposed information described in the target image is determined.
If 305, the area is less than or equal to preset threshold, the presupposed information is carried out to block processing, is handled
Target image afterwards.
306, according to all image creations in described image set including treated the target image
Target video.
If 307, the area be greater than the preset threshold, according in described image set in addition to the target image
Target video described in other image creations.
Wherein, the specific implementation process of above-mentioned steps 301-307 can refer in method shown in Figure 1B describes accordingly,
This is repeated no more.
It optionally, can be when electronic equipment gets the triggering command for sharing target video, aobvious in the embodiment of the present application
The display interface display reminding information of display screen, the prompt information be used to prompt the viewing permission of user setting target good friend,
In, target good friend is that user sends the good friend for recalling video, if viewing permission set by user is that target user is allowed to watch mesh
Logo image can enable target good friend normally watch the target image not being hidden when video is recalled in viewing.
As can be seen that electronic equipment obtains image collection, image collection packet from image library first in the embodiment of the present application
Multiple images are included, then, extract the text information or pattern-information of each image in multiple images of image collection, if text is believed
Breath includes that the keyword of the first preset kind is determined in image collection and deposited alternatively, pattern-information is the pattern of the second preset kind
In the target image comprising presupposed information, the area of the corresponding target area of presupposed information in target image is determined, if area is small
In or be equal to preset threshold, presupposed information is carried out to block processing, the target image that obtains that treated is wrapped according in image collection
All image creations including the target image that includes that treated recall video, if area is greater than preset threshold, according to image collection
In other image creations in addition to target image recall video, thus, can be during video be recalled in creation, in image
Privacy information be hidden, avoid the private information disclosure of user.
It is the device for implementing above-mentioned image processing method below, specific as follows:
Consistent with the abovely, referring to Fig. 4, Fig. 4 is a kind of electronic equipment provided by the embodiments of the present application, comprising: processing
Device and memory;And one or more programs, one or more of programs are stored in the memory, and are matched
It is set to and is executed by the processor, described program includes the instruction for executing following steps:
Image collection is obtained, described image set includes multiple images;
Determine that the target image in described image set comprising presupposed information, the target image are in multiple described images
At least one;
The presupposed information in the target image is executed and hides operation, according to the described image collection after hiding operation
Close creation target video.
In a possible example, in terms of the acquisition image collection, described program includes for executing following step
Rapid instruction:
Optical sieving instruction is obtained, described image screening instruction carries optical sieving strategy;
The image of the second quantity, group are screened from the image of the first quantity in image library according to described image screening strategy
At described image set, wherein first quantity is greater than second quantity.
In a possible example, the presupposed information includes text information or pattern-information, in the presupposed information
In terms of comprising text information or pattern-information, described program includes the instruction for executing following steps:
Extract the text information or the pattern-information of each image in multiple images of described image set;
If the text information includes the keyword of the first preset kind, alternatively, the pattern-information is the second default class
The pattern of type determines there is the target image comprising the presupposed information in described image set.
In a possible example, is executed in the presupposed information in the target image and hides operation,
In terms of according to the described image set creation target video after hiding operation, described program includes the finger for executing following steps
It enables:
Determine the area of the corresponding target area of presupposed information described in the target image;
If the area is less than or equal to preset threshold, the presupposed information is carried out to block processing, obtains that treated
Target image;
According to target described in all image creations in described image set including treated the target image
Video;
If the area is greater than the preset threshold, according to other in described image set in addition to the target image
Target video described in image creation.
In a possible example, it is described the presupposed information is carried out blocking processing in terms of, described program includes
For executing the instruction of following steps:
The target area corresponding to the presupposed information carries out Fuzzy processing;
Alternatively,
Target paster identical with the area of the target area is superimposed in the target area.
In a possible example, described program further includes the instruction for executing following steps:
The target broadcast strategy of the target video is obtained, the target broadcast strategy includes the first configuration information and second
Configuration information, first configuration information include the following configuration information for the target video: playing duration, broadcasting are suitable
Sequence, title, cover, theme, background music, second configuration information include the following configuration information for every image: dynamic
Picture mode, display duration;
The target video is played according to the target broadcast strategy.
Fig. 5 A is please referred to, Fig. 5 A is a kind of structural schematic diagram of image processing apparatus provided in this embodiment.At the image
It manages device and is applied to electronic equipment, described image processing unit includes acquiring unit 501, determination unit 502 and execution unit
503, wherein
The acquiring unit 501, for obtaining image collection, described image set includes multiple images;
The determination unit 502, for determining the target image in described image set comprising presupposed information, the target
Image is at least one in multiple described images;
The execution unit 503 hides operation for executing to the presupposed information in the target image, according to hidden
Described image set after hiding operation creates target video.
Optionally, the acquiring unit 501 is specifically used for:
Optical sieving instruction is obtained, described image screening instruction carries optical sieving strategy;
The image of the second quantity, group are screened from the image of the first quantity in image library according to described image screening strategy
At described image set, wherein first quantity is greater than second quantity.
Optionally, the presupposed information includes text information or pattern-information, and the determination unit 502 is specifically used for:
Extract the text information or the pattern-information of each image in multiple images of described image set;
If the text information includes the keyword of the first preset kind, alternatively, the pattern-information is the second default class
The pattern of type determines there is the target image comprising the presupposed information in described image set.
Optionally, the execution unit 503 is specifically used for:
Determine the area of the corresponding target area of presupposed information described in the target image;
If the area is less than or equal to preset threshold, the presupposed information is carried out to block processing, obtains that treated
Target image;
According to target described in all image creations in described image set including treated the target image
Video;
If the area is greater than the preset threshold, according to other in described image set in addition to the target image
Target video described in image creation.
Optionally, it is described the presupposed information is carried out blocking processing in terms of, the execution unit 503 is specifically used for:
The target area corresponding to the presupposed information carries out Fuzzy processing;
Alternatively,
Target paster identical with the area of the target area is superimposed in the target area.
Optionally, such as Fig. 5 B, Fig. 5 B is the modification structures of image processing apparatus shown in Fig. 5 A, compared with Fig. 5 A,
It can also include: broadcast unit 504, wherein
The acquiring unit 501 is also used to obtain the target broadcast strategy of the target video, the target broadcast strategy
Including the first configuration information and the second configuration information, first configuration information includes the following configuration for the target video
Information: playing duration, playing sequence, title, cover, theme, background music, second configuration information include for every figure
The following configuration information of picture: animation mode, display duration;
The broadcast unit 504, for playing the target video according to the target broadcast strategy.
As can be seen that image processing apparatus described in the embodiment of the present application, electronic equipment are obtained from image library first
Image collection is taken, image collection includes multiple images, then, it is determined that including the target image of presupposed information, mesh in image collection
Logo image is at least one in multiple images, is shown comprising privacy information in target image, in turn, to pre- in target image
If information, which executes, hides operation, target video is created according to the image collection after hiding operation, thus, video can be recalled in creation
During, the privacy information in image is hidden, the private information disclosure of user is avoided.
It is understood that the function of each program module of the image processing apparatus of the present embodiment can be according to above method reality
The method specific implementation in example is applied, specific implementation process is referred to the associated description of above method embodiment, herein no longer
It repeats.
The embodiment of the present application also provides another electronic equipments, as shown in fig. 6, for ease of description, illustrate only with
The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The electronics
Equipment can be include mobile phone, tablet computer, PDA (personal digital assistant, personal digital assistant), POS
Any terminal device such as (point of sales, point-of-sale terminal), vehicle-mounted computer, by taking electronic equipment is mobile phone as an example:
Fig. 6 shows the block diagram with the part-structure of electronic equipment provided in an embodiment of the present invention.As shown in fig. 6, electric
Sub- equipment 610 may include control circuit, which may include storage and processing circuit 630.Storage and processing electricity
Road 630 can store device, such as hard drive memory, nonvolatile memory (such as flash memory or it is used to form solid-state driving
Other electrically programmable read only memories of device etc.), volatile memory (such as either statically or dynamically random access memory etc.)
Deng the embodiment of the present application is with no restriction.Processing circuit in storage and processing circuit 630 can be used for controlling electronic devices 610
Operating.The processing circuit can microprocessor based on one or more, microcontroller, digital signal processor, Base-Band Processing
Device, power management unit, audio codec chip, specific integrated circuit, display-driver Ics etc. are realized.
Storage and processing circuit 630 can be used for running the software in electronic equipment 610, such as the Internet browser application journey
Sequence, voice over internet protocol (voice over internet protocol, VOIP) call application program, Email
Application program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, example
Such as, based on the Image Acquisition of camera, the ambient light measurement based on ambient light sensor, based on proximity sensor close to sensing
Device measurement, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized, based on touch
The touch event of sensor detects, function associated with information is shown on multiple (such as layering) displays, with execution
The associated operation of wireless communication function, operation associated with collecting and generating audio signal, is pressed with collection and treatment button
Other functions etc. in the associated control operation of event data and electronic equipment 610 are pressed, the embodiment of the present application does not limit
System.
Electronic equipment 610 can also include input-output circuit 642.Input-output circuit 642 can be used for setting electronics
Standby 610 realization data are output and input, i.e. permission electronic equipment 610 allows electronic equipment from outer equipment receiving data and also
610 export data to external equipment from electronic equipment 610.Input-output circuit 642 may further include sensor 632.
Sensor 632 may include ambient light sensor, the proximity sensor based on light and capacitor, and touch sensor is (for example, be based on light
Touch sensor and/or capacitive touch sensors, ultrasonic sensor, wherein touch sensor can be touching display screen
A part, can also be used as a touch sensor arrangement and independently use), acceleration transducer and other sensors etc..
Input-output circuit 642 can also include one or more displays, such as display 614.Display 614 can
To include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display, using other aobvious
Show combination one or several kinds of in the display of technology.Display 614 may include touch sensor array (that is, display
614 can be touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO)
Electrode) capacitive touch sensors that array is formed, or it can be the touch sensor formed using other touching techniques, example
Such as sound wave touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Electronic equipment 610 can also include audio component 636.Audio component 636 can be used for providing for electronic equipment 610
Audio input and output function.Audio component 36 in electronic equipment 10 may include loudspeaker, microphone, buzzer, tone
Generator and other components for being used to generate and detect sound.
Telecommunication circuit 638 can be used for providing the ability with external device communication for electronic equipment 610.Telecommunication circuit 638
It may include analog- and digital- input-output interface circuit, and the radio communication circuit based on radiofrequency signal and/or optical signal.
Radio communication circuit in telecommunication circuit 638 may include radio-frequency transceiver circuitry, power amplifier circuit, low noise amplification
Device, switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit 638 may include for passing through transmitting
The circuit of near-field communication (near field communication, NFC) is supported with near-field coupling electromagnetic signal is received.Example
Such as, telecommunication circuit 638 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 638 can also include honeycomb
Telephone transceiver and antenna, wireless lan transceiver circuit and antenna etc..
Electronic equipment 610 can further include battery, power management circuitry and other input-output units 640.It is defeated
Enter-output unit 640 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, hair
Optical diode and other positioning indicators etc..
User can input a command for the operation of controlling electronic devices 610 by input-output circuit 642, and can be with
Status information and other outputs from electronic equipment 610 are received using the output data of input-output circuit 642 to realize.
In earlier figures 1B, Fig. 2 or embodiment shown in Fig. 3, each step method process can be based on the knot of the electronic equipment
Structure is realized.
In embodiment shown in earlier figures 4, Fig. 5 A- Fig. 5 B, each unit function can be based on the structure reality of the electronic equipment
It is existing.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer
A kind of some or all of image processing method step.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of any image processing method recorded in method embodiment step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
Above-mentioned 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 above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English:
Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of image processing method, which is characterized in that the described method includes:
Image collection is obtained, described image set includes multiple images;
Determine include in described image set presupposed information target image, the target image be in multiple described images extremely
It is one few;
The presupposed information in the target image is executed and hides operation, is created according to the described image set after hiding operation
Build target video.
2. the method according to claim 1, wherein the acquisition image collection, comprising:
Optical sieving instruction is obtained, described image screening instruction carries optical sieving strategy;
The image of the second quantity is screened from the image of the first quantity in image library according to described image screening strategy, forms institute
State image collection, wherein first quantity is greater than second quantity.
3. method according to claim 1 or 2, which is characterized in that the presupposed information includes that text information or pattern are believed
It ceases, includes the target image of presupposed information in the determining described image set, comprising:
Extract the text information or the pattern-information of each image in multiple images of described image set;
If the text information includes the keyword of the first preset kind, alternatively, the pattern-information is the second preset kind
Pattern determines there is the target image comprising the presupposed information in described image set.
4. method according to claim 1-3, which is characterized in that described to described pre- in the target image
If information, which executes, hides operation, target video is created according to the described image set after hiding operation, comprising:
Determine the area of the corresponding target area of presupposed information described in the target image;
If the area is less than or equal to preset threshold, the presupposed information is carried out to block processing, the target that obtains that treated
Image;
According to target video described in all image creations in described image set including treated the target image;
If the area is greater than the preset threshold, according to other images in described image set in addition to the target image
Create the target video.
5. according to the method described in claim 4, it is characterized in that, described carry out the presupposed information to block processing, comprising:
The target area corresponding to the presupposed information carries out Fuzzy processing;
Alternatively,
Target paster identical with the area of the target area is superimposed in the target area.
6. method according to claim 1-5, which is characterized in that the method also includes:
The target broadcast strategy of the target video is obtained, the target broadcast strategy includes the first configuration information and the second configuration
Information, first configuration information include the following configuration information for the target video: playing duration, playing sequence, mark
Topic, cover, theme, background music, second configuration information include the following configuration information for every image: animation side
Formula, display duration;
The target video is played according to the target broadcast strategy.
7. a kind of image processing apparatus, which is characterized in that described image processing unit includes:
Acquiring unit, for obtaining image collection, described image set includes multiple images;
Determination unit, for determining the target image in described image set comprising presupposed information, the target image is described
At least one in multiple images;
Execution unit hides operation for executing to the presupposed information in the target image, after hiding operation
Described image set creates target video.
8. device according to claim 7, which is characterized in that the acquiring unit is specifically used for:
Optical sieving instruction is obtained, described image screening instruction carries optical sieving strategy;
The image of the second quantity is screened from the image of the first quantity in image library according to described image screening strategy, forms institute
State image collection, wherein first quantity is greater than second quantity.
9. a kind of electronic equipment, which is characterized in that including processor, memory, and one or more programs, it is one or
Multiple programs are stored in the memory, and are configured to be executed by the processor, and described program includes for executing
The instruction of step in as the method according to claim 1 to 6.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange,
In, the computer program makes computer execute as the method according to claim 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810751560.9A CN109151338B (en) | 2018-07-10 | 2018-07-10 | Image processing method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810751560.9A CN109151338B (en) | 2018-07-10 | 2018-07-10 | Image processing method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109151338A true CN109151338A (en) | 2019-01-04 |
CN109151338B CN109151338B (en) | 2021-06-25 |
Family
ID=64800230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810751560.9A Active CN109151338B (en) | 2018-07-10 | 2018-07-10 | Image processing method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151338B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245250A (en) * | 2019-06-11 | 2019-09-17 | Oppo广东移动通信有限公司 | Image processing method and relevant apparatus |
CN110609921A (en) * | 2019-08-30 | 2019-12-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN111046215A (en) * | 2019-12-25 | 2020-04-21 | 惠州Tcl移动通信有限公司 | Image processing method and device, storage medium and mobile terminal |
CN111541917A (en) * | 2020-05-08 | 2020-08-14 | 广州市百果园信息技术有限公司 | Determination method of recommended video, video playing method, device and equipment |
CN111629227A (en) * | 2020-04-08 | 2020-09-04 | 北京百度网讯科技有限公司 | Video conversion method, device, system, electronic equipment and storage medium |
CN112825544A (en) * | 2019-11-21 | 2021-05-21 | 北京小米移动软件有限公司 | Picture processing method and device and storage medium |
CN113691729A (en) * | 2021-08-27 | 2021-11-23 | 维沃移动通信有限公司 | Image processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015058381A1 (en) * | 2013-10-23 | 2015-04-30 | 华为终端有限公司 | Method and terminal for selecting image from continuous images |
CN105893412A (en) * | 2015-11-24 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Image sharing method and apparatus |
CN106055996A (en) * | 2016-05-18 | 2016-10-26 | 维沃移动通信有限公司 | Method and mobile terminal for multimedia information sharing |
CN106131360A (en) * | 2016-06-15 | 2016-11-16 | 珠海市魅族科技有限公司 | Image data sending method and device |
-
2018
- 2018-07-10 CN CN201810751560.9A patent/CN109151338B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015058381A1 (en) * | 2013-10-23 | 2015-04-30 | 华为终端有限公司 | Method and terminal for selecting image from continuous images |
CN105893412A (en) * | 2015-11-24 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Image sharing method and apparatus |
CN106055996A (en) * | 2016-05-18 | 2016-10-26 | 维沃移动通信有限公司 | Method and mobile terminal for multimedia information sharing |
CN106131360A (en) * | 2016-06-15 | 2016-11-16 | 珠海市魅族科技有限公司 | Image data sending method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245250A (en) * | 2019-06-11 | 2019-09-17 | Oppo广东移动通信有限公司 | Image processing method and relevant apparatus |
CN110609921A (en) * | 2019-08-30 | 2019-12-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN110609921B (en) * | 2019-08-30 | 2022-08-19 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN112825544A (en) * | 2019-11-21 | 2021-05-21 | 北京小米移动软件有限公司 | Picture processing method and device and storage medium |
CN111046215A (en) * | 2019-12-25 | 2020-04-21 | 惠州Tcl移动通信有限公司 | Image processing method and device, storage medium and mobile terminal |
CN111046215B (en) * | 2019-12-25 | 2024-05-24 | 惠州Tcl移动通信有限公司 | Image processing method and device, storage medium and mobile terminal |
CN111629227A (en) * | 2020-04-08 | 2020-09-04 | 北京百度网讯科技有限公司 | Video conversion method, device, system, electronic equipment and storage medium |
CN111541917A (en) * | 2020-05-08 | 2020-08-14 | 广州市百果园信息技术有限公司 | Determination method of recommended video, video playing method, device and equipment |
CN113691729A (en) * | 2021-08-27 | 2021-11-23 | 维沃移动通信有限公司 | Image processing method and device |
CN113691729B (en) * | 2021-08-27 | 2023-08-22 | 维沃移动通信有限公司 | Image processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109151338B (en) | 2021-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151338A (en) | Image processing method and related product | |
CN104104823B (en) | Mobile terminal and its image metadata editing method | |
CN109583356B (en) | Fingerprint identification method and related product | |
CN108495049A (en) | Filming control method and Related product | |
CN109407936A (en) | Screenshot method and relevant apparatus | |
CN103716309A (en) | Security authentication method and terminal | |
CN114879878A (en) | Application control method, graphical user interface and terminal | |
CN108833779B (en) | Shooting control method and related product | |
CN108459815A (en) | A kind of display control method and mobile terminal | |
CN108055453A (en) | A kind of acquisition parameters update method and terminal | |
CN108848317A (en) | Camera control method and Related product | |
CN109144454A (en) | double-sided screen display control method and related product | |
CN110191303A (en) | Video call method and Related product based on screen sounding | |
CN109241953A (en) | Electronic equipment, fingerprint image processing method and Related product | |
CN109302630A (en) | Barrage generation method and relevant apparatus | |
CN108388340A (en) | Control method of electronic device and Related product | |
CN108121486A (en) | A kind of image display method and mobile terminal | |
CN109348528A (en) | Display control method and Related product | |
CN109375889A (en) | Display control method and Related product | |
CN109656636A (en) | A kind of application starting method and device | |
CN106777204B (en) | Picture data processing method and device and mobile terminal | |
CN105787982B (en) | A kind of method and apparatus making e-book | |
KR20170001219A (en) | Mobile terminal and method for unlocking thereof | |
CN108924439A (en) | Image processing method and related product | |
CN108876782A (en) | Recall video creation method and relevant apparatus |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |