Feature map compression method and apparatus
Abstract
A neural network-based image processing method and apparatus according to an embodiment of the present invention may: acquire a feature tensor from an input image by using a first neural network including a plurality of neural network layers; acquire a symbol tensor by performing quantization on the acquired feature tensor; and generate a bitstream by performing entropy encoding on the basis of the symbol tensor.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A neural network-based image processing method, comprising: obtaining a feature tensor from an input image using a first neural network including a plurality of neural network layers; obtaining a symbol tensor by performing quantization on the obtained feature tensor; and generating a bitstream by performing entropy encoding based on the symbol tensor, wherein generating the bitstream comprises selectively performing the entropy encoding by applying skip coding to the symbol tensor.
- Claim 2Depends on #1
The method of claim 1, wherein when the skip coding is applied to the symbol tensor, the entropy encoding is skipped on all or part of a plurality of symbols included in the symbol tensor.
- Claim 3Depends on #1
The method of claim 1, wherein generating the bitstream further comprises: determining whether to apply the skip coding to the symbol tensor.
- Claim 4Depends on #3
The method of claim 3, wherein whether to apply the skip coding is determined based on a structure of the first neural network, a type of a first layer from which the feature tensor is output, a type of a second layer indicating a next layer of the first layer based on an encoding order, or a symbol included in the symbol tensor.
- Claim 5Depends on #4
The method of claim 4, wherein when the type of the second layer is a summation layer, it is determined to apply the skip coding to the symbol tensor.
- Claim 6Depends on #4
The method of claim 4, wherein when the type of the first layer is not an upsampling layer and the type of the second layer is a summation layer, it is determined to apply the skip coding to the symbol tensor.
- Claim 7Depends on #3
The method of claim 3, wherein whether to apply the skip coding is determined using a second neural network including a plurality of neural network layers.
- Claim 8Depends on #1
The method of claim 1, wherein generating the bitstream further comprises: determining whether to apply the skip coding to each of a plurality of channels included in the symbol tensor.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a National Phase Entry Application of PCT Application No. PCT/KR2023/002344, filed on Feb. 17, 2023, which claims priority to Korean Patent Application No. 10-2022-0021743, filed on Feb. 18, 2022, and Korean Patent Application No. 10-2022-0021744, filed on Feb. 18, 2022, in the Korean Intellectual Property Office, the entire contents of which are hereby incorporated by reference in its entirety. TECHNICAL FIELD The present invention relates to a method and device for compressing a feature map, and more specifically, to a method and device for compressing a feature map using video compression. BACKGROUND ART Video images are compressed and encoded by removing spatial-temporal redundancy and inter-view redundancy, and can be transmitted through communication lines or stored in a suitable form on a storage medium. DISCLOSURE Technical Problem The present invention proposes a method and device for compressing a feature tensor, which is an intermediate result of a neural network, using skip coding. The present invention proposes a method and device for coding feature data using a partition structure having various hierarchical structures. Technical Solution In order to solve the above problems, a method and device for performing inference and image encoding/decoding using a neural network are provided. Additionally, to solve the above problems, an inference method and device using video compression are provided. A neural network-based image processing method and device according to an embodiment of the present invention may obtain a feature tensor from an input image using a first neural network including a plurality of neural network layers, obtain a symbol tensor by performing quantization on the obtained feature tensor, and generate a bitstream by performing entropy encoding based on the symbol tensor. The neural network-based image processing method and device according to an embodiment of the present invent
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
Non-Patent Literature (3)
- International Search Report
- &
- Written Opinion for PCT/KR2023/002344 by Korean Intellectual Property Office dated May 26, 2023.