CN111294482A - Image processing method and system - Google Patents

Image processing method and system Download PDF

Info

Publication number
CN111294482A
CN111294482A CN202010076872.1A CN202010076872A CN111294482A CN 111294482 A CN111294482 A CN 111294482A CN 202010076872 A CN202010076872 A CN 202010076872A CN 111294482 A CN111294482 A CN 111294482A
Authority
CN
China
Prior art keywords
image
information
target image
user
user terminal
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
Application number
CN202010076872.1A
Other languages
Chinese (zh)
Other versions
CN111294482B (en
Inventor
余承富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Danale Technology Co ltd
Original Assignee
Shenzhen Danale Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Danale Technology Co ltd filed Critical Shenzhen Danale Technology Co ltd
Priority to CN202010076872.1A priority Critical patent/CN111294482B/en
Publication of CN111294482A publication Critical patent/CN111294482A/en
Application granted granted Critical
Publication of CN111294482B publication Critical patent/CN111294482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/44Secrecy systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00838Preventing unauthorised reproduction
    • H04N1/0084Determining the necessity for prevention
    • H04N1/00854Recognising an unauthorised user or user-associated action
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00838Preventing unauthorised reproduction
    • H04N1/00856Preventive measures
    • H04N1/00864Modifying the reproduction, e.g. outputting a modified copy of a scanned original

Abstract

The embodiment of the application discloses an image processing method and system, wherein the method comprises the following steps: receiving image information of a target image sent by image acquisition equipment, wherein the image information comprises structural information, encrypted color information and encrypted brightness information; receiving a viewing request sent by a user terminal, wherein the viewing request carries identity identification information of a user corresponding to the user terminal, and the viewing request is used for requesting to view a target image; determining the permission of a user for viewing the target image according to the viewing request; under the condition that a user has the authority of viewing a target image, sending image information to a user terminal; or, when the user does not have the authority to view the target image, sending partial image information to the user terminal, wherein the partial image information is any one or two of structured information, color information and brightness information.

Description

Image processing method and system
Technical Field
The present application relates to the field of image processing, and in particular, to an image processing method and system.
Background
With the vigorous development of internet technology, people integrate information such as characters, images, sounds and the like by using computers and networks, so that the lives of people are enriched, and meanwhile, the requirement of people on information reading modes is met, so that the communication between people tends to be diversified. The image communication becomes an important way for information transmission because the image has the characteristics of lively and visual effect, rich information and the like.
At present, image information is often illegally browsed or processed in the processes of storage, transmission and use, so that privacy of enterprises or individuals is leaked, and therefore, how to ensure the safety of the image information becomes important.
Disclosure of Invention
The embodiment of the application discloses an image processing method and system, which can improve the safety of image information.
In a first aspect, the present application provides an image processing method, including:
receiving image information of a target image sent by image acquisition equipment, wherein the image information comprises structural information, encrypted color information and encrypted brightness information;
receiving a viewing request sent by a user terminal, wherein the viewing request carries identity identification information of a user corresponding to the user terminal, and the viewing request is used for requesting to view the target image;
determining the permission of the user for viewing the target image according to the viewing request;
under the condition that the user has the authority of viewing the target image, sending the image information to the user terminal; alternatively, the first and second electrodes may be,
and sending partial image information to the user terminal under the condition that the user does not have the authority of viewing the target image, wherein the partial image information is any one or two of the structural information, the color information and the brightness information.
In the method, whether the user has the authority to view the target image or not is judged, and the corresponding information is sent to the user terminal where the user is located, namely, according to the authority of the user, the user can view images of different layers, the user with the authority can view the complete target image, and the user without the authority can only view part of the target image, so that the safety of image information is improved, and the information in the image is prevented from being illegally browsed, leaked or tampered.
In this embodiment, the image information of the target image is obtained by performing feature extraction on the acquired target image by the image acquisition device to obtain the structural information, the color information and the brightness information, and then encrypting the color information and the brightness information respectively.
Therefore, the image acquisition equipment decomposes the target image into the structural information, the color information and the brightness information, and encrypts the color information and the brightness information, so that a user who does not have the authority of viewing the target image can only view partial image information of the target image and cannot know all image information of the target image, and the information security of the target image is further protected.
In an embodiment of the present application, in a case that the user has a right to view the target image, the method further includes: and sending the target image to the user terminal.
Therefore, under the condition that the user has the authority of checking the target image, the target image can be sent to the user terminal, and the image information of the target image can also be sent to the user terminal, so that the user terminal can check the target image when the encrypted information is not convenient to decrypt, the load of the user terminal is reduced, the synthesis efficiency of the target image is improved, and the user can conveniently check the target image at any time.
In this embodiment of the present application, before sending the target image to the user terminal, the method further includes: respectively carrying out decryption processing on the encrypted color information and the encrypted brightness information to obtain the color information and the brightness information, wherein the decryption processing corresponds to the encryption processing; synthesizing the target image according to the structural information, the color information and the brightness information; and sending the target image to the user terminal.
Therefore, the encrypted color information and the encrypted brightness information are decrypted, and the target image is synthesized by using the image information, so that the load of a user terminal can be reduced, and the user can conveniently check the target image at any time.
In a second aspect, the present application provides an image processing system comprising:
the image acquisition equipment is used for acquiring image information of a target image, wherein the image information comprises structural information, encrypted color information and encrypted brightness information;
the image processing device is used for receiving the image information of the target image sent by the image acquisition equipment;
the user terminal is used for sending a viewing request to the image processing device, wherein the viewing request carries the identity identification information of a user corresponding to the user terminal, and the viewing request is used for requesting to view the target image;
the image processing device is further used for determining the permission of the user for viewing the target image according to the viewing request;
the image processing device sends the image information to the user terminal when the user has the authority to view the target image; or
And sending partial image information to the user terminal under the condition that the user does not have the authority of viewing the target image, wherein the partial image information is any one or two of the structural information, the color information and the brightness information.
In the system, the image processing device determines the permission of the user for viewing the target image by receiving the target image sent by the image acquisition equipment and the viewing request sent by the user terminal, so that the user with the viewing permission can view the target image, and the user without the viewing permission can only view partial image information of the target image, thereby protecting the information security of the target image, and ensuring that the user without the viewing permission cannot view or process the target image at will.
In an embodiment of the present application, the image capturing apparatus is specifically configured to: collecting a target image of a detection area; performing feature extraction on the target image to obtain the structural information, the color information and the brightness information; respectively encrypting the color information and the brightness information to obtain the encrypted color information and the encrypted brightness information; and sending the structured information, the encrypted color information and the encrypted brightness information to the image processing device.
It can be seen that the image capturing apparatus decomposes the target image into structured information, color information, and brightness information, and thus the user cannot correctly recognize the content of the target image in the case where only partial image information of the image is obtained. The image acquisition equipment also utilizes an encryption technology to encrypt the color information and the brightness information of the target image, thereby further protecting the information security of the target image.
In this embodiment of the present application, the user terminal is further configured to: after receiving the image information sent by the image processing device, respectively performing decryption processing on the encrypted color information and the encrypted brightness information to obtain the color information and the brightness information, wherein the decryption processing corresponds to the encryption processing; and synthesizing the target image according to the structural information, the color information and the brightness information.
It can be seen that, under the condition that the user has the authority to view the target image, the user terminal decrypts the encrypted information so as to synthesize the target image, so that the user can view the target image.
In an embodiment of the present application, the image processing apparatus is further configured to: and in the case that the user has the authority to view the target image, the image processing device transmits the target image to the user terminal.
Therefore, under the condition that the user has the authority of checking the target image, the image processing device can directly send the target image to the user terminal, so that the user can conveniently check the target image at any time, the user terminal does not need to decrypt encrypted information and synthesize the target image, the workload of the user terminal is reduced, and the time for the user to check the target image is shortened.
In an embodiment of the present application, the image processing apparatus is specifically configured to: respectively decrypting the encrypted color information and the encrypted brightness information to obtain the color information and the brightness information; synthesizing the target image according to the structural information, the color information and the brightness information; and sending the target image to the user terminal.
It can be seen that, under the condition that the user has the authority to view the target image, the image processing device can also decrypt the encrypted information and synthesize the target image by using the decrypted information and the structural information of the image, so that the workload of the user terminal is reduced, and the efficiency of the user to view the target image is improved.
In a third aspect, the present application provides a computer device comprising a processor, a communication interface, and a memory; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with other devices under the control of the processor, wherein the processor executes the instructions to perform the method according to any of the first aspect.
In a fourth aspect, the present application provides a computer program product comprising instructions which, when run on an image processing system, cause the image processing system to perform the method of any of the first aspects above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of an image processing method provided in the present application;
FIG. 2 is a schematic diagram of an image processing system provided herein;
FIG. 3 is a schematic structural diagram of a possible image capturing device provided in the present application;
FIG. 4 is a schematic diagram of a possible image processing apparatus provided in the present application;
fig. 5 is a schematic structural diagram of a possible user terminal provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In order to facilitate understanding of the embodiments of the present application, a main application scenario of the image processing method and system provided by the present application is first described: digital image communication. For example, a user stores photos taken in a mobile phone, a computer or a camera in a cloud server, and some cloud service providers may view and even copy the photos without the user's knowledge to seek privacy, thereby revealing privacy of the user. For another example, in order to facilitate a hospital to take care of a patient, a monitoring camera is installed in a ward, which can know the condition of the patient in time, but if the monitoring data is leaked, the privacy of the patient is leaked.
In order to solve the problem of privacy leakage caused by image information, the application provides an image processing method, and the image is distinguished and processed by judging whether a user has the authority to view the image, so that the user with the authority to view the image can view the complete image, and the user without the authority to view the image can only view partial images, thereby improving the security of the image information.
Referring to fig. 1, fig. 1 is a schematic flow chart of an image processing method provided in the present application. As shown in fig. 1, the image processing method provided by the present application includes, but is not limited to, the following steps:
s101, the image processing device receives image information of the target image sent by the image acquisition equipment.
Wherein the image information of the target image comprises structured information, encrypted color information and encrypted brightness information. Specifically, the structured information of the target image includes contour information of the target image, pose information of a person in the target image, and relative position information between a plurality of targets in the target image, and the like, the color information of the target image is used for describing the color and saturation of the target image or specifying the color of a pixel point in the target image, and the brightness information of the target image is used for reflecting the brightness of the target image.
In this embodiment, the image information of the target image is obtained by performing feature extraction on the acquired target image by the image acquisition device to obtain structural information of the target image, color information of the target image, and brightness information of the target image, and then performing encryption processing on the color information of the target image and the brightness information of the target image respectively to obtain the encrypted color information and the encrypted brightness information.
In one possible embodiment, the acquisition of the image information of the target image is as follows:
step one, an image acquisition device acquires a target image of a detection area.
And secondly, extracting the characteristic points of the target image by the image acquisition equipment to obtain the structural information of the target image, wherein the characteristic points of the image can reflect the essential characteristics of the image and can also identify the target object in the image.
Optionally, the image acquisition device first performs image preprocessing (e.g., image graying processing, image denoising processing, etc.) on the target image, then divides the preprocessed target image into a plurality of blocks, and extracts feature points in each block by using a scale-invariant feature transform (SIFT) feature point detection algorithm to obtain information of positions, directions, scales, etc. of all feature points in the target image. The feature point of the image may be a point with a drastic change in gray scale value in the image or a point with a maximum curvature value on an edge curve of the image, for example: outliers, ends of a line segment, intersections of two line segments, and the like. And then, the image acquisition equipment obtains the characteristic points according to the extraction to obtain the structural information of the target image. Of course, the image acquisition device may also extract the boundary features of the target image by hough transform, so as to obtain the contour information of the target image; the image capturing apparatus may also extract a position feature, an attitude feature, and the like of the target subject in the target image using a Convolutional Neural Network (CNN). It should be noted that, the above-mentioned image capturing device does not have a unique implementation manner in the art for extracting the feature points of the target image, and an appropriate feature point extraction method may be selected according to an actual use situation, which is not specifically limited herein.
And step three, extracting the color information of the target image and the brightness information of the target image by the image acquisition equipment.
The image acquisition equipment converts the acquired target image from an RGB color space to a YUV color space, so as to obtain a target image in a YUV format; and then the image acquisition equipment extracts the brightness value of each pixel point in the target image in the YUV format as the brightness information of the target image, and extracts the color value of each pixel point in the target image in the YUV format as the color information of the target image. Specifically, the image capturing apparatus converts a target image in RGB format into a target image in YUV format according to the following formula,
Y=0.299×R+0.587×G+0.144×B
U=-0.148×R-0.289×G+0.437×B
V=0.615×R-0.515×G-0.1×B
y is the brightness value of the pixel in the target image in the YUV format, U and V are the color values of the pixel in the target image in the YUV format, and R, G, B represents the red value, the green value and the blue value of the pixel in the target image in the RGB format, respectively.
It should be noted that, an image captured by the image capturing device is generally an RGB image, a color value of each pixel in the RGB image is determined by superimposing R, G, B three values, and the value of R, G, B is closely related to a luminance value of the image, when the luminance value of the image changes, R, G, B also changes correspondingly, that is, color features are extracted directly from the RGB image, and luminance information may be coupled to the obtained color information, or the luminance features are extracted directly from the RGB image, and color information may be coupled to the obtained luminance information. In contrast, luminance values Y and color values (U, V) are independent of each other in images in YUV format. Therefore, before extracting the color information or the brightness information of the target image, the image acquisition device needs to convert the target image in the RGB format into the target image in the YUV format, and then extract the color information and the brightness information of the target image in the YUV format, so as to obtain the color information and the brightness information of the target image.
It should be understood that the method for extracting the color information and the brightness information in the target image by the image capturing device is only an example, and in practical applications, the color information of the target image and the brightness information of the target image may also be extracted by other manners. For example, the image capturing device may extract color information of an image using a HIS color space or a CIE color space, and may perform filtering and noise reduction processing on the extracted color information and luminance information to obtain a high-quality target image. Therefore, the image capturing device may select an appropriate method to extract the color information in the target image and the brightness information in the target image according to the actual use situation, and the embodiment of the present application is not particularly limited.
And step four, the image acquisition equipment respectively encrypts the color information of the target image and the brightness information of the target image to obtain the encrypted color information and the encrypted brightness information.
Optionally, the image capturing device encrypts the color information and the luminance information based on homomorphic encryption. In order to enhance the encryption effect, the color information of the target image and the brightness information of the target image are scrambled before encryption. Taking the color information of the target image as an example, the encrypted color information may be obtained by: the image acquisition equipment constructs an encryption sequence (x) according to the color information of the target image and a preset secret keyi,yi,zi) Wherein the color information may be represented by a p × q matrix, and i ═ 1, 2. The image capture device then utilizes y in the encrypted sequenceiAnd ziScrambling each row and each column of the color information of the target image respectively to obtain the scrambled color information, and then encrypting x in the sequenceiAnd encrypting the scrambled color information to obtain the encrypted color information. Finally, the image acquisition device sets the key (x) by RSA encryption algorithm0,y0,z0) Encrypting to generate private key (x)0′,y0′,z0'). It should be noted that the encryption method of the image brightness information is similar to the encryption method of the image color information, and details are not repeated here.
It should be understood that the above-mentioned encryption process of the color information of the image and the brightness information of the image is only an example, and in practical applications, the encryption method may also be in other forms, for example, the color information of the image and the brightness information of the image are encrypted by using a chaotic system (e.g., Lorenz system, Chua system). The encryption mode of the preset key can be an RSA encryption algorithm, a Paillier algorithm, and the like. In addition, the color information of the image and the brightness information of the image may be encrypted based on other encryption algorithms, such as an Advanced Encryption Standard (AES) algorithm, which is not limited in detail herein.
In specific application, when the image acquisition equipment acquires images of the detection area, the image acquisition equipment may acquire a plurality of images within a preset time period, at the moment, the image acquisition equipment sequentially performs the processing of the first step to the fourth step on the plurality of images according to the acquisition sequence, image information corresponding to each image can be acquired, and then the image acquisition equipment sequentially sends the image information to the image processing device for subsequent processing. Therefore, the target image is one of the images.
In a more specific embodiment, the image capturing device may be a camera, and the number of the image capturing devices may be one or more, which is not particularly limited herein. And under the condition that the number of the image acquisition devices is multiple and the image acquisition devices are interconnected through the network, the image acquisition devices can mutually transmit the image information to be processed through the network so as to improve the processing efficiency of the image information, wherein the image information to be processed is an image which is not subjected to the processing process of the second step to the fourth step. For example, the first image capturing device and the second image capturing device are interconnected via a network, and when the amount of image information to be processed in the first image capturing device is greater than a preset amount and the second image capturing device is in an idle state (e.g., the image information is not acquired or the amount of stored image information to be processed is less than the preset amount), the first image capturing device may send a part of the image to be processed to the second image capturing device, and then the second image capturing device performs the processing procedure from the second step to the fourth step on the received image, and sends the processed image information to the image processing apparatus. That is to say, when only the first image capturing device processes the acquired multi-frame image information one by one, a long time may be required, and if the first image capturing device forwards a part of the image information to be processed to the second image capturing device for processing, the first image capturing device and the second image capturing device may process the acquired image information at the same time, thereby improving the processing efficiency of the image information. It should be understood that the first image capturing device may also send the image information to be processed to a plurality of image devices for processing, and is not limited in particular here. It should be noted that the processed image information includes structured information of the image, encrypted color information, encrypted brightness information, and the like. In addition, the second image capturing device may directly send the processed image information to the server, or send the processed image information to the first image capturing device first, and then send the processed image information to the server by the first image capturing device, which is not limited specifically here.
For example, as shown in fig. 2, the image processing system shown in fig. 2 can be applied to a monitoring scene of a hospital toilet. Suppose that first image acquisition equipment is installed in the first-floor bathroom, second image acquisition equipment is installed in the sixth-floor bathroom, wherein, the flow of people in the first-floor bathroom is far more than the flow of people in the sixth-floor bathroom, and when someone enters the bathroom, image acquisition equipment begins to carry out image acquisition. Therefore, the quantity of the image information acquired by the first image acquisition equipment is far greater than that of the image information acquired by the second image acquisition equipment, that is, the quantity of the image information to be processed in the first image acquisition equipment is far greater than that of the image information acquired by the second image acquisition equipment, at the moment, the first image acquisition equipment can send a part of the image information to be processed to the second image acquisition equipment through the network for processing, so that the user terminal can acquire the conditions of toilets of a first building and a sixth building in real time through the image processing device and timely cope with emergency situations, for example, when a patient falls down in the toilets of the first building, medical staff can timely rescue the patient.
S102, the image processing device receives a viewing request sent by the user terminal.
The viewing request is used for requesting to view the target image, the viewing request carries the identification information of the user corresponding to the user terminal, and the identification information of the user may be an account name or key information, which is not limited herein. Optionally, the viewing request includes identification information of the user and identification information of the image capturing device.
S103, the image processing device determines the permission of the user to view the target image according to the viewing request.
For example, when a user needs to view an image of a target detection area, the user may input an account name and identification information of an image capturing device in a user terminal, where the image capturing device captures the image of the target detection area, and the identification information of the image capturing device includes location information of the target detection area. Then, the user terminal sends the account name and the identification information of the image acquisition equipment to the image processing device, the image processing device matches the information with user data in a user information base, and if the matching is successful, the image processing device determines that the user has the authority of checking the image of the target detection area; if the matching is unsuccessful, the image processing apparatus determines that the user does not have the authority to view the image of the target detection area.
For another example, when the user needs to view an image of the target detection area, the user may input key information and identification information of an image capturing device in the user terminal, where the image capturing device captures the image of the target detection area, and the identification information of the image capturing device includes location information of the target detection area. Then, the user terminal sends the key information and the identification information of the image acquisition equipment to the image processing device, the image processing device matches the key information with a private key sent to the image processing device by the image acquisition equipment, and if the matching is successful, the image processing device determines that the user has the authority to view the image of the target detection area; if the matching is unsuccessful, the image processing apparatus determines that the user does not have the authority to view the image of the target detection area. It should be understood that the private key sent by the image capturing device to the image processing apparatus is a key obtained by encrypting a preset key by the image capturing device, where the image capturing device encrypts the color information of the target image and the brightness information of the target image by using the preset key.
And S104, the image processing device sends corresponding information to the user terminal according to the authority of the user for viewing the target image.
In one possible embodiment, if the user has the authority to view the target image, the image processing apparatus transmits image information of the target image to the user terminal. The user terminal receives the image information of the target image sent by the image processing device, and then carries out decryption processing on the encrypted color information and the encrypted brightness information in the image information to obtain the color information and the brightness information of the target image. Then, the image processing apparatus synthesizes the target image based on the structural information of the target image, the color information of the target image, and the luminance information of the target image. It should be understood that the process of decrypting the encrypted color information by the user terminal is the reverse process of encrypting the color information of the target image by the image acquisition device, and the description is not repeated here. In addition, since the image acquisition device does not encrypt the structured information of the target image, the structured information in the image information sent by the image processing device is the structured information of the target image.
For example, after the user terminal receives the image information of the target image sent by the image processing apparatus, the user inputs the private key in the user terminal, that is, the encrypted color information and the encrypted brightness information in the received image information can be decrypted to obtain the color information of the target image and the brightness information of the target object, where the private key input by the user is the key obtained by encrypting the preset key by the image acquisition device. And then, the user terminal synthesizes the structural information in the image information, the color information of the target image obtained after the decryption operation and the brightness information of the target image, so as to obtain the target image for the user to check.
In one possible embodiment, if the user has the right to view the target image, the image processing apparatus transmits the target image to the user terminal. Specifically, when the user has the authority to view the target image, the image processing apparatus decrypts the encrypted color information and the encrypted luminance information to obtain the color information and the luminance information of the target image. Then, the image processing apparatus synthesizes the target image based on the structural information of the target image, the color information of the target image, and the brightness information of the target image, and transmits the target image to the user terminal.
For example, when the viewing request sent by the user terminal to the image processing apparatus includes the key information, the image processing apparatus determines that the user has the right to view the target image through key verification, that is, the key information matches with the private key sent by the image capturing device, and at this time, the image processing apparatus may directly perform decryption processing on the encrypted color information and the encrypted image information in the image information according to the key information, so as to obtain the color information corresponding to the target image and the brightness information corresponding to the target image. Then, the image processing apparatus synthesizes the structured information of the target image, the color information of the target image, and the luminance information of the target image to obtain the target image. Finally, the image processing apparatus transmits the target image to the user terminal.
For another example, when the image processing apparatus determines that the user has the authority to view the target image, the image processing apparatus decrypts the encrypted color information and the encrypted image information in the image information by using the private key sent by the image capturing device, so as to obtain the color information corresponding to the target image and the brightness information corresponding to the target image. Then, the image processing apparatus synthesizes the structured information of the target image, the color information of the target image, and the luminance information of the target image to obtain the target image. Finally, the image processing apparatus transmits the target image to the user terminal.
In one possible embodiment, if the user does not have the authority to view the target image, the image processing device sends partial image information corresponding to the target image to the user terminal. The partial image information may be structured information of the target image, color information of the target image, or brightness information of the target image; the partial image information may include the structural information of the target image and the color information of the target image, may also include the color information of the target image and the brightness information of the target image, and the like, and is not limited in particular herein. It should be understood that, when the image processing apparatus determines that the user does not have the authority to view the target image by judging the authority of the user, the image processing apparatus directly transmits partial image information corresponding to the target image to the user terminal, so that the user can view only partial information of the target image, not the target image, through the user terminal, thereby improving the privacy security of the target image.
In one possible embodiment, the image processing apparatus may further send corresponding image information to the user terminal according to the level of the user authority, for example, the user authority may be classified into one level, two levels, no authority, and the like, and when the image processing apparatus determines that the level of the user authority is one level, the image processing apparatus sends the target image and the structured information of the target image, the color information of the target image and the brightness information of the target image, and the like to the user terminal, that is, the user may view the target image and the structured information of the target image, the color information of the target image, the brightness information of the target image, and the like; when the image processing device determines that the authority level of the user is two levels, the image processing device sends partial image information to the user terminal, namely, the user can only see the partial image information of the target image; when the image processing apparatus determines that the user is not authorized, the image processing apparatus does not transmit any image information to the user terminal, i.e., the user cannot view the image information. It should be noted that the permission level of the user may be set by the user, for example, the family of the user is set as the first level, the friend of the user is set as the second level, and the stranger is set as no permission, etc.
For another example, when the first user terminal and the second user terminal both have the right to view the image information, the image processing apparatus may determine the right level of the user terminal again according to the number of times that the user terminal accesses the image processing apparatus, specifically, when the number of times that the first user terminal sends the view request to the image processing apparatus within a period of time is 100, and the number of times that the second user terminal sends the view request to the image processing apparatus within the period of time is 10, the image processing apparatus determines that the right level of the first user terminal is higher than that of the second user terminal, and therefore, a corresponding user of the first user terminal may view more image information than that of the second user terminal.
In another possible embodiment, the image processing apparatus may send the permission level of the user to the image capturing device, so that the image capturing device may also perform priority determination on the acquired image according to the permission level of the user, and preferentially process a target image requested to be viewed by the user with the high permission level, thereby enabling the user with the high permission level to view the target image preferentially. For example, the authority level of the first user is higher than that of the second user, when the first user and the second user send viewing requests to the image processing device at the same time, the first user requests to view a first target image, the second user requests to view a second target image, the first target image and the second target image are both to-be-processed images, at this time, the image acquisition device may preferentially process the first target image, and send image information of the processed first target image to the image processing device, so that the first user may preferentially view the image information of the first target image and/or the first target image.
In a more specific embodiment, the image capturing device may determine the authority level of the user according to the following discrimination conditions, wherein the discrimination conditions include: judging a condition A, wherein the image processing device determines the permission level according to the time sequence of the viewing requests sent by the user terminals, and the permission level of the user terminal which sends the viewing request firstly is higher; judging a condition B, wherein the authority level is set by a user, and the authority level can comprise a first level, a second level, no authority and the like; judging a condition C, wherein the number of times that the user terminal requests to view the image in a preset time period is greater, and the permission level is higher when the user terminal views the image in the preset time period is higher; and judging the condition D, namely the association degree of the user terminal and the user terminal with the highest authority, wherein if the account information of the first user terminal is associated and bound with the account information of the user terminal with the highest authority, and the account information of the second user terminal is not associated and bound with the account information of the user terminal with the highest authority, the first user terminal has higher authority compared with the second user terminal. The image acquisition equipment can be used as an auxiliary judgment condition according to the judgment strip C and the judgment condition D, the judgment condition A and the judgment condition B are used as main judgment conditions, and under the condition that a plurality of user terminals do not meet the judgment condition A but meet the judgment condition B, the image acquisition equipment judges the user permission levels of the plurality of user terminals according to the judgment condition B.
For example, when a first user terminal and a second user terminal both send requests for viewing images, if the first user terminal requests to view a first target image, the second user terminal requests to view a second target image, the first target image and the second target image are both images to be processed in an image acquisition device, the image acquisition device first obtains the second target image and then obtains the first target image, the image acquisition device may first perform judgment according to a judgment condition B, and if the permission levels of the first user terminal and the second user terminal are both two levels, the image acquisition device may further perform judgment on the first user terminal and the second user terminal according to a judgment condition C and/or a judgment condition D. Optionally, according to the determination condition C, if a difference between a number of times that the first user terminal sends the viewing request to the image processing apparatus and a number of times that the second user terminal sends the viewing request to the image processing apparatus is greater than a first preset threshold within a period of time, the image acquisition device preferentially processes the first target image at this time, so that the first user terminal preferentially obtains the first target image and/or image information of the first target image; if the difference value between the number of times that the first user terminal sends the viewing request to the image processing device and the number of times that the second user terminal sends the viewing request to the image processing device is smaller than a second preset threshold value within the period of time, the image acquisition equipment continues to perform judgment according to the judgment condition D, and if the account information of the first user terminal is in associated binding with the account information of the user terminal with the highest authority and the account information of the second user terminal is not in associated binding with the account information of the user terminal with the highest authority, the image acquisition equipment preferentially processes the first target image, so that the first user terminal preferentially obtains the first target image and/or the image information of the first target image. Similarly, the image capturing device may perform the determination according to the determination condition D first, and then perform the determination according to the determination condition C, which is not limited specifically here.
In the image processing method, the image processing device judges whether the user has the authority to check the target image, so that the user can check images of different layers, namely, the user with the authority can check complete image information, and the user without the authority can only check partial image information, thereby improving the safety of the image information and preventing the information in the image from being checked illegally or processed illegally.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an image processing system provided in the present application. The image processing system 200 of the embodiment of the present application includes: the image acquisition device 210, the image processing device 220 and the user terminal 230, wherein the image acquisition device 210 and the user terminal 230 communicate through the image processing device 220. In particular, the amount of the solvent to be used,
the image acquisition device 210 is configured to acquire image information of a target image, where the image information includes structured information, encrypted color information, and encrypted brightness information;
an image processing device 220, configured to receive image information of the target image sent by the image capturing apparatus 210;
the user terminal 230 is configured to send a viewing request to the image processing apparatus, where the viewing request carries identity information of a user corresponding to the user terminal, and the viewing request is used to request to view a target image;
the image processing device 220 is further configured to determine, according to the viewing request, a right of the user to view the target image; in the case where the user has an authority to view the target image, the image processing apparatus transmits image information to the user terminal; or, in a case where the user does not have an authority to view the target image, the image processing apparatus transmits partial image information to the user terminal, wherein the partial image information is any one or two of the structured information, the color information, and the brightness information.
In the embodiment of the present application, the image capturing device 210 is specifically configured to: collecting a target image of a detection area; performing feature extraction on the target image to obtain structural information, color information and brightness information; respectively encrypting the color information and the brightness information to obtain encrypted color information and encrypted brightness information; the structured information, the encrypted color information, and the encrypted luminance information are transmitted to an image processing apparatus.
In a more specific embodiment, the process of acquiring the image information of the target image by the image acquisition device 210 specifically includes:
in step one, the image capturing device 210 captures a target image of the detection area.
Step two, the image acquisition device 210 extracts feature points of the target image to obtain structured information, where the feature points of the image may reflect essential features of the image, and may also identify a target object in the image.
Optionally, the image acquisition device 210 first performs image preprocessing (e.g., image graying processing, image denoising processing, etc.) on the target image, then divides the preprocessed target image into a plurality of blocks, and extracts feature points in each block by using an SIFT feature point detection algorithm to obtain information such as positions, directions, and scales of all feature points in the target image. The feature points of the image refer to points with drastic changes in gray scale values in the image or points with maximum curvature values on an image edge curve, for example: outliers, ends of a line segment, intersections of two line segments, and the like. Then, the image capturing device 210 obtains the feature points according to the above extraction, and obtains the structural information of the target image. Of course, the image acquisition device 210 may also extract the boundary features of the target image by using hough transform, so as to obtain the contour information of the target image; the image capturing apparatus 210 may also extract a position feature, a posture feature, and the like of the target subject in the target image using the CNN. It should be noted that, the implementation manner of the above-mentioned image acquisition device 210 for extracting the feature points of the target image is not unique in the art, and different feature point extraction methods may be selected according to the actual use situation, which is not specifically limited in the embodiment of the present application.
Step three, the image capturing device 210 extracts color information of the target image and brightness information of the target image.
The image acquisition device 210 converts the acquired target image from an RGB color space to a YUV color space, thereby obtaining a target image in a YUV format; then, the image capturing device 210 extracts the brightness value of each pixel point in the target image in the YUV format as the brightness information of the target image, and extracts the color value of each pixel point in the target image in the YUV format as the color information of the target image. Specifically, the image capturing device 210 converts the target image in RGB format into the target image in YUV format according to the following formula,
Y=0.299×R+0.587×G+0.144×B
U=-0.148×R-0.289×G+0.437×B
V=0.615×R-0.515×G-0.1×B
y is the brightness value of the pixel in the target image in the YUV format, U and V are the color values of the pixel in the target image in the YUV format, and R, G, B represents the red value, the green value and the blue value of the pixel in the target image in the RGB format, respectively.
It should be noted that the image captured by the image capturing device 210 is generally an RGB image, a color value of each pixel in the RGB image is determined by superimposing R, G, B three values, and the value of R, G, B is closely related to a brightness value of the image, when the brightness value of the image changes, R, G, B also changes correspondingly, that is, color features are extracted directly from the RGB image, and the obtained color information may be coupled with brightness information, or the brightness features are extracted directly from the RGB image, and the obtained brightness information may be coupled with color information. And the brightness value Y and the color value (U, V) in the image in YUV format are independent. Therefore, the RGB format target image needs to be converted into the YUV format target image, and then the color information and the brightness information of the YUV format target image are extracted, so as to obtain the color information and the brightness information of the image.
It should be understood that the above-mentioned method for extracting the color information and the brightness information in the target image by the image capturing device 210 is only an example, and in practical applications, the color information of the target image and the brightness information of the target image may also be extracted by other manners. For example, the image capturing device 210 may extract color information of an image by using a HIS color space or a CIE color space, and may perform filtering and noise reduction processing on the extracted color information and the luminance information to obtain a high-quality target image. Therefore, the image capturing device 210 may select an appropriate method to extract the color information in the target image and the brightness information of the target image according to the actual use situation, and the embodiment of the present application is not particularly limited.
Step four, the image acquisition device 210 encrypts the color information of the target image and the brightness information of the target image respectively to obtain the encrypted color information and the encrypted brightness information.
Optionally, the image capturing device 210 encrypts the color information and the brightness information respectively based on a homomorphic encryption algorithm. In order to enhance the encryption effect, the image capturing device 210 scrambles the color information of the target image and the brightness information of the target image, respectively, before the encryption. Taking the color information of the target image as an example, the encrypted color information may be obtained by: the image capturing device 210 constructs an encryption sequence (x) according to the color information of the target image and the preset keyi,yi,zi) Wherein the color information may be represented by a p × q matrix, and i ═ 1, 2. Then, the image acquisition deviceThe device 210 utilizes y in the encrypted sequenceiAnd ziScrambling each row and each column of the color information of the target image respectively to obtain the scrambled color information, and then encrypting x in the sequenceiAnd encrypting the scrambled color information to obtain the encrypted color information. Finally, image capture device 210 sets the key (x) to the pre-set key (x) using the RSA encryption algorithm0,y0,z0) Encrypting to generate private key (x)0′,y0′,z0'). It should be noted that the encryption method of the image brightness information is similar to the encryption method of the image color information, and details are not repeated here.
It should be understood that the above-mentioned encryption process of the color information of the image and the brightness information of the image by the image capturing device 210 is only an example, and in practical applications, the encryption method may also be in other forms, for example, the chaotic system (e.g., Lorenz system, Chua system) encrypts the color information of the image and the brightness information of the image. The encryption mode of the preset key can be an RSA encryption algorithm, a Paillier algorithm, and the like. In addition, the color information of the image and the brightness information of the image may also be added based on other encryption algorithms, such as the AES algorithm, which is not limited in detail here.
In a specific application, when the image acquisition device 210 acquires an image of the detection area, the image acquisition device 210 may acquire a plurality of images within a preset time period, and at this time, after the image acquisition device 210 sequentially performs the processing of the first to fourth steps on the plurality of images according to the acquisition sequence, the image information corresponding to each image may be obtained, and then the image acquisition device 210 sequentially sends the image information to the image processing device 220 for subsequent processing. Therefore, the target image is one of the images.
In a more specific embodiment, the image capturing device may be a camera, and the number of the image capturing devices may be one or more, which is not particularly limited herein. In a case that the number of the image capturing devices is multiple and the image capturing devices are interconnected through a network, the image capturing devices may send image information to be processed to each other through the network, so as to improve the processing efficiency of the image information, where the image information to be processed is an unprocessed image, see S101 and related embodiments thereof.
In this embodiment, the user terminal 230 is further configured to: after receiving the image information sent by the image processing apparatus 220, respectively performing decryption processing on the encrypted color information and the encrypted luminance information to obtain color information and luminance information, wherein the decryption processing corresponds to the encryption processing; and synthesizing the target image according to the structural information, the color information and the brightness information.
For example, when the user terminal 230 receives the image information of the target image sent by the image processing apparatus 220, the user inputs the key information into the user terminal 230, that is, the encrypted color information and the encrypted brightness information in the received image information can be decrypted to obtain the color information of the target image and the brightness information of the target object, wherein the key information input by the user is the private key obtained by the image capturing device 210 by further encrypting the preset key. Then, the user terminal 230 synthesizes the structured information in the image information, the color information of the target image obtained after the above decryption operation, and the brightness information of the target image, so as to obtain the target image for the user to view.
In the embodiment of the present application, the image processing apparatus 220 is further configured to: in the case where the user has the authority to view the target image, the image processing apparatus 220 transmits the target image to the user terminal 230.
In this embodiment of the application, in the case that the user has the right to view the target image, the image processing apparatus 220 is specifically configured to: respectively carrying out decryption processing on the encrypted color information and the encrypted brightness information to obtain color information and brightness information; synthesizing a target image according to the structural information, the color information and the brightness information; the target image is transmitted to the user terminal 230.
For example, when the image processing apparatus 220 determines that the user has the right to view the target image, the image processing apparatus 220 decrypts the encrypted color information and the encrypted image information in the image information by using the private key sent by the image capturing device 210 or the key information sent by the user terminal 230, so as to obtain the color information corresponding to the target image and the brightness information corresponding to the target image. Then, the image processing apparatus 220 synthesizes the structural information of the target image, the color information of the target image, and the luminance information of the target image to obtain the target image. Finally, the image processing apparatus 220 transmits the target image to the user terminal 230.
In one possible embodiment, the image processing apparatus 220 may further send corresponding image information to the user terminal according to the level of the user authority, for example, the authority of the user may be divided into one level, two levels, no authority, and the like, and when the image processing apparatus 220 determines that the level of the authority of the user is one level, the image processing apparatus 220 sends the target image and the structured information of the target image, the color information of the target image and the brightness information of the target image, and the like to the user terminal 230; when the image processing apparatus 220 determines that the authority level of the user is two-level, the image processing apparatus 220 transmits partial image information to the user terminal 230; when the image processing apparatus 220 determines that the user is not authorized, the image processing apparatus 220 does not transmit any image information to the user terminal 230. It should be noted that the permission level of the user may be set by the user, for example, the family of the user is set as the first level, the friend of the user is set as the second level, and the stranger is set as the no permission. For another example, when the first user terminal and the second user terminal both have the right to view the image information, the image processing apparatus may further determine the right level of the user terminal according to the number of times the user terminal accesses the image processing apparatus, which is not particularly limited herein.
In another possible embodiment, the image processing apparatus may send the permission level of the user to the image capturing device, so that the image capturing device may also perform priority determination on the acquired image according to the permission level of the user, and preferentially process a target image requested to be viewed by the user with the high permission level, thereby enabling the user with the high permission level to view the target image preferentially. For example, the authority level of the first user is higher than that of the second user, when the first user and the second user send viewing requests to the image processing device at the same time, the first user requests to view the first target image, the second user requests to view the second target image, and both the first target image and the second target image are to-be-processed images, at this time, the image acquisition device may preferentially process the first target image and send image information of the processed first target image to the image processing device, so that the first user may preferentially view the image information of the first target image and/or the first target image, for specific explanation, refer to S104 and related embodiments thereof.
In the image processing system, the image processing device determines the permission of the user for checking the target image by receiving the target image sent by the image acquisition equipment and the checking request sent by the user terminal, so that the user with the checking permission can check the complete image information of the target image, and the user without the checking permission can only check the partial image information of the target image, so that the user without the checking permission can not completely obtain the target image, and the information security of the target image is further improved.
The image capturing device 210, the image processing apparatus 220, and the user terminal 230 according to the embodiment of the present application will be described below.
The image capturing device 210 according to the embodiment of the present application may be a video camera, a scanner, a mobile phone, a camera, and other devices with a photographing function. Referring to fig. 3, fig. 3 is a schematic structural diagram of a possible image capturing device 210 provided in the present application. As shown in fig. 3, the image capturing apparatus 210 according to the present application includes: processor 211, memory 212, communication interface 213, and processor 211, memory 212, and communication interface 213 are coupled by a bus 214. Wherein the content of the first and second substances,
the processor 211 may be one or more Central Processing Units (CPUs), and in the case that the processor 211 is one CPU, the CPU may be a single-core CPU or a multi-core CPU. The processor 211 is configured to read the program code stored in the memory 212, and cooperate with the communication interface 213 to perform part or all of the steps of the method from the first step to the fourth step performed by the image capturing device 210 in the above-described embodiment of the present application.
The memory 212 may include, but is not limited to, a Random Access Memory (RAM), an erasable programmable read-only memory (EPROM), a read-only memory (ROM), a portable read-only memory (CD-ROM), and the like. The memory 212 in the embodiment of the present application is used for storing related program codes, such as an image preprocessing code, an image information extraction code, an encryption code, and the like. The memory 212 in the embodiment of the present application further stores program data, such as an image, a preprocessed image, structured information of the image, encrypted color information, encrypted brightness information, and the like.
The communication interface 213 may be a wired interface (e.g., an ethernet interface) or a wireless interface (e.g., a cellular network interface or using a wireless local area network interface) for communicating with other modules or devices.
The bus 214 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 214 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
In some possible embodiments, the processor 211 includes an image acquisition unit 2111, an image preprocessing unit 2112, an image information extraction unit 2113, an encryption unit 2114, and an image information output unit 2115. The image acquisition unit 2111 is used for acquiring an image of the detection area; the image preprocessing unit 2112 is configured to perform image preprocessing on the image acquired by the image acquisition unit 2111, including image graying processing, image noise reduction processing, and the like; the image information extraction unit 2113 is configured to extract feature points of the image preprocessed by the image preprocessing unit 2112 to obtain structural information of the image, and the image information extraction unit 2113 is further configured to convert the image information in the RGB format into an image in the YUV format, and extract color information and luminance information of the image from the image in the YUV format; the encryption unit 2114 is configured to encrypt the image color information and the image luminance information extracted by the image information extraction unit 2113 to obtain encrypted color information, encrypted luminance information, and a private key; the image information output unit 2115 is configured to output the encrypted color information, the encrypted luminance information, and the private key obtained by the encryption unit 2114, and the image information output unit 2115 is further configured to output the structured information of the image obtained by the image information extraction unit 2113.
For the sake of simplicity, the image information extraction unit 2113 does not extract the structural information, the color information, and the brightness information of the target image in the embodiment, and please refer to the embodiment of fig. 1 and fig. 2 for description. In addition, in this embodiment, the image information extraction unit 2113 does not describe the encryption process of the color information of the target image and the brightness information of the target image, which is described with reference to the embodiment of fig. 1 and fig. 2.
Further, image capture device 210 may contain more or fewer components than illustrated in FIG. 3, or have a different arrangement of components.
In this embodiment of the application, the image processing apparatus 220 may be a software apparatus or a hardware apparatus, and when the image processing apparatus is a software apparatus, the image processing apparatus may be separately deployed on a server or a terminal device, and when the image processing apparatus is a hardware device, the image processing apparatus may be a server or a terminal device, which is not limited in this application. Referring to fig. 4, fig. 4 is a schematic structural diagram of an image processing apparatus 220 provided in the present application. The image processing apparatus 220 in the embodiment of the present application includes: processor 221, memory 222 (one or more computer-readable storage media), communication interface 223, and processor 221, memory 222 and communication interface 223 are coupled by a bus 224, which, in particular,
the processor 221 may be one or more CPUs, and in the case where the processor 221 is one CPU, the CPU may be a single-core CPU or a multi-core CPU. The processor 221 is configured to read the program codes stored in the memory 222, and cooperate with the communication interface 223 to perform part or all of the steps of the methods performed by S101-S104 in the above embodiments of the present application.
Memory 222 may include, but is not limited to, RAM, EPROM, ROM, or CD-ROM, among others. The memory 222 is coupled to the processor 221 for storing various software programs and/or sets of instructions. In a specific implementation, the memory 222 stores related data, such as image information sent by the image capturing device 210, user identification information, image capturing device identification information, and the like. Memory 222 may also store network communication programs that may be used to communicate with one or more image capture devices 210, one or more user terminals 230.
Communication interface 223 may be a wired interface (e.g., an ethernet interface) or a wireless interface (e.g., a cellular network interface or using a wireless local area network interface) for communicating with other modules or devices.
The bus 224 may be a PCI bus or an EISA bus, etc. The bus 224 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
In some possible embodiments, the communication interface 223 may send the image information of the target image and the private key sent by the image capturing device 210 to the processor 221, the communication interface 223 may also send a viewing request of the user terminal 230 to the processor 221, the communication interface 223 may also send the target image or the image information of the target image processed by the processor 221 to the user terminal 230, and so on.
In some possible embodiments, the processor 221 determines whether the user corresponding to the user terminal 230 has the right to view the target image according to the viewing request sent by the communication interface 223. For example, the processor 221 matches the user information stored in the memory 222 with the account name in the viewing request, and if the matching is successful, the processor 221 determines that the user has the right to view the target image; if the match is not successful, the processor 221 determines that the user does not have permission to view the target image. For another example, the processor 221 matches the key information in the viewing request with the private key sent by the image capturing device 210, and if the matching is successful, the processor 221 determines that the user has the right to view the target image; if the match is not successful, the processor 221 determines that the user does not have permission to view the target image.
In some possible embodiments, the processor 221 may send corresponding information to the user terminal according to the authority of the user to view the target image, including: if the user does not have the authority to view the target image, the processor 221 sends partial image information corresponding to the target image to the user terminal 230 through the communication interface 223, where the partial image information may be structural information of the target image, color information of the target image, or brightness information of the target image; the partial image information may include the structural information of the target image and the color information of the target image, may also include the color information of the target image and the brightness information of the target image, and the like, and is not limited in particular herein. If the user has the right to view the target image, the processor 221 transmits image information of the target image to the user terminal 230 through the communication interface 223. Alternatively, if the user has the right to view the target image, the processor 221 transmits the target image to the user terminal 230 through the communication interface 223. Specifically, when the user has the right to view the target image, the processor 221 decrypts the encrypted color information and the encrypted brightness information stored in the memory 222 by using the key information, so as to obtain the color information and the brightness information of the target image; then, the processor 221 synthesizes the target image according to the structural information of the target image, the color information of the target image, and the brightness information of the target image, and transmits the target image to the user terminal 230 through the communication interface 223. It should be understood that the process of decrypting the encrypted color information by the processor 221 is the inverse process of encrypting the color information of the target image by the image capture device 210.
Further, image processing device 220 may include more or fewer components than shown in FIG. 4, or have a different arrangement of components.
In the embodiment of the present application, the UE 230 may be an entity for receiving or transmitting signals at the user side, such as a new generation user equipment (gnee). A user terminal may also be referred to as a terminal equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a terminal, a wireless communication device, a user agent, or a user equipment. The user terminal may be a Station (ST) in a Wireless Local Area Network (WLAN), and may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, and a next-generation communication system, for example, a terminal device in a fifth-generation communication (5G) network or a Public Land Mobile Network (PLMN) network for future evolution, a terminal device in a new wireless (NR) communication system, and the like. By way of example and not limitation, in the embodiments of the present application, the user terminal may also be a wearable device. Wearable equipment can also be called wearable intelligent equipment, is the general term of applying wearable technique to carry out intelligent design, develop the equipment that can dress to daily wearing, like glasses, gloves, wrist-watch, dress and shoes etc.. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable smart device includes full functionality, large size, and can implement full or partial functionality without relying on a smart phone, such as: smart watches or smart glasses and the like, and only focus on a certain type of application functions, and need to be used in cooperation with other devices such as smart phones, such as various smart bracelets for physical sign monitoring, smart jewelry and the like.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a possible ue 230 provided in the present application. As shown in fig. 5, the user terminal 230 according to the present invention includes: processor 231, memory 232, and communication interface 233, and processor 231, memory 232, and communication interface 233 are coupled by bus 234. Wherein the content of the first and second substances,
the processor 231 may be one or more CPUs, and in the case where the processor 231 is one CPU, the CPU may be a single-core CPU or a multi-core CPU. The processor 231 is used for reading the program codes stored in the memory 232, and cooperates with the communication interface 233 to execute some or all of the steps executed by the user terminal in the above embodiments of the present application.
The memory 232 may include, but is not limited to, RAM, EPROM, ROM, CD-ROM, or the like, and in embodiments of the present invention, the memory 232 is used to store relevant instructions and data.
Communication interface 233 may be a wired interface (e.g., an ethernet interface) or a wireless interface (e.g., a cellular network interface or using a wireless local area network interface) for communicating with other modules or devices.
The bus 234 may be a PCI bus or an EISA bus, etc. The bus 234 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Optionally, the user terminal may further include an input/output interface 235, the input/output interface 235 is connected to an input/output device for receiving input information and outputting an operation result, and the input/output interface 235 may be a mouse, a keyboard, a touch screen, a display, or an optical drive.
In some possible embodiments, the communication interface 233 may transmit a viewing request to the image processing apparatus 220, may also transmit a target image or image information of the target image transmitted by the image processing apparatus 220 to the processor 231, and the like.
In some possible embodiments, when the user terminal 230 receives the image information of the target image sent by the image processing apparatus 220 and the key information input by the user, the processor 231 decrypts the encrypted color information and the encrypted brightness information in the image information to obtain the color information of the target image and the brightness information of the target object, wherein the key information input by the user is a key obtained by encrypting the preset key by the image capturing device 210. Then, the processor 231 synthesizes the structured information in the image information, the color information of the target image obtained after the above-described decryption operation, and the luminance information of the target image, thereby obtaining the target image. Finally, the processor 231 sends the target image to a display connected to the input-output interface 235 through the communication interface 233 so that the user can view the target image.
In some possible embodiments, when the user terminal 230 receives the target image transmitted by the image processing device 220, the processor 231 transmits the target image to a display connected to the input-output interface 235 through the communication interface 233 so that the user can view the target image.
In addition, user terminal 230 may include more or fewer components than illustrated in FIG. 5, or have a different arrangement of components.
The present application also provides a computer-readable storage medium storing a computer program, which is executed by hardware (such as a processor) to implement part or all of the steps of any one of the methods performed by the image processing system 200 in the embodiments of the present application.
The present application provides a computer program product comprising instructions for implementing some or all of the steps of any of the methods performed by the image processing system 200 in the embodiments of the present application when the computer program product is run on the image processing system 200 as described above.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the above computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are wholly or partially generated. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, image processing apparatus, or data center to another website, computer, image processing apparatus, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated with an image processing apparatus, a data center, or the like. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., compact disk), or a semiconductor medium (e.g., solid state disk), among others.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the above-described units is merely a logical division, and the actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the indirect coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, and may be electrical or in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the elements may be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an image processing apparatus, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage media may include, for example: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An image processing method, comprising:
receiving image information of a target image sent by image acquisition equipment, wherein the image information comprises structural information, encrypted color information and encrypted brightness information;
receiving a viewing request sent by a user terminal, wherein the viewing request carries identity identification information of a user corresponding to the user terminal, and the viewing request is used for requesting to view the target image;
determining the permission of the user for viewing the target image according to the viewing request;
under the condition that the user has the authority of viewing the target image, sending the image information to the user terminal; alternatively, the first and second electrodes may be,
and sending partial image information to the user terminal under the condition that the user does not have the authority of viewing the target image, wherein the partial image information is any one or two of the structural information, the color information and the brightness information.
2. The method according to claim 1, wherein the image information of the target image is obtained by performing feature extraction on the acquired target image by the image acquisition device to obtain the structural information, the color information and the brightness information, and then performing encryption processing on the color information and the brightness information respectively.
3. The method of claim 1 or 2, wherein in the case where the user has permission to view the target image, the method further comprises: and sending the target image to the user terminal.
4. The method of claim 3, wherein prior to sending the target image to the user terminal, the method further comprises:
respectively carrying out decryption processing on the encrypted color information and the encrypted brightness information to obtain the color information and the brightness information, wherein the decryption processing corresponds to the encryption processing;
synthesizing the target image according to the structural information, the color information and the brightness information;
and sending the target image to the user terminal.
5. An image processing system, comprising:
the image acquisition equipment is used for acquiring image information of a target image, wherein the image information comprises structural information, encrypted color information and encrypted brightness information;
the image processing device is used for receiving the image information of the target image sent by the image acquisition equipment;
the user terminal is used for sending a viewing request to the image processing device, wherein the viewing request carries the identity identification information of a user corresponding to the user terminal, and the viewing request is used for requesting to view the target image;
the image processing device is further used for determining the permission of the user for viewing the target image according to the viewing request;
the image processing device sends the image information to the user terminal when the user has the authority to view the target image; alternatively, the first and second electrodes may be,
and sending partial image information to the user terminal under the condition that the user does not have the authority of viewing the target image, wherein the partial image information is any one or two of the structural information, the color information and the brightness information.
6. The system of claim 5, wherein the image acquisition device is specifically configured to:
collecting a target image of a detection area;
performing feature extraction on the target image to obtain the structural information, the color information and the brightness information;
respectively encrypting the color information and the brightness information to obtain the encrypted color information and the encrypted brightness information;
and sending the structured information, the encrypted color information and the encrypted brightness information to the image processing device.
7. The system according to claim 5 or 6, wherein the user terminal is further configured to:
after receiving the image information sent by the image processing device, respectively performing decryption processing on the encrypted color information and the encrypted brightness information to obtain the color information and the brightness information, wherein the decryption processing corresponds to the encryption processing;
and synthesizing the target image according to the structural information, the color information and the brightness information.
8. The system according to claim 6 or 7, wherein the image processing device is further configured to:
and in the case that the user has the authority to view the target image, the image processing device transmits the target image to the user terminal.
9. The system according to claim 8, wherein the image processing device is specifically configured to:
respectively decrypting the encrypted color information and the encrypted brightness information to obtain the color information and the brightness information;
synthesizing the target image according to the structural information, the color information and the brightness information;
and sending the target image to the user terminal.
10. A computer device comprising a processor, a communication interface, and a memory; the memory is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with other devices under the control of the processor, wherein the processor executes the instructions to realize the method of any one of claims 1 to 4.
CN202010076872.1A 2020-01-23 2020-01-23 Image processing method and system Active CN111294482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010076872.1A CN111294482B (en) 2020-01-23 2020-01-23 Image processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010076872.1A CN111294482B (en) 2020-01-23 2020-01-23 Image processing method and system

Publications (2)

Publication Number Publication Date
CN111294482A true CN111294482A (en) 2020-06-16
CN111294482B CN111294482B (en) 2022-04-22

Family

ID=71026896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010076872.1A Active CN111294482B (en) 2020-01-23 2020-01-23 Image processing method and system

Country Status (1)

Country Link
CN (1) CN111294482B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111738694A (en) * 2020-06-24 2020-10-02 北京云族佳科技有限公司 Resume management method and device and electronic equipment
CN112686199A (en) * 2021-01-07 2021-04-20 深圳市海雀科技有限公司 Method and system for carrying out safety alarm through encrypted image
CN113032801A (en) * 2021-02-26 2021-06-25 深圳市元征科技股份有限公司 Traffic video viewing method, system, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731488A (en) * 2013-12-26 2014-04-16 黄伟 Photo sharing method and system
CN104573058A (en) * 2015-01-22 2015-04-29 山东大学 Mass image storing method based on HBase and achieving system thereof
CN106302548A (en) * 2016-10-18 2017-01-04 许遥 Distinguish user right to provide the mechanism of map network image data service
CN108021825A (en) * 2017-12-28 2018-05-11 维沃移动通信有限公司 A kind of method for protecting privacy, mobile terminal
CN108021906A (en) * 2017-12-23 2018-05-11 宁波亿拍客网络科技有限公司 A kind of binary channels and single-channel safety video image information analysis process system
US20180349049A1 (en) * 2017-05-30 2018-12-06 Arun George Eapen Document image security processing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731488A (en) * 2013-12-26 2014-04-16 黄伟 Photo sharing method and system
CN104573058A (en) * 2015-01-22 2015-04-29 山东大学 Mass image storing method based on HBase and achieving system thereof
CN106302548A (en) * 2016-10-18 2017-01-04 许遥 Distinguish user right to provide the mechanism of map network image data service
US20180349049A1 (en) * 2017-05-30 2018-12-06 Arun George Eapen Document image security processing
CN108021906A (en) * 2017-12-23 2018-05-11 宁波亿拍客网络科技有限公司 A kind of binary channels and single-channel safety video image information analysis process system
CN108021825A (en) * 2017-12-28 2018-05-11 维沃移动通信有限公司 A kind of method for protecting privacy, mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111738694A (en) * 2020-06-24 2020-10-02 北京云族佳科技有限公司 Resume management method and device and electronic equipment
CN112686199A (en) * 2021-01-07 2021-04-20 深圳市海雀科技有限公司 Method and system for carrying out safety alarm through encrypted image
CN113032801A (en) * 2021-02-26 2021-06-25 深圳市元征科技股份有限公司 Traffic video viewing method, system, device and computer readable storage medium

Also Published As

Publication number Publication date
CN111294482B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN111294482B (en) Image processing method and system
Aditya et al. I-pic: A platform for privacy-compliant image capture
EP3061023B1 (en) A method and a system for performing 3d-based identity verification of individuals with mobile devices
US20200059703A1 (en) Method and device for generating content
CN104079830B (en) Private mark adding method and device, private mark photo processing method and device
Doss et al. Memetic optimization with cryptographic encryption for secure medical data transmission in IoT-based distributed systems
CN107995143A (en) Medical imaging treating method and apparatus
CN111095246B (en) Method and electronic device for authenticating user
KR101341482B1 (en) Network photographing apparatus having a partial encryption function
CN115810208A (en) Face recognition method, device and system
WO2020011016A1 (en) Iris information leakage prevention method and apparatus, and electronic device
CN108712400A (en) Data transmission method, device, computer readable storage medium and electronic equipment
CN114357418A (en) Encryption authentication method, system, terminal device, server and storage medium
WO2022201411A1 (en) Face authentication application using homomorphic encryption
KR20050045773A (en) Person verification and identification method and apparatus with 3d facial representation for mobile device
CN111581622A (en) Information processing method and device and electronic equipment
CN116756750A (en) Medical sensitive data acquisition desensitization method
CN111126214A (en) Living body detection method and apparatus, computer device, and computer-readable storage medium
CN114938465B (en) Encrypted data transmission method and device based on characteristic sequence
CN115701017A (en) Image processing method and device
CN112686199A (en) Method and system for carrying out safety alarm through encrypted image
TWI672608B (en) Iris image recognition device and method thereof
CN204926127U (en) Iris authentication annex
CN112214783B (en) Gait recognition platform and recognition method based on trusted execution environment
KR20020059069A (en) System for recognizing and verifying the Iris by using wireless telecommunication devices

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