CN111770242A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN111770242A
CN111770242A CN202010653307.7A CN202010653307A CN111770242A CN 111770242 A CN111770242 A CN 111770242A CN 202010653307 A CN202010653307 A CN 202010653307A CN 111770242 A CN111770242 A CN 111770242A
Authority
CN
China
Prior art keywords
image
authority
received
transmitted
shielding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010653307.7A
Other languages
Chinese (zh)
Inventor
刘兵
卢涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202010653307.7A priority Critical patent/CN111770242A/en
Publication of CN111770242A publication Critical patent/CN111770242A/en
Pending legal-status Critical Current

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/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/3872Repositioning or masking
    • 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
    • H04N1/4446Hiding of documents or document information
    • H04N1/4453Covering, i.e. concealing from above, or folding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Abstract

The invention discloses an image processing method and device. Wherein, the method comprises the following steps: collecting an image to be transmitted; according to the authority of the image receiving end, shielding the image elements which are forbidden to be received by the authority in the image to be transmitted; and sending the image to be transmitted after the shielding treatment to an image receiving end. The invention solves the technical problems of different security levels and lower security of the graph transmission system caused by different monitored objects in the related technology.

Description

Image processing method and device
Technical Field
The present invention relates to the field of image processing, and in particular, to an image processing method and apparatus.
Background
Currently, an image processing system includes an acquisition end and a receiving end. The collecting end is connected with the image source equipment, collects images shot by the image source equipment, encodes the images and sends the encoded images to the receiving end, the receiving end is connected with the display equipment, and the receiving end decodes the encoded data and displays the images on the display equipment. The image transmission system can realize monitoring functions in various scenes, such as military areas, laboratories and the like. The image captured by each image source device typically includes a plurality of objects of interest, which may include buildings, vehicles, particular areas (sea level, airspace), and the like. In some surveillance scenarios, the privacy level of the object of interest is different, especially in military areas. How to improve the security of the graph transmission system monitoring is a problem to be solved.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an image processing method and device, which are used for at least solving the technical problems of different security levels and lower security of a graph transmission system caused by different monitored objects in the related art.
According to an aspect of an embodiment of the present invention, there is provided an image processing method including: collecting an image to be transmitted; according to the authority of an image receiving end, carrying out shielding processing on image elements which are forbidden to be received by the authority in the image to be transmitted; and sending the image to be transmitted after the shielding treatment to the image receiving end.
Optionally, the shielding, according to the authority of the image receiving end, the image element that is prohibited from being received by the authority in the image to be transmitted includes: determining image elements in the image to be transmitted, wherein the image elements comprise an object region, a text region and a background region in at least one of the following images; determining image elements which can be received by the authority and image elements which are forbidden to be received by the authority according to the authority of the image receiving end; and shielding the image elements which are forbidden to be received and correspond to the authority.
Optionally, the shielding processing of the image element which is prohibited from being received and corresponds to the authority includes: carrying out macro block division on the image to be transmitted to obtain a plurality of image macro blocks; marking the image macro block where the image elements which are forbidden to be received are positioned as a target macro block; and replacing the target macro block by a preset macro block to generate an image to be transmitted after shielding treatment.
Optionally, the image element is a pre-marked object; determining image elements in the image to be transmitted comprises: and identifying the image to be transmitted, and identifying an object in the image to be transmitted.
Optionally, determining, according to the authority of the image receiving end, an image element that the authority can receive and an image element that the authority is prohibited from receiving include: determining a security level corresponding to the authority according to the authority of the image receiving end; determining receivable image elements corresponding to the security level according to the security level; and all the image elements except the image elements which can be received are taken as image elements which are forbidden to be received.
Optionally, sending the image to be transmitted after the shielding process to the image receiving end includes: encoding the image to be transmitted after the shielding treatment to generate encoded data; and transmitting the coded data to the image receiving end.
According to another aspect of the embodiments of the present invention, there is also provided another image processing method, including: receiving a transmission image sent by an image acquisition end; according to the user authority, carrying out shielding processing on the image elements which are forbidden to be received by the authority in the transmission image; and sending the transmission image after the shielding processing to a display device for displaying.
Optionally, the shielding, according to the user right, the image element whose right is prohibited from being received in the transmission image includes: determining image elements in the transmission image, wherein the image elements comprise an object region, a text region and a background region in at least one of the following images; determining image elements which can be received by the user authority and image elements which are forbidden to be received by the user authority according to the user authority; and shielding the image elements which are forbidden to be received and correspond to the user authority.
According to another aspect of the embodiments of the present invention, there is also provided an image processing apparatus including: the acquisition module is used for acquiring an image to be transmitted; the first shielding module is used for shielding the image elements which are forbidden to be received by the authority in the image to be transmitted according to the authority of an image receiving end; and the sending module is used for sending the image to be transmitted after the shielding processing to the image receiving end.
According to another aspect of the embodiments of the present invention, there is also provided another image processing apparatus including: the receiving module is used for receiving the transmission image sent by the image acquisition end; the second shielding module is used for shielding the image elements which are forbidden to be received by the authority in the transmission image according to the user authority; and the display module is used for sending the transmission image after the shielding treatment to a display device for displaying.
According to another aspect of the embodiments of the present invention, there is also provided a computer storage medium, where the computer storage medium includes a stored program, and when the program runs, the apparatus on which the computer storage medium is located is controlled to execute any one of the image processing methods described above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes to perform the image processing method according to any one of the above.
In the embodiment of the invention, the image to be transmitted is collected; according to the authority of the image receiving end, shielding the image elements which are forbidden to be received by the authority in the image to be transmitted; the image to be transmitted after the shielding processing is sent to the image receiving end, the shielding processing is carried out through the image elements which correspond to the receiving end authority and are forbidden to be received, the purpose of shielding processing partial image elements of the image according to the receiving end authority and selectively transmitting the image is achieved, the technical effects of improving the safety and the confidentiality of image transmission are achieved, and the technical problems that the confidentiality grade is different and the safety of a graph transmission system is lower due to the fact that monitoring objects are different in the related technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an image processing method according to an embodiment of the invention;
FIG. 2 is a flow diagram of another image processing method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an image processing system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of image macroblock processing according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an image target macroblock after processing according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an image processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram of another image processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided a method embodiment of an image processing method, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system, such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than presented herein.
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, collecting an image to be transmitted;
step S104, according to the authority of the image receiving end, shielding the image elements which are forbidden to be received by the authority in the image to be transmitted;
and step S106, sending the image to be transmitted after the shielding treatment to an image receiving end.
Through the steps, the image to be transmitted is collected; according to the authority of the image receiving end, shielding the image elements which are forbidden to be received by the authority in the image to be transmitted; the image to be transmitted after the shielding processing is sent to the image receiving end, the shielding processing is carried out through the image elements which correspond to the receiving end authority and are forbidden to be received, the purpose of shielding processing partial image elements of the image according to the receiving end authority and selectively transmitting the image is achieved, the technical effects of improving the safety and the confidentiality of image transmission are achieved, and the technical problems that the confidentiality grade is different and the safety of a graph transmission system is lower due to the fact that monitoring objects are different in the related technology are solved.
The above-mentioned collection waits to transmit the image and can gather through image acquisition device, and above-mentioned image acquisition device can be a plurality ofly, sets up respectively in obstructed position, gathers the image of different positions, and above-mentioned image acquisition device can be for making a video recording camera, monitoring device etc.. And after the image is acquired by the image acquisition device, the image is sent to a receiving end, wherein the receiving end can be a remote control center, a server or a user terminal, and comprises a user remote terminal or a user mobile terminal.
The main body for executing the steps can be the image acquisition device.
The image with transmission may include a plurality of image elements, and the image elements may be objects of image shooting, including object objects, plant objects, animal objects, text, background, and the like. The specific picture element can be identified by image identification technology, and can also be determined by feature comparison. Each image element corresponds to a certain image area in the image, and under the condition that different image elements are overlapped, the image area corresponding to the image element is determined by taking visibility as a standard, namely the image area corresponding to the image element is a partial area of the image element which is visible in the image.
The image elements whose authority is prohibited from being received in the image to be transmitted are shielded according to the authority of the image receiving end, and the image elements which can be received by the image receiving end are determined according to the authority of the image receiving end, so that the image elements which are prohibited from being transmitted are determined, and the image elements which are prohibited from being transmitted in the image to be transmitted are shielded.
It should be noted that the image elements that can be received and the image elements that are prohibited from being transmitted may form an element set with images to be transmitted, where the element set is a preset element set, for example, only an object a and an object B in the images to be transmitted are set, when the authority of the receiving end can only receive the object a, only the object B is masked, and the object a and the object B form the element set, where the element set may not be completely equal to all image contents of the images to be transmitted.
The number of the image receiving terminals can be multiple, different image element shielding processing is performed on the authority of different image receiving terminals, and the image with transmission after shielding processing is sent to the image receiving terminals, so that the image to be transmitted can be simultaneously and respectively sent to the corresponding image receiving terminals.
Optionally, the shielding, according to the authority of the image receiving end, the image element whose authority is prohibited from being received in the image to be transmitted includes: determining image elements in an image to be transmitted, wherein the image elements comprise an object region, a text region and a background region in at least one of the following images; determining image elements which can be received by the authority and image elements which are forbidden to be received by the authority according to the authority of the image receiving end; and carrying out shielding processing on the image elements which are forbidden to be received and correspond to the authority.
The image element may be an image of a preset attention object and a corresponding relationship between each attention object and the receiving end authority. The object of interest has a corresponding relationship with a receiving end, that is, the receiving end has the right to see the object of interest in the image. The preset corresponding relationship between the attention object and the receiving end may also be a corresponding relationship between the attention object and the authority level of the receiving end. Specifically, each level of authority level corresponds to a plurality of administrators, the higher the security level of the attention object is, the higher the security level of the attention object may correspond to only the higher high authority level, and the lower the security level of the attention object may correspond to most of the authority levels.
The image elements which are forbidden to be received and correspond to the authority are shielded, so that the aims of shielding partial image elements of the image according to the authority of a receiving end and selectively transmitting the image are fulfilled, the technical effects of improving the security and confidentiality of image transmission are achieved, and the technical problems that in the related technology, due to the fact that monitoring objects are different, the confidentiality level is different, and the security of a graph transmission system is low are solved.
Optionally, the shielding processing on the image element which is prohibited from being received and corresponds to the authority includes: carrying out macro block division on an image to be transmitted to obtain a plurality of image macro blocks; marking an image macro block where the image elements which are forbidden to be received are positioned as a target macro block; and replacing the target macro block by a preset macro block to generate an image to be transmitted after shielding treatment.
Before macro block division is carried out on a transmission image, determining image information of each image element in the received whole image, wherein the image information comprises the position and the range of the image element in the whole image; the position may be a coordinate value of a pixel at the upper left corner of the image of the target object of interest, and the range may be the length and width dimensions of the image of the target object of interest for subsequent determination of a macro block of image elements.
The method comprises the steps of dividing an image to be transmitted into a plurality of macro blocks in a macro block dividing mode, marking the image macro block of the image element which is forbidden to be received as a target macro block, and replacing the target macro block through a preset macro block so as to shield the image element which is forbidden to be received of the image to be transmitted.
The preset macro blocks can be macro blocks with uniform colors or macro blocks with preset patterns, and are obviously different from other parts of the image with transmission, so that the observation and the recognition are convenient. The macro block may be 16 × 16 pixels.
Optionally, the image element is a pre-marked object; determining image elements in an image to be transmitted includes: and identifying the image to be transmitted and identifying the object in the image to be transmitted.
Optionally, determining, according to the authority of the image receiving end, an image element that the authority can receive and an image element that the authority is prohibited from receiving include: determining a security level corresponding to the authority according to the authority of the image receiving end; determining receivable image elements corresponding to the security level according to the security level; and taking the image elements except the image elements which can be received in the image elements as the image elements which are forbidden to be received.
The image elements which are forbidden to be received and correspond to the receiving end authority are determined, so that the aims of shielding partial image elements of the image according to the receiving end authority and selectively transmitting the image are fulfilled, the technical effects of improving the security and confidentiality of image transmission are achieved, and the technical problems that in the related technology, due to the fact that monitoring objects are different, the confidentiality level is different, and the security of a graph transmission system is low are solved.
Optionally, sending the image to be transmitted after the shielding process to an image receiving end includes: encoding the image to be transmitted after shielding processing to generate encoded data; and transmitting the encoded data to an image receiving end.
Fig. 2 is a flowchart of another image processing method according to an embodiment of the present invention, and as shown in fig. 2, according to another aspect of the embodiment of the present invention, there is also provided another image processing method including the steps of:
step S202, receiving a transmission image sent by an image acquisition end;
step S204, according to the user authority, shielding the image elements whose authority is prohibited from receiving in the transmission image;
and step S206, transmitting the transmission image after the shielding processing to a display device for displaying.
Through the steps, the transmission image sent by the image acquisition end is received; according to the user authority, carrying out shielding processing on the image elements which are forbidden to be received by the authority in the transmission image; the method for transmitting the transmission image after the shielding processing to the display device for displaying is characterized in that the receiving end authority corresponds to the image element which is forbidden to be received, and the shielding processing is carried out, so that the aims of shielding the partial image element of the image according to the receiving end authority and selectively displaying the image are fulfilled, the technical effects of improving the security and confidentiality of image transmission are achieved, and the technical problems of different confidentiality levels and lower security of a graph transmission system caused by different monitoring objects in the related technology are solved.
The main body of the above steps may be the image receiving end.
Optionally, the shielding, according to the user right, the image element whose right is prohibited from being received in the transmission image includes: determining image elements in the transmission image, wherein the image elements comprise at least one of an object region, a text region and a background region in the image; determining image elements which can be received by the user authority and image elements which are forbidden to be received by the user authority according to the user authority; and shielding the image elements which are forbidden to be received and correspond to the user authority.
It should be noted that this embodiment also provides an alternative implementation, which is described in detail below.
In this embodiment, a corresponding relationship between the attention object and an administrator may be set at the acquisition end in advance, and the administrator may be a user of the image receiving end and may log in the image receiving end through an account. For the image acquired by the same image source device, an administrator with higher authority can see a complete image through the receiving end, an administrator with lower authority cannot see an attention object with higher security level in the image through the receiving end, and specifically, the acquisition end shields the attention object with higher security level in the image according to the preset corresponding relationship between the attention object and the administrator and then transmits the attention object to the receiving end used by the administrator with lower authority.
Therefore, the attention object in the image acquired by the image source device can be selectively shown to the administrators with different authorities. Even for the image collected by the same image source device, the attention objects seen from the image by management sources with different authorities are different. The monitoring safety of the graph transmission system can be improved.
Fig. 3 is a schematic diagram of an image processing system according to an embodiment of the present invention, as shown in fig. 3, the image processing system including: the image source device, the acquisition end, the receiving end and the display device. The image source device may be a camera or a computer, and is usually a camera in a monitoring scene.
The acquisition end is connected with image source equipment. The acquisition end comprises an S1 module, a processing module and an S2 module. The S1 module is used to capture images in an image source device. The processing module is used for identifying the concerned object from the image and shielding the acquired image according to the preset corresponding relation between the concerned object and the administrator. The module of S2 is used to code the image processed by the processing module.
The receiving end is connected with the display device. The receiving end comprises an R module, and the R module is used for decoding the received coded data and displaying the decoded and restored image on the display equipment.
The processing flow of the present embodiment is specifically as follows:
step 1, an S1 module of the acquisition end acquires images shot by image source equipment and sends the acquired image data to a processing module.
In this step, the S1 modules of the multiple capturing terminals capture images captured by the image source device, and send the captured image data to the processing modules of the respective capturing terminals. One image source device corresponds to at least one acquisition end.
As shown in fig. 3, S11 in the capturing end 1, S12 in the capturing end 2, and S13 in the capturing end 3 capture images of the image source device, respectively, and it can be understood that the images captured by the three S1 are identical.
Step 2, the S1 module sends the collected image to a processing module; the processing module identifies preset attention objects from the received images.
It should be noted that, since the object of interest is fixed in most monitoring scenarios or fixed for a period of time, even if the transmission changes, the change amplitude is not too large. Therefore, the image of each object of interest can be preset in the processing module, so that the processing module can accurately recognize each object of interest from the image. For example, the object of interest includes a building, a vehicle, a specific area, an image of the building, an image of the vehicle, and an image of the specific area may be preset in the processing module.
In this step, the processing module identifies each object of interest from the image data sent from the S1 module based on a preset image of the object of interest.
And 3, determining the concerned objects which are not watched by the administrator by the processing module according to the preset corresponding relation between the concerned objects and the administrator, and recording as the target concerned objects.
It should be noted that the processing module is preset with images of the objects of interest and the corresponding relationship between the objects of interest and the administrator. The object of interest has a correspondence with an administrator, that is, the administrator has the right to see the object of interest in the image.
For example, the objects of interest include ship 1, ship 2, building 1, and building 2, where ship 1 corresponds to administrator 1 and administrator 2, ship 2 corresponds to management source 1 and administrator 3, building 1 corresponds to administrator 1 and administrator 4, and building 2 corresponds to administrator 1 and administrator 5.
In this step, the processing module sequentially judges whether each identified attention object has a preset corresponding relationship with the administrator according to the preset corresponding relationship between the attention object and the administrator; if all the concerned objects have a preset corresponding relation with the administrator; and skipping the step, and if at least one concerned object does not have a preset corresponding relationship with the administrator, marking the at least one concerned object as a target concerned object.
For example, as shown in fig. 3, the attention objects include a white boat corresponding to the administrator 1 and the administrator 3 and a black boat corresponding to the administrator 2 and the administrator 3; administrator 1 uses receiving end 1, administrator 2 uses receiving end 2, and administrator 3 uses receiving end 3; then, the target object of interest is a black ship for the administrator 1, a white ship for the administrator 2, and no target object of interest for the administrator 3.
Optionally, the preset corresponding relationship between the attention object and the administrator may also be a corresponding relationship between the attention object and the administrator permission level.
Specifically, each level of authority level corresponds to a plurality of administrators, the higher the security level of the attention object is, the higher the security level of the attention object may correspond to only the higher high authority level, and the lower the security level of the attention object may correspond to most of the authority levels.
Table 1 is a correspondence table of the attention object and the administrator authority level, as shown in table 1. In table 1, the ship 1 has a higher security level and corresponds to the first-level authority with the highest authority level; the security level of the ship 2 is medium and corresponds to 2 higher authority levels, namely a first level and a second level; the security level of building 1 is low and corresponds to all three levels of authority.
TABLE 1 correspondence table of attention objects and administrator permission levels
Object of interest Administrator privilege level
Ship
1 First level of authority
Ship 2 A first level of authority; two level of authority
Building 1 A first level of authority; secondary authority; three level of authority
Further, the attention object may be divided according to the security level, and the preset corresponding relationship between the attention object and the administrator may also be the corresponding relationship between the security level of the attention object and the authority level of the administrator, as shown in table 2.
Table 2 is a table of correspondence between the security level of the object of interest and the administrator authority level, as shown in table 2. In table 2, the first-level security level with the highest security level corresponds to the first-level authority with the highest authority level; the second-level security level with medium security level corresponds to higher 2 authority levels, namely, the first level and the second level; the three levels of security with the lower security level correspond to all three levels of authority. Of course, the privacy level corresponding to each object of interest needs to be set in advance.
TABLE 2 Table of correspondence between security level of object of interest and administrator privilege level
Privacy level of an object of interest Administrator privilege level
First level of security First level of authority
Second level of security A first level of authority; two level of authority
Third level of security A first level of authority; secondary authority; three level of authority
Step 4, the processing module determines the image information of the target attention object in the received whole image, wherein the image information comprises the position and the range of the image of the target attention object in the whole image; the processing module sends the received entire image and the image information of the target object of interest to the S2 module.
Specifically, the position may be a coordinate value of a pixel at the upper left corner of the image of the target attention object, and the range may be the length and width dimensions of the image of the target attention object.
Step 5, the module of S2 carries on the macroblock to the whole picture received and divides; according to the image information of the target attention object, marking the macro block where the image of the target attention object is located in the whole image as the target macro block.
In this step, the S2 module first performs macroblock partition on the received whole image; and marking the macro block where the image of the target attention object is located in the whole image as a target macro block according to the received image information of the target attention object.
Fig. 4 is a schematic diagram of image macroblock processing according to an embodiment of the present invention, as shown in fig. 4, a small square in the diagram is a schematic diagram of macroblock division, a white boat is a target object of interest, and a macroblock marked as 1 in the diagram is a target macroblock.
In practice, the macro block is usually 16 × 16 pixels, and is smaller than the small square in fig. 4, and fig. 4 is only a schematic diagram.
Step 6, the module of S2 encodes the whole image, replaces the target macro block with the preset replacing macro block, generates the encoded data; and the acquisition end sends the encoded data to the receiving end.
The preset replacing macro block can be a pure color map of the macro block size.
In this step, the S2 module firstly determines whether a macroblock is marked (target macroblock) in the encoding of the whole image, if so, discards the target macroblock and replaces it with a preset replacement macroblock, and if not, then encodes normally; and the acquisition end sends the generated coded data to the receiving end.
It is understood that the generated encoded data has the image of the target object of interest replaced by the preset replacement macro block.
Step 7, R1 in the receiving end decodes the received coded data to obtain image data; the image data is displayed in a display device.
As an example based on fig. 4, the target macroblock in fig. 4 is replaced by a preset replacement macroblock, the image data after replacement is encoded to generate encoded data, and R1 decodes the encoded data to obtain an image, and fig. 5 is a schematic diagram of the image target macroblock after processing according to the embodiment of the present invention, as shown in fig. 5. It can be seen that the white boat in fig. 5 has been completely shielded and cannot be seen by the administrator through the receiving end, achieving the desired effect.
For another example, as shown in fig. 3, for the administrator 1, the target object of interest is a black ship, and therefore, the administrator 1 cannot see the black ship at the receiving end 1; for the administrator 2, the target object of interest is a white boat, and therefore, the administrator 2 cannot see the white boat at the receiving end 2; there is no target object of interest for the administrator 3, and therefore the administrator 3 is able to see the complete image at the receiving end 3.
Fig. 6 is a schematic diagram of an image processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, according to another aspect of the embodiment of the present invention, there is also provided an image processing apparatus including: an acquisition module 62, a first shielding module 64, and a transmission module 66, which are described in detail below.
An acquisition module 62, configured to acquire an image to be transmitted; the first shielding module 64 is connected with the acquisition module 62 and is used for shielding image elements which are forbidden to be received by the authority in the image to be transmitted according to the authority of the image receiving end; and a sending module 66, connected to the first shielding module 64, for sending the image to be transmitted after shielding processing to an image receiving end.
By the device, the image to be transmitted is collected; according to the authority of the image receiving end, shielding the image elements which are forbidden to be received by the authority in the image to be transmitted; the image to be transmitted after the shielding processing is sent to the image receiving end, the shielding processing is carried out through the image elements which correspond to the receiving end authority and are forbidden to be received, the purpose of shielding processing partial image elements of the image according to the receiving end authority and selectively transmitting the image is achieved, the technical effects of improving the safety and the confidentiality of image transmission are achieved, and the technical problems that the confidentiality grade is different and the safety of a graph transmission system is lower due to the fact that monitoring objects are different in the related technology are solved.
Fig. 7 is a schematic diagram of another image processing apparatus according to an embodiment of the present invention, and as shown in fig. 7, according to another aspect of the embodiment of the present invention, there is also provided another image processing apparatus including: a receiving module 72, a second shielding module 74 and a display module 76, which will be described in detail below.
A receiving module 72, configured to receive a transmission image sent by an image acquisition end; a second shielding module 74, connected to the receiving module 72, for shielding the image elements whose permission is prohibited from being received in the transmission image according to the user permission; and a display module 76, connected to the second shielding module 74, for sending the transmission image after shielding processing to a display device for displaying.
By the device, the receiving module is adopted to receive the transmission image sent by the image acquisition end; the shielding module shields the image elements of which the authority is forbidden to be received in the transmission image according to the user authority; the display module transmits the transmission image after the shielding processing to a display device for displaying, and the shielding processing is carried out on the image elements which correspond to the receiving end authority and are forbidden to be received, so that the aims of shielding the partial image elements of the image according to the receiving end authority and selectively transmitting the image are fulfilled, the technical effects of improving the safety and the confidentiality of image transmission are achieved, and the technical problems that the confidentiality grade is different and the safety of a picture transmission system is lower due to different monitoring objects in the related technology are solved.
According to another aspect of the embodiments of the present invention, there is also provided a computer storage medium including a stored program, wherein when the program runs, an apparatus in which the computer storage medium is located is controlled to execute the image processing method of any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes to perform the image processing method of any one of the above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, 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 embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
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 units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention 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, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An image processing method, comprising:
collecting an image to be transmitted;
according to the authority of an image receiving end, carrying out shielding processing on image elements which are forbidden to be received by the authority in the image to be transmitted;
and sending the image to be transmitted after the shielding treatment to the image receiving end.
2. The method of claim 1, wherein masking, according to the authority of an image receiving end, the image elements of the image to be transmitted, the authority of which is prohibited from being received, comprises:
determining image elements in the image to be transmitted, wherein the image elements comprise an object region, a text region and a background region in at least one of the following images;
determining image elements which can be received by the authority and image elements which are forbidden to be received by the authority according to the authority of the image receiving end;
and shielding the image elements which are forbidden to be received and correspond to the authority.
3. The method of claim 2, wherein masking the image element that is prohibited from being received and corresponds to the right comprises:
carrying out macro block division on the image to be transmitted to obtain a plurality of image macro blocks;
marking the image macro block where the image elements which are forbidden to be received are positioned as a target macro block;
and replacing the target macro block by a preset macro block to generate an image to be transmitted after shielding treatment.
4. The method of claim 2, wherein the image element is a pre-marked object;
determining image elements in the image to be transmitted comprises:
and identifying the image to be transmitted, and identifying an object in the image to be transmitted.
5. The method of claim 2, wherein determining, according to the authority of the image receiving end, the image elements that the authority can receive and the image elements that the authority is prohibited from receiving comprises:
determining a security level corresponding to the authority according to the authority of the image receiving end;
determining receivable image elements corresponding to the security level according to the security level;
and all the image elements except the image elements which can be received are taken as image elements which are forbidden to be received.
6. The method according to any one of claims 1 to 5, wherein sending the image to be transmitted after the shielding process to the image receiving end comprises:
encoding the image to be transmitted after the shielding treatment to generate encoded data;
and transmitting the coded data to the image receiving end.
7. An image processing method, comprising:
receiving a transmission image sent by an image acquisition end;
according to the user authority, carrying out shielding processing on the image elements which are forbidden to be received by the authority in the transmission image;
and sending the transmission image after the shielding processing to a display device for displaying.
8. The method of claim 7, wherein masking image elements of the transmission image for which the permission is prohibited from being received according to user permission comprises:
determining image elements in the transmission image, wherein the image elements comprise an object region, a text region and a background region in at least one of the following images;
determining image elements which can be received by the user authority and image elements which are forbidden to be received by the user authority according to the user authority;
and shielding the image elements which are forbidden to be received and correspond to the user authority.
9. An image processing apparatus characterized by comprising:
the acquisition module is used for acquiring an image to be transmitted;
the first shielding module is used for shielding the image elements which are forbidden to be received by the authority in the image to be transmitted according to the authority of an image receiving end;
and the sending module is used for sending the image to be transmitted after the shielding processing to the image receiving end.
10. An image processing apparatus characterized by comprising:
the receiving module is used for receiving the transmission image sent by the image acquisition end;
the second shielding module is used for shielding the image elements which are forbidden to be received by the authority in the transmission image according to the user authority;
and the display module is used for sending the transmission image after the shielding treatment to a display device for displaying.
CN202010653307.7A 2020-07-08 2020-07-08 Image processing method and device Pending CN111770242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010653307.7A CN111770242A (en) 2020-07-08 2020-07-08 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010653307.7A CN111770242A (en) 2020-07-08 2020-07-08 Image processing method and device

Publications (1)

Publication Number Publication Date
CN111770242A true CN111770242A (en) 2020-10-13

Family

ID=72726166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010653307.7A Pending CN111770242A (en) 2020-07-08 2020-07-08 Image processing method and device

Country Status (1)

Country Link
CN (1) CN111770242A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010024233A1 (en) * 1996-10-15 2001-09-27 Shinya Urisaka Camera control system, camera server, camera client, control method, and storage medium
US20040145657A1 (en) * 2002-06-27 2004-07-29 Naoki Yamamoto Security camera system
US20160328569A1 (en) * 2015-05-08 2016-11-10 Samsung Electronics Co., Ltd. Terminal device and method for protecting information thereof
CN108289202A (en) * 2018-01-29 2018-07-17 北京大椽科技有限公司 A kind of intelligent network monitoring method and system
CN110996010A (en) * 2019-12-20 2020-04-10 歌尔科技有限公司 Camera, image processing method and device thereof, and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010024233A1 (en) * 1996-10-15 2001-09-27 Shinya Urisaka Camera control system, camera server, camera client, control method, and storage medium
US20040145657A1 (en) * 2002-06-27 2004-07-29 Naoki Yamamoto Security camera system
US20160328569A1 (en) * 2015-05-08 2016-11-10 Samsung Electronics Co., Ltd. Terminal device and method for protecting information thereof
CN108289202A (en) * 2018-01-29 2018-07-17 北京大椽科技有限公司 A kind of intelligent network monitoring method and system
CN110996010A (en) * 2019-12-20 2020-04-10 歌尔科技有限公司 Camera, image processing method and device thereof, and computer storage medium

Similar Documents

Publication Publication Date Title
CN108206951B (en) Method of encoding an image comprising privacy occlusion
CN101258522B (en) Video with watermark
US9288451B2 (en) Image processing apparatus and image processing method
TW201722136A (en) Security system and method
CN106534789A (en) Integrated intelligent security and protection video monitoring system
CN102025975A (en) Automatic monitoring method and system
CN107241585B (en) Video monitoring method and system
KR20130114037A (en) Masking and recovering method of privacy region
CA2860014C (en) Video based indoor leak detection
CN106604032B (en) Method and device for compressing Chinese character blocks in image and method and device for compressing image
CN108449627B (en) Video processing method, video source identification method, video processing device, video source identification device and video source identification medium
CN111770242A (en) Image processing method and device
Al-Maweri et al. Metadata hiding for UAV video based on digital watermarking in DWT transform
US20060008157A1 (en) Image protection apparatus, imaging apparatus, and program
CN114650111A (en) Broadcasting method and device for emergency broadcast message and intelligent household equipment
CN110896475B (en) Display terminal channel switching detection method and device
CN109120896B (en) Security video monitoring guard system
CN112422907B (en) Image processing method, device and system
KR102015082B1 (en) syntax-based method of providing object tracking in compressed video
CN111432286A (en) Video processing method, device and system
CN109785617B (en) Method for processing traffic control information
EP3996367B1 (en) Method and image-processing device for video processing
CN112601054B (en) Pickup picture acquisition method and device, storage medium and electronic equipment
CN113012033A (en) Method, device and system for image display processing
CN110796826A (en) Alarm method and system for identifying smoke flame

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201013