Feature encoding/decoding method, device, recording medium storing bitstream, and method for transmitting bitstream
Provided are a feature encoding/decoding method and device, a recording medium on which a bitstream generated by the feature encoding method is stored, and a method for transmitting the bitstream. The feature decoding method according to the present disclosure comprises the steps of: determining whether or not an input source is feature data; determining a feature map type of the feature data based on the input source being the feature data; obtaining encoding information of the feature data from a bitstream; and decoding the feature data based on the feature map type and the encoding information, and whether or not the input source is the feature data may be determined based on input format identification information that is obtained from a sequence parameter set.
1 . A feature decoding method performed by a feature decoding apparatus, the feature decoding method comprising:
determining, based on input format identification information signaled from a bitstream, at least one of whether or not an input source is feature data or a feature map type of the feature data,
wherein the input format identification information equal to a first value indicates that the input source is image data, the input format identification information equal to a second value indicates that the input source is the feature data and the feature map type of the feature data is a first feature map type, and the input format identification information equal to a third value indicates that the input source is the feature data and the feature map type of the feature data is a second feature map type;
obtaining encoding information of the feature data from the bitstream based on the input source being the feature data; and
decoding the feature data based on the feature map type and the encoding information.
2 . The feature decoding method of claim 1 , wherein the encoding information includes supplementary information related to a method for constructing a feature map of the feature data and meaning information related to a method for extracting and reconstructing the feature data.
3 . The feature decoding method of claim 1 , wherein the encoding information includes data property information indicating a privacy protection level.
4 . A feature encoding method performed by a feature encoding apparatus, the feature encoding method comprising:
generating input format identification information indicating at least one of whether or not an input source is feature data;
or a feature map type of the feature data,
wherein the input format identification information equal to a first value indicates that the input source is image data, the input format identification information equal to a second value indicates that the input source is the feature data and the feature map type of the feature data is a first feature map type, and the input format identification information equal to a third value indicates that the input source is the feature data and the feature map type of the feature data is a second feature map type;
generating encoding information of the feature data based on the input source being the feature data; and
encoding the input format identification information and the encoding information into a bitstream.
5 . The feature encoding method of claim 4 , wherein the encoding information includes supplementary information related to a method for constructing a feature map of the feature data and meaning information related to a method for extracting and reconstructing the feature data.
6 . A computer-readable recording medium storing a bitstream generated by the feature encoding method of claim 4 .
7 . A method for transmitting a bitstream, comprising:
generating input format identification information indicating at least one of whether or not an input source is feature data;
or a feature map type of the feature data,
wherein the input format identification information equal to a first value indicates that the input source is image data, the input format identification information equal to a second value indicates that the input source is the feature data and the feature map type of the feature data is a first feature map type, and the input format identification information equal to a third value indicates that the input source is the feature data and the feature map type of the feature data is a second feature map type;
generating encoding information of the feature data based on the input source being the feature data; and
encoding the input format identification information and the encoding information into the bitstream.