Surveillance camera system
A method, performed by an image processing device, of encrypting image data includes: selecting an encryption target unit from among a plurality units constituting an image; generating a table including identification information about the encryption target unit; generating a first encryption unit including data obtained by encrypting the encryption target unit; generating a second encryption unit including data obtained by encrypting the table; and generating a bitstream including the first encryption unit, the second encryption unit, and units other than the encryption target unit among the plurality of units constituting the image.
1 . A method, performed by an image processing device, of encrypting image data, the method comprising:
selecting a method for selecting an encryption target unit, based on at least one of performance or resources of an image processing device;
selecting an encryption target unit from among a plurality of units constituting an image based on the method for selecting the encryption target unit;
generating an encryption unit by encrypting the encryption target unit;
generating a bitstream comprising the encryption unit; and
based on the image processing device satisfying the first arithmetic operation condition, selecting a first method in which the encryption target unit is selected based on analysis of an event in the image;
based on the image processing device not satisfying a first arithmetic operation condition, selecting a second method in which the encryption target unit is selected; and
wherein the first method comprises:
identifying a second time point when a certain event is detected from the image;
identifying a first time point at which an object related to the event is identified for the first time in the image;
selecting, as the encryption target unit, at least one unit, included in the image, between the first time point and the second time point; and
wherein the generating an encryption unit comprises adding data about the event to metadata of the at least one unit of the image between the first time point and the second time point.
2 . The method of claim 1 , wherein the generating an encryption unit comprises modifying a flag corresponding to an event item of a header of the at least one unit of the image between the first time point and the second time point.
3 . The method of claim 1 , wherein the encryption target unit is provided in plurality,
wherein a first encryption unit with respect to each of the plurality of encryption target units is generated in generating the first encryption unit, and
wherein a second encryption unit is disposed ahead of the first encryption unit in the bitstream in a temporal sequence.
4 . The method of claim 1 , wherein the image processing device is a device that partially encrypts the image, and transmits the encrypted image to another device.
5 . A method, performed by an image processing device, of encrypting image data, the method comprising:
selecting a method for selecting the encryption target unit, based on at least one of performance or resources of an image processing device;
selecting an encryption target unit from among a plurality of units constituting an image based on the method for selecting the encryption target unit;
generating an encryption unit by encrypting the encryption target unit;
generating a bitstream comprising the encryption unit; and
based on the image processing device satisfying a first arithmetic operation condition, selecting a first method in which the encryption target unit is selected based on analysis of an event in the image;
based on the image processing device not satisfying the first arithmetic operation condition, selecting a second method in which the encryption target unit is selected; and
wherein the selecting the method for selecting the encryption target unit further comprises determining a ratio of the encryption target unit among all units constituting the image based on whether the image processing device satisfies a second arithmetic operation condition.
6 . The method of claim 5 , wherein the encryption target unit is provided in plurality,
wherein a first encryption unit with respect to each of the plurality of encryption target units is generated in generating the first encryption unit, and
wherein a second encryption unit is disposed ahead of the first encryption unit in the bitstream in a temporal sequence.
7 . The method of claim 5 , wherein the image processing device is a device that partially encrypts the image, and transmits the encrypted image to another device.