CN112802138B - Image processing method and device, storage medium and electronic equipment - Google Patents
Image processing method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN112802138B CN112802138B CN202110158182.5A CN202110158182A CN112802138B CN 112802138 B CN112802138 B CN 112802138B CN 202110158182 A CN202110158182 A CN 202110158182A CN 112802138 B CN112802138 B CN 112802138B
- Authority
- CN
- China
- Prior art keywords
- image
- processed
- value
- sequence
- coding
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 238000012545 processing Methods 0.000 claims abstract description 91
- 238000000034 method Methods 0.000 claims abstract description 29
- 230000008569 process Effects 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 11
- 230000003287 optical effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Multimedia (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses an image processing method, an image processing device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring an image to be processed, and performing coding processing on the image to be processed to obtain a coding value of the image to be processed; determining at least two pixel value intervals and encryption modes corresponding to the pixel value intervals based on the coding values; encrypting the pixel points of the corresponding pixel value interval in the image to be processed or at least one target image based on each encryption mode to obtain an encrypted image; transmitting the identification information and the coding value of the image to be processed to a preset cloud storage position, so that the decryption end obtains the coding value from the preset cloud storage position based on the identification information of the image to be processed, and decrypts at least one encrypted image corresponding to the identification information of the image to be processed. By carrying out encryption processing on the image to be processed, the accuracy of illegal AI identification is affected, so that the user information is not stolen, and the safety of the image is improved.
Description
Technical Field
The embodiment of the invention relates to an image processing technology, in particular to an image processing method, an image processing device, a storage medium and electronic equipment.
Background
With the development of science and technology, internet services are increasingly integrated into life, replace many traditional operation modes, and internet applications, applets and the like become indispensable tools in life and work of people. With the penetration of the Internet +, medical images, hospital monitoring videos, medical teaching videos and the like are increasingly converged to a data center through a network. In addition, when important business such as health is involved in the process of on-line business handling, information of users is collected by passive medical institutions and the like through video modes such as living body detection.
With the continuous development of the AI recognition technology, the video or image of the user has the problem of being recognized by illegal AI, which leads to the correlation to other personal information for malicious popup recommendation, telecommunication harassment and even illegal actions such as lending from a financial structure.
Disclosure of Invention
The invention provides an image processing method, an image processing device, a storage medium and electronic equipment, so as to improve the safety of images.
In a first aspect, an embodiment of the present invention provides an image processing method, including:
acquiring an image to be processed, and performing coding processing on the image to be processed to obtain a coding value of the image to be processed;
Determining at least two pixel value intervals and encryption modes corresponding to the pixel value intervals based on the coding values;
encrypting the pixel points corresponding to the pixel value interval in the image to be processed or at least one target image based on each encryption mode to obtain an encrypted image;
transmitting the identification information of the image to be processed and the coding value to a preset cloud storage position, so that a decryption end obtains the coding value from the preset cloud storage position based on the identification information of the image to be processed, and decrypting at least one encrypted image corresponding to the identification information of the image to be processed.
In a second aspect, an embodiment of the present invention further provides an image processing apparatus, including:
the image coding module is used for obtaining an image to be processed, and coding the image to be processed to obtain a coding value of the image to be processed;
the encryption mode determining module is used for determining at least two pixel value intervals based on the coding values and the encryption mode corresponding to each pixel value interval;
the image processing module is used for carrying out encryption processing on the pixel points corresponding to the pixel value intervals in the image to be processed or at least one target image based on each encryption mode to obtain an encrypted image;
The code value storage module is used for transmitting the identification information of the image to be processed and the code value to a preset cloud storage position, so that the decryption end obtains the code value from the preset cloud storage position based on the identification information of the image to be processed, and decrypts at least one encrypted image corresponding to the identification information of the image to be processed.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the image processing method according to any one of the embodiments of the present invention when executing the program.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the image processing method according to any of the embodiments of the present invention.
According to the technical scheme, an image to be processed is subjected to coding processing to obtain a coding value, a corresponding pixel value interval is determined based on the coding value, and pixel points in different pixel value intervals in at least one image are processed in different encryption modes to obtain an encrypted image. The pixel points in different pixel value intervals are encrypted in different encryption modes, so that the pixel value distribution of an encrypted image relative to an image before encryption is changed, and the change influences the accuracy of illegal AI identification on the basis of ensuring that the content distortion of the image is not influenced (namely, the human eyes can recognize) so as to ensure that user information is not stolen and improve the safety of the image. Meanwhile, in the embodiment, the plurality of images can be encrypted through the encoding values of the images to be processed, so that the encryption efficiency of the plurality of images is improved.
Drawings
Fig. 1 is a flowchart of an image processing method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of an image processing method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of an image processing method according to an embodiment of the present invention;
FIG. 4A is a schematic diagram of image division according to an embodiment of the present invention;
FIG. 4B is a schematic diagram of another image division according to an embodiment of the present invention;
FIG. 4C is a schematic diagram of another image division according to an embodiment of the present invention;
FIG. 4D is a schematic diagram of another image division according to an embodiment of the present invention;
FIG. 5 is a flowchart of an image processing method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an image processing apparatus according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a schematic flow chart of an image processing method according to an embodiment of the present invention, which is applicable to image processing to avoid an image being illegally identified, and the method can be performed by an image processing apparatus according to an embodiment of the present invention, and the apparatus can be integrated in an electronic device such as a computer, a mobile phone, a server, etc. The method specifically comprises the following steps:
s110, acquiring an image to be processed, and performing coding processing on the image to be processed to obtain a coding value of the image to be processed.
S120, determining at least two pixel value intervals based on the coding values and an encryption mode corresponding to each pixel value interval.
S130, carrying out encryption processing on pixel points corresponding to pixel value intervals in the image to be processed or at least one target image based on each encryption mode to obtain an encrypted image.
And S140, transmitting the identification information of the image to be processed and the coding value to a preset cloud storage position, so that a decryption end obtains the coding value from the preset cloud storage position based on the identification information of the image to be processed, and carrying out decryption processing on at least one encrypted image corresponding to the identification information of the image to be processed.
In this embodiment, the image to be processed may be a user image acquired by the image acquisition device, or may be one or more images in the video to be processed. And processing each frame of image in the video to be processed respectively to realize the processing of the video.
Optionally, for the video to be processed, an image including human body biological feature information may be determined as the image to be processed, where the human body biological feature information may include but is not limited to biological feature information capable of identifying user information, such as a face image, fingerprint information, palm print information, iris information, and the like, so that an image processing process not including the human body biological feature information is reduced, and processing efficiency of the video to be processed is improved. In some embodiments, the image to be processed may be a frame of image in the video to be processed, and the at least one target image may be an image to be processed in the video to be processed, for example, may be all images in the video to be processed or an image including human body biological feature information in the video to be processed.
In this embodiment, the encoding processing is performed on the image to be processed, which is used to determine a pixel value threshold value, that is, an encoding value, of the image to be processed, and the encoding processing mode of the image to be processed is not limited, and in some embodiments, the encoding processing may be performed on the image to be processed by extracting a pixel value or a gray value of each pixel point in the image to be processed, performing average calculation on the pixel value or the gray value of each pixel point, and determining the pixel average as the encoding value of the image to be processed.
In some implementations, it may also be to extract an image area of the image to be processed, determine an encoding value of the image to be processed based on a pixel mean value of the image area, and not limit an image size of the image area, and a position of the image area in the image to be processed. Optionally, the image area may be an area corresponding to the biometric information of the human body, for example, a face area, and correspondingly, when the image to be processed includes a plurality of face areas, the code value corresponding to each face area is determined respectively, so as to obtain a plurality of code values.
In some implementations, a pixel mean processing function may be set, for example, the pixel mean of the image to be processed or the image area of the image to be processed is processed by the pixel mean processing function, which is not limited to the pixel mean processing function and may be set according to the requirement of the user.
In some embodiments, the encoding process includes: acquiring a color histogram sequence of an image to be processed or an image area, and merging the color histogram sequences based on a preset step length to obtain a preset number of target color histogram sequences; the target color histogram sequence is converted into a binarized sequence, and a coding value is determined based on the binarized sequence.
Wherein the color histogram includes a color histogram of 256 color values (0-255), the color histogram sequence includes a sequence value corresponding to each color value, the sequence may be a number of pixels or a proportion of numbers of pixels corresponding to the color value, and the color histogram sequence may be { N0, N1 … Ni … N255}, where Ni is a number of pixels or a proportion of numbers of pixels corresponding to an ith color value, by way of example. It should be noted that the color histogram sequence may be displayed by a digital sequence, or may be displayed by a histogram form or a list form, which is not limited. On the basis of the above embodiment, before the color histogram sequence of the image or the image area to be processed is acquired, the method may further include converting the image or the image area to be processed into a gray-scale image or a gray-scale image area, and correspondingly, the color histogram sequence of the image or the image area to be processed may be the color histogram sequence of the image or the gray-scale image area to be processed is acquired.
The preset step size is a sequence interval for performing sequence merging, and in some embodiments, the preset step size may be 32, that is, merging sequence values corresponding to every 32 color values in the color histogram sequence. For example, among the 256 color values of 0-255, the sequence values corresponding to the color values 0-31 are combined, the sequence values corresponding to the color values 31-63 are combined, and so on, to obtain a target color histogram sequence, where the target color histogram sequence includes 8 target sequence values, i.e., an 8-bin histogram sequence, which may be { M0, M1, M2, M3, M4, M5, M6, M7}, for example.
Optionally, the color histogram sequence is combined based on a preset step length, and the sum of the sequence values of the color values corresponding to the preset step length may be determined as the target sequence value.
The target color histogram sequence is subjected to binarization processing to obtain a binarized sequence, specifically, a binarization threshold corresponding to the target color histogram sequence can be determined, and each sequence value in the target color histogram sequence is subjected to binarization processing based on the binarization threshold to obtain the binarized sequence.
Optionally, converting the target color histogram sequence into a binarized sequence includes: determining a sequence median value based on each sequence value in the target color histogram sequence; and converting each sequence value in the target color histogram sequence into a binarization value based on the sequence median value to obtain a binarization sequence corresponding to the target color histogram sequence. In this embodiment, the sequence median may be the median or the mean of the values of each sequence. In some embodiments, a sequence number greater than the median of the sequence is converted to 0, and a sequence number less than or equal to the median of the sequence is converted to 1, forming a binarized sequence. Illustratively, the target color histogram sequence is {20,30,30,20,20,20,30,30}, which has a median of 20, a mean of 25, i.e., a median of 20 or 25 in sequence, among the sequence values in the target color histogram sequence. Taking the sequence median of 20 as an example, the resulting binarized sequence is {1,0,0,1,1,1,0,0}.
In some embodiments, a sequence number greater than the median of the sequence may be converted to 1, and a sequence number less than or equal to the median of the sequence may be converted to 0, to form a binary sequence, where the target color histogram sequence is {20,30,30,20,20,20,30,30}, the median of the sequence is 20, and the binary sequence is {0,1,1,0,0,0,1,1}, respectively.
On the basis of the above embodiment, determining the encoded value based on the binarized sequence includes: and converting the binary numerical values in the binary sequence into coded values based on a preset binary conversion rule. Alternatively, the preset binary conversion rule may be a binary conversion rule, and the binary value in the binary sequence is used as a binary value, and is converted into decimal based on the binary conversion rule, so as to obtain the code value. Illustratively, taking the binarized sequence {1,0,0,1,1,1,0,0} as an example, the sequence values in the binarized sequence are sorted to form binary values, 10011100, which are converted to decimal values to obtain the encoded values 57.
On the basis of the above embodiment, the encoded value is taken as the dividing threshold value of the pixel value interval, and illustratively, two pixel value intervals can be obtained by dividing the pixel value interval based on the encoded value, wherein the first pixel value interval is a pixel value interval smaller than the encoded value, and the second pixel value interval is a pixel value interval greater than or equal to the encoded value. Taking the encoded value of 57 as an example, the first pixel value interval is [0,56], and the second pixel value interval is [57,255].
In some embodiments, based on three-channel data of an image to be processed, a code value corresponding to each channel data may be determined, and accordingly, each code value may determine two pixel value intervals. In some embodiments, an average value of the code values corresponding to each channel data may be determined as a target code value, and two pixel value intervals may be determined based on the target code value. In some embodiments, a corresponding plurality of code values may be determined by a plurality of image regions, each code value may determine two pixel value intervals, and the pixel value intervals determined by different code values and the encryption mode corresponding to the pixel value intervals are used to encrypt the corresponding image region.
On the basis of the above embodiment, the encryption manner includes:
wherein x is the original pixel value of the pixel point in the image to be processed, y is the pixel value after encryption processing, code_value is the coding value,is rounded downwards.
And carrying out encryption processing on the pixel points of each pixel value interval in the image to be processed or the target image based on the encryption mode to obtain the encrypted pixel value of each pixel point, and further obtaining the encrypted image. Note that when the encrypted pixel value is smaller than 0, the encrypted pixel value is set to 0, and when the encrypted pixel value is larger than 255, the encrypted pixel value is set to 255.
In some embodiments, the at least one target image may include an image to be processed, optionally, the image to be processed is each frame image in the video to be processed, the encoded value of the frame image is obtained by processing each frame image, the frame image is encrypted, and each frame of encrypted image is combined according to the timestamp to obtain the encrypted video. Optionally, the image to be processed is any frame image (for example, may be a first frame image) in the video to be processed, the target image may be all frame images in the video to be processed, the encoding value is obtained by encoding the image to be processed, and the encryption processing is performed on all frame images in the video to be processed based on the encryption mode determined by the encoding value, so as to obtain the encrypted video. Optionally, the image to be processed may be an image of a preset time interval in the video to be processed, the target image is a multi-frame image including the image to be processed corresponding to the preset time interval, for example, for each video segment of the preset time interval, an image to be processed is selected, an encoding value of the image to be processed is determined, encryption processing is performed on each image in the video segment of the preset time interval based on the encoding value, and similarly, each video segment of the video to be processed is merged after encryption processing, so as to obtain the encrypted video.
On the basis of the embodiment, after the image to be processed or the target image is encrypted, the identification information of the image to be processed and the corresponding coding value are sent to a preset cloud storage position, and the preset cloud storage position is used for correspondingly storing different identification information and coding values. The decryption end can be electronic equipment such as a computer and a mobile phone, can acquire an encrypted image or an encrypted video, acquires a coding value from a preset cloud storage position based on identification information of the encrypted image or the encrypted video, decrypts the encrypted image or the encrypted video through the coding value, ensures the safety of the image or the video in the transmission process, avoids being identified by illegal AI to reveal user information, and simultaneously ensures that the use end of the image or the video can acquire the image or the video before encryption through decryption.
According to the technical scheme, an image to be processed is subjected to coding processing to obtain a coding value, a corresponding pixel value interval is determined based on the coding value, and pixel points in different pixel value intervals in at least one image are processed in different encryption modes to obtain an encrypted image. The pixel points in different pixel value intervals are encrypted in different encryption modes, so that the pixel value distribution of an encrypted image relative to an image before encryption is changed, and the change influences the accuracy of illegal AI identification on the basis of ensuring that the content distortion of the image is not influenced (namely, the human eyes can recognize) so as to ensure that user information is not stolen and improve the safety of the image. Meanwhile, in the embodiment, the plurality of images can be encrypted through the encoding values of the images to be processed, so that the encryption efficiency of the plurality of images is improved.
On the basis of the above embodiment, the method further includes: acquiring an encrypted image, and acquiring a coded value corresponding to the identification information of the encrypted image from the preset cloud storage position based on the identification information of the encrypted image; and carrying out decryption processing on the encrypted image based on a decryption mode corresponding to the coded value.
Wherein the encrypted image may be a single encrypted image or each encrypted image in an encrypted video. The identification information of the encrypted image may be carried in the encrypted image, for example, may be a file name, a number, a time stamp in a video, or the like of the encrypted image, or a file name, a preset identifier, or the like of a video to which the encrypted image belongs.
And sending a coded value request to a preset cloud terminal based on the identification information of the encrypted image, wherein the coded value request can also comprise verification information, the preset cloud terminal verifies the verification information, when verification is successful, the encrypted image is determined to have decryption permission, the corresponding coded value is matched based on the identification information of the encrypted image, and the successfully matched coded value is fed back. And decrypting the current encrypted image or at least one target encrypted image corresponding to the current encrypted image based on the code value, wherein the at least one target encrypted image can be each encrypted image in the encrypted video to which the encrypted image belongs.
It should be noted that, the encoding value stored in the preset cloud storage location may be configured with an encryption policy, where the encryption policy may be one-to-one encryption or one-to-many encryption, where one-to-one encryption is that a set of encoding values encrypts one image, and one-to-many encryption is that a set of encoding values may encrypt multiple images. Optionally, the code value of the one-to-many encryption mode carries a plurality of image identifiers corresponding to the code value, or identifiers of start and stop images in the continuous video segment, and the like.
The decryption end further comprises an encryption strategy for acquiring the code value after acquiring the code value, and when the encryption strategy is one-to-many encryption, the decryption end decrypts the encrypted images corresponding to the image identifications based on the code value.
On the basis of the above embodiment, the decryption manner includes:
wherein m is the pixel value after decryption, n is the pixel value before decryption, code_value is the code value,is rounded downwards.
For each pixel point in the encrypted image,
note that, when the decrypted pixel value is smaller than 0, the decrypted pixel value is set to 0, and when the decrypted pixel value is larger than 255, the decrypted pixel value is set to 255.
Example two
Fig. 2 is a schematic flow chart of an image processing method according to an embodiment of the present invention, where the image processing method is refined based on the foregoing embodiment, and the method specifically includes:
s210, acquiring an image to be processed, respectively extracting three channels of data in the image to be processed, and respectively carrying out coding processing on the three channels of data to obtain coding values corresponding to all channels.
S220, determining at least two pixel value intervals based on the coding values and an encryption mode corresponding to each pixel value interval.
S230, based on the encryption mode determined by the corresponding coding values of the channels, carrying out encryption processing on the image to be processed or the pixel points of the pixel value interval of the corresponding channel in the video to be processed where the image to be processed is located, so as to obtain an encrypted image.
S240, transmitting the identification information of the image to be processed and the coding value to a preset cloud storage position, so that a decryption end obtains the coding value from the preset cloud storage position based on the identification information of the image to be processed, and decrypting at least one encrypted image corresponding to the identification information of the image to be processed.
In this embodiment, three channel data (R, G, B channel data) in the image to be processed are respectively encoded to obtain encoded values corresponding to the channel data. The processing manners of the encoding processing of the three channel data may be the same or different, for example, the encoding value of any channel data may be determined based on the pixel value average processing manner, or may be determined based on the color histogram sequence, which is not limited.
For the code value determined by each channel data, a channel identifier of each code value is set, where the channel identifier may be R, G, B, and correspondingly, the identifier information of the image to be processed may include the first identifier of the image to be processed or the video to which the image belongs and the channel identifier of each code value, and exemplary, the identifier information of the image to be processed and the corresponding code value form association information as M (R-a, G-B, B-c), where M is the first identifier of the image to be processed or the video to which the image belongs, R, G, B is the channel identifier, and a, B, and c are the code values corresponding to the channel identifiers respectively. And transmitting the identification information and the coding value of the image to be processed to a preset cloud storage position for storage, so that a subsequent decryption end can conveniently acquire the identification information and the coding value from the preset cloud storage position.
In this embodiment, three channels of data in an image to be processed are respectively processed, for example, for any channel of data, for example, R channel data, each pixel point in the R channel data is encrypted based on a pixel value interval determined by the R channel data and an encryption manner corresponding to the pixel value interval, so as to obtain encrypted R channel data. Similarly, the processed G-channel data and B-channel data can be obtained based on the processing method, and the processed image can be obtained based on the processed R-channel data, G-channel data, and B-channel data.
According to the technical scheme, through respectively carrying out coding processing on the three-channel data and carrying out pixel value adjustment on the corresponding channel data according to the coding value obtained by each channel data, the accuracy of processing the data of each channel is improved, and the safety of the processed image is improved.
On the basis of the above embodiment, the decryption terminal obtains the encoded value from the preset cloud storage location based on the identification information of the encrypted image, determines the corresponding encoded value based on the channel identifier when the encoded value is a combination of a plurality of encoded values corresponding to each channel identifier, and decrypts the corresponding channel data of the encrypted image based on the encoded value of each channel identifier and the corresponding decryption mode, for example, decrypts the R channel data in the encrypted image for the encoded value of the R channel and the corresponding decryption mode. And forming a decrypted image based on the three-channel data obtained by the decryption process.
Example III
Fig. 3 is a schematic flow chart of an image processing method according to an embodiment of the present invention, where the image processing method is refined based on the foregoing embodiment, and the method specifically includes:
s310, acquiring an image to be processed, dividing the image to be processed into areas, and carrying out coding processing on each image area to obtain coding values of each image area in the image to be processed.
S320, determining at least two pixel value intervals based on the coding values and an encryption mode corresponding to each pixel value interval.
S330, based on the encryption mode determined by the corresponding coding values of the image areas, the image to be processed or the pixel points of the pixel value interval of the corresponding image area in the video to be processed where the image to be processed is located are encrypted.
S340, transmitting the identification information of the image to be processed and the coding value to a preset cloud storage position, so that a decryption end obtains the coding value from the preset cloud storage position based on the identification information of the image to be processed, and decrypting at least one encrypted image corresponding to the identification information of the image to be processed.
In this embodiment, the region division of the image to be processed may be performed based on a predetermined image division rule. By way of example, the image partitioning rule may be at least one of the following including, but not limited to: the image to be processed is divided into a preset number of image areas, the image to be processed can be divided into a plurality of image areas with preset graphics, and the image to be processed can be divided into at least one image area comprising preset image content, wherein the preset image content can be human body biological characteristic information such as human faces.
For example, referring to fig. 4A to 4D, fig. 4A to 4D are schematic image division diagrams according to an embodiment of the present invention. It should be noted that fig. 4A to fig. 4D are only examples provided in this embodiment, and in other embodiments, other image dividing manners may also be included. Fig. 4A is a schematic diagram of dividing an image to be processed into a central image area 1 and hollow areas 2 and 3 that sequentially expand outwards, and in other embodiments, the divided image areas may be rectangular, or may be other regular patterns or irregular patterns such as circles, pentagons, and the like; fig. 4B is a triangle area obtained by uniformly dividing the image to be processed based on the center point, fig. 4C is a triangle area obtained by dividing the image to be processed into rectangular areas, in other embodiments, the number of triangle areas and rectangular areas is not limited, and fig. 4D is a portrait area 1, 2 and a background area 3.
The encoding process is performed on each image area, wherein the encoding process modes of the image areas can be the same or different.
In some embodiments, the encoding processing is performed on each image area to obtain an encoded value of each image area in the image to be processed, including: and carrying out coding processing on the gray value of each image area to obtain a coding value of each image area. Three channel data of each image area are converted into gray values, and corresponding coding values are determined based on the gray values of the image areas. The image to be processed is divided into image areas 1 and 2, a coding value a is determined based on the image area 1, a pixel value interval and a corresponding encryption mode are determined based on the coding value a, and encryption processing is carried out on pixel points in the image area 1, wherein three-channel data of the pixel points in the image area 1 are processed based on the coding value a, the pixel value interval and the corresponding encryption mode are determined. And processing each image area based on the processing mode to obtain an encrypted image.
In some embodiments, the encoding processing is performed on each image area to obtain an encoded value of each image area in the image to be processed, including: and carrying out coding processing on the three-channel data of each image area to obtain three-channel coding values corresponding to each image area. For example, the image to be processed is divided into image areas 1 and 2, the encoding values R, G and B are respectively determined based on three-channel data of the image area 1, two pixel value intervals and corresponding encryption modes are respectively determined based on the encoding values R, two pixel value intervals and corresponding encryption modes are respectively determined based on the encoding values G and B, for three-channel data in the image area 1, for example, R-channel data, the pixel value intervals and the corresponding encryption modes are determined based on the encoding values R, the R-channel data in the image area 1 is encrypted, and for the same reason, the G-channel data in the image area 1 is encrypted based on the encoding values G, and the B-channel data in the image area 1 is encrypted based on the encoding values B. And processing each image area based on the processing mode to obtain an encrypted image.
Optionally, after obtaining the three channel coding values corresponding to each image region, determining a target coding value of the image region by using a mean value of the three channel coding values, and correspondingly, performing encryption processing on the corresponding image region based on the target coding value.
On the basis of the above embodiment, for the face region and the background region in fig. 4D, the face region may be subjected to encoding processing, and the face region may be subjected to encryption processing based on the obtained encoding value, without performing encoding processing and encryption processing on the background region, so as to improve the processing efficiency of the image to be processed. The face region in the image to be processed may be determined based on face contour recognition.
According to the technical scheme, the image to be processed is divided into the plurality of image areas, and encryption processing is respectively carried out on each image area, so that the complexity of image encryption is improved, the situation that information in the image is illegally identified due to the fact that a confidential image is reversely processed into an original image is avoided, and the safety of the information in the processed image is improved.
On the basis of the above embodiment, the identification information of the image to be processed further includes an area identification of each image area, and correspondingly, the identification information of the image to be processed may include the first identification of the image to be processed or the video to which the image to be processed belongs and an area identification of each encoding value. Taking fig. 4A as an example, fig. 4A includes three image areas 1, 2, and 3, and correspondingly, the coding values of the image areas 1, 2, and 3 may be a, b, and c, and correspondingly, the association information formed by the identification information of the image to be processed and the corresponding coding values is M (1-a, 2-b, and 3-c), where M is the first identification of the image to be processed or the video to which the image to be processed belongs.
In some embodiments, the identification information of the image to be processed and the corresponding code value form the associated information, which may further include an image division rule identifier, so that the decryption end may determine an image division manner of the encrypted image according to the image division rule identifier.
On the basis of the embodiment, the decryption terminal obtains the code value from the preset cloud storage position based on the identification information of the encrypted image, determines the division mode of the encrypted image according to the image division rule identification when the code value is a combination of a plurality of code values corresponding to the area identifications, determines a plurality of image areas of the encrypted image, and determines the code value corresponding to each image area based on the area identifications.
The data of the corresponding image area of the encrypted image is decrypted based on the encoded value of each area identifier and the corresponding decryption method, for example, the data of the image area 1 in the encrypted image is decrypted based on the encoded value of the image area 1 and the corresponding decryption method. And forming a decrypted image based on the decrypted data of each image area obtained by the decryption process.
It should be noted that, the code value of any image area may be a single code value, or may be code values corresponding to three channel identifiers, and correspondingly, the decryption processing is performed on the three channel data in the image area based on the code values corresponding to the three channel identifiers.
On the basis of the above embodiment, the encryption end and the decryption end may be different electronic devices, or may be the same electronic device, which is not limited.
On the basis of the above embodiment, this embodiment also provides a preferred example, and referring to fig. 5, fig. 5 is a flowchart of a preferred example of the present invention. Obtaining an input video, wherein the video comprises one or more images to be processed, obtaining a gray value sequence of the images to be processed in the video, determining a gray histogram sequence (configured as a color histogram sequence) based on the gray value sequence, combining the color histogram sequence based on a preset step length (configured as a preset step length of 32) to obtain an 8-bin histogram (configured as a target color histogram sequence), determining the median in the 8-bin histogram, performing binarization processing on the 8-bin histogram based on the median to obtain a binarization histogram (configured as a binarization sequence), and determining the coding value of the images to be processed in the video based on the binarization histogram. And determining the coding value of the image to be processed as the coding value of the video. Specifically, the numerical values in the binarized histogram may be converted into binary data and into coded values in decimal. And carrying out encryption processing on each video frame in the video by using an encryption mode corresponding to the coding value, and obtaining an encrypted video based on each encrypted video frame. And transmitting or storing the encrypted video, reading the encrypted video or receiving the encrypted video sent by other equipment, verifying whether the encrypted video has decryption permission, if so, acquiring a coded value corresponding to the encrypted video, and decrypting each video frame in the encrypted video based on a decryption mode corresponding to the coded value to obtain the decrypted video. The method comprises the steps of storing a coded value corresponding to an encrypted video in a preset cloud storage position.
Example IV
Fig. 6 is a schematic structural diagram of an image processing apparatus according to a fourth embodiment of the present invention, the apparatus including:
the image encoding module 410 is configured to obtain an image to be processed, and encode the image to be processed to obtain an encoded value of the image to be processed;
an encryption mode determining module 420, configured to determine at least two pixel value intervals based on the encoded values, and an encryption mode corresponding to each pixel value interval;
the image processing module 430 is configured to perform encryption processing on pixels corresponding to a pixel value interval in the image to be processed or the at least one target image based on each encryption manner, so as to obtain an encrypted image;
the code value storage module 440 is configured to transmit the identification information of the image to be processed and the code value to a preset cloud storage location, so that the decryption end obtains the code value from the preset cloud storage location based on the identification information of the image to be processed, and decrypts at least one encrypted image corresponding to the identification information of the image to be processed.
On the basis of the above embodiment, the image encoding module 410 is configured to:
respectively extracting three channels of data in the image to be processed, and respectively carrying out coding processing on the three channels of data to obtain coding values corresponding to all channels;
Accordingly, the image processing module 430 is configured to:
and carrying out encryption processing on the pixel points of the pixel value interval of the corresponding channel in the image to be processed or at least one target image based on the encryption mode determined by the corresponding coding value of each channel.
On the basis of the above embodiment, the identification information of the image to be processed further includes a channel identifier corresponding to each coding value.
On the basis of the above embodiment, the image encoding module 410 is configured to:
dividing the image to be processed into areas, and carrying out coding processing on each image area to obtain coding values of each image area in the image to be processed;
accordingly, the image processing module 430 is configured to:
and carrying out encryption processing on the pixel points of the pixel value interval of the corresponding image area in the image to be processed or at least one target image in the encryption mode determined by the corresponding encoding value of each image area.
On the basis of the above embodiment, the identification information of the image to be processed further includes an area identification corresponding to each image area.
On the basis of the above embodiment, the image encoding module 410 is configured to:
carrying out coding processing on the gray value of each image area to obtain a coding value of each image area; or,
And carrying out coding processing on the three-channel data of each image area to obtain three-channel coding values corresponding to each image area.
On the basis of the above embodiment, the image encoding module 410 includes:
the target color histogram sequence determining unit is used for obtaining the color histogram sequence of the image to be processed or the image area, and combining the color histogram sequences based on a preset step length to obtain a preset number of target color histogram sequences;
a binarization sequence determining unit for converting the target color histogram sequence into a binarization sequence;
and the code value determining unit is used for determining a code value based on the binarization sequence.
On the basis of the above embodiment, the binarization sequence determining unit is configured to:
determining a sequence median value based on each sequence value in the target color histogram sequence;
and converting each sequence value in the target color histogram sequence into a binarization value based on the sequence median value to obtain a binarization sequence corresponding to the target color histogram sequence.
On the basis of the above embodiment, the code value determining unit is configured to:
and converting the binary numerical values in the binary sequence into coded values based on a preset binary conversion rule.
On the basis of the above embodiment, the encryption manner includes:
wherein x is the original pixel value of the pixel point in the image to be processed, y is the pixel value after encryption processing, code_value is the coding value,is rounded downwards.
On the basis of the above embodiment, the device further includes:
the code value acquisition module is used for acquiring an encrypted image, and acquiring a code value corresponding to the identification information of the encrypted image from the preset cloud storage position based on the identification information of the encrypted image;
and the decryption module is used for decrypting the encrypted image or each image in the encrypted video based on a decryption mode corresponding to the encoded value.
On the basis of the above embodiment, the decryption method includes:
wherein m is the pixel value after decryption, n is the pixel value before decryption, code_value is the code value,is rounded downwards.
The product can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial efficiency of the execution method.
Example five
Fig. 7 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. Fig. 7 shows a block diagram of an electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 7 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention. Device 12 is typically an electronic device that assumes image classification functionality.
As shown in fig. 7, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors 16, a memory device 28, and a bus 18 connecting the various system components, including the memory device 28 and the processors 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry standard architecture (Industry Standard Architecture, ISA) bus, micro channel architecture (Micro Channel Architecture, MCA) bus, enhanced ISA bus, video electronics standards association (Video Electronics Standards Association, VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The storage 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard disk drive"). Although not shown in fig. 7, a disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from and writing to a removable nonvolatile optical disk (e.g., a Compact Disc-Read Only Memory (CD-ROM), digital versatile Disc (Digital Video Disc-Read Only Memory, DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The storage device 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
Programs 36 having a set (at least one) of program modules 26 may be stored, for example, in storage 28, such program modules 26 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 26 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, camera, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., local area network (Local Area Network, LAN), wide area network Wide Area Network, WAN) and/or a public network, such as the internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk array (Redundant Arrays of Independent Disks, RAID) systems, tape drives, data backup storage systems, and the like.
The processor 16 executes various functional applications and data processing by running a program stored in the storage device 28, for example, to realize the image processing method provided by the above-described embodiment of the present invention.
Example six
A sixth embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an image processing method as provided by the embodiments of the present invention.
Of course, the computer-readable storage medium provided by the embodiments of the present invention, on which the computer program stored, is not limited to the method operations described above, but may also perform the image processing method provided by any of the embodiments of the present invention.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer-readable signal medium may include a propagated data signal with computer-readable source code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
The source code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer source code for carrying out operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The source code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (9)
1. An image processing method, comprising:
acquiring an image to be processed, and performing coding processing on the image to be processed to obtain a coding value of the image to be processed;
determining at least two pixel value intervals and encryption modes corresponding to the pixel value intervals based on the coding values;
encrypting the pixel points corresponding to the pixel value interval in the image to be processed or at least one target image based on each encryption mode to obtain an encrypted image;
transmitting the identification information of the image to be processed and the coding value to a preset cloud storage position, so that a decryption end obtains the coding value from the preset cloud storage position based on the identification information of the image to be processed, and decrypts at least one encrypted image corresponding to the identification information of the image to be processed;
The encoding processing is performed on the image to be processed to obtain an encoding value of the image to be processed, including:
dividing the image to be processed into areas, and carrying out coding processing on each image area to obtain coding values of each image area in the image to be processed;
the encrypting the pixel points corresponding to the pixel value interval in the image to be processed or at least one target image based on each encryption mode comprises the following steps:
encrypting the pixel points of the pixel value interval of the corresponding image area in the image to be processed or at least one target image based on the encryption mode determined by the corresponding encoding value of each image area;
the identification information of the image to be processed further comprises an area identification corresponding to each image area;
the encoding process includes:
acquiring a color histogram sequence of the image to be processed or the image area, and merging the color histogram sequences based on a preset step length to obtain a preset number of target color histogram sequences;
converting the target color histogram sequence into a binarized sequence, and determining the coding value based on the binarized sequence;
The encryption mode comprises the following steps:
wherein x is the original pixel value of the pixel point in the image to be processed, y is the pixel value after encryption processing, code_value is the coding value,is rounded downwards.
2. The method according to claim 1, wherein the encoding each image area to obtain the encoded value of each image area in the image to be processed includes:
carrying out coding processing on the gray value of each image area to obtain a coding value of each image area; or,
and carrying out coding processing on the three-channel data of each image area to obtain three-channel coding values corresponding to each image area.
3. The method of claim 1, wherein the converting the target color histogram sequence to a binarized sequence comprises:
determining a sequence median value based on each sequence value in the target color histogram sequence;
and converting each sequence value in the target color histogram sequence into a binarization value based on the sequence median value to obtain a binarization sequence corresponding to the target color histogram sequence.
4. The method of claim 1, wherein the determining the encoded value based on the binarized sequence comprises:
And converting the binary numerical values in the binary sequence into coded values based on a preset binary conversion rule.
5. The method according to claim 1, wherein the method further comprises:
acquiring an encrypted image, and acquiring a coded value corresponding to the identification information of the encrypted image from the preset cloud storage position based on the identification information of the encrypted image;
and carrying out decryption processing on the encrypted image based on a decryption mode corresponding to the coded value.
6. The method of claim 5, wherein the decrypting means comprises:
wherein m is the pixel value after decryption, n is the pixel value before decryption, code_value is the code value,is rounded downwards.
7. An image processing apparatus, comprising:
the image coding module is used for obtaining an image to be processed, and coding the image to be processed to obtain a coding value of the image to be processed;
the encryption mode determining module is used for determining at least two pixel value intervals based on the coding values and the encryption mode corresponding to each pixel value interval;
the image processing module is used for carrying out encryption processing on the pixel points corresponding to the pixel value intervals in the image to be processed or at least one target image based on each encryption mode to obtain an encrypted image;
The code value storage module is used for transmitting the identification information of the image to be processed and the code value to a preset cloud storage position, so that a decryption end obtains the code value from the preset cloud storage position based on the identification information of the image to be processed and decrypts at least one encrypted image corresponding to the identification information of the image to be processed;
the image coding module is specifically used for:
dividing the image to be processed into areas, and carrying out coding processing on each image area to obtain coding values of each image area in the image to be processed;
the image processing module is specifically configured to:
encrypting the pixel points of the pixel value interval of the corresponding image area in the image to be processed or at least one target image based on the encryption mode determined by the corresponding encoding value of each image area;
the identification information of the image to be processed further comprises an area identification corresponding to each image area;
the image encoding module includes:
the target color histogram sequence determining unit is used for obtaining the color histogram sequence of the image to be processed or the image area, and combining the color histogram sequences based on a preset step length to obtain a preset number of target color histogram sequences;
A binarization sequence determining unit for converting the target color histogram sequence into a binarization sequence;
a code value determining unit configured to determine the code value based on the binarization sequence;
the encryption mode comprises the following steps:
wherein x is the original pixel value of the pixel point in the image to be processed, y is the pixel value after encryption processing, code_value is the coding value,is rounded downwards.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the image processing method of any of claims 1-6 when the program is executed by the processor.
9. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the image processing method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110158182.5A CN112802138B (en) | 2021-02-04 | 2021-02-04 | Image processing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110158182.5A CN112802138B (en) | 2021-02-04 | 2021-02-04 | Image processing method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112802138A CN112802138A (en) | 2021-05-14 |
CN112802138B true CN112802138B (en) | 2024-03-12 |
Family
ID=75814300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110158182.5A Active CN112802138B (en) | 2021-02-04 | 2021-02-04 | Image processing method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112802138B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114553499B (en) * | 2022-01-28 | 2024-02-13 | 中国银联股份有限公司 | Image encryption and image processing method, device, equipment and medium |
CN115633193B (en) * | 2022-12-19 | 2023-04-18 | 吉林省信息技术研究所 | Monitoring video encryption method and system |
CN117041441A (en) * | 2023-07-31 | 2023-11-10 | 中移互联网有限公司 | Image sharing method and device and electronic equipment |
CN117315298B (en) * | 2023-11-27 | 2024-03-19 | 欧科华创自动化(深圳)有限公司 | RFID tag-based identification method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109561236A (en) * | 2018-11-30 | 2019-04-02 | 百度在线网络技术(北京)有限公司 | Image encryption, recognition methods device, equipment and medium |
WO2019196684A1 (en) * | 2018-04-12 | 2019-10-17 | Oppo广东移动通信有限公司 | Data transmission method and apparatus, computer readable storage medium, electronic device, and mobile terminal |
WO2020134674A1 (en) * | 2018-12-29 | 2020-07-02 | 平安科技(深圳)有限公司 | Palmprint identification method, apparatus, computer device, and storage medium |
CN111935486A (en) * | 2020-07-29 | 2020-11-13 | Oppo广东移动通信有限公司 | Image processing method and device, computer readable storage medium and electronic device |
-
2021
- 2021-02-04 CN CN202110158182.5A patent/CN112802138B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019196684A1 (en) * | 2018-04-12 | 2019-10-17 | Oppo广东移动通信有限公司 | Data transmission method and apparatus, computer readable storage medium, electronic device, and mobile terminal |
CN109561236A (en) * | 2018-11-30 | 2019-04-02 | 百度在线网络技术(北京)有限公司 | Image encryption, recognition methods device, equipment and medium |
WO2020134674A1 (en) * | 2018-12-29 | 2020-07-02 | 平安科技(深圳)有限公司 | Palmprint identification method, apparatus, computer device, and storage medium |
CN111935486A (en) * | 2020-07-29 | 2020-11-13 | Oppo广东移动通信有限公司 | Image processing method and device, computer readable storage medium and electronic device |
Non-Patent Citations (2)
Title |
---|
基于奇异值分解的二维码加密算法;葛娅敬;赵礼峰;;计算机科学(S2);全文 * |
基于矩阵编码的大容量密文域可逆信息隐藏算法;刘宇;杨百龙;赵文强;袁志华;;计算机工程(10);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112802138A (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112802138B (en) | Image processing method and device, storage medium and electronic equipment | |
US10313317B2 (en) | Systems and methods for securely managing biometric data | |
US11599669B2 (en) | Image distribution using composite re-encrypted images | |
CN112507988B (en) | Image processing method and device, storage medium and electronic equipment | |
CN112381000A (en) | Face recognition method, device, equipment and storage medium based on federal learning | |
CN113766085A (en) | Image processing method and related device | |
CN112231309A (en) | Method, device, terminal equipment and medium for removing duplicate of longitudinal federal data statistics | |
CN213122985U (en) | PIS authentication system | |
CN110069907A (en) | Big data source tracing method and system based on digital watermarking | |
CN111783677B (en) | Face recognition method, device, server and computer readable medium | |
CN116110159B (en) | User authentication method, device and medium based on CFCA authentication standard | |
CN115914488B (en) | Medical image identity confusion sharing method, system, terminal equipment and storage medium | |
CN115168827B (en) | Two-dimensional code generation method containing identity information and two-dimensional code reading method | |
CN116108412A (en) | Face identity authentication method, device, equipment, storage medium and program product | |
CN115114667A (en) | Privacy information processing and classifying method and device for security chip | |
Li et al. | Privacy-preserved data hiding using compressive sensing and fuzzy C-means clustering | |
CN113672954A (en) | Feature extraction method and device and electronic equipment | |
CN115396222B (en) | Device instruction execution method, system, electronic device and readable storage medium | |
RU2828473C1 (en) | Distribution of images using composite re-encrypted images | |
CN115174260B (en) | Data verification method, device, computer, storage medium and program product | |
CN117240565A (en) | Data encryption method, data decryption method, device and computer equipment | |
CN116108502A (en) | Method, system, equipment and medium for generating and decrypting secure electronic file | |
CN116844174A (en) | Handwritten character recognition system, method, equipment and storage medium | |
CN113554543A (en) | Identification method and device based on scrambled image, electronic equipment and medium | |
CN117787429A (en) | Federal learning method, federal learning device, federal learning computer, and federal learning computer readable storage medium |
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 |