摘要 |
<P>PROBLEM TO BE SOLVED: To provide a data encoding device and method which can encode data efficiently, as well as a data decoding device and method. <P>SOLUTION: The data encoding device comprises: an acquisition unit which acquires input data consisting of a row of plural pieces of data; a conversion unit which searches the input data for a data group which includes consecutive data with the same value and data with other values adjacent to the consecutive data with the same value and converts the found data group into intermediate data corresponding thereto; a selection unit which selects an encoding method which will be used when the intermediate data is encoded, depending on which position the data at the beginning of the data group is located in the input data; and an encoding unit which encodes the intermediate data by using the selected encoding method. <P>COPYRIGHT: (C)2013,JPO&INPIT |