Patentable/Patents/US-8909521
US-8909521

Coding method, coding apparatus, coding program, and recording medium therefor

PublishedDecember 9, 2014
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

A lossless coding technique for near-logarithmic companded PCM that achieves high compression performance is provided. In coding, the coding method that produces the smaller code amount is selected between the prediction coding method, which performs linear prediction of samples in a frame and codes the amplitude of the prediction error, and the normalization coding method, which normalizes the amplitude of the samples in the frame and codes the normalized amplitude, and a selection code that indicates the selection result is output. The samples in the frame are coded according to the selected coding method to produce a compression code. In decoding, the compression code is decoded according to a decoding process corresponding to the coding method specified by the selection code.

Patent Claims
22 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a prediction coefficient producing sub-step of producing one or more prediction coefficients used for the linear prediction from the samples in the frame; a range calculating sub-step of calculating a range U based on values of all samples in the frame; and a selection result output sub-step of outputting the selection code that indicates to select the prediction coding method, if any one of the prediction coefficients is greater than a predetermined first threshold, and the range U is greater than a predetermined third threshold.

2

2. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a prediction order producing sub-step of producing a prediction order used for the linear prediction from the samples in the frame; a range calculating sub-step of calculating a range U based on values of all samples in the frame; and a selection result output sub-step of outputting the selection code that indicates to select the prediction coding method, if the prediction order is greater than a predetermined second threshold, and the range U is greater than a predetermined third threshold.

3

3. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a prediction coefficient producing sub-step of producing one or more prediction coefficients used for the linear prediction from the samples in the frame; and a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if any one of the one or more prediction coefficients is greater than a predetermined first threshold.

4

4. The coding method according to claim 3 , wherein the selection step comprises: a range calculating sub-step of calculating a range U based on values of all samples in the frame; and a selection result output sub-step of outputting the selection code that indicates to select the prediction coding method if the range U is smaller than a value calculated by 2 (┌log 2 U┐)β where β represents a positive constant equal to or smaller than 1, even if any one of the prediction coefficients is smaller than the predetermined first threshold.

5

5. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a prediction order producing sub-step of producing a prediction order used for the linear prediction from the samples in the frame; and a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if the prediction order is greater than a predetermined second threshold.

6

6. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a prediction scheme selecting sub-step of selecting a prediction scheme that provides a smaller code amount between a short-term prediction and a long-term prediction for each frame; and a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if the long-term prediction is selected in the prediction scheme selecting sub-step.

7

7. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if an evaluation value that indicates a deviation of the samples in the frame is smaller than a predetermined fourth threshold.

8

8. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a selection result output sub-step of outputting a selection code that indicates to select the normalization coding method, if it is determined that the difference between a maximum value and a minimum value of the samples in the frame is 1.

9

9. A coding method, comprising: a selection step of selecting a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and outputting a selection code that indicates the selection result; and a coding step of coding the samples in the frame according to the selected coding method to produce a compression code, wherein the selection step comprises: a prediction error calculating sub-step of calculating a prediction error; a prediction code amount estimating sub-step of estimating the amount of prediction code produced by the prediction coding method, using the prediction error; a range calculating sub-step of calculating a range U based on values of all samples in the frame; an amplitude bit count calculating sub-step of calculating an amplitude bit count V using the range U according to V=log 2 U; a normalization code amount estimating sub-step of estimating the amount of normalization code produced by the normalization coding method using the amplitude bit count V; and a selection result output sub-step of outputting a selection code that indicates to select the coding method that produces the smaller code amount between the prediction coding and the normalization coding based on the estimated amount of prediction code and the estimated amount of normalization code.

10

10. A coding method, comprising: a prediction coefficient producing step of producing one or more prediction coefficients used for linear prediction from samples in a frame; a range calculating step of calculating a range U based on values of all samples in the frame; a selection result output step of outputting a selection code that indicates to select a prediction coding method that performs linear prediction of the samples in the frame and codes an amplitude of a prediction error, if any one of the prediction coefficients is greater than a predetermined first threshold, and the range U is greater than a predetermined third threshold; and a coding step of coding the sample in the frame according to the selected coding method to produce a compression code.

11

11. The coding method according to claim 10 , further comprising: a selection step of selecting a coding method that produces a smaller code amount between the prediction coding method and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude and outputting a selection code that indicates the selection result, even if any one of the prediction coefficients is smaller than the predetermined first threshold, or if the range U is smaller than the predetermined third threshold even if any one of the prediction coefficients is greater than the predetermined first threshold.

12

12. A coding apparatus, comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a prediction coefficient producing sub-step of producing one or more prediction coefficients used for the linear prediction from the samples in the frame; a range calculating sub-step of calculating a range U based on values of all samples in the frame; and a selection result output sub-step of outputting the selection code that indicates to select the prediction coding method, if any one of the prediction coefficients is greater than a predetermined first threshold, and the range U is greater than a predetermined third threshold.

13

13. A coding apparatus comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a prediction order producing sub-step of producing a prediction order used for the linear prediction from the samples in the frame; a range calculating sub-step of calculating a range U based on values of all samples in the frame; and a selection result output sub-step of outputting the selection code that indicates to select the prediction coding method, if the prediction order is greater than a predetermined second threshold, and the range U is greater than a predetermined third threshold.

14

14. A coding apparatus, comprising: a computer processor configured to: produce one or more prediction coefficients used for the linear prediction from the samples in the frame; calculate a range U based on values of all samples in the frame; output a selection code that indicates to select a prediction coding method that performs linear prediction of the samples in the frame and codes an amplitude of a prediction error, if any one of the prediction coefficients is greater than a predetermined first threshold, and the range U is greater than a predetermined third threshold; and code the samples in the frame according to the selected coding method to produce a compression code.

15

15. The coding apparatus according to claim 14 , wherein the computer processor selects a coding method that produces a smaller code amount between the prediction coding method and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude and outputs a selection code that indicates the selection result, even if any one of the prediction coefficients is smaller than the predetermined first threshold, or if the range U is smaller than the predetermined third threshold even if any one of the prediction coefficients is greater than the predetermined first threshold.

16

16. A coding apparatus, comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a prediction coefficient producing sub-step of producing one or more prediction coefficients used for the linear prediction from the samples in the frame; and a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if any one of the one or more prediction coefficients is greater than a predetermined first threshold.

17

17. A coding apparatus, comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a prediction order producing sub-step of producing a prediction order used for the linear prediction from the samples in the frame; and a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if the prediction order is greater than a predetermined second threshold.

18

18. A coding apparatus, comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a prediction scheme selecting sub-step of selecting a prediction scheme that provides a smaller code amount between a short-term prediction and a long-term prediction for each frame; and a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if the long-term prediction is selected in the prediction scheme selecting sub-step.

19

19. A coding apparatus, comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a selection result output sub-step of outputting a selection code that indicates to select the prediction coding method, if an evaluation value that indicates a deviation of the samples in the frame is smaller than a predetermined fourth threshold.

20

20. A coding apparatus, comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a selection result output sub-step of outputting a selection code that indicates to select the normalization coding method, if it is determined that the difference between a maximum value and a minimum value of the samples in the frame is 1.

21

21. A coding apparatus, comprising: a computer processor configured to: select a coding method that produces a smaller code amount between a prediction coding method that codes an amplitude of a prediction error resulting from linear prediction of samples in a frame and a normalization coding method that normalizes an amplitude of the samples in the frame and codes the normalized amplitude, and output a selection code that indicates the selection result; and code the samples in the frame according to the selected coding method to produce a compression code, wherein the selection of the coding method comprises: a prediction error calculating sub-step of calculating a prediction error; a prediction code amount estimating sub-step of estimating the amount of prediction code produced by the prediction coding method, using the prediction error; a range calculating sub-step of calculating a range U based on values of all samples in the frame; an amplitude bit count calculating sub-step of calculating an amplitude bit count V using the range U according to V=log 2 U; a normalization code amount estimating sub-step of estimating the amount of normalization code produced by the normalization coding method using the amplitude bit count V; and a selection result output sub-step of outputting a selection code that indicates to select the coding method that produces the smaller code amount between the prediction coding and the normalization coding based on the estimated amount of prediction code and the estimated amount of normalization code.

22

22. A non-transitory computer-readable recording medium in which a program that makes a computer function as each part of a coding apparatus according to any one of claims 12 , 13 , 16 , 17 , 18 , 19 , 20 , and 21 is recorded.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

May 28, 2010

Publication Date

December 9, 2014

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Coding method, coding apparatus, coding program, and recording medium therefor” (US-8909521). https://patentable.app/patents/US-8909521

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.