[go: up one dir, main page]

KR100359009B1 - Image encoding apparatus and method - Google Patents

Image encoding apparatus and method

Info

Publication number
KR100359009B1
KR100359009B1 KR1019950701767A KR19950701767A KR100359009B1 KR 100359009 B1 KR100359009 B1 KR 100359009B1 KR 1019950701767 A KR1019950701767 A KR 1019950701767A KR 19950701767 A KR19950701767 A KR 19950701767A KR 100359009 B1 KR100359009 B1 KR 100359009B1
Authority
KR
South Korea
Prior art keywords
block
data
layer
activity
hierarchical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
KR1019950701767A
Other languages
Korean (ko)
Inventor
곤도데쯔지로
후지모리야스히로
가와구찌구니오
Original Assignee
소니 가부시끼 가이샤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 소니 가부시끼 가이샤 filed Critical 소니 가부시끼 가이샤
Priority to KR1019950701767A priority Critical patent/KR100359009B1/en
Application granted granted Critical
Publication of KR100359009B1 publication Critical patent/KR100359009B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

화상 데이터를 계층 부호화할 때 압축 효율을 향상함과 함께 화질 열화를 저감하기 위한 화상 부호화 장치 및 방법에 있어서, 화상 데이터를 재귀적인 계층 표현을 사용하여 표시해 계층 부호화 할 때, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할을 실행하여 부호화하는 것과 함께, 그 분할 결과로 얻어진 계층 부호화 데이터를 전송하는 것에 의해, 적응적으로 하위 계층의 블럭을 분할하여 얻고, 그 결과 화상의 평탄한 부분 등의 정보량을 삭감할 수가 있다.An image coding apparatus and method for improving the compression efficiency and reducing image quality deterioration when hierarchically encoding image data, wherein the image data is displayed by using a recursive hierarchical representation to hierarchically encode the image data. By performing the division of one adaptive block and encoding, and transmitting the hierarchical coded data obtained as a result of the division, adaptively dividing the block of the lower layer is obtained, and as a result, the amount of information such as a flat portion of the image is obtained. I can cut it.

Description

화상 부호화 장치 및 방법Image coding apparatus and method

본 발명의 화상 부호화 장치 및 방법에 관한 것이며, 예컨대 소정의 화상 데이터를 다른 해상도로 된 복수의 화상 데이터로 분할하여 부호화하는 화상 부호화 장치에 적용할 수 있다.The present invention relates to a picture coding apparatus and method of the present invention, and can be applied to, for example, a picture coding apparatus for dividing predetermined picture data into a plurality of picture data having different resolutions.

종래, 이러한 종류의 화상 부호화 장치로서는, 입력 화상 데이터를 피라미드 부호화 등의 계층 부호화 방법을 사용해 계층적으로 부호화하는 것이 있다(일본 특원평 5-142836호 공보). 그 화상 부호화 장치에 있어서는, 고해상도의 입력 화상 데이터를 제 1 의 계층 데이터로 하여 그 제 1 의 계층 데이터보다도 해상도가 낮은 제 2 의 계층 데이터, 더욱이 제 2 의 계층 데이터보다도 해상도가 낮은 제 3 의 계층 데이터, .... 를 순차 재귀적으로 형성하고, 이들 복수의 계층 데이터를 통신로나 기록 재생 경계로 되는 전송로로 전송한다.Background Art Conventionally, such type of image coding apparatus has hierarchically encoded input image data using a hierarchical coding method such as pyramid coding (Japanese Patent Application Laid-Open No. 5-142836). In the picture coding apparatus, the second hierarchical data having a lower resolution than the first hierarchical data, and the third hierarchical data having a lower resolution than the second hierarchical data, using high-resolution input image data as the first hierarchical data. Data, ... are formed recursively in sequence, and the plurality of hierarchical data is transferred to a communication path or a transmission path serving as a recording / reproduction boundary.

압축 처리되고, 그 결과 각 부호기(11)(12)(13)(14)로 부터 해상도가 다른 제 1, 제 2, 제 3 및 제 4 의 계층 데이터 D11, D12, D13 및 D14 가 소정 순서로 전송로로 송출된다.The first, second, third, and fourth hierarchical data D11, D12, D13, and D14 having different resolutions from the encoders 11, 12, 13, and 14 as a result are compressed in a predetermined order. It is sent to the transmission line.

이에 따라 전송되는 제 1∼제 4 의 계층 데이터 D11∼D14 는, 제 2 도에 나타낸 화상 복호화 장치(20)에 의해 복호된다. 즉, 제 1∼제 4 의 계층 데이터 D11∼D14 는 각각 복호기(21)(22)(23)(24)에 의해 복호되고, 그 결과 먼저 복호기(24)로부터는 제 4 의 계층 데이터 D24 가 출력된다.The first to fourth hierarchical data D11 to D14 thus transmitted are decoded by the image decoding device 20 shown in FIG. That is, the first to fourth hierarchical data D11 to D14 are decoded by the decoders 21, 22, 23, and 24, respectively, and as a result, the fourth hierarchical data D24 is first output from the decoder 24. do.

또한, 복호기(23)의 출력은 가산 회로(29)에서 보간 필터(26)에 의해 얻어지는 제 4 의 계층 데이터 D24 의 보간 데이터와 가산되고, 이에 따라 제 3 의 계층데이터 D23 이 복원된다. 마찬가지로 복호기(22)의 출력은 가산 회로(30)에 있어서 보간 필터(27)에 의해 얻어지는 제 3 의 계층 데이터 D23 의 보간 데이터와 가산되고, 이에 따라 제 2 의 계층 데이터 D22가 복원된다. 다시 복호기(21)의 출력은 가산 회로(31)에 있어서 보간 필터(28)로부터 얻어지는 제 2 의 계층 데이터 D22 의 보간 데이터와 가산되고, 이에 따라 제 1 계층 데이터 D21 이 복원된다.The output of the decoder 23 is added to the interpolation data of the fourth hierarchical data D24 obtained by the interpolation filter 26 in the addition circuit 29, and the third hierarchical data D23 is thereby restored. Similarly, the output of the decoder 22 is added to the interpolation data of the third hierarchical data D23 obtained by the interpolation filter 27 in the addition circuit 30, and thereby the second hierarchical data D22 is restored. In addition, the output of the decoder 21 is added to the interpolation data of the second hierarchical data D22 obtained from the interpolation filter 28 in the addition circuit 31, thereby reconstructing the first hierarchical data D21.

여기에서 계층 부호화 방법을 실현하는 화상 부호화 장치에서는, 입력 화상데이터를 복수의 계층 데이터로 분할하여 부호화하기 위해, 계층 성분만큼 데이터 량이 증가하고, 그만큼 계층 부호화를 사용하지 않는 고능율 부호화 방법과 비교하여 압축 효율이 저하한다는 문제가 있다. 또 압축 효율을 향상시키려 한 경우, 각 계층 데이터간에 적용되는 양자화기에 의해 화질 열화가 발생하는 문제가 있다.Here, in the picture coding apparatus for realizing the hierarchical coding method, in order to divide and encode input image data into a plurality of hierarchical data, the data amount increases by a hierarchical component, and as compared with the high-performance coding method that does not use hierarchical coding. There is a problem that the compression efficiency is lowered. In addition, when trying to improve the compression efficiency, there is a problem that image quality deterioration occurs by a quantizer applied between the hierarchical data.

발명의 개시Disclosure of the Invention

본 발명은 이상의 점들 고려한 것으로, 화상 데이터를 계층 부호화 할 때에 압축 효율을 향상하여줌과 함께 차질 열화를 저감하여 줄 수 있는 화상 부호화 방법 및 화상 부호화 장치를 제안한 것이다.In view of the above points, the present invention proposes an image encoding method and an image encoding apparatus which can improve compression efficiency when hierarchically encoding image data and reduce degradation of the quality.

이러한 문제를 해결하기 위하여, 본 발명에서는 재귀적으로 다른 복수의 해상도로 되는 복수의 계층 데이터를 발생하기 위하여 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서, 화상 데이터의 성질에 대응하는 적응적인 블럭의 분할 방식을 판정하고 이 판정 결과에 따라 화상 데이터를 분할하는 판정 분할 수단과, 판정 분할 수단으로부터 얻어진 계층 부호화 데이터를 전송하는 전송 수단을 설치하는 것에 의해 화상 데이터를 적응적으로 블럭으로 분할할 수 있다.In order to solve this problem, in the present invention, an image encoding apparatus for encoding an input image signal in order to recursively generate a plurality of hierarchical data having different resolutions, wherein an adaptive block corresponding to the property of the image data is used. It is possible to adaptively divide image data into blocks by providing determination dividing means for determining a dividing method and dividing image data according to the determination result, and transmission means for transmitting hierarchical coded data obtained from the determination dividing means. .

또한, 본 발명에 있어서는, 순차 재귀적으로 다른 복수의 해상도로 되는 복수의 계층 데이터를 발생하기 위하여 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서, 해상도가 가장 낮은 최상위 계층 데이터를 제외한 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 복수의 하위 블럭의 블럭 액티버티의 판정 및 복수의 하위 블럭의 계층 데이터의 전송을 중지시키기 위한 제어 신호를 발생하는 판정 제어 수단과, 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 설치하도록 하는 것에 의하여, 블럭으로 분할된 화상 데이터와 함께 판정 플래그를 전송하도록 한다.Further, in the present invention, in the image encoding apparatus encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, the hierarchical data of each hierarchical data except for the lowest hierarchical data having the lowest resolution is used. Detecting a block activity of a given block, generating a division decision flag for determining a partitioning scheme of the block based on the block activity, and determining a result indicating that the block activity is smaller than a predetermined threshold is obtained. When generating a segmentation stop flag for stopping division of the plurality of lower blocks corresponding to the block, determining the block activity of the plurality of lower blocks and controlling the transmission of the hierarchical data of the plurality of lower blocks. The decision control means for generating the By providing a transmission means for transmitting together with the hierarchical data, the determination flag is transmitted together with the image data divided into blocks.

또한, 본 발명에 있어서는, 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위하여 입력 화상 신호를 부호화하는 화상 부호화 장치에 있어서, 해상도가 최저인 최상위 계층 데이터를 제외한 각 계층 데이터의 소정블럭의 블럭 액티버티를 검출하고, 이 블럭 액티버티에 기초하여 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 블럭에 대응하는 복수의 하위 블럭의 분할을 중지하기 위한 분할 중지 플래그를 일시적으로 발생시킴과 함께, 복수의 하위 블럭의 적어도 하나의 블럭의 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 분할 중지 플래그를 분할을 계속하기 위한 분할 계속 플래그로 변경하는 판정 제어 수단과, 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 설치하도록 하는 것에 의하여, 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 확인할 수 있다.Further, in the present invention, in the image encoding apparatus for encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, the hierarchical data of each hierarchical data except for the highest hierarchical data having the lowest resolution is used. When a block activity of a predetermined block is detected, a division determination flag for generating a division of a block is generated based on the block activity, and a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. A generation stop flag for temporarily stopping division of the plurality of lower blocks corresponding to the block is generated temporarily, and a determination result indicating that the block activity of at least one block of the plurality of lower blocks is equal to or greater than a predetermined threshold is obtained. Change split stop flag to split continue flag to continue splitting when It may determine the division determination flag to determine a division type of the block by what it to install a transmission means for transmitting with the determination control means, and each layer of data, the determination flag of each block encoded.

또한, 본 발명에 있어서는 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서, 해상도가 최저인 최상위 계층 데이터를 제외한 각 계층 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 각 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 블럭 액티버티가 소정의 임계치보다 작다는 것을 나타내는 판정 결과가 얻어질 때 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 블럭 액티버티가 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하는 판정 제어 수단과, 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 설치함에 의해 블럭의 분할 방식을 독립적으로 판정할 수가 있게 된다.Further, in the present invention, in the image encoding apparatus for encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, all the hierarchical data except the highest hierarchical data having the lowest resolution are used. When a block activity of a block is detected, a division decision flag for generating a division of each block based on the block activity is generated, and a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Decision control means for generating a segmentation stop flag for stopping division of the block and generating a segmentation continuation flag for continuing the division of the block when a determination result indicating that the block activity is equal to or greater than a threshold is obtained; Transmitting means for transmitting the determination flag of the file together with the encoded layer data; It becomes possible to independently determine the division type of the block By installation.

본 발명에 있어서는, 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위하여, 화상을 형성하기 위해 서로 상호 관계를 가지는 복수의 화상 형성 신호로 구성되는 입력 화상 신호를 부호화하는 화상 부호화 장치에 있어서, 해상도가 최저인 최상위 계층 데이터를 제외한 각 계층 데이터의 소정 블럭에 대하여 복수의 화상 형성 신호 중 제 1 의 신호에 대응한 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 블럭 또는 블럭에 대응하는 하위 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 블럭 또는 블럭에 대응하는 하위 블럭의 분할을 중지하기 위한 분할 중지 플래그를 발생함과 함께, 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 블럭 또는 블럭에 대응한 하위 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하고, 또한 임계치를 복수의 화상 형성 신호중의 제 2 의 신호에 기초하여 결정하는 판정제어 수단을 설치함에 의해, 제 1 신호 예컨대 휘도 신호에 의해 임계치를 설정함과 함께, 제 2 의 신호 예컨대 색 신호의 분할을 할수 있게 된다.In the present invention, in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, image coding for encoding an input image signal composed of a plurality of image forming signals having mutual relations to form an image. In the apparatus, a block activity corresponding to a first signal of a plurality of image forming signals is detected for a predetermined block of hierarchical data except for the highest hierarchical data having the lowest resolution, and based on the block activity, the block activity is detected. Generate a division decision flag for determining a division scheme of the sub-blocks corresponding to the block, and when the determination result indicating that the block activity is smaller than a predetermined threshold is obtained, the division of the sub-blocks corresponding to the block or blocks is performed. In addition to generating a partition stop flag for stopping, the block activity A determination for generating a segmentation continuation flag for continuing division of a block or a lower block corresponding to the block when a determination result indicating that the threshold value is abnormal is obtained, and determining a threshold value based on a second signal in the plurality of image forming signals; By providing the control means, the threshold value is set by the first signal such as the luminance signal, and the second signal such as the color signal can be divided.

또한, 본 발명에 있어서는, 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서, 발생 정보량을 목표치로 제어하기 위하여, 각 계층 데이터의 전 블럭의 블럭 액티버티에 기초하여 블럭 액티버티의 판정 기준이 되는 임계치를 검출하는 임계치 검출 수단과, 해상도가 최저인 최상위 계층 데이터를 제외한 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티와 임계치의 비교 결과에 기초하여 블럭 또는 블럭에 대응하는 하위 블럭의 분할 방식을 판정함과 함께 분할을 하는 판정 분할 수단과, 판정 분할 수단으로부터 얻어지는 계층 부호화 데이터를 전송하는 전송 수단을 설치함에 의해, 블럭 액티버티가 소정의 임계치 이하로 될 때(즉 화상의 변화가 작아지는 때) 하위 계층의 분할 처리에 의해 발생 정보량을 제어하도록 한다.Further, in the present invention, in the image encoding apparatus for encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, in order to control the amount of generated information to a target value, Threshold detection means for detecting a threshold which is a determination criterion of the block activity based on the block activities of all blocks, and block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution; On the basis of the result of the comparison of the block activity and the threshold value, a partitioning method for partitioning the partition or a lower block corresponding to the block is determined, and partitioning means for partitioning is provided, and transmission means for transmitting hierarchical coded data obtained from the decision partitioning means. So that when the block activity is below a predetermined threshold (i.e., When the change is small), the amount of information generated is controlled by the division process of the lower layer.

또한, 본 발명에 있어서는, 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 장치에 있어서, 화상 데이터의 성질에 대응하는 적응적인 블럭의 분할 방식을 판정하고, 그 판정 결과에 따라 화상 데이터를 분할하는 판정 분할 수단과, 판정 수단으로부터 얻어진 계층 부호화 데이터를, 고정길이 데이터를 전송 후, 가변 길이 데이터를 전송하는 전송 수단을 설치함에 의해 데이터의 전송효율을 개선한다.Further, in the present invention, an image coding apparatus for encoding an input image signal in order to recursively generate a plurality of hierarchical data having a plurality of different resolutions, the adaptive block division method corresponding to the property of the image data is employed. The determination and dividing means for dividing the image data according to the determination result, and the transmission means for transmitting the variable length data after the fixed length data is transmitted to the hierarchical coded data obtained from the determining means. To improve.

이하 도면에 따라 본 발명의 1 실시예를 상술한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[1] 계층 부호화의 원리[1] principle of hierarchical coding

제 3 도는 전체로서, 본 발명에 의한 계층 부호화의 원리로서 예컨대 고품위 텔레비젼 신호등의 정지화상을 계층 부호화 하여 압축하는 경우를 나타낸다. 이 계층 부호화에서는 하위 계층 데이터의 단순한 산술 평균으로 상위 계층 데이터를 만들고, 전송할 하위 계층 데이터를 감소시켜 정보량의 증가를 수반하지 않는 계층 구조를 실현한다. 또, 상위 계층 데이터로부터 하위 계층 데이터의 복호에 대하여는 블럭마다의 액티버티에 기초하여 적응적으로 분할을 제어하는 것에 의해 평탄부분의 정보량을 삭감한다.Fig. 3 shows, as a whole, the case of hierarchically encoding a still picture such as a high-definition television signal as a principle of hierarchical coding according to the present invention. In this hierarchical coding, upper hierarchical data is generated by a simple arithmetic mean of lower hierarchical data, and the lower hierarchical data to be transmitted is reduced to realize a hierarchical structure that does not increase the amount of information. In addition, in the decoding of the lower layer data from the upper layer data, the amount of information in the flat portion is reduced by adaptively controlling the division based on the activity for each block.

여기에서 액티버티로서는, 상위 계층 데이터에 대응하는 하위 계층 데이터 영역을 「블럭」 으로 정의한 경우의 소정 블럭 내의 계층간 차분 데이터 D41∼D44의 최대치, 평균치, 절대치합, 표준편차 또는 n 승합 등으로 표시되는 상관값이다. 즉, 액티버티가 낮은 경우에는 그 블럭은 평탄한 블럭이라 할 수 있다.Here, the activity is represented by the maximum value, average value, absolute value, standard deviation, or n sum of interlayer difference data D41 to D44 in a predetermined block when the lower layer data area corresponding to the upper layer data is defined as "block". Is a correlation value. In other words, when the activity is low, the block is a flat block.

또 하위 계층 데이터를 위하여 행하는 계층간 차분 데이터의 부호화에서는, 그 양자화 특성을 상위 계층 데이터의 액티버티에 기초하여 부가 코드없이 블럭마다 전환하는 것으로 고능율화를 실현한다.Further, in encoding inter-layer difference data performed for lower layer data, high efficiency is achieved by switching the quantization characteristic for each block without additional code based on the activity of the upper layer data.

즉 이 계층 부호화의 계층 구조에서는 먼저 입력되는 고품위 텔레비젼 신호가 최하위 계층 데이터로되어 선택되고, 이 최하위 계층 데이터의 2 라인 x 2 화소의 소블럭중의 4 화소 X1∼X4 에 대하여 다음식That is, in the hierarchical structure of the hierarchical encoding, the high quality television signal inputted first is selected as the lowest hierarchical data, and the following equation is applied to four pixels X1 to X4 in the small blocks of two lines x two pixels of the lowest hierarchical data.

으로 표시되는 산술 평균을 취하여 그 값 m 을 상위 계층 데이터의 값으로 한다. 그 하위 계층 데이터에서는 다음식The arithmetic mean expressed by is taken and the value m is the value of the upper layer data. In the lower layer data,

으로 표시된 바와 같이, 상위 계층 데이터와 계층간 차분 데이터를 3 화소분만 준비하는 것에 의해 원래의 4 화소 데이터와 동일한 정보량으로 계층 구조를 구성한다.As indicated by, the hierarchical structure is constructed with the same amount of information as the original four-pixel data by preparing only three pixels of the upper hierarchical data and the difference data between layers.

한편 하위 계층 데이터의 복호시에는 3 화소 X1∼X3 은 다음식On the other hand, when decoding lower layer data, 3 pixels X 1 to X 3 are represented by the following equation.

으로 표시한 바와 같이 상위 계층 데이터의 평균치 m 에 각각의 계층간 차분 데이터 △Xi 를 가하여 복호치 E[Xi]를 구하고, 남는 1 화소는 다음식As shown in Fig. 2, the inter-layer difference data ΔXi is added to the average value m of the upper layer data to obtain the decoding value E [X i ].

으로 표시한 바와 같이 상위 계층 데이터의 평균치 m 으로부터 하위 계층 데이터의 3 개의 복호치를 뺀 것으로 복호치 E[X4]를 결정한다. 여기에서 E[]는 복호치를 의미한다.As indicated by, the decoding value E [X 4 ] is determined by subtracting three decoding values of the lower layer data from the average value m of the upper layer data. E [] here means a decoding value.

여기에서 그 계층 부호화에 있어서는, 상위 계층으로부터 하위 계층으로는 해상도 및 데이터량이 계층마다 4 배로 되지만, 평탄부에서는 그 분할을 금지함에 의하여 용장도(redundancy)를 삭감하고 있다. 이 분할의 유무를 지시하는 플래그가 1 비트, 블럭 단위로 준비된다. 하위 계층에서의 분할의 필요성 판단은 국소적인 액티버티로서 예컨대 계층간 차분 데이터의 최대치로 판단한다.In this hierarchical encoding, the resolution and the data amount are four times per layer from the upper layer to the lower layer, but the redundancy is reduced by prohibiting the division in the flat part. A flag indicating the presence or absence of this division is prepared in units of 1 bit and block. The determination of the necessity of partitioning at the lower layer is a local activity, for example, determined as the maximum value of the inter-layer difference data.

이 계층 부호화의 예로서 ITE 의 HD 표준 화상(Y 신호)을 사용하여, 5 계층으로 분할하여 부호화한 경우의 적응 분할 결과를 제 4 도에 나타낸다. 도면 중에서는 최대 계층간 차분 데이터에 대한 임계치를 변화시킬 때의 각 계층의 화소수의 본래의 화소수예 대한 비율을 나타내지만, 공간 상관에 기초해 용장도 삭감의 상태를 안다. 삭감 효율은 화상에 의하여 변하는 최대 계층간 차분 데이터에 대한 임계치를 1∼6 으로 변화하면 평균적 삭감율은 28∼69%로 된다.As an example of this hierarchical encoding, the result of the adaptive division in the case where the image is divided into five hierarchies using an HD standard image (Y signal) of ITE is shown in FIG. In the figure, although the ratio of the original pixel number example of the number of pixels of each layer at the time of changing the threshold value with respect to the maximum inter-layer difference data is shown, the redundancy is also reduced based on spatial correlation. In the reduction efficiency, if the threshold for the maximum inter-layer difference data changed by the image is changed from 1 to 6, the average reduction ratio is 28 to 69%.

실제상 상위 계층 데이터의 해상도를 4 배로 하여 하위 계층 데이터를 만들고, 그때 하위 계층 데이터에서는 상위 계층 데이터로부터의 계층간 차이 데이터를 부호화하여 신호 레벨폭을 유효하게 삭감할 수 있다. 제 4 도에 대하여 상술한 계층 부호화에 의한 5 계층의 경우를 제 5 도에 표시하나 여기에서는 계층을 하위로부터 열거하여 제 1∼5 계층으로 하고 있다. 원화상의 8 비트 PCM 데이터에 비하여, 신호 레벨폭이 삭감될 수 있다. 특히 화소수가 많은 제 1∼4 계층은 계층간 차분 데이터이므로 대폭 삭감이 달성되고, 이후의 양자화로 효율이 향상된다. 제 5 도로부터 알 수 있는 것처럼 그 삭감효율은 패턴에 대한 의존성이 적어지고 전체 그림에 대하여 유효하다.In practice, lower layer data is generated by quadrupling the resolution of upper layer data, and at this time, the signal level width can be effectively reduced by encoding inter-layer difference data from the upper layer data. The case of the fifth layer by the hierarchical coding described above with respect to FIG. 4 is shown in FIG. 5, but the hierarchies are listed below to be the first to fifth hierarchies. Compared to 8-bit PCM data of the original picture, the signal level width can be reduced. In particular, since the first to fourth layers having a large number of pixels are difference data between layers, a significant reduction is achieved, and the efficiency is improved by subsequent quantization. As can be seen from FIG. 5, the cutting efficiency is less dependent on the pattern and is effective for the whole picture.

또 하위 계층 데이터의 평균치를 사용하여 상위 계층 데이터를 작성함에 의해 에러 전파를 블럭내에 잔류시킴으로써, 하위 계층 데이터를 상위 계층 데이터의 평균치로부터의 차이로 변환하고, 이로부터 우수한 효율이 얻어지게 될 수 있다. 실제로 계층 부호화에서는 동일 공간적 위치에서의 계층간의 액티버티에서는 상관이 있고, 상위 계층 데이터의 양자화 결과로부터 하위 계층 데이터의 양자화 특성을 결정함으로써 수신측(디코드측)에서 송신측(엔코드측)으로 사용한 양자화 정보를 전송할 필요가 없이 (단, 초기치를 제외) 적응 양자화기를 실행한다.In addition, error propagation remains in the block by creating upper layer data using the average value of lower layer data, thereby converting the lower layer data into a difference from the average value of the upper layer data, and excellent efficiency can be obtained therefrom. . In fact, in hierarchical coding, there is a correlation in activities between layers at the same spatial location, and the quantization used by the receiving side (decode side) as the transmitting side (encoding side) is determined by determining the quantization characteristics of the lower layer data from the quantization result of the higher layer data. Run the adaptive quantizer without the need to send information (except for the initial value).

실제상, 상술한 5 단계 계층 구조에 기초하여 화상을 계층 부호화하여 복수의 해상도로 표현하고, 계층 구조를 이용한 적응 분할 및 적응 양자화를 행하고, 그래서 HD 표준 화상(8 비트의 Y/PB/PR)을 약 1/8 으로 압축할 수 있다. 또 적응 분할을 위해 준비된 블럭 마다의 부가 코드는, 압축 효율의 향상을 위하여 각 계층으로 런-렝스 부호화(run-length coding)가 행해진다. 이에 따라 각 계층으로 충분한 화질의 화상이 얻어지고, 최종적인 최하위 계층도 시각적 열화가 없는 양호한 화상을 얻을 수가 있다In practice, an image is hierarchically coded based on the above-described five-level hierarchical structure to represent a plurality of resolutions, adaptive segmentation and adaptive quantization using the hierarchical structure is performed, and thus an HD standard image (8-bit Y / P B / P R ) can be compressed to about 1/8. In addition, run-length coding is performed on each layer of additional code prepared for adaptive division in each layer to improve compression efficiency. As a result, an image of sufficient image quality is obtained in each layer, and a good image without visual deterioration can also be obtained in the final lowest layer.

[2] 제 1 실시예[2] first embodiment

(1) 제 1 실시예의 화상 부호화 장치(1) The picture coding apparatus of the first embodiment

제 6 도에 있어서, 140 은 전체로서 본 발명에 의한 화상부화 장치를 나타내고, 예컨대 고품위 텔레비젼 신호등의 정지화상으로 되는 입력 화상 데이터 D131을 상술한 계층 부호화 수법에 의해 5 계층으로 분할함과 함께, 그 결과 얻어지는 최하위 계층 데이터와 4 계층분의 계층간 차분 데이터를 부호화 한다. 실제상 화상 부호화 장치 140 에 있어서는 입력 화상 데이터 D131 이 제 1 차분 회로 141 및 제 1 의 평균화 회로 142 에 입력된다.In FIG. 6, 140 denotes the image encoding apparatus according to the present invention as a whole. For example, input image data D131, which is a still image such as a high-definition television signal, is divided into five layers by the above-described hierarchical coding method. The resulting lowest hierarchical data and inter-layer difference data for four layers are encoded. In the picture encoding apparatus 140, the input image data D131 is input to the first difference circuit 141 and the first averaging circuit 142.

제 1 평균화 회로 142 는, 제 7 도에서와 같이, 최하위 계층인 제 1 계층 데이터로 되는 입력 화상 데이터 D131 의 4 화소 X1(1)∼X4(1)로부터, 제 2 계층 데이터 D132 의 화소 X1(2)를 생성한다. 이 제 2 계층 데이터 D132 의 화소 X1(2)에 인접하는 화소 X2(2)∼X4(2)도 마찬가지로 제 1 계층 데이터 D131 의 4 화소 평균에 의해 생성된다. 또 제 2 계층 데이터 D132 는 제 2 의 차분 회로 143 및 제 2 의 평균화 회로 144에 입력된다. 제 2 평균화 회로 144 는 예컨대 제 2 계층 데이터 D132 의 화소 X1(2)∼X4(2)의 4 화소 평균에 의해, 제 3 계층 데이터 D133 의 화소 X1(3)을 생성한다. 이 제 3 계층 데이터 D133 의 화소 X1(3)에 인접하는 화소 X2(3)∼X4(3)도 마찬가지로 제 2 계층 데이터 D132의 4 화소 평균에 의해 생성된다.As shown in FIG. 7, the first averaging circuit 142 uses the pixel X1 of the second hierarchical data D132 from the four pixels X1 (1) to X4 (1) of the input image data D131, which is the first hierarchical data as the lowest hierarchical data. Create 2). The pixels X2 (2) to X4 (2) adjacent to the pixel X1 (2) of the second hierarchical data D132 are similarly generated by the four pixel average of the first hierarchical data D131. The second hierarchical data D132 is input to the second difference circuit 143 and the second averaging circuit 144. The second averaging circuit 144 generates the pixel X1 (3) of the third hierarchical data D133 by, for example, a four-pixel average of the pixels X1 (2) to X4 (2) of the second hierarchical data D132. The pixels X2 (3) to X4 (3) adjacent to the pixel X1 (3) of the third hierarchical data D133 are similarly generated by the four pixel average of the second hierarchical data D132.

또 제 3 계층 데이터 D133 은 제 3 의 차분 회로 145 및 제 3 의 평균화 회로 146 에 입력된다. 제 3 평균화 회로 146 도 상술한 바와 같이 제 3 계층 데이터 133 의 화소 X1(3)∼X4(3)의 4 화소 평균에 의해, 제 4 계층 데이터 D134 의 화소 X1(4)∼X4(4)를 생성한다. 이 제 4 계층 데이터 D134 는 제 4 의 차분 회로 147 및 제 4 의 평균화 화로 148 에 입력한다. 제 4 의 평균화 회로 148 도 마찬가지로 제 4 계층 데이터 D134 의 화소 X1(4)∼X4(4)의 4 화소 평균에 의해 최상위 계층이 되는 제 5 계층 데이터 D135 를 생성한다.The third hierarchical data D133 is input to the third difference circuit 145 and the third averaging circuit 146. As described above, the third averaging circuit 146 also uses the four-pixel average of the pixels X1 (3) to X4 (3) of the third hierarchical data 133 to select the pixels X1 (4) to X4 (4) of the fourth hierarchical data D134. Create The fourth hierarchical data D134 is input to the fourth differential circuit 147 and the fourth averaging path 148. Similarly, the fourth averaging circuit 148 generates the fifth hierarchical data D135, which is the highest hierarchical layer, by the four-pixel average of the pixels X1 (4) to X4 (4) of the fourth hierarchical data D134.

실제상으로 이 제 1∼제 5 계층 데이터 D131∼D135 의 블럭 사이즈는 최하위 계층인 제 1 계층 데이터 D131 의 블럭 사이즈를 1 x 1 로 하면, 제 2 계층 D132 는 1/2 x 1/2, 제 3 계층 데이터 D133 은 1/4 x 1/4, 제 4 계층 데이터 D134 는 1/8 x 1/8, 최상위 계층 데이터인 제 5 계층 데이터 D135 는 1/16 x 1/16 로 된다.In fact, the block size of the first to fifth hierarchical data D131 to D135 is 1 × 1 when the block size of the first hierarchical data D131, which is the lowest hierarchical layer, is 1/2 × 1/2. The third layer data D133 is 1/4 x 1/4, the fourth layer data D134 is 1/8 x 1/8, and the fifth layer data D135, which is the highest layer data, is 1/16 x 1/16.

이와 같이하여 5 개의 계층 데이터 D131∼D135 중 최상위 계층의 제 5 계층 데이터 D135 이외의 제 1∼제 4 계층 데이터는 (2)식에 대하여 상술한 바와 같이 제 1, 제 2, 제 3 및 제 4 의 차분 회로 141, 143, 145, 147 로 서로 차분 연산되고, 이 연산 결과가 계층간 차분 데이터 D140, D141, D142, D143 으로서 생성된다.In this way, the first to fourth hierarchical data other than the fifth hierarchical data D135 of the highest hierarchical data among the five hierarchical data D131 to D135 are the first, second, third and fourth as described above with respect to expression (2). The difference circuits 141, 143, 145, and 147 are differentially calculated from each other, and the result of this calculation is generated as the inter-layer difference data D140, D141, D142, and D143.

실제로, 먼저 제 4 의 차분 회로 147 에 있어서 제 5 계층 데이터 D135 와 제 4 의 계층 데이터 134 가 차분 연산되고, 제 4 계층의 계층간 차분 데이터 D143 이 생성되고 다음에 제 3 의 차분 회로 145 에 있어서 제 4 계층 데이터 D134 와 제 3 계층 데이터 D133 이 차분 연산되어 제 3 계층의 계층간 차분 데이터 D142 가 생성된다. 또한 다음에 제 2 의 차분 회로 143 에 있어서 제 3 계층 데이터 D133 과 제 2 계층 데이터 D132 가 차분 연산되고 제 2 계층의 계층간 차분 데이터 D141 이 생성되고 최후로 제 1 차분 회로 141 에서 제 2 계층 데이터 D132 와 제 1 계층 데이터 D131 이 차분 연산되어 제 1 계층의 계층간 차분 데이터 D140 이 생성된다.In fact, firstly, the fifth layer data D135 and the fourth layer data 134 are differentially calculated in the fourth difference circuit 147, and the inter-layer difference data D143 of the fourth layer is generated, and then in the third difference circuit 145. The fourth layer data D134 and the third layer data D133 are differentially calculated to generate inter-layer difference data D142 of the third layer. Next, the third layer data D133 and the second layer data D132 are differentially calculated in the second difference circuit 143, and the interlayer difference data D141 of the second layer is generated, and finally, the second layer data in the first difference circuit 141. D132 and the first layer data D131 are differentially calculated to generate inter-layer difference data D140 of the first layer.

이와 같이, 이 실시예의 화상 부호화 장치 140 에 있어서는, 제 5 계층 데이터 135, 제 4 계층∼제 1 계층의 계층간 차분 데이터 D143∼D140 을 그 순서로 순차 생성한다. 이때 화상 부호화 장치 140 에 있어서는, (2)식에 대하여 상술한 바와 같이 상위 계층 데이터에 대하여 하위 계층 데이터를 관련시켜 생성하고, 부호기 154∼157 에 의해 상위 계층 1 화소에 대응하는 하위 계층 4 화소 중 1 화소를 감함에 의해 부호화 대상으로서의 화소수를 증가시키도록 하고, 이것에 의해 화상 데이터를 다수 계층으로 분해하여 부호화 하는 경우에도 압축 효율의 저하를 회피할 수 있다.As described above, in the image encoding device 140 of the present embodiment, the fifth hierarchical data 135 and the interlayer difference data D143 to D140 of the fourth to the first hierarchical layers are sequentially generated in that order. At this time, in the image encoding apparatus 140, as described above with respect to Equation (2), lower layer data is generated in association with higher layer data, and among the lower layer 4 pixels corresponding to the upper layer 1 pixel by encoders 154 to 157, respectively. By subtracting one pixel, the number of pixels as an encoding target is increased, thereby degrading the compression efficiency even when image data is decomposed into multiple layers and encoded.

이들의 계층간 차분 데이터 D140∼D143 은 각각 분할 제어 회로 150, 151, 152, 153 에 입력된다. 이 분할 제어 회로 150∼153 은 계층간 차분 데이터 D140∼D143 내의 소정 블럭이 평탄한 부분인가 아닌가를 표시하는 블럭 액티버티의 임계치 Tha 와의 판정을 상위 계층의 계층간 차분 데이터 D143∼D140 로부터 매회 행하고, 이하의 계층간 차분 데이터 D142∼D140 의 전송 여부를 결정한다. 예컨대 제 4 계층의 계층간 차분 데이터 D143 의 블럭내의 액티버티를 A 로 할 때 다음식These interlayer difference data D140 to D143 are input to the division control circuits 150, 151, 152 and 153, respectively. The division control circuits 150 to 153 make a determination every time from the inter-layer difference data D143 to D140 with the threshold value Tha of the block activity indicating whether or not the predetermined block in the inter-layer difference data D140 to D143 is a flat portion. It is determined whether or not to transmit the inter-layer difference data D142 to D140. For example, when the activity in the block of the inter-layer difference data D143 of the fourth layer is A,

을 만족하면, 화상 데이터가 평탄한 부분으로 되고 열화가 발생하기 어려운 블럭인 것으로 판정하여, 전송하지 않는 취지의 판정 플래그 F 를 설정한다. 이에 따라 분할 제어 회로 150∼153 은 각 계층의 계층간 차분 데이터 D140∼D143 의 전 블럭에 대하여 블럭 액티버티의 임계치 Tha 와의 판정을 매회 행하고, 대응하는 블럭을 전송하는가 아닌가를 나타내는 판정 플래그 F 가 제어 코드 발생 회로 159 로 송출된다.When is satisfied, it is determined that the image data is a flat portion and the block is hard to cause deterioration, and a determination flag F for not transmitting is set. Accordingly, the division control circuits 150 to 153 make a determination every time with respect to the threshold value Tha of the block activity for all blocks of the inter-layer difference data D140 to D143 of each layer, and the decision flag F indicating whether or not to transmit the corresponding block is controlled. It is sent to the code generating circuit 159.

이것과 함께 분할 제어 회로 153 은 제 3 계층의 분할 제어 회로 152 에 제어 신호 C3 을 송출한다. 그 결과 제 3 계층의 분할 제어 회로 152 는 계층간 차분 데이터 D142 의 전송을 무조건 중지한다. 제 3, 제 2 계층의 분할 제어 회로 152 는 전송의 무조건 중지를 표시하는 제어 신호 C3, C2 를 받으면 이것을 각각 그대로 하위의 분할 제어 회로 151, 150 으로 제어 신호 C2, C1 으로서 송출한다. 이에 따라 분할 제어 회로 153∼150 의 제어에 의해, 하위의 전체 계층의 계층간 차분 데이터 D142∼D140 의 전송이 무조건으로 중지된다.At the same time, the division control circuit 153 sends a control signal C3 to the division control circuit 152 of the third layer. As a result, the division control circuit 152 of the third layer unconditionally stops the transmission of the difference data D142 between layers. When the division control circuit 152 of the 3rd and 2nd layer receives control signals C3 and C2 which indicate unconditional interruption of transmission, it transmits it as control signals C2 and C1 to the lower division control circuits 151 and 150 as it is, respectively. As a result, transmission of the inter-layer difference data D142 to D140 of all lower hierarchies is unconditionally stopped by the control of the division control circuits 153 to 150.

이와 같이하여 분할 제어 회로 150∼153 에서 송출되는 각 계층의 계층간 차분 데이터 D140∼D143 은 부호기 154∼157로 송출된다. 또 최상위 계층의 제 5 계층 데이터 D135 는 그대로 부호기 158 로 송출된다. 부호기 154∼157 은 차분 데이터의 부호화에 적합한 비선형 부호화 수법에 의해 계층간 차분 데이터 D140∼D143 을 압축 부호화하고, 이에 따라 제 1∼제 4 계층 압축 부호화 데이터 D145∼D148 이 생성된다. 또 부호기 158 은 평균치 데아터로 된 화상 데이터의 부호화에 적합한 선형 부호화 수법에 의해 제 5 계층 데이터 D135 를 압축 부호화하고, 이에 따라 제 5 계층 압축 부호화 데이터 D149 가 생성된다.In this way, the inter-layer difference data D140 to D143 of each layer sent from the division control circuits 150 to 153 is sent to the encoders 154 to 157. The fifth layer data D135 of the uppermost layer is transmitted to the encoder 158 as it is. The encoders 154 to 157 compression-code the inter-layer difference data D140 to D143 by a nonlinear encoding method suitable for encoding the differential data, thereby generating the first to fourth hierarchical compressed coded data D145 to D148. The encoder 158 compresses and codes the fifth hierarchical data D135 by a linear encoding method suitable for encoding the image data of the average data, thereby generating the fifth hierarchical compressed coded data D149.

또 각 분할 제어 회로 150∼153 에서 송출되는 판정 플래그 F 는 제어 코드 발생 회로 159 에 입력된다. 이에 따라 제어 코드 발생 회로 159 는 각 계층 및 각 블럭 마다의 판정 플래그 F 로 구성되는 제어 코드 D150 을 발생한다. 제어 코드 D150 및 제 1∼제 5 계층 압축 부호화 데이터 D145∼D149 는 런-렝스 부호화 등으로 부호화된 후, 소정의 전송 데이터 형성부(도시 없음)에 의해 프레임화되고 전송로에 송출된다.The determination flag F sent out from each of the division control circuits 150 to 153 is input to the control code generation circuit 159. Accordingly, the control code generation circuit 159 generates a control code D150 composed of decision flags F for each layer and each block. The control code D150 and the first to fifth hierarchical compressed coded data D145 to D149 are encoded by run-length coding or the like, and then framed by a predetermined transmission data forming unit (not shown) and sent to the transmission path.

이에 따라 전송되는 제 1∼제 5 계층 압축 부호화 데이터 D145∼D149 및 제어 코드 D150 은 제 8 도에 표시한 화상 복호화 장치 160 에서 복호화된다. 즉 제 1∼제 5 계층 압축 부호화 데이터 D145∼D149 는 각각 부호기 154∼158 의 부호화와 역의 복호화 수법을 가진 복호기 161∼165 에 입력된다. 그 결과 복호기 161∼164 에서 각각 복호된 제 1∼제 4 계층의 계층간 차분 데이터 D151∼ D154 가 각각 제 1∼제 4 계층의 분할 제어 회로 170∼173 을 통하여 제 1∼제 4 의 가산기 175∼178 로 입력된다.As a result, the first to fifth hierarchical compressed coded data D145 to D149 and the control code D150 are decoded by the picture decoding apparatus 160 shown in FIG. In other words, the first to fifth hierarchical compressed coded data D145 to D149 are input to the decoders 161 to 165 having encoding and inverse decoding methods of the encoders 154 to 158, respectively. As a result, the inter-layer difference data D151 to D154 of the first to fourth layers respectively decoded by the decoders 161 to 164 are passed through the first to fourth adders 175 to 1 through the division control circuits 170 to 173 of the first to fourth layers, respectively. It is entered as 178.

또 제 5 계층 압축 부호화 데이터 D149 는 복호기 165 에서 복호되고 그 결과 얻어지는 제 5 계층 데이터 D155 가 그대로 출력됨과 함께 제 4 의 가산 회로 178 에 입력된다. 제 4 의 가산 회로 178 은 제 5 계층 데이터 D155 와 제 4 계층의 계층간 차분 데이터 D154 를 가산하여 제 4 계층 데이터 D159 를 복원하고 이것을 출력함과 함께 제 3 의 가산 회로 177 로 송출한다.The fifth hierarchical compressed coded data D149 is decoded by the decoder 165, and the fifth hierarchical data D155 obtained as a result is output as it is, and is input to the fourth adder circuit 178. The fourth adding circuit 178 adds the fifth layer data D155 and the interlayer difference data D154 of the fourth layer to restore the fourth layer data D159, outputs it, and sends it to the third adding circuit 177.

마찬가지로 하여 제 3 의 가산 회로 177 은 복원된 제 4 계층 데이터 D159 와 제 3 계층의 계층간 차분 데이터 D153 을 가산하여 제 3 계층 데이터 D158 을 복원하고, 이를 출력함과 함께 제 2 의 가산 회로 176 에 송출한다. 이하 마찬가지로 하여 제 2, 제 1 의 가산 회로 176, 175 로 부터, 제 2 계층 데이터 D157, 제 1 계층 데이터 D156 이 복원되고, 이에 의해 제 1∼제 4, 제 5 계층 데이터 D156∼D159, D155 가 출력된다.Similarly, the third adding circuit 177 adds the restored fourth layer data D159 and the third layer difference data D153 to restore the third layer data D158, and outputs the same to the second adding circuit 176. Send it out. Similarly, the second layer data D157 and the first layer data D156 are restored from the second and first addition circuits 176 and 175, whereby the first to fourth and fifth layer data D156 to D159, D155 are added. Is output.

제어 코드 D150 은 제어 코드 해석 회로 166 에 입력된다. 제어 코드 해석 회로 166 은 입력되는 제어 코드 D150 에 기초하여 계층간 차분 데이터의 전송 중지가 발생하는가 아닌가를 해석하고, 그 해석 결과를 전송 중지 플래그 F 로서 분할 제어 회로 170∼173 으로 송출한다. 분할 제어 회로 170∼173 은 입력되는 전송 중지 플래그 F 에 기초하여 계층간 차분 데이터의 전송 중지가 발생한 것을 검출하면, 계층간 차분 데이터에 대신하여 예컨대 더미 데이터로서 값 「0」의 계층간 차분 데이터를 발생하고 이것을 가산 회로 175∼178 로 송출한다.The control code D150 is input to the control code analysis circuit 166. The control code analysis circuit 166 analyzes whether or not transmission stop of inter-layer difference data occurs on the basis of the input control code D150, and sends the analysis result to the division control circuits 170 to 173 as the transmission stop flag F. When the division control circuits 170 to 173 detect that the transmission stop of inter-layer difference data has occurred on the basis of the input transmission stop flag F, the division control circuits 170 to 173 substitute the inter-layer difference data of the value "0" as dummy data instead of the inter-layer difference data. Is generated and sent to the adders 175 to 178.

이에 따라, 화상 부호화 장치 140 에서 계층간 차분 데이터의 블럭 액티버티에 따라, 불필요한 블럭의 계층간 차분 데이터를 전송하지 않고, 전송 중지를 표시하는 제어 데이터만 전송하도록 함으로써 화상 복호화 장치 160 에서 제어 데이터에 기초하여 계층 데이터를 확실하게 복원할 수 있다.Accordingly, according to the block activity of the inter-layer difference data, the image encoding device 140 transmits only control data indicating the stop of transmission, without transmitting the inter-layer difference data of unnecessary blocks, thereby transmitting the control data to the control data. Based on this, hierarchical data can be reliably restored.

이상의 구성에 의하면, 최상위계층을 제외한 각 계층의 계층간 차분 데이터의 소정 블럭에 대하여 블럭 액티버티를 판정하고, 블럭 액티버티가 소정 임계치 미만일 때, 인접 하위 계층의 계층간 차분 데이터에서 블럭에 대응하는 복수의 하위 블럭의 판정 플래그로서 분할 중지 플래그를 설정함과 함께, 복수의 하위 블럭의 블럭 액티버티의 판정 및 복수의 하위 블럭의 전송을 중지하고, 블럭 마다의 판정 플래그를 부호화 코드와 함께 전송하도록 하는 것에 의해 계층간 차분 데이터의 블럭 액티버티에 따라 불필요한 블럭의 부호화 데이터를 전송하지 않도록 하여, 부호량을 감소시켜 부호화 데이터의 압축 효율을 향상시키는 화상 부호화 방법 및 화상 부호화 장치를 실현한다.According to the above configuration, the block activity is determined for a predetermined block of inter-layer difference data of each layer except for the highest layer, and when the block activity is less than a predetermined threshold, the block activity corresponds to a block in the inter-layer difference data of an adjacent lower layer. A division stop flag is set as a decision flag of a plurality of lower blocks, the determination of the block activity of the plurality of lower blocks and the transmission of the plurality of lower blocks is stopped, and a decision flag for each block is transmitted together with the encoding code. In this way, an image encoding method and an image encoding apparatus are realized in which coded data of an unnecessary block is not transmitted in accordance with the block activity of inter-layer difference data, thereby reducing the code amount and improving the compression efficiency of the encoded data.

(2) 제 1 실시예에 대한 다른 실시예(2) Another embodiment of the first embodiment

(2-1) 상기 실시예에 있어서는, 계층간 차분 데이터의 블럭으로 블럭 액티버티를 판정하고, 블럭 액티버티가 소정의 임계치 미만인 때, 하위의 계층에 분할 중지를 지시하는 제어 신호 C1, C2, C3 을 송출함과 함께, 하위의 계층간 차분 데이터에서 블럭에 대응하는 복수의 하위 블럭의 판정 플래그로서 분할 중지 플래그를 설정하여 전송을 중지하는 경우에 대하여 설명하였으나, 본 발명은 이것에 한하지 않고 제 9 도에서와 같이 블럭 액티버티가 소정의 임계치 미만인 때, 하위의 계층에 분할 중지를 지시하는 제어 신호 C1, C2, C3 을 송출함과 함께, 하위의 계층간 차분 데이터에서 블럭에 대응하는 복수의 하위 블럭의 판정 플래그로서 일단 분할 중지 플래그를 설정하고, 이 복수의 하위 블럭의 어느 블럭의 블럭 액티버티가 소정의 임계치 이상일 때, 상위 계층의 분할 제어 회로 151, 152 또는 153 에 분할을 다시 한 제어 신호 C4, C5, C6 를 송출함과 함께, 분할 중지 플래그를 분할 계속 플래그로 변경하고, 블럭 마다의 판정 플래그를 부호화 코드로 함과 함께 전송하여도 좋다.(2-1) In the above embodiment, the control signal C1, C2, which instructs the lower layer to stop dividing when the block activity is determined by the block of inter-layer difference data, and the block activity is less than a predetermined threshold. Although the case where C3 is sent and a division stop flag is set as a determination flag of a plurality of lower blocks corresponding to a block in lower inter-layer difference data has been described, the present invention has been described. However, the present invention is not limited to this. As shown in FIG. 9, when the block activity is lower than a predetermined threshold, the control signals C1, C2, and C3 instructing to stop dividing are sent to the lower layers, and a plurality of blocks corresponding to the blocks in the differential data between the lower layers are transmitted. Once the division stop flag is set as the determination flag of the lower block of and the block activity of any block of the plurality of lower blocks is higher than or equal to a predetermined threshold, The control signals C4, C5, and C6 which have been divided into the division control circuits 151, 152 or 153 of the layer are sent out, the division stop flag is changed into a division continuation flag, and the decision flag for each block is used as an encoding code. It may be sent together.

때문에 이것을 실현하기 위해서는 제 6 도에 대하여 상술한 화상 부호화 장치에 있어서 분할 제어 회로에 전체 층간 차분 데이터에 대하여 블럭 액티버티의 판정을 행하고 상위의 분할 제어 회로로부터 전송 중지의 제어 데이터가 입력되는 경우에도, 블럭 액티버티가 임계치 이상인 것을 검출한 경우에는 하위의 분할 제어 회로로부터 상위의 분할 제어 회로에 대하여 전송 중지를 전송 계속으로 변경하는 지시를 송출하도록 하면 좋다.Therefore, in order to realize this, even in the case where the block activity is determined for all interlayer difference data to the division control circuit in the image encoding apparatus described above with reference to FIG. When it is detected that the block activity is equal to or greater than the threshold, the lower division control circuit may send an instruction to change the transmission stop to the transmission continuation from the upper division control circuit.

(2-2) 상기 실시예에 있어서는, 화상 데이터를 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터로 분할하고, 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접상위 계층 데이터의 차분치로 되는 복수 계층분의 계층간 차분 데이터를 부호화 한 경우에 대하여 설명하였으나, 본 발명은 이것에 한하지 않고, 화상 데이터를 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터로 분할하여 부호화하는 경우에도 적용할 수 있다. 이 경우, 블럭 액티버티의 판정도 계층간 차분 데이터에 대신하여 계층 데이터의 블럭에 대하여 행하면 상기 실시예와 마찬가지의 효과를 실현할 수 있다.(2-2) In the above embodiment, image data is sequentially recursively divided into a plurality of hierarchical data having a plurality of different resolutions, and each hierarchical data except the highest hierarchical data having the lowest resolution and the highest hierarchical data, and Although the case where the inter-layer difference data for a plurality of layers, which are the difference values of adjacent upper hierarchical data, has been described, the present invention is not limited to this, but the present invention is not limited to this. The same applies to the case of encoding by dividing into data. In this case, the determination of the block activity is also performed on the blocks of the hierarchical data instead of the inter-layer difference data, and the same effect as in the above embodiment can be realized.

(2-3) 또한, 상술한 실시예에 있어서는, 블럭 액티버티로서 블럭내의 최대치와 임계치와의 판정을 행하는 경우에 대해 설명하고 있으나, 본 발명은 이에 한하지 않고, 블럭 액티버티로서 블럭내의 평균치, 절대치합, 표준편차, n 승합 등으로 임계치와의 판정을 행해도 좋고, 또 블럭내에서 소정의 임계치를 넘는 데이터의 도수(data frequency)를 사용하도록 하여도 상기 실시예와 비슷한 효과를 실현할 수 있다.(2-3) In the above-described embodiment, the case where the determination of the maximum value in the block and the threshold value is made as the block activity is described. However, the present invention is not limited to this, but the average value in the block as the block activity is described. , The absolute value, the standard deviation, the n sum, etc., may be used to determine the threshold value, and similar effects to those of the above embodiment can be realized by using a data frequency of data exceeding a predetermined threshold value within the block. have.

(2-4) 또한, 상기 실시예에 있어서는, 복수 계층 데이터로 분할할 때, 화상 데이터 또는 인접 하위 계층 데이터의 소정 블럭마다의 산술 평균에 의하여 순차 인접 상위 계층 데이터를 재귀적으로 형성하도록 한 경우에 대해 설명하였으나, 본 발명은 이에 한하지 않으며, 소정의 가중으로 평균을 취하도록 가중 평균에 의하여 인접 상위 계층 데이터를 재귀적으로 형성하도록 하여도 좋고, 또한 간인(decimating) 등 기타의 수법에 의해 상위 계층 데이터를 재귀적으로 형성하도록 한 경우에도 적용할 수 있다.(2-4) Further, in the above embodiment, when dividing into plural layer data, the adjacent higher layer data is formed recursively by an arithmetic mean of each block of the image data or the adjacent lower layer data. Although the present invention is not limited thereto, the present invention may be recursively formed of adjacent upper layer data by a weighted average so as to take an average with a predetermined weight, and also by other techniques such as decaying. The same applies to the case where the higher layer data is formed recursively.

(2-5) 또한, 상기 실시예에 있어서는, 블럭내의 블럭 액티버티를 판정하여 하위 계층의 데이터의 전송을 중지하도록 한 경우에 대해 설명하였으나, 전송을 중지하는가 아닌가는 블럭 액티버티에 한하지 않고, 다른 화상 데이터의 성질을 사용하여도 좋고, 이와 같이 화상 데이터의 성질에 대응하여 적응적인 블럭의 분할을 실행하면 부호화 효율을 개선할 수 있다.(2-5) In the above embodiment, the case where the block activity in the block is determined to stop the data transmission of the lower layer has been described. However, whether to stop the transmission is not limited to the block activity. Alternatively, other properties of the image data may be used, and the coding efficiency can be improved by performing adaptive block division in accordance with the properties of the image data.

(3) 상기와 같이 본 발명에 의하면, 화상 데이터를 재귀적인 계층 표현을 사용하여 표시하여 계층 부호화 할 때, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할을 실행하여 부호화 함과 함께, 그 분할 결과로 얻어지는 계층 부호화 데이터를 전송하도록 하여, 적응적으로 하층 블럭의 분할을 행함으로써 화상의 평탄한 부분 등의 정보량을 삭감할 수 있는 화상 부호화 방법 및 화상 부호화 장치를 실현할 수 있다.(3) As described above, according to the present invention, when displaying and hierarchically encoding image data using a recursive hierarchical representation, the adaptive block corresponding to the property of the image data is divided and encoded, and the division is performed. The resulting image encoding method and image encoding apparatus capable of transmitting the resulting hierarchical encoded data and adaptively dividing the lower layer block can reduce the amount of information such as flat portions of the image.

해상도가 최저인 최상위 계층 데이터를 제외한 계층 데이터의 소정 블럭에 대해 블럭 액티버티를 판정하고, 블럭 액티버티가 소정의 임계치 미만일 때, 인접 하위 계층 데이터에 블럭에 대응하는 복수의 하위 블럭의 판정 플래그로서 분할 중지 플래그를 설정함과 함께, 복수의 하위 블럭의 블럭 액티버티의 판정 및 복수의 하위 블럭의 전송을 중지하고, 블럭 마다의 판정 플래그를 부호화 코드함과 함께 전송하도록 함으로써, 계층 데이터의 블럭 액티버티에 따라 불필요한 블럭의 부호화 데이터를 전송하지 않도록 하여 부호량을 감소시켜 부호화 데이터의 압축 효율을 향상하는 화상 부호화 방법 및 화상 부호화 장치를 실현할 수 있다.The block activity is determined for a predetermined block of the layer data except the highest layer data having the lowest resolution, and when the block activity is less than a predetermined threshold, it is determined as a determination flag of a plurality of lower blocks corresponding to the block in the adjacent lower layer data. By setting the segmentation abort flag, stopping the determination of the block activity of the plurality of lower blocks and the transmission of the plurality of lower blocks, and transmitting the decision flag for each block together with encoding and coding the block activity of the hierarchical data. It is possible to realize an image encoding method and an image encoding apparatus which improve the compression efficiency of encoded data by reducing the amount of code by not transmitting the encoded data of unnecessary blocks in accordance with the vertices.

또한, 최상위 계층을 제외한 각 계층의 계층간 차분 데이터의 소정 블럭에 대하여 블럭 액티버티를 판정하고, 블럭 액티버티가 소정 임계치 미만일 때, 인접 하위 계층의 계층간 차분 데이터에 블럭에 대응하는 복수의 하위 블럭의 판정 플래그로서 분할 중지 플래그를 설정함과 함께, 복수의 하위 블럭의 블럭 액티버티의 판정 및 복수의 하위 블럭의 전송을 중지하고, 블럭 마다의 판정 플래그를 부호화 코드와 함께 전송하도록 함으로써, 계층간 차분 데이터의 블럭 액티버티에 따라 불필요한 블럭의 부호화 데이터를 전송하지 않도록 하여 부호량을 감소시켜 부호화 데이터의 압축 효율을 향상하는 화상 부호화 방법 및 화상 부호화 장치를 실현할 수 있다.Also, a block activity is determined for a predetermined block of inter-layer difference data of each layer except for the highest layer, and when the block activity is less than a predetermined threshold, a plurality of lower layers corresponding to the block in the inter-layer difference data of an adjacent lower layer. By setting a segmentation stop flag as a decision flag of the block, stopping the determination of the block activity of the plurality of lower blocks and the transmission of the plurality of lower blocks, and transmitting the decision flag for each block together with the encoding code, According to the block activity of the inter-difference data, an image encoding method and an image encoding apparatus can be realized in which the code amount is reduced so as not to transmit the encoded data of an unnecessary block, thereby improving the compression efficiency of the encoded data.

또 해상도가 최저인 최상위 계층 데이터를 제외한 계층 데이터 중의 소정 블럭에 대하여 블럭 액티버티를 판정하고, 블럭 액티버티가 소정의 임계치 미만 일때, 인접하위 계층 데이터에 블럭에 대응하는 복수의 하위 블럭의 판정 플래그로서 일단 분할 중지 플래그를 설정하고, 복수의 하위 블럭의 어느 블럭의 블럭 액티버티가 소정의 임계치 이상일 때, 분할중지 플래그를 분할 계속 플래그로 변경하고, 블럭 마다의 판정 플래그를 부호화 코드와 함께 전송하도록 함으로써, 계층 데이터의 블럭 액티버티에 따라 화질의 열화를 미연에 방지하여 블럭의 필요성을 판단하고 불필요한 부호화 데이터를 전송하지 않도록 하여 부호량을 감소시켜 부호화 데이터의 압축 효율을 향상하는 화상 부호화 방법 및 화상 부호화 장치를 실현할 수 있다.Also, a block activity is determined for a predetermined block in the hierarchical data except the highest hierarchical data having the lowest resolution, and when the block activity is less than a predetermined threshold, a decision flag of a plurality of lower blocks corresponding to the block in adjacent lower hierarchical data. To set a segmentation stop flag once, to change the segmentation stop flag to a segmentation continuation flag when the block activity of a block of a plurality of sub-blocks is equal to or greater than a predetermined threshold, and to transmit a decision flag for each block with an encoding code. The image encoding method and the image, thereby improving the compression efficiency of the encoded data by reducing the amount of code by preventing the deterioration of the image quality according to the block activity of the hierarchical data, thereby determining the necessity of the block and not transmitting unnecessary encoded data. The encoding device can be realized.

또, 최상위 계층들을 제외한 각 계층의 계층간 차분 데이터의 소정 블럭에 대하여 블럭 액티버티를 판정하고, 블럭 액티버티가 소정의 임계치 미만일 때 인접 하위 계층 데이터에 블럭에 대응하는 복수의 하위 블럭의 판정 플래그로서 일단 분할 중지 플래그를 설정하고, 복수의 하위 블럭의 어느 블럭의 블럭 액티버티가 소정의 임계치 이상일 때, 분할 중지 플래그를 분할 계속 플래그로 변경하고, 블럭마다의 판정 플래그를 부호화 코드와 함께 전송하도록 함으로써 계층간 차분 데이터의 블럭 엑티버티에 따라 화질의 열화를 미연에 방지하여 블럭의 필요성을 판단하여 불필요한 부호화 데이터를 전송하지 않도록 하고 부호량을 감소시켜 부호화 데이터의 압축 효율을 향상시킬 수 있는 화상 부호화 방법 및 화상 부호화 장치를 실현할 수 있다.Further, the block activity is determined for a predetermined block of inter-layer difference data of each layer except for the highest layers, and when the block activity is less than a predetermined threshold, a decision flag of a plurality of lower blocks corresponding to the block in the adjacent lower layer data. To set a segmentation abort flag once, to change the segmentation abort flag to a segmentation dividing flag when the block activity of a block of a plurality of sub-blocks is equal to or greater than a predetermined threshold, and transmit a decision flag for each block together with an encoding code. By preventing the deterioration of image quality according to the block activity of the inter-layer difference data, it is possible to determine the necessity of the block so as not to transmit unnecessary encoded data and to reduce the amount of code to improve the compression efficiency of the encoded data. The method and the picture coding apparatus can be realized.

[3] 제 2 실시예[3] second embodiment

(1) 제 2 의 실시예의 화상 부호화 장치(1) The picture coding apparatus of the second embodiment

제 6 도와의 대응 부분에 동일한 부호를 제공하여 표시하는 제 10 도는 제 2 실시예를 나타낸 것으로, 이 경우 화상 부호화 장치 190 의 분할 제어 회로 150∼153 은 계층간 차분 데이터 D140∼D143 내의 소정 블럭이 평탄한 부분인가 아닌가를 표시하는 블럭 액티버티의 임계치 Tha 와의 판정을 각 계층의 계층간 차분 데이터 D140∼D143 의 각 블럭에 대하여 매치 행하고, 그 계층간 차분 데이터 D140∼D143 의 대응 블럭을 전송할지의 여부의 처리를 결정한다.10 shows a second embodiment in which the same reference numerals are used to display corresponding parts of the sixth diagram. In this case, the division control circuits 150 to 153 of the image encoding apparatus 190 have a predetermined block in the interlayer difference data D140 to D143. Whether or not to determine a threshold value Tha of a block activity indicating whether or not a flat portion is matched for each block of the interlayer difference data D140 to D143 of each layer, and whether to transmit the corresponding block of the interlayer difference data D140 to D143. Determine the processing of

예컨대, 제 4 계층의 계층간 차분 데이터 D143 의 블럭내의 액티버티를 A 라고 할 때, 다음식For example, when the activity in the block of the inter-layer difference data D143 of the fourth layer is A,

을 만족하면, 화상 데이터가 평탄한 부분으로 열화가 발생하기 어려운 블럭인 것으로 판정하여, 그 블럭을 전송하지 않는 취지의 판정 플래그 F 를 설정한다. 이에 따라 분할 제어 회로 150∼153 은 각 계층의 계층간 차분 데이터 D140∼D143 의 전블럭에 대하여 블럭 액티버티의 임계치 Tha 와의 판정을 매회 행하고, 대응하는 블럭을 전송할지의 여부의 판정 플래그 F 가 제어 코드 발생 회로 159 에 송출된다.If is satisfied, it is determined that the image data is a block in which deterioration is hard to occur in a flat portion, and a determination flag F for not transmitting the block is set. Accordingly, the division control circuits 150 to 153 make a determination every time with respect to the threshold value Tha of the block activity for all the blocks of the inter-layer difference data D140 to D143 of each layer, and the determination flag F of whether to transmit the corresponding block is controlled. It is sent to the code generating circuit 159.

또 이에 따라, 분할 제어 회로 150∼153 에서 송출된 각 계층의 계층간 차분 데이터 D140∼D143 은 부호기 154, 155,156, 157 에 송출되고, 최상위 계층의 제 5 계층 데이터 D135 는 그대로 부호기 158 에 송출된다. 부호기 154, 155,156, 157 는 차분 데이터의 부호화에 적합한 비선형 부호화의 수법에 의해 계층간 차분 데이터 D140∼D143 을 압축 부호화하고, 이로부터 제 1∼제 4 계층 압축 부호화 데이터D145∼D148 이 생성된다. 또 부호기 158 은 평균치 데이터인 화상 데이터의 부호화에 적합한 선형 부호화 수법에 의해 제 5 계층 데이터 D135 를 압축 부호화하고, 이로부터 제 5 계층 압축 부호화 데이터 D149 가 생성된다. 이 제 1∼제 5 계층 압축 부호화 데이터 D145∼D149 및 제어 코드는 소정의 전송 데이터 형성부(도시 않음)에 의해 프레임화되어 전송로로 송출된다.In this way, the inter-layer difference data D140 to D143 of each layer sent from the division control circuits 150 to 153 are sent to the encoders 154, 155, 156, and 157, and the fifth layer data D135 of the uppermost layer is sent to the encoder 158 as it is. The encoders 154, 155, 156, and 157 compression-code the inter-layer difference data D140 to D143 by a nonlinear encoding method suitable for encoding the differential data, and thereby generate the first to fourth hierarchical compressed coded data D145 to D148. The encoder 158 compresses and codes the fifth hierarchical data D135 by a linear encoding method suitable for encoding the image data as the average data, and the fifth hierarchical compressed coded data D149 is generated therefrom. The first to fifth hierarchical compressed coded data D145 to D149 and the control code are framed by a predetermined transmission data forming unit (not shown) and sent to the transmission path.

이에 따라, 화상 부호화 장치 190 에서 계층간 차분 데이터의 블럭 액티버티를 판정하고, 불필요한 블럭을 전송하지 않고 전송 중지를 표시하는 제어 데이터만을 전송하도록 함으로써, 화상 부호화 장치 160(제 8 도)에서 제어 데이터에 기초하여 계층 데이터를 확실히 복원시킬 수 있다.Accordingly, the image encoding apparatus 190 determines the block activity of the inter-layer difference data, and transmits only the control data indicating the transmission stop without transmitting unnecessary blocks, thereby controlling the control data in the image encoding apparatus 160 (FIG. 8). The hierarchical data can be reliably restored on the basis of.

이상의 구성에 의하면, 최상위 계층을 제외한 각 계층의 계층간 차분 데이터의 전 블럭에 대하여, 매회 블럭 액티버티를 판정하고, 그 판정 결과에 따라 블럭내의 계층간 차분 데이터의 처리를 선택하도록 함으로써 블럭내의 발생 정보량을 개별적으로 제어하여 삭감할 수 있고, 이에 따라 화상 데이터를 계층 부호화할 때의 압축 효율을 향상시킬 수 있다.According to the above configuration, the block activity is determined every time for all blocks of the inter-layer difference data of each layer except the top layer, and the processing of the inter-layer difference data in the block is selected according to the determination result. The amount of information can be controlled individually and reduced, thereby improving the compression efficiency when hierarchically encoding image data.

(2) 제 2 실시예에 대한 다른 실시예(2) Another embodiment of the second embodiment

(2-1) 상기 실시예에 있어서는, 화상 데이터를 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터로 분할하고, 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치인 복수 계층분의 계층간 차분 데이터를 부호화하는 경우에 대하여 설명하나, 본 발명은 이에 한하지 않고 화상 데이터를 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터로 분할하여 부호화하는 경우에도 적용할 수 있다. 이 경우, 블럭 액티버티의 판정도 계층간 차분 데이터에 대신해 계층 데이터의 블럭에 대해 행하면 위의 실시예와 마찬가지 효과를 실현할 수 있다.(2-1) In the above embodiment, image data is sequentially recursively divided into a plurality of hierarchical data having a plurality of different resolutions, and each hierarchical data except the highest hierarchical data having the lowest resolution and the highest hierarchical data, and A case of encoding inter-layer difference data for a plurality of layers, which is a difference value of adjacent upper layer data, will be described. However, the present invention is not limited thereto, and the present invention is not limited thereto, and the image data is sequentially recursively divided into a plurality of layer data having a plurality of different resolutions. This can also be applied to the case of encoding by encoding. In this case, the determination of the block activity is also performed on the blocks of the hierarchical data instead of the inter-layer difference data, and the same effect as in the above embodiment can be realized.

(2-2) 상기 실시예에 있어서는, 블럭 액티버티로서 블럭 내의 최대치와 임계치와의 판정을 행하는 경우에 대하여 설명하고 있으나, 본 발명은 이것에 한하지 않고, 블럭 액티버티로서 블럭내의 평균치, 절대치합, 표준편차, n 승합 등과 임계치와의 판정을 행하여도 좋고, 또 블럭내에서 소정의 임계치를 넘은 데이터의 도수를 사용하도록 해도 상기 실시예와 동일 효과를 실현할 수 있다.(2-2) In the above embodiment, the case where determination is made between the maximum value and the threshold value in the block as the block activity is described. However, the present invention is not limited to this, but the average value and the absolute value in the block as the block activity are described. The sum, standard deviation, n multiplication, and the like may be determined for the threshold, and the same effect as in the above embodiment can be realized by using the frequency of the data exceeding the predetermined threshold in the block.

(2-3) 상기 실시예에서는, 복수의 계층 데이터로 분할할 때, 화상 데이터 또는 인접 하위 계층 데이타의 소정 블럭 마다의 산술 평균으로부터 순차 인접 상위 계층 데이터를 재귀적으로 형성하도록 한 경우에 대하여 설명하고 있으나, 본 발명은 이에 한하지 않고 소정의 가중으로 평균을 취하는 가중 평균에 의해 인접 상위 계층 데이터를 재귀적으로 형성하여도 좋고, 또 간인 등 기타의 수법으로 상위 계층 데이터를 재귀적으로 형성하는 경우에도 적용할 수 있다.(2-3) In the above embodiment, when dividing into a plurality of hierarchical data, the case where the adjacent high hierarchical data is formed recursively from an arithmetic mean for each predetermined block of image data or adjacent low hierarchical data will be described. However, the present invention is not limited to this, and the upper layer data may be formed recursively by a weighted average taking an average with a predetermined weight, and the upper layer data may be recursively formed by other methods such as a human. It can also be applied.

(3) 상기와 같은 본 발명에 의하면 해상도가 최저인 최상위 계층 데이터를 제외한 계층 데이터의 전 블럭에 대하여 매회 블럭 액티버티를 판정하고, 그 판정 결과에 따라 블럭내의 계층 데이터의 처리를 선택하도록 함으로써 블럭내의 발생 정보량을 개별적으로 제어하여 삭감할 수 있고, 그에 따라 화상 데이터를 계층 부호화할 때의 압축 효율을 향상할 수 있는 화상 부호화 방법 및 장치를 실현할 수 있다.(3) According to the present invention as described above, the block activity is determined every time for all blocks of the hierarchical data except the highest hierarchical data having the lowest resolution, and the processing of the hierarchical data in the block is selected according to the determination result. It is possible to realize an image encoding method and apparatus which can individually control the amount of generated information in the interior and reduce it, thereby improving the compression efficiency when hierarchically encoding image data.

또 최상위 계층을 제외한 각 계층의 계층간 차분 데이터의 전 블럭에 대하여, 매회 블럭 액티버티를 판정하고, 그 판정 결과에 따라 블럭내의 계층간 차분 데이터의 처리를 선택함으로써 블럭내의 발생 정보량을 개별적으로 제어하여 삭감할 수 있고, 그에 따라 화상 데이터를 계층 부호화할 때의 압축 효율을 향상할 수 있는 화상 부호화 방법 및 장치를 실현할 수 있다.In addition, the block activity is determined every time for all blocks of the inter-layer difference data of each layer except for the highest layer, and the processing of the generated information in the block is individually controlled by selecting processing of the inter-layer difference data in the block according to the determination result. It is possible to realize an image encoding method and apparatus that can be reduced in size, thereby improving the compression efficiency when hierarchically encoding image data.

[4] 제 3 실시예[4] third embodiment

(1) 제 3 실시예의 화상 부호화 장치(1) The picture coding apparatus of the third embodiment

제 11 도는 제 3 실시예의 화상 부호화 장치 40 을 표시하고, 입력 화상 데이터 D31을 계층 부호화하여 출력하는 계층 부호화 엔코더부 40A 와 계층 부호화 엔코더부 40A 에서의 발생 정보량이 목표치를 달성하도록 제어하는 발생 정보량 제어부 40B 로 구성되어 있다.11 is a generation information amount control unit which displays the image encoding device 40 of the third embodiment and controls the generation information amount in the hierarchical encoding unit 40A and hierarchical encoding unit 40A for hierarchically encoding and outputting input image data D31 to achieve a target value. It consists of 40B.

계층 부호화 엔코더부 40A 는 데이터 지연용 메모리(도시 않음)와 엔코더로 구성되어 있다. 그 중 메모리는 발생 정보량 제어부 40B 에 있어서 최적 제어치가 결정될 때까지, 엔코드 처리가 실행되지 않도록 데이터를 지연하기 위해 입력단에 설치하고 있다.The hierarchical encoding encoder section 40A is composed of a data delay memory (not shown) and an encoder. Among them, the memory is provided at the input terminal in order to delay the data so that the encoding process is not executed until the optimum control value is determined in the generation information amount control unit 40B.

한편, 발생 정보량 제어부 40B 는 입력 화상 데이터를 입력하여 처리 대상 데이터에 적합한 임계치 TH 를 결정하도록 되며, 계층 부호화 엔코더부 40A 에 있어서 입력 화상 데이터가 효율 좋게 부호화 되도록 결정된 최적 제어치를 엔코더에 전송하도록 되어 있다. 이는 소위 피드 포워드형의 버퍼링의 구성으로 된다. 이 구성에 의해 정확한 발생 정보량 제어와 피드 포워드형 버퍼링에 의해 발생하는 시간 지연을 배제할 수 있도록 되어 있다.On the other hand, the generation information amount control unit 40B inputs the input image data to determine a threshold TH suitable for the data to be processed, and transmits an optimum control value determined by the hierarchical encoding unit 40A to efficiently encode the input image data to the encoder. . This is a configuration of so-called feed forward type buffering. This configuration makes it possible to eliminate time delays caused by accurate generation information control and feed forward buffering.

(2) 계층 부호화 엔코더부 40A(2) Hierarchical Coding Encoder 40A

(2-1) 블럭 구성(2-1) Block structure

계층 부호화 엔코더부 40A 는 제 12 도에 표시한 구성이며, 이 예의 경우 5 계층으로 나누어 처리한다.The hierarchical encoding encoder 40A has the configuration shown in FIG. 12. In this example, the hierarchical encoding encoder 40A is divided into five hierarchies.

먼저 입력 화상 데이터 D31 이 제 1 차분 회로 41 및 제 1 평균화 회로 42 에 입력된다. 제 1 의 평균화 회로 42 는 입력 화상 데이터 D31 (즉, 제 1 계층 데이터(최하위 계층 데이터))의 4 화소 평균에 의해 제 2 계층 데이터 D32 를 생성한다. 이 실시예의 경우, 제 1 평균화 회로 42 는 제 15(D) 및 (E)도에서와 같이 입력 화상 데이터 D31 의 화소 X1(1)∼X4(1)로부터 제 2 계층 데이터 D2 의 화소 X1(2)을 생성한다.First, input image data D31 is input to the first difference circuit 41 and the first averaging circuit 42. The first averaging circuit 42 generates the second hierarchical data D32 by the four pixel average of the input image data D31 (that is, the first hierarchical data (lowest hierarchical data)). In the case of this embodiment, the first averaging circuit 42 uses the pixels X1 (2) of the second hierarchical data D2 from the pixels X1 (1) to X4 (1) of the input image data D31 as shown in Figs. 15 (D) and (E). )

또 제 2 계층 데이터 D32 의 화소 X1(2)에 인접하는 화소 X2(2)∼X4(2)도 마찬가지로 제 1 계층 데이터 D31 의 4 화소 평균을 구함에 의해 생성된다.The pixels X2 (2) to X4 (2) adjacent to the pixel X1 (2) of the second hierarchical data D32 are similarly generated by obtaining the four-pixel average of the first hierarchical data D31.

제 2 계층 데이터 D32 는 제 2 의 차분 회로 43 및 제 2 의 평균화 회로 44 에 입력되고, 제 2 평균화 회로 44 는 제 2 계층 데이터 D32 의 4 화소 평균에 의해 제 3 계층 데이터 D33 을 생성한다. 예컨대, 제 15(C) 도 및 (D)에 표시한 제 2 계층 데이터 D32 의 화소 X1(2)∼X4(2)로부터 제 3 계층 데이터 D33 의 화소 X1(3)이 생성됨과 함께, 화소 X1(3)에 인접한 화소 X2(3)∼X4(3)도 마찬가지로 제 2 계층 데이터 D32 의 4 화소 평균에 의해 생성된다.The second hierarchical data D32 is input to the second difference circuit 43 and the second averaging circuit 44, and the second averaging circuit 44 generates the third hierarchical data D33 by the four pixel average of the second hierarchical data D32. For example, the pixel X1 (3) of the third hierarchical data D33 is generated from the pixels X1 (2) to X4 (2) of the second hierarchical data D32 shown in FIGS. 15C and 15D, and the pixel X1 Similarly, pixels X2 (3) to X4 (3) adjacent to (3) are also generated by the four pixel average of the second hierarchical data D32.

제 3 계층 데이터 D33 는 제 3 의 차분 회로 45 및 제 3 의 평균화 회로 46 에 입력되고, 제 3 의 평균화 회로 46 는 상기 경우와 동일하게 제 3 계층 데이터 D33 의 4 화소 평균에 의해 제 15(B)도 및 (C) 에서와 같이, 화소 X1(4)∼X4(4)로된 제 4 계층 데이터 D34 를 생성한다.The third hierarchical data D33 is input to the third difference circuit 45 and the third averaging circuit 46, and the third averaging circuit 46 uses the fourth pixel average of the third hierarchical data D33 to obtain the fifteenth (B ), And the fourth hierarchical data D34 composed of the pixels X1 (4) to X4 (4) is generated as shown in (C) and (C).

제 4 계층 데이터 D34 는 제 4 의 차분 회로 47 및 제 4 의 평균화 회로 48 에 입력되고, 제 4 의 평균화 회로 48 은 제 4 계층 데이터 D34 의 4 화소 평균으로부터 최상위 계층으로 된 제 5 계층 데이터 D35 를 생성한다. 즉 제 15 (A) 및 (B) 에서와 같이, 제 4 계층 데이터 D34 의 4 화소X1(4)∼X4(4)를 평균화함으로써 제 5 계층 데이터 D35 의 화소 X1(5)이 생성된다.The fourth hierarchical data D34 is input to the fourth difference circuit 47 and the fourth averaging circuit 48, and the fourth averaging circuit 48 receives the fifth hierarchical data D35, which is the highest layer from the four pixel average of the fourth hierarchical data D34. Create That is, as in the fifteenth (A) and (B), the pixel X1 (5) of the fifth hierarchical data D35 is generated by averaging four pixels X1 (4) to X4 (4) of the fourth hierarchical data D34.

여기에서 제 1∼제 5 계층 데이터 D31∼D35 의 블럭 사이즈는, 최하위 계층인 제 1 계층 데이터 D31 의 블럭 사이즈를 1 라인 x 1 화소로 하면 제 2 계층 데이터 D32 는 1/2 라인 x 1/2 화소, 제 3 계층 데이터 D33 은 1/2 라인 x 1/4 화소, 제 4 계층 데이터 D34 는 1/8 라인 x 1/8 화소, 최상위 계층 데이터인 제 5 계층 데이터 D35 는 1/16 라인 x 1/16 화소로 된다.Here, the block size of the first to fifth hierarchical data D31 to D35 is that if the block size of the first hierarchical data D31 which is the lowest layer is 1 line x 1 pixel, the second hierarchical data D32 is 1/2 line x 1/2. Pixel, 3rd layer data D33 is 1/2 line x 1/4 pixel, 4th layer data D34 is 1/8 line x 1/8 pixel, 5th layer data D35 which is the highest layer data is 1/16 line x 1 / 16 pixels.

계층 부호화 엔코더부 40A 는 이들 제 1∼제 5 의 계층 데이터 D31∼D35 중 최상위의 계층 데이터(즉 제 5 계층 데이터 D35)로부터의 순으로 재귀적 처리를 반복하여 인접하는 2 개의 계층 데이터간의 차분을 차분 회로 41, 43, 45, 47 에서 구하고, 차분 데이터만을 부호기 51∼55 에 의하여 압축 부호화 한다. 이에 따라 계층 부호화 엔코더부 40A 는 전송로로 전송된 정보량을 압축하도록 된다. 또 계층부호화 엔코더부 40A 는, (2)식에 대하여 상기한 바와 같이, 부호기 51∼54 에 의해 상위 계층 1 화소에 대응하는 하위 계층 4 화소 중 1 화소를 감함으로써 전송 데이터량을 저감한다.The hierarchical encoding encoder 40A repeats the recursive processing in order from the highest hierarchical data (that is, the fifth hierarchical data D35) of the first to fifth hierarchical data D31 to D35 to determine the difference between two adjacent hierarchical data. Obtained from the difference circuits 41, 43, 45, and 47, only the difference data is compressed and coded by the encoders 51 to 55. Accordingly, the hierarchical encoding encoder 40A compresses the amount of information transmitted to the transmission path. In addition, the hierarchical encoding encoder 40A reduces the amount of transmission data by subtracting one pixel among the lower hierarchical four pixels corresponding to the upper hierarchical one pixel by the encoders 51 to 54, as described above for the expression (2).

이러한 압축 조건을 최적으로 유지하기 위해 계층 부호화 엔코더부 40A 는 각 계층마다 얻어진 전송 데이터 D51∼D55를 복호기 56∼59 에 의해 복호한다.In order to maintain such a compression condition optimally, the hierarchical encoding encoder 40A decodes the transmission data D51 to D55 obtained for each layer by the decoders 56 to 59.

그중 최상위의 계층에 대응하는 복호기 59 는 부호기 55 에 있어서 압축 부호화된 제 5 의 계층 데이터 D35 에 대응하는 복호 데이터 D48 를 전송 데이터 D55 로부터 복호하고, 이를 제 4 계층의 차분 회로 47 에 출력한다.The decoder 59 corresponding to the highest layer among them decodes the decoded data D48 corresponding to the fifth hierarchical data D35 coded and encoded in the encoder 55 from the transmission data D55, and outputs it to the differential circuit 47 of the fourth layer.

이에 대하여 다른 복호기 56∼58 은 각각 분할/비분할 처리의 유무를 표시하는 플래그에 기초하여 복호 동작을 전환한다. 즉 분할 처리가 되고 있는 경우에는 전송 데이터 D52∼D54 로서 전송되는 차분 데이터로부터 복호 처리에 의해 상위의 계층 데이터(즉, 제 4, 제 3, 제 2 의 계층 데이터)를 복호하여 제 3 계층의 차분 회로 45, 제 2 계층의 차분 회로 43, 제 1 계층 데이터 41 에 각각 출력하도록 한다.In contrast, the other decoders 56 to 58 switch decoding operations based on flags indicating whether or not the division / non-division processing is performed, respectively. In other words, in the case of division processing, higher layer data (i.e., fourth, third and second layer data) is decoded by the decoding process from the difference data transmitted as the transmission data D52 to D54, and the difference of the third layer is decoded. Output to the circuit 45, the differential circuit 43 of the second layer, and the first layer data 41, respectively.

이에 따라 각 차분 회로 41, 43, 45, 47 로부터는 인접하는 계층간에 대한 차분 데이터 D41, D42, D43, D44 가 얻어지게 된다.As a result, difference data D41, D42, D43, and D44 for adjacent layers are obtained from the difference circuits 41, 43, 45, and 47.

실제로, 복호기 58, 57, 56 은 제 13 도에서와 같이 구성된다. 여기에서는 간단화를 위해 복호기 58 에 대해 설명한다. 복호기 58 은 복호화 회로 58A 에 제 4 계층 압축 부호화 데이터 D54 를 수신하여 이를 복호한다. 그 결과 복호화 회로 58A 로부터는, 예컨대 제 15 도에 도시하는 X1(4) - X1(5), X2(4) - X1(5), X3(4) - X1(5)의 출력치가 얻어진다. 그 출력치는 이어지는 가산회로 58B 에서 복원 데이터 D48 과 가산되고 이에 의해 X1(4), X2(4), X3(4)의 출력치가 얻어진다. 차분치 생성 회로 58C 는 X1(4), X2(4), X3(4) 및 X1(5)를 사용하여 (4)식에 기초하여 연산함으로써 비전송 화소 X4(4)를 생성한다. 따라서 이어지는 합성 회로 58D 로 부터는 차분전의 제 4 계층 데이터 X1(4), X2(4), X3(4), X4(4)가 생성되고, 이것이 차분 회로 45 에 제공된다.In practice, the decoders 58, 57, 56 are configured as in FIG. The decoder 58 is described here for the sake of simplicity. The decoder 58 receives the fourth layer compressed coded data D54 in the decoding circuit 58A and decodes it. As a result, the output values of X1 (4)-X1 (5), X2 (4)-X1 (5), and X3 (4)-X1 (5) shown in FIG. 15 are obtained from the decoding circuit 58A, for example. The output value is added to the reconstruction data D48 in the following addition circuit 58B, thereby obtaining output values of X1 (4), X2 (4), and X3 (4). The difference value generation circuit 58C generates the untransmitted pixel X4 (4) by performing calculation based on equation (4) using X1 (4), X2 (4), X3 (4) and X1 (5). Therefore, from the subsequent synthesis circuit 58D, the differential layered fourth layer data X1 (4), X2 (4), X3 (4), and X4 (4) are generated, which are provided to the differential circuit 45.

각 계층에 대응하는 부호기 51∼54 는 차분 회로 41, 43, 45, 47 이나 평균화 회로 48 에 의해 얻어지는 차분 데이터 D41, D42, D43, D44 또는 제 5 의 계층 데이터 D35 를 입력하고, 각 블럭에 대하여 얻어진 엑티비티에 대한 임계치의 판정과 분할 선택 처리를 실행한다.The encoders 51 to 54 corresponding to each layer input the difference data D41, D42, D43, D44 or the fifth layer data D35 obtained by the difference circuit 41, 43, 45, 47 or the averaging circuit 48, and for each block. Threshold determination and division selection processing are performed on the obtained activities.

이때 부호기 51∼54 는 처리대상이 분할 블럭인 경우 계층간에 얻어지는 차분 데이터를 그대로 압축 부호화하고, 동시에 각 블럭에 대한 분할 판정 플래그를 부가하여 전송한다.At this time, the encoders 51 to 54 compressively encode the difference data obtained between the layers as they are when the processing target is a divided block, and at the same time, add a division determination flag for each block and transmit it.

이에 대하여 부호기 51∼54 는 처리 대상이 비분할 블럭인 경우, 그 블럭은 수신측에서 상위 계층 데이터로 치환되게 하여 부호 대상에서 제외한다. 그래서 그 경우에도 각 블럭에 대한 분할 판정 플래그가 부가되어 전송된다.On the other hand, when the processing targets are undivided blocks, the encoders 51 to 54 replace the blocks with higher layer data at the receiving side and exclude them from the coding targets. Thus, even in that case, the division decision flag for each block is added and transmitted.

이들 5 조의 부호기 51∼55 로부터 출력되는 제 1∼제 5 의 계층 압축 부호화 데이터 D51∼D55 가 소정의 전송 데이터 형성부 (도시 않음)에 의해 프레임화 되어 전송로로 송출된다.The first to fifth hierarchical compressed coded data D51 to D55 output from these five sets of encoders 51 to 55 are framed by a predetermined transmission data forming unit (not shown) and sent to the transmission path.

여기에서 부호기 51, 52, 53 및 54 는 제 14 도에서와 같이 구성된다. 제 14 도에는 단순화를 위해 부호기 52 및 53 의 구성에 대해 나타냈다.Here, the encoders 51, 52, 53 and 54 are configured as in FIG. 14 shows the configuration of encoders 52 and 53 for simplicity.

즉 차분 데이터 D42, D43 은 각각 부호기 52, 53 의 부호화 회로 52A, 53A 에 입력된다. 또 차분 데이터 D42, D43 은 각각 분할 제어부 52B, 53B 의 액티버티 검출 회로 52C, 53C 로 입력된다. 액티버티 검출 회로 52C, 53C 는 차분 데이터 D42, D43 의 소정 블럭 마다의 액티버티를 검출하고, 이에 의해 얻은 검출 결과를 이어지는 임계치 판정 회로 52D, 53D 에 제공한다. 임계치 판정 회로 52D, 53D는 각 블럭 마다의 액티버티 검출 결과를 발생 정보량 제어부 40B 로부터의 임계치 데이터 D57 과 비교하고, 이에 의해 얻어진 판정 결과를 부호화 회로 52A, 53A 로 송출한다. 부호화 회로 52A, 53A 는 임계치 판정 결과에 기초하여 액티버티가 높은 블럭에 대해서는 압축 부호화하여 전송하고, 이에 대해 액티버티가 낮은 블럭에 대해서는 전송하지 않는다.In other words, the difference data D42 and D43 are input to the encoding circuits 52A and 53A of the encoders 52 and 53, respectively. The difference data D42 and D43 are input to the activity detection circuits 52C and 53C of the division controllers 52B and 53B, respectively. The activity detection circuits 52C and 53C detect the activity for each predetermined block of the difference data D42 and D43, and provide the detection result obtained to the subsequent threshold determination circuits 52D and 53D. The threshold determination circuits 52D and 53D compare the activity detection result for each block with the threshold data D57 from the generation information amount control unit 40B, and send the determination result obtained to the coding circuits 52A and 53A. The encoding circuits 52A and 53A perform compression encoding on a high activity block and transmit the same based on the threshold determination result, but do not transmit a low activity block.

(2-2) 처리(2-2) processing

다음에 계층 부호화 엔코더부 40A 에 의한 구체적 신호 처리를 설명한다.Next, specific signal processing by the hierarchical encoding encoder 40A will be described.

먼저 계층간 차분치에 기초해 블럭 액티버티에 의해 계층간 차분치에 대한 처리를 선택하는 경우를 생각한다. 또 각 블럭은 2 라인 x 2 화소로 구성되는 것으로 한다.First, consider a case in which processing for inter-layer differences is selected by the block activity based on the inter-layer differences. It is assumed that each block is composed of 2 lines x 2 pixels.

여기에서는 각 화소의 데이터치를 X 로 하고, 데이터치 X 의 계층을 첨가 문자로 표시한다. 즉 상위의 계층 데이터를 Xi + 1(0)로 할 때, 인접하는 하위 계층 데이터는 Xi(j) (j = 0∼3)이다. 또 계층간의 차분 부호치는 △Xi(j)(j = 0∼3)이고, 계층 부호화 엔코더부 40A는 그 차분 부호치를 압축 부호화한 것이다.Here, the data value of each pixel is assumed to be X, and the hierarchical layer of the data value X is indicated by additional characters. In other words, when the upper layer data is Xi + 1 (0), the adjacent lower layer data is Xi (j) (j = 0 to 3). The difference code value between hierarchies is ΔXi (j) (j = 0-3), and the hierarchical encoding encoder 40A compresses and encodes the difference code value.

각 계층에서 부호기 51∼55 에 의한 압축 부호화 처리는 각 블럭에 대해 얻어진 블럭 액티버티 P 와 임계치 데이터 D57 와를 비교하고, 비교 결과에 의해 처리를 선택한다.In each layer, the compression encoding processing by the encoders 51 to 55 compares the block activity P obtained for each block with the threshold data D57, and selects the processing based on the comparison result.

즉 블럭 액티버티 P 가 임계치 TH 이상인 경우에는 하위 계층에 대하여 순차 분할 처리하고, 이에 대하여 블럭 액티버티 P 가 임계치 TH 미만인 경우에는 하위 계층에 대한 분할 처리를 중지한다.In other words, when the block activity P is equal to or greater than the threshold TH, the sublayer is sequentially processed. If the block activity P is less than the threshold TH, the partitioning process for the lower layer is stopped.

이에 따라 블럭 액티버티 P 가 낮은 영역에 대하여는 상위의 계층 데이터만이 전송되어, 전송 정보량을 삭감할 수가 있다.As a result, only the upper hierarchical data is transmitted to the area where the block activity P is low, so that the amount of transmission information can be reduced.

또 전송로를 좁혀 이들 데이터를 수신하는 화상 데이터 복호 장치는, 순차적으로 전송되는 전송 데이터 중 상위 계층 데이터를 사용하여 블럭 액티버티가 낮은 영역에서는 하위 계층 데이터를 상위 계층 데이터로 복원한다. 한편, 블럭 액티버티가 높은 영역에서는 계층간 차분 복호치와 상위 계층 데이터를 가산하여 데이터를 복원한다.Further, the image data decoding apparatus for narrowing the transmission path and using the higher layer data among the sequentially transmitted transmission data restores the lower layer data to the higher layer data in a region having low block activity. On the other hand, in an area with high block activity, data is restored by adding the differential decoding values between the layers and the upper layer data.

이 분할 또는 비분할의 판정 결과에 대하여 1 비트의 판정 플래그가 도입되어 있다. 이 플래그에 의해 각 블럭에 대한 판정 결과를 지시할 수 있게된다.A 1-bit decision flag is introduced into this division or non-division decision result. This flag makes it possible to instruct the determination result for each block.

이 판정 플래그는 각 계층의 블럭마다 1 비트씩 필요하게 되나 화질을 고려하는 경우 유효하다.This decision flag is necessary for one bit per block of each layer, but is effective when considering the image quality.

따라서 이 실시예에서 계층 부호화 방식에서는 그 판정 플래그를 그 이후의 하위 계층에서의 판정에는 반영하지 않는다. 또 이 판정 플래그는 런-렝스 부호화 등에 의해 부호화되고 부호화 코드와 함께 전송된다.Therefore, in this embodiment, the hierarchical coding scheme does not reflect the judgment flag in subsequent judgments at lower layers. This decision flag is encoded by run-length encoding or the like and transmitted together with the encoding code.

(3) 발생 정보량 제어부 40B(3) Generation information amount control part 40B

(3-1) 블럭 구성(3-1) Block structure

한편, 발생 정보량 제어부 40B 는 제 16 도에 도시한 바와 같이 구성된다.On the other hand, the generation information amount control unit 40B is configured as shown in FIG.

그 발생 정보량 제어부 40B 는 계층 부호화 엔코더부 40A 가 화질을 열화하지 않고 효율적으로 화상 데이터를 부호화 처리할 수 있기 때문에, 분할/비분할의 선택 기준이 되는 각 계층에 대한 임계치 TH1∼TH4 의 조합을 설정하고, 그것을 계층 부호화 엔코더부 40A 에 임계치 데이터 D57 로서 출력한다.Since the generated information amount control unit 40B can encode and process image data efficiently without deteriorating the picture quality, the combination encoding unit 40A sets a combination of thresholds TH1 to TH4 for each layer serving as a selection criterion for division / undivision. Then, it is output as the threshold data D57 to the hierarchical encoding encoder 40A.

발생 정보량 제어부 40B 는 입력 화상 데이터 D31 를 평균치 회로 42, 44, 46, 48 을 차례로 거쳐 1/4 평균화함으로써 해상도가 다른 5 계층의 화상 데이터를 생성한다.The generation information amount control unit 40B averages the input image data D31 1/4 through the average value circuits 42, 44, 46, and 48 in order to generate five layers of image data having different resolutions.

이어서 차분 데이터로서 전송되는 화상 데이터의 각 계층 마다의 발생 정보량을 구하기 위해, 1 계층상의 계층 화상 데이터 D32, D33, D34 및 D35 와 각 계층의 화상 데이터 D31, D32, D33 및 D34 와의 차를 각 차분 회로 61, 62, 53 및 64 에서 구한다.Subsequently, the difference between the hierarchical image data D32, D33, D34, and D35 on one layer and the image data D31, D32, D33, and D34 on each layer is calculated so as to obtain the amount of information for each layer of image data transmitted as difference data. Obtained from circuits 61, 62, 53 and 64.

이들 각 차분 회로 61, 62, 63 및 64 로부터 출력되는 차분 데이터는 계층 부호화 엔코더부 40A 에서 계층 처리에 의해 얻어지는 각 계층의 차분 데이터로 규정될 수 있다.The difference data output from each of these difference circuits 61, 62, 63, and 64 can be defined as difference data of each layer obtained by the layer processing in the layer encoding encoder 40A.

액티버티 검출 회로 65, 66, 67 및 68 은 제 1 계층∼제 4 계층의 화상 데이터에 각각 대응하고, 각 계층의 각 블럭에 대하여 블럭 액티버티를 구하여 이를 대응하는 도수 분포표 69∼72 에 등록한다.The activity detection circuits 65, 66, 67, and 68 correspond to image data of the first to fourth layers, respectively, and obtain block activities for each block of each layer and register them in the corresponding frequency distribution tables 69 to 72. .

여기에서 도수 분포표의 생성 과정에서는 엔코더부의 전송 데이터량을 정확히 파악하기 위하여 상위 계층 1 화소에 대응하는 하위 계층 4 화소중 실제로 엔코더에 의한 전송 대상인 3 화소를 사용하게되어 있다.Here, in the generation process of the frequency distribution table, in order to accurately grasp the amount of data transmitted from the encoder, three pixels that are actually transmitted by the encoder are used among the lower layer 4 pixels corresponding to the upper layer 1 pixel.

또 제 5 계층의 화상 데이터에 대하여는 최상위의 계층 데이터로서 차분 데이터로 되지 않고 직접 전송되기 때문에 각 블럭에 대한 동적 범위가 그대로 도수 분포표 73 에 등록된다.The image data of the fifth hierarchical layer is directly transmitted as the hierarchical hierarchical data instead of the difference data, so that the dynamic range for each block is registered in the frequency distribution table 73 as it is.

제어부 74 는 이들 5 조의 도수 분표포 69∼73 과 쌍방향의 신호로(signal channel)로 접속되어 하위 계층을 분할/비분할을 하는지의 여부의 판단 기준이 되는 블럭 액티버티의 임계치 TH1∼TH4 의 조합을 ROM 에 격납하고 있다.The control unit 74 is connected to these five frequency distributions 69 to 73 in a two-way signal channel to combine the threshold values TH1 to TH4 of the block activities that serve as a criterion for determining whether to divide or undivid the lower layer. Is stored in the ROM.

제어부 74 는 이들 조합을 도수 분포표 69∼73 에 제공하고 그 임계치에 대하여 발생기게 되는 발생 정보량을 각 계층마다 판독하고, 이들 전체의 발생 정보량을 기초하여 전체로서의 총 발생 정보량을 구한다. 그리고 총 발생 정보량이 목표치를 달성하기까지 최적 임계치를 구해 얻어진 임계치를 제어 데이터로서 계층 부호화 엔코더부 40A 로 제공하게 되어 있다.The control unit 74 provides these combinations to the frequency distribution tables 69 to 73, reads out the amount of occurrence information generated for each threshold, and calculates the total amount of occurrence information as a whole based on the total amount of occurrence information. The threshold value obtained by obtaining the optimum threshold value until the total generated information amount reaches the target value is provided to the hierarchical encoding encoder 40A as control data.

또 제어부 74 는 계층마다 화상 신호 데이터의 성질이나 인간의 시각 특성을 고려하여 계층 부호화 엔코더부 40A 에 제공하는 제어 데이터를 조정하고, 최적 임계치를 제공할 수 있도록 되어 있다. 이에 따라 수신측에 있어서 재생되는 화질에 대하여 주관적인 화질의 향상이 되게 된다.In addition, the control unit 74 can adjust the control data provided to the hierarchical encoder 40A in consideration of the nature of the image signal data and the visual characteristics of the human for each hierarchical layer and provide an optimum threshold value. As a result, the subjective picture quality is improved with respect to the picture quality reproduced on the receiving side.

(3-2) 도수 분포표(3-2) Frequency distribution table

여기에서는 정보량 제어용 도수 분포표 69∼73 에 대하여 설명한다.Here, the frequency distribution tables 69 to 73 for controlling the amount of information will be described.

제 17 도(A)∼(E)는 각각 최상위 계층 데이터(제 5 의 계층 데이터)∼최하위의 계층 데이터(제 1 의 계층 데이터)에 대하여 얻어지는 블럭 액티버티의 도수 분포표를 나타내고 있다. 여기에서 제 17(A)도에 표시한 제 5 의 계층에 대한 도수 분포표에 관하여는 대상 데이터가 차분 데이터는 아니기 때문에 동적 범위에 의한 도수 분포표가 생성된다. 예컨대 제 5 계층 데이터 D35 에 대해 PCM 부호화에 의한 압축 처리가 되는 경우, 각 블럭에 대해 제공되는 동적 범위가 데이터로서 등록되고, 압축 처리 방법으로서 ADRC (적응 동적 범위 부호화(USP-4703352))를 적용하는 경우에는 ADRC 블럭의 DR 이 등록된다.17A to 17E show a frequency distribution table of block activities obtained for the highest hierarchical data (the fifth hierarchical data) to the lowest hierarchical data (the first hierarchical data), respectively. As to the frequency distribution table for the fifth layer shown in FIG. 17A, the frequency distribution table based on the dynamic range is generated because the target data is not differential data. For example, when compression processing by PCM coding is performed on the fifth layer data D35, the dynamic range provided for each block is registered as data, and ADRC (Adaptive Dynamic Range Coding (USP-4703352)) is applied as the compression processing method. If so, the DR of the ADRC block is registered.

한편 다른 도수 분포표 69-72 는 대상 데이터가 차분 데이터이며 각 도수 분포표에 대하여 주어지는 임계치 TH1, TH2, TH3, TH4 이상의 블럭 액티버티를 가지는 블럭이 분할 대상 블럭으로 된다.On the other hand, in another frequency distribution table 69-72, a block having a block activity having a threshold value of TH1, TH2, TH3, and TH4 or more given to each frequency distribution table becomes a division target block.

따라서 각 계층에 있어서 임계치 이상의 블럭 액티버티를 가진 블럭의 수를 산출하면 발생 정보량을 산출할 수 있다.Therefore, the amount of generated information can be calculated by calculating the number of blocks having a block activity above a threshold in each layer.

다음에 발생 정보량의 산출예를 설명한다.Next, a calculation example of the generation information amount will be described.

여기에서 제 1 계층에 있어서 블럭수를 N1, 또한 블럭 액티버티가 임계치 TH1 보다 큰 분할 대상 블럭수를 N1' 로 하고, 이 때에 있어서 양자화 비트수를 Q1 으로 하면, 제 1 계층에 있어서 발생 정보량 I1 은 다음식Here, when the number of blocks to be N1 in the first layer and the number of blocks to be divided whose block activity is larger than the threshold TH1 are N1 ', and the number of quantization bits is Q1 at this time, the amount of information generated I1 in the first layer is Is the following formula

에 의하여 제공될 수 있다.Can be provided by

이(7)식에서 제 1 항에서 각 비트수가 4 배가 되는 것은, 이 예의 경우 각 블럭이 2 라인 x 2 화소로 분할되기 때문이다. 또 제 1 항에서 3/4 배로 되는 것은 상위 계층치가 하위 계층치의 평균치로부터 생성되는 구조에 있어서 상위 계층치와 전송되는 하위 계층치 3 화소를 사용하여 산술식에 의해 하위 계층의 4 번째의 비전송 화소치가 복원되게 된다는 성질을 반영하기 때문이다.In the equation (7), the number of bits in the first term is quadrupled because each block is divided into two lines by two pixels in this example. In the structure of claim 1, 3/4 times means that the upper hierarchical value is generated from an average value of lower hierarchical values. This is because it reflects the property that the pixel value is to be restored.

그리고 제 2 항에서 제 1 계층에 있어 블럭수를 N1 이 가산되는 것은 분할 판정 플래그로서 각 블럭마다 1 비트 부가하여 전송하는 것을 나타내고 있다.In the second term, the addition of N1 to the number of blocks in the first hierarchical layer indicates that transmission is performed by adding one bit for each block as a division determination flag.

마찬가지로 제 2, 제 3, 제 4 계층에 대하여도, 각 계층에 있어서 블럭수를 N2, N3, N4 로 하고, 또 블럭 액티버티가 임계치 TH2, TH3, TH4 보다 큰 분할 대상 블럭수를 N2', N3', N4' 로 하고 이때 량자화 비트수를 Q2, Q3, Q4 로 하면 각 계층에서 발생 정보량 Ik (k = 2, 3, 4)는, 다음식Similarly, for the second, third, and fourth layers, the number of blocks in each layer is N2, N3, N4, and the number of blocks to be divided whose block activity is larger than the thresholds TH2, TH3, TH4 is N2 ', If N3 'and N4' are set and the number of quantization bits is Q2, Q3, and Q4, the amount of information Ik (k = 2, 3, 4) generated in each layer is represented by the following equation.

에 의해 제공될 수 있다.May be provided by

이들 제 1∼제 4 계층에 대한 발생 정보량 I1∼I4 및 제 5 계층에 대한 발생 정보량 I5 를 사용하면 계층 부호화 엔코더부 40A 의 부호화 처리에 의하여 생기는 총 발생 정보량 I 는, 다음식If the occurrence information amounts I1 to I4 for the first to fourth layers and the generation information amount I5 for the fifth layer are used, the total amount of generated information I generated by the encoding processing of the hierarchical encoding encoder 40A is given by the following equation.

와 같이 각 계층마다의 발생 정보량의 합으로서 구할 수 있다.As described above, it can be obtained as the sum of the amount of information generated for each layer.

(3-3) 처리(3-3) processing

발생 정보량 제어부 40B 는 계층 부호화 엔코더부 40A 와 마찬가지로 입력 화상 데이터 D31 을 입력하고, 이것을 평균화 회로 42 에 의해 2 라인 x 2 화소마다 평균치가 구해져, 화소수를 1/4 로 감소시켜 해상도를 떨어뜨린다. 이어서 이 계층 데이터 D32 에 대하여도 마찬가지로 평균화 회로 43, 46, 48 을 차례대로 거쳐 각각 화소수를 1/4 로 감소시켜 해상도를 떨어뜨린다.The generation information amount control unit 40B inputs the input image data D31 in the same manner as the hierarchical encoding encoder 40A. The averaged circuit 42 obtains an average value for every 2 lines x 2 pixels, and reduces the number of pixels to 1/4 to reduce the resolution. . Subsequently, the hierarchical data D32 is similarly passed through the averaging circuits 43, 46, and 48, and the number of pixels is reduced to 1/4, respectively, to reduce the resolution.

발생 정보량 제어부 40B 는 이에 따라 복수의 해상도의 화상 데이터 중 최상위(즉, 해상도가 최저)의 계층 데이터 D35 를 도수 분포표 73 에 제공하고, 제 5 의 계층 데이터 D35 에서 각 블럭의 블럭 액티버티 P 의 도수를 등록한다. 이것은 상기 계층 부호화 엔코더부 40A 에서 실행되는 압축처리에 대응하는 데이터의 도수 계측이다. 예컨대 제 5 계층 데이터 35 에 대해 PCM 부호하에 의한 압축 처리가 된 경우, 각 블럭에 대해 제공되는 동적 범위가 데이터로서 등록되고 압축 처리방법으로서 ADRC(적응 동적 범위 부호화(USP-4703352))를 적용하는 경우에는 ADRC 블럭의 DR 이 등록된다.The generation information amount control unit 40B thus provides hierarchical data D35 of the highest (that is, the lowest resolution) among the plurality of resolution image data to the frequency distribution table 73, and the frequency of the block activity P of each block in the fifth hierarchical data D35. Register. This is the frequency measurement of data corresponding to the compression process performed by the hierarchical encoding encoder 40A. For example, when compression processing is performed under PCM code for the fifth layer data 35, the dynamic range provided for each block is registered as data, and ADRC (Adaptive Dynamic Range Coding (USP-4703352)) is applied as the compression processing method. In this case, the DR of the ADRC block is registered.

다음에 제 4 의 계층 데이터 D34 와 제 5 계층 데이터 D35 와의 그 차분으로부터 차분 데이터 D64 가 얻어진다. 액티버티 검출 회로 68 은 그 차분 데이터 D64 에 대하여 액티버티를 검출하고, 액티버티 데이터 D68 으로서 도수 분포표 72 에 등록한다.Next, the difference data D64 is obtained from the difference between the fourth layer data D34 and the fifth layer data D35. The activity detection circuit 68 detects the activity with respect to the difference data D64, and registers it in the frequency distribution table 72 as the activity data D68.

마찬가지로 하위의 계층 데이터 D33, D32, D31 의 각각에 대하여 구해진 각 블럭의 블럭 액티버티 P 를 액티버티 데이터 D67, D66, D65 로서 도수 분포표 71, 70, 69 순차적으로 등록한다.Similarly, the block activity P of each block obtained for each of the lower hierarchical data D33, D32, and D31 is sequentially registered as the activity data D67, D66, and D65 as the activity data D67, D66, and D65.

제어부 74 는 제 18 도에 나타낸 ROM 테이블로부터 각 계층에 대하여 설정된 분할/비분할 설정용의 임계치 TH1, TH2, --- TH4 에 대한 조합을 번호가 낮은 조(QNO1)로부터 순서대로 판독한다. 이어서 각 임계치 TH1, TH2, --- TH4 에 대하여 큰 값의 블럭 액티버티 P 를 가지는 블럭 도수(block frequency)를 각 계층에 대하여 도수 분포표 69∼73 에서 판독하고, 각 계층에 대해 각 임계치에 대하여 발생 정보량을 검출한다.The control unit 74 sequentially reads, from the ROM table shown in Fig. 18, the combinations for the thresholds TH1, TH2, and TH4 for the division / non-division setting set for each layer from the low-numbered pair QNO1. The block frequency with large block activity P for each threshold TH1, TH2, and TH4 is then read from the frequency distribution tables 69 to 73 for each layer and for each threshold for each layer. The amount of generated information is detected.

제어부 74 는 각 계층의 도수 분포표 69∼73 에 대해 구한 발생 정보량을 통합하고, 계층 부호화 엔코더 40A 에 있어서 부호화의 결과 생기게 될 총 발생 정보량을 산출한다. 제어부 74 는 이 발생 정보량과 목표치를 비교하고, 목표치와의 차가 큰 경우에는 목표치를 만족하는 임계치의 조합을 구하기 위해 다음 번호(QNO2)의 임계치 TH1, TH2, --- TH4 의 조로 이동한다.The control unit 74 integrates the amount of occurrence information obtained for the frequency distribution tables 69 to 73 of each layer, and calculates the total amount of occurrence information to be generated as a result of encoding in the hierarchical encoder 40A. The control unit 74 compares this generated information amount with the target value, and when the difference with the target value is large, moves to a set of thresholds TH1, TH2, and --- TH4 of the next number QNO2 in order to obtain a combination of threshold values that satisfy the target value.

이후, 총 발생 정보량이 목표치에 달성되기까지 위의 처리를 반복하고, 목표치에 가장 근접하는 총발산량이 얻어지는 임계치 TH1, TH2, --- TH4 의 조를 얻고 이것을 임계치 데이터 D57 로서 계층 부호화 엔코더 40A 로 출력한다.Thereafter, the above process is repeated until the total amount of generated information reaches the target value, and a set of thresholds TH1, TH2, and --TH4 at which the total amount of divergence closest to the target value is obtained is obtained, and this is transferred to the hierarchical encoder 40A as the threshold data D57. Output

이상의 구성에 의하면, 복수의 해상도를 가지는 계층 부호화를 용이하게 실현할 수 있다. 또 계층 부호화 엔코더 40A 로부터 부호화되어 출력되는 전송 화상 데이터의 총 발생 정보량은 거의 목표치에 일치되게 되고 압축 효율이 저하하지 않는 부호화를 실현할 수 있다. 또한 화질 열화가 작은 계층 부호화를 실현할 수 있다. 또 계층 부호화시에 있어서 발생 정보량의 관리를 종래에 비하여 일층 용이하게 할 수 있다.According to the above configuration, hierarchical coding having a plurality of resolutions can be easily realized. In addition, it is possible to realize encoding in which the total amount of generated information of the transmission image data encoded and output from the hierarchical encoding encoder 40A almost matches the target value and the compression efficiency is not lowered. In addition, hierarchical coding with low image quality deterioration can be realized. Further, management of the amount of information generated in hierarchical encoding can be made easier than in the past.

(4) 제 3 실시예에 대한 다른 실시예(4) Another embodiment of the third embodiment

(4-1) 상기 실시예에 있어서는 블럭 액티버티 P 를 각 블럭에 대하여 상위의 계층에 대하여 얻어지는 복호 데이터와 하위의 계층 데이터와 차분치의 최대치로 판단하는 경우에 대하여 설명하였으나, 본 발명은 이에 한하지 않고 블럭내에 있어서 평균 오차나 절대치합, 또는 표준 편차나 n 승합, 그리고 임계치 이상의 데이터 도수에 의해 판단하여도 좋다.(4-1) In the above embodiment, the case where the block activity P is determined as the maximum value of the decoded data and the lower layer data and the difference value obtained for the upper layer with respect to each block has been described. Instead, the determination may be made based on the mean error, the absolute value, the standard deviation, the n sum, and the data frequency above the threshold.

(4-2) 상기 실시예에 있어서는 각 계층 마다 얻어지는 도수 분포표를 그대로 이용하는 경우를 설명하고 있으나, 본 발명은 이에 한하지 않고 도수 분포표로부터 적산형의 도수 분포표를 작성하여 이를 발생 정보량의 계산에 사용하여도 좋다.(4-2) In the above embodiment, the case where the frequency distribution table obtained for each layer is used as it is is described. However, the present invention is not limited to this, but the frequency distribution table of the integrated type is prepared from the frequency distribution table and used to calculate the generation information amount. You may also do it.

즉 블럭 액티버티를 등록한 결과 제 19 도에서와 같이 도수 분포표를 얻어지게 되면 블럭 액티버티의 최대치에 대응한 도수보다 하위치로 적산 연산을 행하고 각각의 결과를 제 20 도에서와 같이 적산형 도수 분포표에 등록한다.That is, when the block activity is registered and the frequency distribution table is obtained as shown in FIG. 19, the integration operation is performed with a lower value than the frequency corresponding to the maximum value of the block activity, and each result is integrated as shown in FIG. 20. Register at

이 처리를 수식으로 표현하면, k 를 블럭 액티버티값(k = 0∼ 최대치), N (·)을 각 블럭 액티버티값에서의 블럭 도수로하면, 다음식When this process is expressed by a formula, k is the block activity value (k = 0 to the maximum value), and N (·) is the block frequency at each block activity value.

로 된다.It becomes

이식은 블럭 액티버티값 어드레스의 블럭 도수를 판독하고, 상위 블럭 액티버티값까지의 적산치에 가산한 결과를, 그의 블럭 액티버티값 어드레스에 기입하는 것을 의미하고 있다.The transplantation means reading the block count of the block activity value address, and writing the result of the addition to the integrated value up to the higher block activity value in the block activity value address.

그 결과로부터 얻어지는 적산형 도수 분포표(제 20 도)에 있어서는 제 19 도의 사선부의 블럭 도수합이 임계치 TH 좌표 데이터 I 에 대응한다. 그 적산형 도수 분포표에 의해 임계치 TH 를 편향할 때마다 매회 사선부(제 19 도)의 블럭 도수합을 계산할 필요가 없게된다.In the integrated frequency distribution table (Fig. 20) obtained from the result, the block frequency sum of the oblique portions in Fig. 19 corresponds to the threshold TH coordinate data I. The integrated frequency distribution table eliminates the need to calculate the block frequency sum of the oblique portion (FIG. 19) each time the threshold TH is deflected.

즉 각 계층마다 도수 분포표를 생성한 후 블럭 액티버티의 상위치로부터 각 블럭 액티버티의 값까지의 블럭 도수에 대하여 누적 가산치를 구하고, 각 누적 가산치를 각 블럭 액티버티값에 대응하는 어드레스에 기입하여 적산형의 도수 분포를 작성함으로써 각 블럭 액티버티에 대응하는 도수는 그 블럭 액티버티 이상의 값을 가진 블럭 도수의 적산치로 된다.That is, after generating a frequency distribution table for each layer, the cumulative addition value is calculated for the block counts from the upper level of the block activity to the value of each block activity, and each cumulative addition value is written to an address corresponding to each block activity value. By creating an integrated frequency distribution, the frequency corresponding to each block activity becomes an integrated value of block frequencies having a value equal to or greater than the block activity.

이와 같이 미리 적산형 도수 분포표를 생성하면 각 임계치에 대응하는 블럭 도수 적산치를 산출할 필요가 없이 되고, 단지 메모리의 임계치 어드레스 판독에 의해 블럭 도수 적산치의 산출을 가능하게 하고, 산출에 요하는 시간을 대폭 삭감할 수 있다.In this way, when the integrated frequency distribution table is generated in advance, it is not necessary to calculate the block frequency integrated value corresponding to each threshold value, and the calculation of the block frequency integrated value is possible only by reading the threshold address of the memory, and the time required for calculation is calculated. We can cut drastically.

여기에서 실제의 임계치 처리에 있어서는 화질이 열화하는 것을 회피하기 위해 큰 판정 임계치를 사용하는 것은 곤란하다. 따라서 블럭 액티버티값을 클립한 도수 분포표를 작성하도록 하여도 좋다.Here, in the actual threshold processing, it is difficult to use a large decision threshold in order to avoid deterioration in image quality. Therefore, the frequency distribution table which clipped the block activity value may be created.

즉, 제 21 도에서와 같이 블럭 액티버티값을 LMT 로 클립하면 그 LMT 이상의 블럭 도수는 도수 분포표에 있어서는 전체 LMT 에 등록시킨다. 그 결과 제 21 도와 같이 LMT 에서의 블럭 도수가 커지게 된다. 여기에서 산출할 블럭 도수합은 사선부에 있다.That is, as shown in FIG. 21, when the block activity value is clipped to the LMT, the block counts of the LMT or more are registered in the entire LMT in the frequency distribution table. As a result, as in the 21st degree, the block frequency in the LMT becomes large. The block count to be calculated here is in the oblique line.

이 도수 분포표에 대한 적산형 도수 분포표를 제 22 도에 나타냈다. 이 경우, 상기 (10)식의 적산 연산은 블럭 액티버티값의 최대치는 아니고 블럭 액티버티값 LMT 에서 0 까지의 구간에서 행해진다. 산출될 블럭 도수합은 임계치 TH 의 좌표의 적산 블럭 도수 I 이다. 이와 같이 제 20 도에서 나타낸 경우와 마찬가지 결과가 얻어진다.The integrated frequency distribution table for this frequency distribution table is shown in FIG. In this case, the integration operation of the above expression (10) is performed in the section from the block activity value LMT to 0, not the maximum value of the block activity value. The block frequency sum to be calculated is the integrated block frequency I of the coordinates of the threshold TH. Thus, the same results as in the case shown in FIG. 20 are obtained.

그에 따라 적산형 도수 분포표 작성 시간의 단축화를 실현함과 함께 도수 분포표 메모리를 한층 소형화할 수 있다.As a result, the time required to generate the integrated frequency distribution table can be shortened, and the frequency distribution table memory can be further miniaturized.

따라서 클립된 값 LMT 를 설정한 경우, 제 1 방법으로서 각 계층 마다 클립된 값 LMT 를 변경하는 방법 및 제 2 의 방법으로서 각 계층 전체에 있어서 클립된 값 LMT 를 고정치로 하는 방법이 고려되고 제 1 의 방법은 각 계층의 계층간 차분치 분포에 명백하게 다른 경우에 사용하며 제 2 의 방법은 각 계층의 계층간 차분 분포가 큰 차가 없는 경우에 사용된다.Therefore, when the clipped value LMT is set, a method of changing the clipped value LMT for each layer as a first method and a method of fixing the clipped value LMT in the entire layer as a second method are considered. The first method is used in the case where the difference distribution between the layers of each layer is clearly different, and the second method is used when the difference distribution between the layers of each layer is not large.

또 상기 실시예에 있어서는, 부호기에 있어서 화상 데이터를 PCM 부호화하는 경우에 대해 설명하고 있으나 본 발명은 이에 한하지 않고 다른 부호화 방식 예컨대 직교 부호화 방식을 적용해도 좋다.In the above embodiment, the case where PCM encoding of image data in the encoder is explained. However, the present invention is not limited to this, and other coding schemes such as orthogonal coding schemes may be applied.

또 상기 실시예에 있어서는 각 계층에 대해 얻은 도수 분포표의 임계치에 대해 복수의 조합을 POM 에 격납하고 발생 정보량이 가장 목표치에 가까운 임계치의 조합을 구하는 경우에 대해 설명하고 있으나 본 발명은 이에 한하지 않고 각 계층마다 독립하여 설정해도 좋다.In the above embodiment, a case is described in which a plurality of combinations are stored in the POM for the threshold values of the frequency distribution table obtained for each layer, and a combination of the threshold values close to the target value is generated, but the present invention is not limited thereto. Each layer may be set independently.

또 상기 실시예에 있어서는 최하위 계층 데이터를 2 라인 x 2 화소씩 평균치를 구하여 상위의 계층의 화상 데이터를 구하는 경우에 대해 설명하고 있으나 본 발명은 이에 한하지 않고 다른 조합에 의해 평균치를 구하여도 좋다.In the above embodiment, a case is described in which the lowest hierarchical data is averaged by 2 lines x 2 pixels to obtain image data of an upper hierarchical layer. However, the present invention is not limited thereto, and the average may be obtained by other combinations.

(5) 위에서와 같이 본 발명에 의하면 화상 데이터를 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터로 분할하여 부호화 할 때에 해상도가 가장 낮은 최상위 계층 데이터를 제외한 계층 데이터의 소정 블럭에 대하여 블럭 액티버티를 판정하고, 하위 계층 데이터에 대한 블럭의 도수 분포로부터 설정함으로써 압축 효율의 저하가 없는 화상 데이터의 계층 부호화 방법을 용이하게 실현할 수 있다.(5) As described above, according to the present invention, when image data is sequentially recursively divided into a plurality of hierarchical data having a plurality of different resolutions, a predetermined block of hierarchical data except for the highest hierarchical data having the lowest resolution is blocked. By determining the activity and setting it from the frequency distribution of the blocks with respect to the lower hierarchical data, the hierarchical coding method of the image data without deterioration of the compression efficiency can be easily realized.

[5] 제 4 실시예[5] fourth embodiment

(1) 제 4 실시예의 화상 부호화 장치(1) The picture coding apparatus of the fourth embodiment

제 4 실시예의 화상 부호화 장치 80 은 제 23 도에서와 같이, 제 3 실시예(제 11 도)의 경우와 마찬가지의 개략구성을 가지며, 입력 화상 데이터 D31 을 계층 부호화 하여 출력하는 계층 부호화 엔코더부 80A 와 계층 부호화 엔코더부 80A 에 있어서 발생 정보량이 목표치를 달성하도록 제어하는 발생 정보량 제어부 80B 로 구성되어 있다.The picture coding apparatus 80 of the fourth embodiment has a schematic structure similar to that of the third embodiment (figure 11), as shown in FIG. 23, and hierarchically coded encoder section 80A for hierarchically coding the input image data D31. And the generation information amount control unit 80B which controls the generation information amount to achieve the target value in the hierarchical encoding encoder unit 80A.

계층 부호화 엔코더부 80A 는 데이터 지연용의 메모리(도시 않음)와 엔코더로 구성되어 있다. 그 중 메모리는 발생 정보량 제어부 80B 에 있어서 최적 제어치가 결정될 때까지 엔코더 처리가 실행되지 않도록 데이터를 지연시키도록 입력단에 설치되어 있다.The hierarchical encoding encoder 80A is composed of a data delay memory (not shown) and an encoder. Among them, a memory is provided at the input terminal in the generation information amount control unit 80B so as to delay the data so that encoder processing is not executed until the optimum control value is determined.

한편, 발생 정보량 제어부 80B 는 입력 화상 데이터 D31 를 입력하여 처리 대상 데이터에 적합한 임계치 TH 를 결정하도록 되어 있으며, 계층 부호화 엔코더부 80A 에 있어서 입력 화상 데이터 D31 이 효율 좋게 부호화되도록 결정되는 최적 제어치를 엔코더로 전송하도록 하고 있다. 이는 소위 피드 포워드형의 버퍼링의 구성이다. 이 구성에 의해 정확한 발생 정보량 제어와 피드 포워드형 버퍼링에 의해 발생하는 시간 지연을 배제할 수가 있도록 되어 있다.On the other hand, the generation information amount control unit 80B is configured to input the input image data D31 to determine a threshold TH suitable for the data to be processed, and the optimum control value determined by the hierarchical encoding encoder unit 80A to efficiently encode the input image data D31 as an encoder. To send. This is a configuration of so-called feed forward type buffering. This configuration makes it possible to eliminate the time delay caused by the precise generation information control and the feed forward buffering.

여기에서 계층간 차분치에 기초해 정의되는 블럭 액티버티에 의해 하위 계층에서의 분할 처리의 선택이 행해진다. 즉 하위 계층의 2 x 2 의 4 화소로부터 상위 계층 데이터가 구성되고 블럭이 정의된다.Here, the division process in the lower layer is selected by the block activity defined based on the inter-layer difference value. That is, higher layer data is constructed from 4 pixels of 2x2 of a lower layer, and a block is defined.

여기에서 액티버티는 상위 계층 데이터에 대응하는 하위 계층 데이터 영역을 「블럭」이라고 정의한 경우의, 소정 블럭내의 계층간차분 데이터 D41∼D44 의 최대치, 평균치, 절대치합, 표준편차 또는 n 승합 등으로 표시하는 상관치이다. 즉 액티버티가 낮은 경우에는 그 블럭은 평탄한 블럭으로 되는 것이다.In this case, the activity is expressed by the maximum value, average value, absolute value, standard deviation, or n sum of the interlayer difference data D41 to D44 in a predetermined block when the lower layer data area corresponding to the upper layer data is defined as a "block". Correlation. In other words, when the activity is low, the block becomes a flat block.

즉 상위 계층 데이터를 XO(i+1)로 하고, 하위 계층 데이터를 Xj(i)라하면, 계층간 차분 부호치 △Xj(i) = XO(i + 1) - Xj(i)로 된다. 단 j = 0∼3 이다. 또 블럭 액티버티 결정함수를 G(·)라 하면 블럭 액티버티 ACT = G (△Xj(i))로 된다.In other words, if the upper layer data is XO (i + 1) and the lower layer data is Xj (i), the inter-layer difference code value? Xj (i) = XO (i + 1)-Xj (i). However, j = 0-3. If the block activity determination function is G (·), then the block activity ACT = G (ΔXj (i)).

또 계층 판정 플래그 FLG (0 : 분할중지, I : 분할계속)라 하면, FLG = 0 의 경우, 하위 계층의 분할을 중지하고, ACT≥임계치 TH 이며 FLG = 1 의 경우, 하위 계층의 분할을 실행하며, ACT < 임계치 TH 이며 FLG = 1 의 경우 하위 계층의 분할을 중지한다.If the FLG (0: stop division, I: continue division), the division of the lower layer is stopped if FLG = 0, and the division of the lower layer is executed if ACT≥ threshold TH and FLG = 1. If ACT <threshold TH and FLG = 1, the partitioning of the lower layer is stopped.

그 계층에서의 분할 판정 종료 후, 분할 판정 결과를 판정플래그 FLG 로서 정의 후, 다음 하위 계층으로 전송시킨다. 이와 같이 FLG = 0 의 경우는 하위 계층에서의 분할을 행하지 않는다.After completion of the division decision in that layer, the division decision result is defined as the decision flag FLG, and then transferred to the next lower layer. Thus, in the case of FLG = 0, division in lower layer is not performed.

(2) 계층 부호화 엔코더부(2) hierarchical encoding encoder

계층 부호화 엔코더부 80A 는 제 24 도에 나타낸 구성이며 부호기 51∼54 가 제 25 도에서와 같이 구성되는 점을 제외하고는 제 12 도 및 제 13 도에서 설명한 것과 마찬가지의 구성을 가진다.The hierarchical encoding encoder 80A has the configuration shown in FIG. 24 and has the same configuration as described in FIGS. 12 and 13 except that the encoders 51 to 54 are configured as in FIG.

이 경우 부호기 54, 53, 52 는 각각 블럭의 분할 또는 비분할에 사용하는 임계치 판정 결과 정보 J1, J2, J3 를 인접하는 하위 계층의 부호기 53, 52, 51 에 전송한다. 이에 따라 계층 부호화 엔코더부 80A 는 일단 불력 분할을 중지한 블럭에 대하여는 그 이후의 하위 계층에서는 전부 분할을 중지하게 된다.In this case, the encoders 54, 53, and 52 transmit the threshold determination result information J1, J2, J3 used for dividing or non-dividing the blocks, respectively, to the encoders 53, 52, 51 of the adjacent lower layer. As a result, the hierarchical encoding encoder 80A stops dividing all the blocks in the subsequent lower hierarchies with respect to a block in which discontinuous division has been stopped.

실제로, 부호기 51∼54 는 제 25 도에서와 같이 구성되어 있다. 제 25 도에서는 간단화하기 위해 부호기 52 및 53 의 구성에 대해 나타낸다.In practice, the encoders 51 to 54 are configured as in FIG. 25 shows the configuration of encoders 52 and 53 for simplicity.

부호기 53 은 차분 데이터 D43 를 부호화 회로 53A 및 분할 제어부 53B 의 액티버티 검출 회로 53C 에 입력한다. 액티버티 검출 회로 53C 는 차분 데이터 D43 의 소정 블럭 마다의 액티버티를 검출하고, 이에 의해 얻은 검출 결과를 이어지는 임계치 판정 회로 53D 로 제공한다. 임계치 판정 회로 53D 는 각 블럭 마다의 액티버티 검출 결과를 임계치 데이터 D57 과 비교하여 그것에 의해 얻은 판정 결과를 임계치 판정 결과 정보 J2 로서 부호화 회로 53A 및 인접하는 하위 계층의 부호기 52 로 전송한다. 부호화 회로 53A 는 임계치 판정 결과 정보 J2 에 기초하여 액티버티의 높은 블럭에 대하여는 압축 부호화하여 전송하고 이에 대하여 액티버티가 낮은 블럭에 대하여는 전송하지 않는다.The encoder 53 inputs the difference data D43 to the activity detection circuit 53C of the encoding circuit 53A and the division controller 53B. The activity detection circuit 53C detects the activity for each predetermined block of the difference data D43 and provides the detection result obtained by the subsequent threshold determination circuit 53D. The threshold determination circuit 53D compares the activity detection result for each block with the threshold data D57, and transmits the determination result obtained as the threshold determination result information J2 to the encoding circuit 53A and the encoder 52 of the adjacent lower layer. The encoding circuit 53A compresses and encodes the high block of the activity based on the threshold determination result information J2, and does not transmit the block with the low activity.

여기에서 액티버티 검출 회로 53C 및 임계치 판정 회로 53D 는 인접하는 상위 계층의 부호기 54 로부터 출력되는 임계치 판정 결과 정보 J1 를 받아 그 임계치 판정 결과 정보 J1 가 블럭의 분할을 행하는 것을 표시한 것인 경우에는 액티버티 검출 및 임계치 판정 결과를 실행한다. 이에 대해 임계치 판정 결과 정보 J1 가 블럭의 비분할을 표시한 것인 경우에는 그에 대응하는 블럭에 대하여는 액티버티 검출 및 임계치 판정을 행하지 않음과 함께 임계치 판정 회로 53D 에서 블럭의 비분할을 표시한 임계치 판정 결과 정보 J2 를 출력한다.In this case, the activity detection circuit 53C and the threshold determination circuit 53D receive the threshold determination result information J1 outputted from the encoder 54 of the adjacent upper layer and indicate that the threshold determination result information J1 divides the block. Executes the vertex detection and threshold determination results. On the other hand, when the threshold determination result information J1 indicates the non-division of the block, activity detection and threshold determination are not performed on the block corresponding thereto, and the threshold determination circuit 53D displays the non-division of the block. Output the result information J2.

부호기 52 도 마찬가지로 액티버티 검출 회로 52C 및 임계치 판정 회로 52D가 인접 상위 계층의 부호기 53 으로부터 블럭의 분할을 표시하는 임계치 판정 결과 정보 J2 를 받는 경우에는 대응하는 블럭에 대한 액티버티 검출 및 임계치 판정을 실행하는 것에 대해, 블럭의 비분할을 표시한 임계치 판정 결과 정보 J2 를 받는 경우에는 액티버티 검출 및 임계치 판정을 행하지 않음과 함께 임계치 판정 회로 52D 로부터 블럭의 비분할을 나타낸 임계치 판정 결과 정보 J3 를 출력한다.Similarly, in the encoder 52, when the activity detection circuit 52C and the threshold determination circuit 52D receive the threshold determination result information J2 indicating the division of the block from the encoder 53 of the adjacent upper layer, the activity detection and threshold determination for the corresponding block are executed. On the other hand, when the threshold determination result information J2 indicating the non-division of the block is received, the activity detection and threshold determination are not performed, and the threshold determination result information J3 indicating the non-division of the block is output from the threshold determination circuit 52D. .

이와 같이 계층 부호화 엔코더부 80A 에 있어서는 일단 블럭의 비분할 판정 결과를 얻으면, 그에 대응한 블럭에 대하여는 그 이후의 하위 계층에는 블럭 분할을 하지 않도록(즉 부호화 하지 않고) 되어 있다.In this way, in the hierarchical encoding encoder 80A, once a block non-division determination result is obtained, the block corresponding to the block is not divided (i.e., not encoded) in the subsequent lower layers.

(3) 발생정보량 제어부(3) occurrence information amount control unit

발생 정보량 제어부 80B 는 제 26 도에서와 같이 구성되어 있다.The generation information amount control unit 80B is configured as shown in FIG.

발생 정보량 제어부 80B 는 입력 화상 데이터 D31 를 평균치 회로 42, 44, 46, 48 을 순차적으로 거쳐 1/4 평균화하여 해상도가 다른 5 계층의 화상 데이터를 생성한다.The generation information amount control unit 80B sequentially averages the input image data D31 through the average circuits 42, 44, 46, and 48 in order to generate five layers of image data having different resolutions.

계속하여 차분 데이터로서 전송되는 화상 데이터의 각 계층 마다의 발생 정보량을 구하기 위해, 1 계층상의 계층 화상 데이터 D32, D33, D34 및 D35 와 각 계층의 화상 데이터 D31, D32, D33 및 D34 와의 차를 각 차분회로 61, 62, 53 및 64 에서 구한다.Subsequently, the difference between the hierarchical image data D32, D33, D34, and D35 on one layer and the image data D31, D32, D33, and D34 on each layer is determined in order to obtain the amount of occurrence information for each layer of the image data transmitted as difference data. Obtained from the differential circuits 61, 62, 53 and 64.

이러한 각 차분 회로 61, 62, 63 및 64 로부터 출력되는 차분 데이터는 계층 부호화 엔코더부 80A 에 있어서 계층 처리에 의하여 얻어지는 각 계층의 차분 데이터로 규정될 수 있다.The difference data output from each of the difference circuits 61, 62, 63, and 64 can be defined as the difference data of each layer obtained by the layer processing in the layer encoding encoder 80A.

액티버티 검출 회로 65, 66, 67 및 68 은 제 1 계층∼ 제 4 계층의 화상 데이터에 각각 대응하고, 각 계층의 각 블럭에 대하여 액티버티를 구하고 이에 대응하는 도수 분포표 69∼72 에 등록하도록 되어 있다.The activity detection circuits 65, 66, 67, and 68 correspond to the image data of the first to fourth layers, respectively, and obtain the activity for each block of each layer and register them in the corresponding frequency distribution tables 69 to 72. have.

여기에서 도수 분포표의 생성 과정에서는 엔코더부의 전송 데이터량을 정확하게 파악하기 위하여 상위 계층 1 화소에 대응하는 하위 계층 4 화소 중 실제로 엔코더에 의한 전송 대상인 3 화소를 사용하도록 되어 있다.Here, in the process of generating the frequency distribution table, in order to accurately grasp the transmission data amount of the encoder, three pixels that are actually the transmission targets by the encoder are used among the lower layer 4 pixels corresponding to the upper layer 1 pixel.

또 제 5 계층의 화상 데이터에 대하여는 최상위의 계층 데이터로서 차분 데이터로 되지 않고 직접 전송되기 때문에 각 블럭에 대한 동적 범위가 그대로 도수 분포표 73 에 등록된다.The image data of the fifth hierarchical layer is directly transmitted as the hierarchical hierarchical data instead of the difference data, so that the dynamic range for each block is registered in the frequency distribution table 73 as it is.

이것은 상기 엔코더부 80A 에 있어서 실행되는 압축 처리에 대응하는 데이터의 도수를 계측한다. 예컨대 제 5 계층 데이터 D35 에 대하여 PCM 부호화에 의한 압축 처리가 되는 경우, 각 블럭에 대해 제공되는 동적 범위가 데이터로서 등록되고, 압축 처리 방법으로서 ADRC(적응 동적 범위 부호화(USP-4703352))를 적용하는 경우에는 ADRC 블럭의 DR 이 등록된다.This measures the frequency of data corresponding to the compression process performed in the encoder part 80A. For example, when compression processing by PCM encoding is performed on the fifth layer data D35, the dynamic range provided for each block is registered as data, and ADRC (Adaptive Dynamic Range Coding (USP-4703352)) is applied as the compression processing method. If so, the DR of the ADRC block is registered.

다음에, 제 4 계층 데이터 D34 및 제 5 계층 데이터 D35 로부터의 차분 데이터 D64 가 생성된다. 이 차분 데이터 D64 에 관하여 블럭 액티버티가 액티버티 검출 회로 68 에서 검출된다. 여기에서 검출된 블럭 액티버티 D68 은 도수 분포표 72 에 등록된다.Next, difference data D64 from the fourth layer data D34 and the fifth layer data D35 is generated. The block activity is detected by the activity detection circuit 68 with respect to this difference data D64. The block activity D68 detected here is registered in the frequency distribution table 72.

제 3 계층 데이터 D33 및 제 4 계층 데이터 D34 로부터 차분 데이터 D63 이 생성된다. 차분 데이터 D63 에 관해 블럭 액티버티가 액티버티 검출 회로 67 에서 검출된다. 여기에서 검출된 블럭 액티버티 D67 은 도수 분포표 71 에 등록된다. 이때 제 4 계층에서의 임계치 판정 결과에서 블럭 분할 속행 판정을 받은 블럭만에 대해 제 3 계층에서는 블럭 분할 판정을 행한다.The difference data D63 is generated from the third layer data D33 and the fourth layer data D34. The block activity is detected in the activity detection circuit 67 with respect to the difference data D63. The block activity D67 detected here is registered in the frequency distribution table 71. At this time, the third layer performs block division determination on only the blocks that have received the block division continued determination in the threshold determination result in the fourth layer.

따라서 도수 분포표 71 은 제 4 계층에서의 블럭 액티버티 D68 과 제 3 계층에서의 블럭 액티버티 D67 의 2 변수에 의해 좌표가 결정되는 블럭수를 나타내는 도수 분포표로 된다.Therefore, the frequency distribution table 71 becomes a frequency distribution table indicating the number of blocks whose coordinates are determined by two variables, the block activity D68 in the fourth layer and the block activity D67 in the third layer.

또 제 2 계층 데이터 D32 와 제 3 계층 데이터 D33 으로부터 차분 데이터 D62 가 생성되고, 액티버티 검출 회로 66 에서 블럭 액티버티 D66 가 출력된다. 검출된 블럭 액티버티 D66 은 도수 분포표 70 에 등록된다. 제 2 계층에 있어서는 제 4 계층, 제 3 계층에서 블럭 분할 속행 판정을 받은 블럭만에 관해 블럭 분할 판정을 행한다.The difference data D62 is generated from the second layer data D32 and the third layer data D33, and the block activity D66 is output from the activity detection circuit 66. The detected block activity D66 is registered in the frequency distribution table 70. In the second layer, block division determination is performed on only blocks that have been subjected to block division continuing determination in the fourth and third layers.

따라서 도수 분포표 70 은 제 4 계층에서의 블럭 액티버티 D68 와 제 3 계층에서의 블럭 액티버티 D67 과 제 2 계층에서의 블럭 액티버티 D66 의 3 변수로부터 좌표가 결정되는 블럭 도수 분포표로 된다.Therefore, the frequency distribution table 70 becomes a block frequency distribution table in which coordinates are determined from three variables of block activity D68 in the fourth layer, block activity D67 in the third layer, and block activity D66 in the second layer.

마지막으로 제 1 계층 데이터 D31 과 제 2 계층 데이터 D32 로부터 차분 데이터 D61 이 생성되고 액티버티 검출 회로 65 에서 블럭 액티버티 D65 가 출력된다. 검출된 블럭 액티버티 D65 는 도수 분포표 69 에 등록된다. 제 1 계층에 있어서는 제 4 계층, 제 3 계층 및 제 2 계층에서 블럭 분할 속행 판정을 받은 블럭만에 관하여 블럭 분할 판정을 행한다.Finally, the difference data D61 is generated from the first layer data D31 and the second layer data D32 and the block activity D65 is output from the activity detection circuit 65. The detected block activity D65 is registered in the frequency distribution table 69. In the first layer, block division determination is performed on only blocks that have been subjected to block division continuation determination in the fourth layer, the third layer, and the second layer.

따라서 도수 분포표 69 는 제 4 계층에서의 블럭 액티버티 D68 과 제 3 계층에서의 블럭 액티버티 D67 과 제 2 계층에서의 블럭 액티버티 D66 과 제 1 계층에서의 블럭 액티버티 D65 의 4 변수로부터 구성된다.Thus, the frequency distribution table 69 consists of four variables: block activity D68 in the fourth layer, block activity D67 in the third layer, block activity D66 in the second layer, and block activity D65 in the first layer. .

이에 따라 생성된 도수 분포표 69∼73 을 사용하여 발생 정보량 제어가 실행된다. 각 도수 분포표와 후단의 제어부 74 는 쌍방향의 신호로(signal channel) D69-D73 에 의해 접속된다.The amount of occurrence information is controlled by using the frequency distribution tables 69 to 73 generated accordingly. Each frequency distribution table and the control section 74 at the rear end are connected by bidirectional signal channels D69-D73.

제어부 74 에 있어서는 먼저 각도수 분포표에 대한 임계치가 각 도수 분포표로 전송된다. 각 도수 분포표에 있어서는 임계치에 대응하는 발생 정보량이 검출 된다. 그 각도수 분포표에 있어서 발생 정보량은 신호로 D69-D73 을 통해 제어부 74 로 전송된다.In the controller 74, a threshold for the angle distribution table is first transmitted to each frequency distribution table. In each frequency distribution table, the generation information amount corresponding to a threshold value is detected. In the angular number distribution table, the amount of information generated is transmitted as a signal to the controller 74 via D69-D73.

제어부 74 에 있어서는 수신된 각 도수 분포표에서 발생 정보량을 통합하고, 제어 대상이 되는 총 발생 정보량을 산출한다. 이 총 발생 정보량과 목표치를 비교하고, 비교 결과로부터 목표치를 만족하도록 임계치가 변경된다.The control unit 74 integrates the amount of occurrence information in each received frequency distribution table, and calculates the total amount of occurrence information to be controlled. The total value of occurrence information is compared with the target value, and the threshold value is changed to satisfy the target value from the comparison result.

다시 갱신된 임계치는 제어부 74 로부터 신호로 D69-D73 을 거쳐 각도수 분포표로 전송된다. 또 이것에 대응하는 발생정보량이 다시 제어부 74 로 전송된다.The updated threshold value is transmitted from the controller 74 to the angle distribution table via signals D69-D73. Incidentally, the occurrence information amount corresponding to this is transmitted to the control unit 74 again.

이상의 처리를 반복하고, 최종적으로 목표치를 달성한 제어결과 D57 이 결정된다. 결정된 발생 정보량 제어치 D57 은 계층 부호화 엔코더부 80A 로 전송된다.The above process is repeated, and the control result D57 which finally achieved the target value is determined. The determined generation information amount control value D57 is transmitted to the hierarchical encoding encoder 80A.

이 정보량 제어 처리 기간 동안 제어 대상인 데이터는 엔코더부 80A 에 포함되는 메모리 M1 에 의해 대기되게 된다. 이러한 피드 포워드형 버퍼링의 구성을 사용하여 대상 데이터에 적합한 임계치를 결정할 수 있고, 효율이 좋은 부호화를 실현할 수 있다.During this information amount control process, data to be controlled is held by the memory M1 included in the encoder unit 80A. By using such a configuration of feed forward buffering, a threshold suitable for the target data can be determined, and efficient encoding can be realized.

여기에서는 정보량 제어용의 도수 분포표 69∼73 에 대해 설명한다.Here, the frequency distribution tables 69 to 73 for controlling the amount of information will be described.

제 27도(A)∼(E)는 각각 최상위 계층 데이터(제 5 의 계층 데이터)∼최하위의 계층 데이터(제 1 의 계층 데이터)에 대하여 얻은 블럭 액티버티의 도수 분포표를 나타낸다. 여기에서, 도 27(A)에 나타낸 제 5 의 계층에 대한 도수 분포표에 관하여는 대상 데이터가 차분 데이터에서는 아니기 때문에 동적 범위에 의한 도수 분포표가 생성된다. 예컨대 PCM 부호화를 적용하는 경우에는 부호화된 블럭에 대한 동적 범위가 등록되게 된다.27A to 27E show a frequency distribution table of block activities obtained for the highest hierarchical data (the fifth hierarchical data) to the lowest hierarchical data (the first hierarchical data), respectively. Here, with respect to the frequency distribution table for the fifth hierarchy shown in FIG. 27A, the frequency distribution table based on the dynamic range is generated because the target data is not the difference data. For example, when the PCM encoding is applied, the dynamic range for the coded block is registered.

한편 다른 도수 분포표 69∼72 는 대상 데이터가 차분 데이터이며, 각 도수 분포표에 대하여 주어지는 임계치 TH1, TH2, TH3, TH4 이상의 블럭 액티버티를 가지는 블럭이 분할 대상 블럭으로 된다.On the other hand, in the other frequency distribution tables 69 to 72, the target data is differential data, and blocks having block activities of thresholds TH1, TH2, TH3, and TH4 or more given to each frequency distribution table are the target blocks to be divided.

따라서 각 계층에 있어서 임계치 이상의 블럭 액티버티를 갖는 블럭의 수를 산출하면 발생 정보량을 산출할 수 있다.Therefore, the amount of generated information can be calculated by calculating the number of blocks having a block activity above a threshold in each layer.

다음에, 발생 정보량의 산출 예를 설명한다. 발생 정보량의 산출을 위해서는 각 계층에서 분할 판정 임계치 이상의 블럭수를 계출할 필요가 있으나, 이 실시예에서 대상으로 하는 판정 플래그 전달 방법(propagating method)에 의한 계층 부호화에서 발생 정보량 제어에는 상위 계층에 있어서 분할 중지 판정을 받은 블럭을 하위 계층에서의 판정 대상으로부터 제거할 필요가 있다.Next, an example of calculating the generation information amount will be described. In order to calculate the amount of occurrence information, it is necessary to calculate the number of blocks equal to or greater than the division determination threshold in each layer. However, in the hierarchical encoding by the decision flag propagating method, which is the target in this embodiment, the generation information amount control is performed in the upper layer. It is necessary to remove the block that has received the division stop determination from the determination target in the lower layer.

또 각 계층에 있어서는 분할 판정을 행하기 위하여 블럭 액티버티에 대한 임계치를 도입한다.In each layer, a threshold for the block activity is introduced to perform the division decision.

여기에서 제 1 계층에서 분할 대상 블럭내 화소수 합을 M1, 또한 제 1 계층 데이터의 양자화 비트수를 Q1, 제 1 계층의 판정 플래그 비트수를 N1 이라 하면, 제 1 계층에서 발생 정보량 I1 은 다음식Here, if the sum of the number of pixels in the division block in the first layer is M1, the number of quantization bits in the first layer data is Q1, and the number of determination flag bits in the first layer is N1, the amount of information I1 generated in the first layer is N1. food

에 의해 얻을 수가 있다.Can be obtained by

이 (11)식에서 제 1 항에서의 각 비트수가 4 배인 것은, 이 예의 경우, 각 블럭이 2 라인 x 2 화소로 분할되기 때문이다. 또 제 1 항에서 3/4 배로 되는 것은 상위 계층치가 하위 계층치의 평균치로부터 생성되는 구조에 있어서 상위 계층치와 전송되는 하위 계층치 3 화소를 사용한 산술식에 의해 하위계층의 4 번째의 비전송 화소치가 복원되는 성질을 반영하고 있기 때문이다.In the equation (11), the number of bits in the first term is four times because in this example, each block is divided into two lines x two pixels. In the structure of claim 1, 3/4 times the fourth non-transmitted pixel of the lower layer by an arithmetic expression using the upper layer value and the lower layer value transmitted 3 pixels in the structure in which the upper layer value is generated from the average value of the lower layer values. This is due to the nature of the restoration.

그리고 제 2 항에 있어서 제 1 계층에서의 블럭수를 N1 이 가산되는 것은 분할 판정 플래그로서 각 블럭마다 1 비트 부가하여 전송하는 것을 나타낸다.4. The addition of N1 to the number of blocks in the first layer according to claim 2 indicates that transmission is performed by adding one bit for each block as a division determination flag.

마찬가지로 제 2, 제 3, 제 4 계층에 대해서도, 각 계층에서의 분할대상 블럭내 화소수 합을 M2, M3, M4 로 하고, 각 계층에서의 양자화 비트수를 Q2, Q3, Q4, 각 계층에서의 판정 플래그 비트수를 N2, N3, N4 로 하면, 각 계층에서의 발생 정보량 Ik (k = 2, 3, 4)는, 다음식Similarly, for the second, third, and fourth layers, the sum of the number of pixels in the divided blocks in each layer is M2, M3, M4, and the number of quantization bits in each layer is Q2, Q3, Q4, in each layer. When the number of determination flag bits of N2, N3 and N4 is N, the amount of information Ik (k = 2, 3, 4) generated in each layer is

에 의해 주어진다.Is given by

이러한 제 1∼제 4 계층에 대한 발생 정보량 I1∼I4 및 제 5 계층에 대한 발생 정보량 I5 를 사용하면, 계층 부호화 엔코더부 80A 의 부호화 처리에 의해 생기는 총 발생 정보량 I 는 다음식When the occurrence information amounts I1 to I4 for the first to fourth layers and the generation information amount I5 for the fifth layer are used, the total generated information amount I generated by the encoding processing of the layer encoding encoder 80A is expressed by the following equation.

과 같이 각 계층마다의 발생 정보량의 합으로서 구해진다.As described above, the sum is generated as the sum of the amount of information generated for each layer.

여기에서 각 계층의 발생 정보량에 판정 플래그의 비트수가 가산되나, 이 플래그의 정보량은 상위 계층에서 분할 처리가 실행된 블럭수와 동일하다. 즉 상위 계층에서 분할처리가 중지된 블럭은 하위 계층에 있어서는 분할 판정 대상에서 제외하는 것을 의미하고 있다. 각 블럭의 공간적 위치는 상위 계층으로부터의 판정 플래그의 이력에 의해 각 계층에서 특정할 수 있다.Here, the number of bits of the determination flag is added to the amount of information generated in each layer, but the information amount of this flag is the same as the number of blocks for which division processing is performed in the upper layer. In other words, a block in which division processing is stopped in an upper layer is excluded from a division determination target in a lower layer. The spatial position of each block can be specified in each layer by the history of decision flags from higher layers.

여기에서 개개의 도수 분포표에 대해 설명한다.Here, each frequency distribution table is demonstrated.

상기와 같이 최상위 계층 데이터의 도수 분포표는 압축 방식에 의존하는 것이므로, 한결같이 결정되지 않는다. 그러나 도수 분포표 등의 수단을 써서 발생 정보량을 제어할 수 있다.As described above, since the frequency distribution table of the highest hierarchical data depends on the compression method, it is not always determined. However, the amount of information generated can be controlled by means such as a frequency distribution table.

다음에 제 4 계층 데이터에 관하여는 블럭 액티버티 ACT4에 대한 블럭 도수가 등록되어 있다. 제 28도(A)에 나타낸 제 5 계층 도수 분포표에 대하여 제 28도(B)의 제 4 계층 도수 분포표를 사용하는 것으로 용이하게 임계치 TH4 에 대한 발생 정보량을 산출할 수 있다.Next, with respect to the fourth layer data, the block frequency for the block activity ACT4 is registered. By using the fourth hierarchical frequency distribution table of FIG. 28B for the fifth hierarchical frequency distribution table shown in FIG. 28A, the amount of occurrence information for the threshold TH4 can be easily calculated.

임계치 TH4 이상의 블럭이 분할 대상이 됨으로, 임계치 이상의 블럭수 합을 구함으로써 제 4 계층에서의 발생 정보량을 산출한다.Since blocks equal to or larger than the threshold TH4 are to be divided, the amount of information generated in the fourth layer is calculated by calculating the sum of the number of blocks equal to or greater than the threshold.

다음에, 제 3 계층의 도수 분포표의 예컨대 제 29 도에 나타낸다. 판정 플래그 전달 방법에서는 상위 계층에서 분할 중지판정을 받은 블럭을 판정 대상에서 제외한다.Next, for example, FIG. 29 of the frequency distribution table of the third hierarchy is shown. In the determination flag delivery method, a block that has received the division stop determination in the upper layer is excluded from the determination object.

여기에서, 제 3 계층 블럭 액티버티 ACT3 와 제 4 계층 블럭 액티버티 ACT4의 2 변수로 정의되는 도수 분포표를 도입한다.Here, a frequency distribution table defined by two variables, the third layer block activity ACT3 and the fourth layer block activity ACT4, is introduced.

즉 제 4 계층의 임계치 TH4 이상으로 제 3 계층 임계치 TH3 이상의 블럭 도수를 구한다.In other words, the number of blocks equal to or greater than the threshold TH4 of the fourth layer is determined.

이 조작은 제 29 도의 도수 분포표에 있어서 ACT4 축에는 임계치 TH4 이상, ACT3 축에는 임계치 TH3 이상의 블럭 도수를 산출한 것으로 상기 조건을 만족하는 제 3 계층에서의 발생 정보량 산출을 행할 수 있다.This operation calculates the amount of information generated in the third layer that satisfies the above conditions by calculating the block counts of the threshold TH4 or more on the ACT4 axis and the threshold TH3 or more on the ACT3 axis in the frequency distribution table of FIG.

다음에 제 2 계층, 제 1 계층의 도수 분포표의 예를 제 30 도에 나타낸다.Next, FIG. 30 shows an example of the frequency distribution table of the second hierarchy and the first hierarchy.

제 3 계층외 도수 분포표와 같은 방식에 따라 다변수에 의해 정의된 도수 분포표를 생성한다.A frequency distribution table defined by a multivariate is generated in the same manner as the third hierarchical frequency distribution table.

제 2 계층에 있어서는 제 2 계층, 제 3 계층, 제 4 계층의 각각의 블럭 액티버티 ACT2, ACT3, ACT4 로 정의되는 블럭을 도수 분포표에 등록한다. 이 상태를 제 30도(A)에 나타낸다.In the second layer, blocks defined by the block activities ACT2, ACT3, and ACT4 of the second, third, and fourth layers are registered in the frequency distribution table. This state is shown in FIG. 30A.

제 2 계층의 경우는 ACT4 축에서는 임계치 TH4 이상, ACT3 축에서는 임계치 TH3 이상, ACT2 축에서 임계치 TH2 이상의 블럭 도수를 산출하는 것으로 제 2 계층에서의 발생 정보량을 산출한다.In the case of the second layer, the amount of information generated in the second layer is calculated by calculating the block count of the threshold TH4 or more on the ACT4 axis, the threshold TH3 or more on the ACT3 axis, and the threshold TH2 or more on the ACT2 axis.

제 1 계층에 있어서는 제 1 계층, 제 2 계층 제 3 계층 및 제 4 계층 각각의 블럭 액티버티 ACT1, ACT2, ACT3 및 ACT4 로 정의되는 블럭을 도수 분포표에 등록한다. 이러한 제 30 도(B)에 나타낸다.In the first layer, blocks defined by the block activities ACT1, ACT2, ACT3, and ACT4 of the first layer, the second layer, the third layer, and the fourth layer are registered in the frequency distribution table. It shows in such FIG. 30 (B).

제 1 계층의 경우에는 ACT4 축에서는 임계치 TH4 이상, ACT3 축에서는 임계치 TH3 이상, ACT2 축에서는 임계치 TH2 이상의 블럭 도수를 산출하는 것으로 제 1 계층에서의 발생 정보량을 산출한다.In the case of the first layer, the amount of information generated in the first layer is calculated by calculating the block count of the threshold TH4 or more on the ACT4 axis, the threshold TH3 or more on the ACT3 axis and the threshold TH2 or more on the ACT2 axis.

이상 5 종류의 도수 분포표를 사용하여 임계치에 대한 발생 정보량을 산출하고 목표 정보량에 합치하는 제어를 행할 수 있다.By using the above five types of frequency distribution tables, it is possible to calculate the amount of occurrence information for the threshold value and to perform control to match the target information amount.

여기에서 발생 정보량 제어에 사용하는 각 계층의 임계치에 대하여는 각 계층마다 독립적으로 변경하는 수법이 있다.Here, there is a method of changing the threshold value of each layer used to control the amount of occurrence information independently for each layer.

예컨대, 각 계층마다 예비 목표 정보량을 설정하고 각 계층마다 독립적으로 임계치를 변경하여 목표 정보량에 합치하는 제어를 행하는 수법이 있다.For example, there is a method of setting a preliminary target information amount for each layer and controlling the threshold value independently for each layer to conform to the target information amount.

또 별도의 수법으로는 각 계층의 임계치의 조합을 미리 준비하고 제어 순서에 따라 그 임계치 조합을 적용하는 것으로 제어의 간소화를 도모한 수법도 고려된다.As another method, a method for simplifying control is also considered by preparing a combination of thresholds of each layer in advance and applying the threshold combinations according to the control order.

여기에서 상기 각 계층에서의 도수 분포표를 사용한 발생 정보량 제어 수법에 있어서 각 계층에는 상위 계층의 분할 판정 결과를 고려하면서, 각 계층의 블럭 액티버티가 임계치 이상의 블럭 도수를 산출하는 것으로 최적 제어치를 검출한다.Here, in the generation information amount control method using the frequency distribution table in each layer, an optimum control value is detected by calculating the block count of a threshold value above each threshold while taking into account the division decision result of a higher layer in each layer. .

이 임계치 이상의 블럭 도수 산출 시간의 고속화를 위하여 블럭 도수가 등록된 도수 분포표를 절산형 도수 분포표로 재구성 할 수 있다.In order to speed up the calculation time of the block frequency above this threshold, the frequency distribution table in which the block frequency is registered can be reconstructed into a truncated frequency distribution table.

이 적산형 도수 분포표의 예를 제 32 도에 나타낸다. 즉 블럭 액티버티를 등록한 결과, 제 31 도에 나타낸 도수 분포표 예가 얻어진다. 이 경우 설명을 간소화하기 위해 블럭 액티버티가 1 변수의 예를 표시한다. 상기 도수 분포표에서는 제 4 계층의 것과 같게된다.An example of this integrated frequency distribution table is shown in FIG. That is, as a result of registering the block activity, the frequency distribution table example shown in FIG. 31 is obtained. In this case, for simplicity, the block activity shows an example of one variable. In the frequency distribution table, it becomes the same as that of the fourth layer.

적산형 도수 분포표는 제 31 도의 도수 분포표의 블럭 액티버티의 최대치에 대응하는 블럭 도수로부터 개시하고, 보다 작은 블럭 액티버티값에 대응하는 블럭 도수로 적산연산을 실행하고, 각각의 적산 결과를 도수 분포표에 재등록한다.The integrated frequency distribution table starts from the block frequency corresponding to the maximum value of the block activities in the frequency distribution table of FIG. 31, performs the integration operation with the block frequency corresponding to the smaller block activity value, and stores each integration result in the frequency distribution table. Re-register.

이 처리를 수식으로 표현하면, 다음식If this process is expressed as a formula,

로 표시할 수 있다. 단 SUM(·)는 적산 블럭 도수를 표시하고, N(·)는 도수 분포 표에서의 블럭 도수를 나타내며, act 는 적산 도수 분포표에서의 블럭 액티버티 변수를 표시하고, ACT 는 도수 분포표에서의 블럭 액티버티 변수를 표시하며, n 을 도수 분포표에서의 변수 최대치를 나타낸다.Can be displayed as SUM (·) denotes the integrated block frequency, N (·) denotes the block frequency in the frequency distribution table, act denotes the block activity variable in the integrated frequency distribution table, and ACT denotes the block in the frequency distribution table. Indicate activity variables, where n represents the variable maximum in the frequency distribution table.

(14) 식의 의미하는 것은 블럭 액티버티값 어드레스의 블럭 도수를 판독하고, 상위 블럭 액티버티값까지의 적산치에 가산한 결과를, 그 블럭 액티버티값 어드레스에 기입하는 처리가 된다.The expression (14) means processing of reading the block frequency of the block activity value address and adding the result of the addition to the integrated value up to the higher block activity value to the block activity value address.

그 결과 제 32 도에 나타낸 적산형 도수 분포표를 얻는다. 이 적산형 도수 분포표에 있어서는 제 31 도의 사선부의 블럭 도수합이 임계치 TH 좌표 데이터 I에 대응한다. 이 적산형 도수 분포표에 의해 임계치 TH 를 변경하기 때문에, 매회 제 31 도의 사선부의 블럭 도수합을 계산할 필요는 없게 된다. 즉, 적산형 도수 분포표의 임계치에 대응하는 적산 블럭 도수를 출력하는 것으로 블럭 도수합의 산출이 실현된다.As a result, an integrated frequency distribution table shown in FIG. 32 is obtained. In this integrated frequency distribution table, the block frequency sum of the oblique portions in FIG. 31 corresponds to the threshold TH coordinate data I. FIG. Since the threshold value TH is changed by this integrated frequency distribution table, it is not necessary to calculate the block frequency sum of the oblique portions of FIG. 31 each time. That is, the calculation of the block frequency sum is realized by outputting the integrated block frequency corresponding to the threshold of the integrated frequency distribution table.

또 제 29 도의 제 3 계층 도수 분포표는 2 변수의 경우를 나타낸 것이며, (14)식을 확장하여 적산형 도수 분포표가 생성되고, 다음식In addition, the 3rd hierarchical frequency distribution table of FIG. 29 shows the case of 2 variables, and expands the formula (14), and the integrated frequency distribution table is produced | generated

을 얻는다. 단 SUM(·)는 적산 블럭 도수를 나타내고, N(·)는 도수 분포표에서의 블럭 도수를 나타내며, act3 은 적산 도수 분포표에서의 제 3 계층 대응 변수를 나타내며, act4 는 적산도수 분포표에서의 제 4 계층 대응 변수를 나타내며, ACT3은 도수 분포표에서의 제 3 계층 변수를 표시하고, ACT4 는 도수 분포표에서의 제 4 계층 변수를 표시하며, n 은 도수 분포표에서 변수 최대치를 나타낸다.Get Where SUM (·) represents the integrated block frequency, N (·) represents the block frequency in the frequency distribution table, act3 represents the third hierarchical corresponding variable in the integrated frequency distribution table, and act4 represents the zero in the integrated frequency distribution table. ACT3 represents the third hierarchical variable in the frequency distribution table, ACT4 represents the fourth hierarchical variable in the frequency distribution table, and n represents the variable maximum in the frequency distribution table.

(15) 식에 따라 생성된 적산형 도수 분포표에 있어서는 제 3 계층의 판정 임계치 TH3, 제 4 계층의 판정 임계치 TH4 의 어드레스에 대응하는 적산 블럭 도수가 임계치 TH3 이상 또 판정 임계치 TH4 이상의 블럭 도수합을 표시한다. 이에 따라 제 3 계층에서의 발생 정보량을 산출할 수가 있다.In the integrated frequency distribution table generated according to the equation (15), the sum of the block counts corresponding to the addresses of the determination threshold TH3 of the third layer and the determination threshold TH4 of the fourth layer is equal to or greater than the threshold TH3 or the determination threshold TH4. Display. As a result, the amount of information generated in the third layer can be calculated.

제 30 도의 제 2 계층, 제 1 계층의 도수 분포표에 관하여도, 적산형 도수 분포표를 사용하는 것으로 블럭 도수합 산출시간을 단축할 수 있다.Regarding the frequency distribution tables of the second and first hierarchies of FIG. 30, the integrated frequency distribution table can be used to shorten the block frequency calculation time.

이러한 경우는 블럭 액티버티 변수의 수가 증가함으로 적산회수는 많아진다.In this case, the number of integrations increases as the number of block activity variables increases.

먼저, 제 2 계층의 경우의 연산식을 다음식First, the expression in the case of the second layer is given by

에 의해 표시한다. 단, SUM(·)은 적산 블럭 도수를 표시하고, N(·)는 도수 분포 표에서의 블럭 도수를 나타내며, act2 는 적산도수 분포표에서의 제 2 계층 대응 변수를 나타내며, act3 는 적산 도수 분포표에서의 제 3 계층 대응 변수를 나타내며, act4 는 적산 도수 분포표에서의 제 4 계층 대응 변수를 나타내며, ACT2 는 도수 분포표에서의 제 2 계층 변수를 표시하며, ACT3 은 도수 분포표에서의 제 3 계층 변수를 나타내며, ACT4 는 도수 분포표에서의 제 4 계층 변수를 표시한다.Indicated by. Where SUM (·) denotes the integrated block frequency, N (·) denotes the block frequency in the frequency distribution table, act2 denotes the second hierarchical corresponding variable in the integrated frequency distribution table, and act3 denotes the integrated frequency distribution table. Represents the third hierarchical correspondence variable in, act4 represents the fourth hierarchical correspondence variable in the integrated frequency distribution table, ACT2 represents the second hierarchical variable in the frequency distribution table, and ACT3 represents the third hierarchical variable in the frequency distribution table. ACT4 indicates the fourth hierarchical variable in the frequency distribution table.

(16)식에 따라 생성된 적산형 도수 분포표에 있어서는 제 2 계층의 판정 임계치 TH2, 제 3 계층의 판정 임계치 TH3, 제 4 계층의 판정 임계치 TH4 의 어드레스에 대응하는 적산 블럭 도수가, 임계치 TH2 이상이며 임계치 TH3 이상 또 판정 임계치 TH4 이상의 블럭 도수합을 나타낸다.In the integrated frequency distribution table generated according to (16), the integrated block frequency corresponding to the address of the determination threshold TH2 of the second layer, the determination threshold TH3 of the third layer, and the determination threshold TH4 of the fourth layer is equal to or greater than the threshold TH2. And the sum of the counts of the threshold TH3 or more and the judgment threshold TH4 or more.

이에 따라 제 2 계층에서의 발생 정보량을 산출할 수 있다.Accordingly, the amount of information generated in the second layer can be calculated.

마지막으로, 도 30도(B)에 나타낸 제 1 계층의 도수 분포표에 관한 처리를 설명한다.Finally, the process regarding the frequency distribution table of the 1st layer shown to FIG. 30B (B) is demonstrated.

이 경우 블럭 액티버티 변수가 4 종류로 됨으로 가장 적산연산 회수가 많게 된다. 여기에서 제 1 계층의 경우의 연산식을 다음식In this case, there are 4 types of block activity variables, so that the number of times of accumulation is the highest. Here, the formula in the case of the first layer is

으로 표시한다. 단, SUM(·)은 적산 블럭 도수를 나타내고, N(·)는 도수 분포표에서의 블럭 도수를 나타내며, act1 은 적산 도수 분포표에서의 제 1 계층 대응 변수를 표시하며, act2 는 적산 도수 분포표에서의 제 2 계층 대응 변수를 표시하고, act3 은 적산도수 분포표에서의 제 3 계층 대응 변수를 나타내며, act4 는 적산 도수 분포표에서의 제 4 계층 대응 변수를 표시하며, ACT1 은 도수 분포표에서의 제 1 계층 변수를 나타내고, ACT2 는 도수 분포표에서의 제 2 계층 변수를 표시하고, ACT3 은 도수 분포표에서의 제 3 계층 변수를 표시하며, ACT4 는 도수 분포표에서의 제 4 계층 변수를 표시한다.Indicated by. Where SUM (·) represents the integrated block frequency, N (·) represents the block frequency in the frequency distribution table, act1 represents the first hierarchical corresponding variable in the integrated frequency distribution table, and act2 represents the integrated frequency distribution table. The second hierarchical correspondence variable, act3 represents the third hierarchical correspondence variable in the integrated frequency distribution table, act4 represents the fourth hierarchical correspondence variable in the integrated frequency distribution table, and ACT1 represents the first hierarchical variable in the frequency distribution table. Represents a variable, ACT2 represents a second hierarchical variable in the frequency distribution table, ACT3 represents a third hierarchical variable in the frequency distribution table, and ACT4 represents a fourth hierarchical variable in the frequency distribution table.

(17)식에서 생성되는 적산형 도수 분포표에 있어서는 제 1 계층의 판정 임계치 TH1, 제 2 계층의 판정 임계치 TH2, 제 3 계층의 판정 임계치 TH3, 제 4 계층의 판정 임계치 TH4 의 어드레스에 대응하는 적산 블럭 도수가, 임계치 TH1 이상, 임계치 TH2 이상, 임계치 TH3 이상 또 임계치 TH4 이상의 블럭 도수합을 나타낸다. 이에 따라 제 1 계층에서의 발생 정보량도 산출된다.In the integrated frequency distribution table generated by equation (17), an integration block corresponding to the address of the determination threshold TH1 of the first layer, the determination threshold TH2 of the second layer, the determination threshold TH3 of the third layer, and the determination threshold TH4 of the fourth layer. The frequency represents the sum of the blocks of the threshold TH1 or more, the threshold TH2 or more, the threshold TH3 or more and the threshold TH4 or more. Accordingly, the amount of information generated in the first layer is also calculated.

그 처리의 결과, (12)식에 의한 각 계층에서의 분할 대상 블럭수에 기초한 발생 정보량의 산출이 실현된다.As a result of the processing, calculation of the amount of generated information based on the number of blocks to be divided in each layer by the expression (12) is realized.

이상의 적산형 도수 분포표의 도입에 의하여 발생 정보량 제어시간을 대폭으로 단축하는 것이 가능해진다. 이 적산형 도수 분포표에 대해 더욱 발생 정보량 제어 시간을 단축하는 방법을 나타낸다.By introducing the above-described integrated frequency distribution table, it is possible to significantly shorten the generation information amount control time. A method of further reducing the amount of information information control time generated for this integrated frequency distribution table is shown.

이 제안에서 사용되는 적산형 도수 분포표는 분할 판정 임계치에 대한 발생 정보량의 산출에 이용된다. 여기에서 실제 임계치 처리에 있어서는 화질 열화의 관점으로부터 실용상, 큰 판정 임계치를 사용할 수가 없다. 그러므로, 블럭 액티버티값을 글립한 도수 분포표를 작성하는 것을 제안한다. 그 양상을 제 33 도 및 제 34도에 나타낸다.The integrated frequency distribution table used in this proposal is used to calculate the amount of occurrence information for the division decision threshold. In actual threshold processing, a large determination threshold cannot be used practically from the viewpoint of image quality deterioration. Therefore, it is proposed to prepare a frequency distribution table in which the block activity values are gripping. The aspect is shown in FIG. 33 and FIG.

제 33 도에서와 같이, 블럭 액티버티값을 LMT 로 클립하면 LMT 이상의 블럭 도수는 도수 분포표에 있어서는 전부 LMT 에 등록 된다. 그 결과, 도면과 같이 LMT에서의 블럭 도수가 커지게 된다. 산출한 블럭 도수합은 사선부에 있다.As shown in FIG. 33, when the block activity value is clipped to LMT, all block counts of LMT or more are registered in the LMT in the frequency distribution table. As a result, the block frequency in the LMT increases as shown in the figure. The calculated block count is in the diagonal line.

이 도수 분포표에 대한 적산형 도수 분포표를 제 33 도에 나타낸다. (14)식∼(17)식에 나타낸 적산 연산은 블럭 액티버티값의 최대치 n 에서는 아니고 블럭 액티버티값 LMT 에서 0 까지의 구간에 행해진다.33 shows an integrated frequency distribution table for this frequency distribution table. The integration operation shown in equations (14) to (17) is performed not in the maximum value n of the block activity value but in a section from the block activity value LMT to zero.

산출할 블럭 도수합은, 임계치 TH 의 좌표의 적산 블럭 도수 I 이다. 이 예에서와 같이 제 32 도와 동일한 결과가 얻어진다. 도수 분포표의 블럭 액티버티값에 클리핑을 도입함에 의해 적산형 도수 분포표 작성 시간의 단축화 및 도수 분포표 메모리 공간의 소형화를 실현한다.The block frequency sum to calculate is the integrated block frequency I of the coordinate of threshold TH. As in this example, the same result as in the thirty-second degree is obtained. By introducing clipping into the block activity value of the frequency distribution table, it is possible to shorten the integrated frequency distribution table creation time and reduce the frequency distribution table memory space.

이 수법을 적용하는 구성으로서는 각 계층마다 클립된 값 LMT 를 변화하는 경우와 각 계층 전체에 클립된 값 LMT 를 고정하는 경우의 2 종류가 고려된다.As the configuration to apply this method, two kinds of cases are considered: a case where the clipped value LMT is changed for each layer and a case where the clipped value LMT is fixed to the entire layer.

전자는 각 계층의 계층간 차분치 분포에 명확하게 다름이 있는 때에 이용하고 후자는 각 계층의 계층간 차분치 분포가 큰 차이가 없을 때에 사용한다.The former is used when there is a distinct difference in the distribution of differences between the hierarchies of each layer, and the latter is used when there is no significant difference between the hierarchical differences in each layer.

제 35 도는 계층 부호화 처리의 흐름도를 나타내며, 스텝 SP2 에 있어서 계층 번호를 기억하는 계층 카운터 1 에 「4」가 등록되고, 이 계층화의 프레임이 결정된다.35 shows a flowchart of the hierarchical encoding process. In step SP2, "4" is registered in the hierarchical counter 1 which stores the hierarchical number, and the hierarchical frame is determined.

또 스텝 SP3 에 있어서 발생 정보량 연산에 의해 계층 데이터가 생성되며 스텝 SP4 에서 각 블럭 액티버티가 검출된다. 이 액티버티에 대하여 스텝 SP5 에서 제 29 도에서 상술한 다차원 도수 분포표를 작성 및 등록함으로써 발생 정보량 제어가 행해지고 최적 제어치가 결정된다.Further, in step SP3, hierarchical data is generated by the generation information amount calculation, and each block activity is detected in step SP4. By generating and registering the multidimensional frequency distribution table described above with reference to FIG. 29 in step SP5 for this activity, the amount of generated information is controlled and the optimum control value is determined.

다시 스텝 SP6 에 있어서 엔코더측에서 그 제어치에 기초해 계층 부호화가 실행된다. 즉 초기에 최상위 계층인 5 계층 데이터에 대하여 부호화 및 복합화가 행해진다. 그 결과가 하위 계층에 있어서 처리의 초기치로 되고 스텝 SP7 에 있어서 하위 계층과의 계층간 차분치가 생성된다. 또 스텝 SP8 에 있어서 상위 스테이지에서 결정된 발생 정보량 제어치에 기초해 하위 계층에서의 분할 선택 및 부호화가 실행된다.In step SP6, hierarchical encoding is executed on the encoder side based on the control value. That is, encoding and complexing are initially performed on 5-layered data, which is the highest layer. The result is the initial value of the process in the lower layer, and the difference value between layers with the lower layer is generated in step SP7. In step SP8, segmentation selection and encoding in the lower layer are executed based on the occurrence information amount control value determined in the upper stage.

각 계층 처리후 스텝 SP9 에서 계층 카운터 I 를 감소시킨다. 그리고 스텝 SP10 에서 계층 카운터 I 의 내용에 대하여 종료 판정이 시행된다. 미종료의 경우는 다시 하위 계층 처리를 실행한다. 전 계층의 처리를 종료한 경우, 루프를 벗어나 스텝 SP11 에서 처리를 종료한다.After each layer process, the layer counter I is decremented in step SP9. In step SP10, the termination judgment is performed on the contents of the hierarchy counter I. FIG. If not, the lower layer process is executed again. When the processing of all the layers is finished, the processing exits from the loop and the processing ends in step SP11.

이상 발생 정보량에 의하여 화질 열화가 작은 압력 효율이 높은 계층 부호화를 행할 수 있다.According to the amount of abnormality occurrence information, hierarchical coding with high pressure efficiency with small image quality deterioration can be performed.

(4) 제 4 실시예에 대한 다른 실시예(4) Another embodiment of the fourth embodiment

(4-1) 상기 실시예에 있어서는 블럭 액티버티 P 를 각 블럭에 대하여 상위 계층 데이터에 대해 얻은 복호 데이터와 하위 계층 데이터와의 차분치의 최대치로 판단하는 경우에 대해 설명하고 있으나 본 발명은 이에 한하지 않고 블럭내에서 평균 오차나, 절대치합, 또는 표준편차나 n 승합, 그리고 임계치 이상의 데이터 도수에 의해 판단해도 좋다.(4-1) In the above embodiment, the case where the block activity P is determined as the maximum value of the difference between the decoded data obtained for the upper layer data and the lower layer data for each block will be described. Instead, the average error, the absolute value, the standard deviation, the n sum, and the data frequency of the threshold value or more may be determined within the block.

(4-2) 상기 실시예에 있어서는 부호기에 있어서 화상 데이터를 PCM 부호화한 경우에 대해 설명했으나 본 발명은 이에 한하지 않고 다른 부호화 방식 예컨대 직교 부호화 방식을 적용해도 좋다.(4-2) In the above embodiment, the case where the image data is PCM coded in the encoder has been described. However, the present invention is not limited thereto, and other coding methods such as orthogonal coding methods may be applied.

(4-3) 상기 실시예에서 있어서는 각 계층에 대하여 얻은 도수 분포표의 임계치에 대하여 복수의 조합을 ROM 에 격납하여 두고, 발생 정보량이 가장 목표치에 가까운 임계치의 조합을 구하는 경우에 대하여 설명하고 있으나 본 발명은 이것에 한하지 않고 각 계층마다 독립적으로 설정하도록 해도 좋다.(4-3) In the above embodiment, a case is described in which a plurality of combinations are stored in a ROM for the threshold values of the frequency distribution table obtained for each layer, and a combination of threshold values for which the amount of generated information is closest to the target value is described. The invention is not limited to this and may be set independently for each layer.

(4-4) 상기 실시예 있어서는 최하위 계층 데이터를 2 라인 x 2 화소씩 평균치를 구하여 상위 계층의 화상 데이터를 구하는 경우에 대해 설명하나 본 발명은 이에 한하지 않고 다른 조합에 의해 평균치를 구하여도 좋다.(4-4) In the above embodiment, a description will be given of obtaining the upper layer image data by averaging the lowest layer data by 2 lines x 2 pixels, but the present invention is not limited thereto, and the average value may be obtained by other combinations. .

(5) 상기와 같이 본 발명에 의하면 화상 데이터를 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터로 분할하여 부호화 할 때에 계층 데이터의 소정 블럭에 대해 블럭 액티버티를 판정하고, 하위 계층 데이터에 대한 분할 처리의 판정 기준인 임계치를 블럭 액티버티에 대응하는 블럭의 도수 분포에서 설정함으로써 압축 효율이 저하하지 않는 최상 데이터의 계층 부호화 방법을 용이하게 실현할 수 있다.(5) As described above, according to the present invention, when image data is sequentially recursively divided into a plurality of hierarchical data having a plurality of different resolutions, the block activity is determined for a predetermined block of the hierarchical data, and the lower hierarchical data is determined. By setting the threshold value, which is a criterion for the division processing for the above, in the frequency distribution of the block corresponding to the block activity, the hierarchical coding method of the best data with which the compression efficiency does not decrease can be easily realized.

[6] 제 5 실시예[6] fifth embodiment

(1) 제 5 실시예의 화상 부호화 장치(1) The picture coding apparatus of the fifth embodiment

제 5 실시예의 화상 부호화 장치 90 은, 제 36 도에서와 같이, 제 3 실시예(제 11 도)의 경우와 마찬가지의 개략 구성을 가지며, 입력 화상 데이터 D31 을 계층 부호화 하여 출력하는 계층 부호화 엔코더부 90A 와 계층 부호화 엔코더부 90A에서 발생 정보량이 목표치를 달성하도록 제어하는 발생 정보량 제어부 90B 로 구성되어 있다.The image encoding device 90 of the fifth embodiment has a schematic structure similar to that of the third embodiment (Figure 11), as shown in FIG. 36, and hierarchically encoded encoder portion hierarchically encoding and outputting input image data D31. It consists of the generation information amount control part 90B which controls 90 A and the hierarchical encoding encoder part 90A so that the generation information amount may achieve a target value.

계층 부호화 엔코더부 90A 는 데이터 지연용의 메모리(도시 없음)와 엔코더로 구성되어 있다. 그중 메모리는 발생 정보량 제어부 90B 에서 최적 제어치가 결정될 때까지, 엔코더 처리가 실행되지 않도록 데이터를 지연하도록 입력단에 설치되어 있다.The hierarchical encoding encoder section 90A includes a memory for data delay (not shown) and an encoder. Among them, a memory is provided at the input terminal to delay the data so that encoder processing is not executed until the optimum control value is determined by the generation information amount control unit 90B.

한편 발생 정보량 제어부 90B 는 입력 화상 데이터를 입력하여 처리대상 데이터에 적합한 임계치 TH 를 결정하도록 되며 계층 부호화 엔코더부 90A 에 있어서 입력 화상 데이터 D31 이 효율 좋게 부호화 되도록 결정된 최적 제어치를 엔코더에 전송하도록 되어 있다. 이는 소위 피드 포워드형의 버퍼링의 구성이다. 이 구성에 의해 정확한 발생 정보량 제어와 피드 포워드형 버터링에 의해 발생하는 시간 지연을 배제할 수 있게 된다.On the other hand, the generation information amount control unit 90B inputs the input image data to determine a threshold TH suitable for the processing target data, and transmits the optimum control value determined in the hierarchical encoding encoder unit 90A to encode the input image data D31 efficiently, to the encoder. This is a configuration of so-called feed forward type buffering. This configuration makes it possible to eliminate the time delay caused by accurate amount of information control and feed forward buttering.

여기에서 계층간 차분치에 기초해 정의되는 블럭 액티버티에 의해 하위 계층에서의 분할 처리의 선택이 행해진다. 즉 하위 계층의 2 x 2 의 4 화소 보다 상위 계층 데이터가 구성되고 블럭이 정의된다.Here, the division process in the lower layer is selected by the block activity defined based on the inter-layer difference value. That is, higher layer data is constructed and blocks are defined than 4 pixels of 2 x 2 of the lower layer.

즉 상위 계층 데이터를 XO(i + 1)이라 하고, 하위 계층 데이터를 Xj(i)라하면, 계층간 차분 부호치 △Xj(i) = XO(i+1) -Xj(i)로 된다. 단, j = 0∼3 이 된다. 또한 블럭 액티버티 결정 함수를 G(·)라 하면, 블럭 액티버티 ACT=G(△Xj(i))가 된다.In other words, if the upper layer data is referred to as XO (i + 1) and the lower layer data is referred to as Xj (i), the inter-layer difference coded value? Xj (i) = XO (i + 1) -Xj (i). However, j = 0-3. If the block activity determination function is G (·), then the block activity ACT = G (ΔXj (i)).

또 계층 판정 플래그 FLG 가 0 의 경우를 분할 중지로 하고 계층판정 플래그 FLG 가 1 의 경우를 분할 계속으로서 분할 판정 플래그의 확인법에 대해 설명한다. 먼저 발생 정보량 제어 과정에서는 초기에 각 블럭마다 전 계층의 액티버티 ACT 를 생성하고 계속하여 전 계층의 액티버티 ACT 에 대응하는 임계치에 의해 판정 플래그 FLG 를 생성한다. 또한 각 블럭마다 하위 계층으로부터 판정 플래그 FLG 가 처음 1 로 되는 계층을 탐색한다.The method of confirming the division determination flag will be described with the division stop as the case where the hierarchical determination flag FLG is 0 and the division continued as the case where the hierarchical determination flag FLG is 1. First, in the generation information amount control process, an activity ACT of all layers is initially generated for each block, and then a determination flag FLG is generated according to a threshold corresponding to the activity ACT of all layers. In each block, the first layer is searched for from the lower layer to the first flag FLG.

판정 플래그 FLG 가 처음으로 1 이 되는 계층 보다 상위의 전체의 상위 계층 블럭의 계층 판정 플래그 FLG 를 1 로 한다. 이 규칙에 따라 판정 플래그 FLG 의 갱신이 행해진다. 또 상기의 판정 임계치는 발생 정보량 제어에 기초하여 변경되고 목표치를 만족시키는 최적 임계치가 선택된다. 이와 관련하여 실시예의 경우 여기에서 사용하는 판정 플래그는 부호화 과정에서 사용하는 판정 플래그와는 별도이다.The hierarchical decision flag FLG of the entire upper hierarchical block higher than the hierarchical layer where the decision flag FLG becomes 1 is set to 1. In accordance with this rule, the determination flag FLG is updated. In addition, the determination threshold is changed based on the control of the amount of information generated, and an optimum threshold that satisfies the target value is selected. In this regard, in the case of the embodiment, the decision flag used herein is separate from the decision flag used in the encoding process.

다음에 블럭 분할 선택 처리(즉 실제의 부호화 과정)에 대해 설명하면 판정 플래그 FLG = 0 의 경우, 하위 계층의 분할 중지가 되고 이에 대해 판정 FLG = 1 의 경우, 하위 계층의 분할을 실행한다. 이상의 처리는 예비 발생 정보량 제어에 의해 각 계층의 각 블럭마다 계층 판정 플래그 FLG 를 결정하고 그것에 기초하여 실제의 블럭 분할 처리를 실행하는 2 단계로 구성된다.Next, the block division selection process (that is, the actual encoding process) will be described. If the determination flag FLG = 0, the division of the lower layer is stopped, and if the determination FLG = 1, the division of the lower layer is executed. The above process consists of two steps of determining the layer determination flag FLG for each block of each layer by preliminary generation information amount control and executing the actual block dividing process based thereon.

(2) 계층 부호화 엔코더부(2) hierarchical encoding encoder

계층 부호화 엔코더부 90A 는 제 37 도에 나타낸 구성이며, 부호기 51∼55가 제 38 도에서와 같이 구성되는 점을 제외하고 제 12 도 및 제 13 도에서와 마찬가지 구성이다.The hierarchical encoding encoder section 90A is the configuration shown in FIG. 37 and has the same configuration as in FIGS. 12 and 13 except that the encoders 51 to 55 are configured as in FIG.

이 경우의 부호기 54, 53, 52 는 각각 블럭의 분할 또는 비분할을 표시하기 위해 사용하는 임계치 판정 결과 정보 1, J2, J3 를 인접하는 하위 계층의 부호기 53, 52, 51 로 송출함과 함께 부호기 51, 52, 53 은 각각 임계치 판정 결과 정보 J4, J3, J2를 인접하는 상위 계층의 부호기 52, 53, 54 에 송출하도록 되어 있다.In this case, the encoders 54, 53, and 52 transmit the threshold determination result information 1, J2, and J3, which are used to indicate division or non-division of the blocks, to the encoders 53, 52, and 51 of the adjacent lower layer, respectively. 51, 52, and 53 transmit the threshold determination result information J4, J3, J2 to the encoders 52, 53, 54 of the adjacent upper layer, respectively.

즉 계층 부호화 엔코더부 90A 에 있어서는 계층 데이터에 관하여 상위 계층의 임계치 판정에 의해 분할 처리가 중단된 블럭에 관하여도 그 이후의 하위 계층에 있어서 주의 액티버티가 검출된 경우 분할 처리가 중단되는 계층으로 되돌아가, 판정 플래그를 리세트하고, 다시 하위 계층으로 향하여 임계치 판정을 행하도록 되어 있다.In other words, the hierarchical encoding encoder 90A returns to the hierarchical layer where the dividing process is interrupted when the attention activity is detected in the subsequent lower hierarchies even for a block in which the dividing process is interrupted due to the threshold determination of the hierarchical data. The threshold flag is reset, and the threshold value determination is made again toward the lower layer.

이것은, 계층 데이터 구조상, 상위 계층 블럭에 대응하는 하위 계층 데이터 수는 증가하고 있기 때문에 재판정의 의의가 인정되기 위한 것이다.This is because, in the hierarchical data structure, the number of lower hierarchical data corresponding to the higher hierarchical block is increasing, so that the justice of the judgment is recognized.

실제로 부호기 52 및 53 는 제 38 도에 나타낸 것과 같이 구성되어 있다.In practice, the encoders 52 and 53 are configured as shown in FIG.

부호기 53 는 차분 데이터 D43 을 부호화 회로 53A 및 분할 제어부 53B 의 액티버티 검출 회로 53C 에 입력한다. 액티버티 검출 회로 53C 는 차분 데이터 D43 의 소정 블럭마다의 액티버티를 검출하고 이에 의하여 얻은 검출 결과를 계속 임계치 판정 회로 53D 에 제공한다. 임계치 판정 회로 53D 는 각 블럭마다의 액티버티 검출 결과를 임계치 데이터 D57 과 비교하고 이로부터 얻은 판정 결과를 임계치 판정 결과 정보 J2 로서 부호화 회로 53A 및 인접하는 하위 계층의 부호기 52 로 송출한다. 부호화 회로 53A 는 임계치 판정 결과 정보 J2 에 기초해, 액티버티가 높은 블럭에 대하여는 압축 부호화하여 전송하고 이에 대하여 액티버티가 낮은 블럭에 대하여는 전송하지 않는다.The encoder 53 inputs the difference data D43 to the activity detection circuit 53C of the encoding circuit 53A and the division controller 53B. The activity detection circuit 53C detects the activity for each predetermined block of the difference data D43 and continuously provides the detection result obtained to the threshold determination circuit 53D. The threshold determination circuit 53D compares the activity detection result for each block with the threshold data D57, and sends the determination result obtained therefrom to the encoding circuit 53A and the encoder 52 of the adjacent lower layer as the threshold determination result information J2. On the basis of the threshold determination result information J2, the encoding circuit 53A compresses and transmits the block with the high activity and does not transmit the block with the low activity.

여기에서 액티버티 검출 회로 53C 및 임계치 판정 회로 53D 는 인접하는 상위 계층의 부호기 54 로부터 출력되는 임계치 판정 결과 정보 J1 을 받고 그 임계치 판정 결과 정보 J1 이 블럭 분할을 행하는 것을 표시하는 것인 경우에는 액티버티 검출 및 임계치 판정 결과를 실행한다. 이에 대해 임계치 판정 결과 정보 J1 이 블럭의 비분할을 표시한 것인 경우에는 그에 대응하는 블럭에 대하여는 액티버티 검출 및 임계치 판정을 행하지 않음과 함께 임계치 판정 회로 53D 로부터 블럭의 비분할을 나타내는 임계치 판정 결과 정보 J2 를 출력한다.In this case, the activity detection circuit 53C and the threshold determination circuit 53D receive the threshold determination result information J1 outputted from the encoder 54 of the adjacent higher layer and indicate that the threshold determination result information J1 performs block division. The detection and threshold determination results are executed. On the other hand, when the threshold determination result information J1 indicates the non-division of the block, the activity corresponding to the block corresponding thereto is not detected, and the threshold determination result indicating the non-division of the block from the threshold determination circuit 53D is performed. Output the information J2.

부호기 52 도 마찬가지로, 액티버티 검출 회로 52C 및 임계치 판정회로 52D가 인접하는 상위 계층의 부호기 53 으로부터 블럭의 분할을 나타내는 임계치 판정결과 정보 J2 를 받는 경우 대응하는 블럭에 대한 액티버티 검출 및 임계치 판정을 실행하는 것에 대하여, 블럭의 비분할을 나타내는 임계치 판정 결과 정보 J2 를 수신하는 경우에는 액티버티 검출 및 임계치 판정을 실행하지 않음과 함께 임계치 판정 회로 52D 로부터 블럭의 비분할을 나타내는 임계치 판정 결과 정보 J3 을 출력한다.Similarly, the encoder 52 performs the activity detection and threshold determination on the corresponding block when the activity detection circuit 52C and the threshold determination circuit 52D receive the threshold determination result information J2 indicating the division of the block from the encoder 53 of the adjacent upper layer. On the other hand, when receiving the threshold determination result information J2 indicating the non-division of the block, the activity detection and threshold determination are not executed, and the threshold determination result information J3 indicating the non-division of the block is output from the threshold determination circuit 52D. do.

이와 같이 계층 부호화 엔코더부 90A 에서는 일단 블럭의 비분할 판정 결과를 얻으면 그에 대응하는 블럭에 대하여는 그 이후의 하위 계층에는 블럭 분할하지 않게(즉 부호화 하지 않고)된다.In this way, in the hierarchical encoding encoder unit 90A, once the non-division determination result of the block is obtained, the block corresponding thereto is not divided (i.e., not encoded) into the lower layer after that.

이에 부가하여 계층 부호화 엔코더부 90A 에 있어서는 예컨대 부호기 53 의 분할 제어부 53B 에 의해 블럭의 비분할을 표시한 임계치 판정 결과 정보 J2 가 얻어지는 경우에도 예컨대 부호기 51 에 의해 블럭의 분할을 표하는 임계치 판정 결과 정보 J4 가 얻어진 경우에는 부호기 52 는 그 임계치 판정 결과 정보 J4 를 분할 제어부 52B 에 받아서 블럭 액티버티의 임계치 판정을 행하고 블럭을 분할할지에 대한 결정을 한다.In addition, in the hierarchical encoding encoder 90A, for example, even when the threshold determination result information J2 indicating the non-division of the block is obtained by the division controller 53B of the encoder 53, for example, the threshold determination result information J4 indicating the division of the block by the encoder 51 is obtained. If is obtained, the encoder 52 receives the threshold determination result information J4 from the division control unit 52B, performs a threshold determination of the block activity, and determines whether to divide the block.

(3) 발생정보량 제어부(3) occurrence information amount control unit

다음에 발생 정보량 제어부의 구성 블럭도의 예를 제 39 도에 나타난다.Next, FIG. 39 shows an example of the configuration block diagram of the generation information amount control unit.

먼저 제 39 도의 엔코더부과 같이 입력 화상 데이터 D31 에 대해 평균화 회로 42 에 있어서 1/4 평균 처리를 실행되어 제 2 계층 데이터 D32 가 생성된다.First, a quarter averaging process is performed in the averaging circuit 42 on the input image data D31 as in the encoder section of FIG. 39 to generate the second hierarchical data D32.

또 제 2 계층 데이터 D32 에 대해 평균화 회로 44 에 있어서 1/4 평균 처리가 실행되어 제 3 계층 데이터 D33 이 생성된다.Further, a quarter averaging processing is performed in the averaging circuit 44 with respect to the second hierarchical data D32 to generate the third hierarchical data D33.

동일하게 제 3 계층 데이터 D33 에 대해 평균화 회로 46 의 1/4 평균 처리에 의해 제 4 계층 데이터 D34 가 생성된다.Similarly, the fourth hierarchical data D34 is generated by the quarter averaging processing of the averaging circuit 46 with respect to the third hierarchical data D33.

마지막으로 평균화 회로 48 에서의 1/4 평균 처리에 의한 제 5 계층 데이터 D35 가 생성된다.Finally, the fifth hierarchical data D35 by quarter averaging in the averaging circuit 48 is generated.

제 5 계층 데이터 D35 에 있어서 데이터의 도수가 도수 분포표 73 에 등록된다. 이것은 상기한 엔코더부에서 실행되는 압축 처리에 대응한 데이터 도수를 계측한다. 예컨대 제 5 계층 데이터 D35 에 대해 PCM 부호하에 의한 압축 처리가 되는 경우 각 블럭에 대해 주어지는 동적 범위가 데이터로 되어 등록되고, 압축 처리 방법으로서 ADRC (적응 동적 범위 부호화(USP-4703352))를 적용하는 경우에는 ADRC 블럭의 DR 이 등록된다.In the fifth hierarchical data D35, the frequency of data is registered in the frequency distribution table 73. This measures the data count corresponding to the compression process performed in the encoder section. For example, when the compression processing under the PCM code is performed on the fifth layer data D35, the dynamic range given for each block is registered as data, and ADRC (Adaptive Dynamic Range Coding (USP-4703352)) is applied as the compression processing method. In this case, the DR of the ADRC block is registered.

다음에, 제 4 계층 데이터 D34 와 제 5 계층 데이터 D35 로부터 차분 데이터 D64 가 생성된다. 차분 데이터 D64 에 관해 상기한 블럭 액티버티 검출이 블럭 액티버티 검출 회로 68 에서 행해진다. 여기에서 검출된 블럭 액티버티 D68 은 도수 분포표 72 에 등록된다.Next, difference data D64 is generated from the fourth layer data D34 and the fifth layer data D35. The block activity detection described above with respect to the difference data D64 is performed in the block activity detection circuit 68. The block activity D68 detected here is registered in the frequency distribution table 72.

상위 계층에서의 블럭 분할 판정은 전체의 하위 계층 블럭 액티버티의 판정 결과를 참고해 결정된다.The block division decision at the upper layer is determined by referring to the determination result of the entire lower layer block activity.

여기에서 도수 분포표 72 는 제 1 계층 블럭 액티버티 D65 와 제 2 계층 블럭 액티버티 D66 과 제 3 계층 블럭 액티버티 D67 과 제 4 계층 블럭 액티버티 D68의 4 변수에 의해 정의된다.The frequency distribution table 72 is defined by four variables of the first layer block activity D65, the second layer block activity D66, the third layer block activity D67, and the fourth layer block activity D68.

제 3 계층 데이터 D33 과 제 4 계층 데이터 D34 로부터 차분 데이터 D63 이 생성된다. 차분 데이터 D63 에 관해 블럭 액티버티가 액티버티 검출 회로 67 에서 검출된다. 검출된 액티버티 D67 은 도수 분포표 71 에 등록된다.The difference data D63 is generated from the third layer data D33 and the fourth layer data D34. The block activity is detected in the activity detection circuit 67 with respect to the difference data D63. The detected activity D67 is registered in the frequency distribution table 71.

이 경우도 블럭 분할은 제 3 계층이하의 전체의 하위 계층의 블럭 액티버티의 판정 결과를 참고하여 결정된다.Also in this case, the block division is determined by referring to the determination result of the block activities of the entire lower layer below the third layer.

그러므로, 제 3 계층의 도수 분포표 71 는 제 1 계층 블럭 액티버티 D65 와 제 2 계층 블럭 액티버티 D66 와 제 3 계층 블럭 액티버티 D67 의 3 변수에 의해 정의된다.Therefore, the frequency distribution table 71 of the third layer is defined by three variables of the first layer block activity D65 and the second layer block activity D66 and the third layer block activity D67.

제 2 계층 데이터 D32 와 제 3 계층 데이터 D33 로부터 차분 데이터 D62 가 생성되고, 액티버티 검출 회로 66 에 있어서 블럭 액티버티 D66 가 출력된다. 검출된 블럭 액티버티 D66 는 도수 분포표 70 에 등록된다.The difference data D62 is generated from the second layer data D32 and the third layer data D33, and the block activity D66 is outputted to the activity detection circuit 66. The detected block activity D66 is registered in the frequency distribution table 70.

이 경우에는 제 1 계층의 블럭 액티버티의 판정 결과를 참고해 결정된다.In this case, it is determined by referring to the determination result of the block activity of the first layer.

제 2 계층의 도수 분포표 70 는 제 1 계층 블럭 액티버티 D65 와 제 2 계층 블럭 액티버티 D66 의 2 변수에 의해 정의된다.The frequency distribution table 70 of the second layer is defined by two variables of the first layer block activity D65 and the second layer block activity D66.

마지막으로, 제 1 계층 데이터 D31 과 제 2 계층 데이터 D32 으로부터 차분 데이터 D61 가 생성되고 액티버티 검출 회로 65 에 있어서 블럭 액티버티 D65 가 출력된다. 검출되는 블럭 액티버티 D65 는 도수 분포표 69 에 등록된다.Finally, the difference data D61 is generated from the first layer data D31 and the second layer data D32, and the block activity D65 is output by the activity detection circuit 65. The detected block activity D65 is registered in the frequency distribution table 69.

제 1 계층에 관해서는 독립적으로 블럭 액티버티의 임계치 판정을 행하지 않고 그 결과가 실행되는 것으로 상위 계층의 블럭 액티버티를 감시할 필요는 없다. 즉 제 1 계층의 도수 분포표 1 는 제 1 계층 블럭 액티버티 D65 로부터 구성되는 1 차원 도수 분포표로 된다.As for the first layer, the result is executed without performing the threshold value determination of the block activity independently, and there is no need to monitor the block activity of the upper layer. That is, the frequency distribution table 1 of a 1st hierarchy becomes a 1-dimensional frequency distribution table comprised from the 1st hierarchy block activity D65.

여기에서 도수 분포표의 생성 과정에는 엔코더부의 전송 데이터량을 정확히 파악하기 위하여 상위 계층 1 화소에 대응하는 하위 계층 4 화소중 실제로 엔코더에 의한 전송 대상인 3 화소를 사용하도록 한다.In order to accurately determine the amount of data transmitted by the encoder, three pixels that are actually transmitted by the encoder are used among the lower layer 4 pixels corresponding to the upper layer 1 pixel.

이에 따라 생성된 도수 분포표 69∼73 를 사용하여 발생 정보량 제어가 실행된다. 각 도수 분포표와 후단의 제어부는 쌍방향의 신호로 D69∼D73 에 접속되어 있다.The amount of occurrence information is controlled by using the frequency distribution tables 69 to 73 thus generated. Each frequency distribution table and the control part of the rear end are connected to D69-D73 by bidirectional signals.

제어부에서는 먼저 각 도수 분포표에 대한 임계치가 각 도수 분포표로 전송된다.The control unit first transmits a threshold for each frequency distribution table to each frequency distribution table.

각 도수 분포표에 있어서는 임계치에 대응하는 발생 정보량이 검출된다.In each frequency distribution table, the generation information amount corresponding to a threshold value is detected.

이 각 도수 분포표에서 발생 정보량은 신호 D69∼D73 를 통하여 제어부 74 로 전송된다.The amount of information generated in each frequency distribution table is transmitted to the control unit 74 via the signals D69 to D73.

제어부 74 에 있어서는 수신된 각 도수 분포표에서의 발생 정보량을 통합하여 제어 대상으로 되는 총 발생 정보량을 산출한다.The control unit 74 calculates the total amount of occurrence information to be controlled by integrating the amount of occurrence information in each received frequency distribution table.

이 총 발생 정보량과 목표치를 비교해 그 비교 결과에 의해 목표치를 만족하도록 임계치가 변경된다.The total value of the generated information is compared with the target value, and the threshold value is changed to satisfy the target value by the comparison result.

재차 갱신된 임계치는 제어부 74 로부터 신호로 D69∼D73 를 거쳐 각 도수 분포표로 전송된다.The updated threshold value is transmitted from the controller 74 to each frequency distribution table via signals D69 to D73.

이것에 대응하는 발생 정보량이 다시 제어부로 전송된다.The amount of generated information corresponding to this is transmitted back to the controller.

이상의 처리 반복하여 최종적으로 목표치를 달성하는 제어 결과 D57 가 결정된다.By repeating the above process, the control result D57 which finally achieves the target value is determined.

결정된 발생 정보량 제어치 D57 는 제 36 도의 블럭도에서와 같이 계층 부호화 엔코더부로 전송된다.The determined generation information amount control value D57 is transmitted to the hierarchical encoding encoder as in the block diagram of FIG.

이 정보량 제어부 처리기간 동안 제어 대상으로 되는 데이터는 엔코더부에 포함되는 메모리 M1 에 의해 대기되게 된다.During this information amount control unit processing period, data to be controlled is waited by the memory M1 included in the encoder unit.

이상의 정보량 제어에 있어서는 대상 데이터에 적합한 임계치가 결정되는 것으로 효율이 좋은 부호화 실현이 가능하다.In the above information amount control, a threshold value suitable for the target data is determined, so that efficient encoding can be realized.

여기에서 제 40(A)∼40(E)도는 각각 최상위 계층 데이터∼최하위 계층 데이터에 대하여 얻어지는 블럭 액티버티의 도수 분포표를 나타내고 있다. 여기에서 제 40도(A)에 표시한 제 5 계층에 대한 도수 분포표에 관하여는 대상 데이터가 차분 데이터에서는 아니기 때문에 동적 범위에 의한 도수 분포표가 생성된다. 예컨대 제 5 계층 데이터 D35 에 대하여 PCM 부호화에 의한 압축 처리가 되는 경우 각 블럭에 주어지는 동적 범위가 데이터로 되어 등록되고 압축 처리 방법으로서 ADRC (적응 동적 범위 부호화(USP-4703352))를 적용하는 경우에는 ADRC 블럭의 DR 가 등록된다.40 (A) to 40 (E) show frequency distribution tables of block activities obtained for the highest hierarchical data and the lowest hierarchical data, respectively. As to the frequency distribution table for the fifth layer shown in FIG. 40A, the frequency distribution table based on the dynamic range is generated because the target data is not the difference data. For example, when the compression process by PCM encoding is performed on the fifth layer data D35, the dynamic range given to each block is registered as data, and when ADRC (Adaptive Dynamic Range Coding (USP-4703352)) is applied as the compression processing method. The DR of the ADRC block is registered.

다음에, 발생 정보량 제어용의 도수 분포표의 예를 5 계층의 경우에 대해 제 41 도∼제 47 도에 나타낸다.Next, an example of the frequency distribution table for controlling the generation information amount is shown in FIGS. 41 to 47 for the case of five hierarchies.

먼저, 총 발생 정보량을 산출하는 정의식을 도출한다.First, a definition formula for calculating the total amount of information generated is derived.

발생 정보량의 산출을 위해서는 각 계층에서 분할 판정 임계치 이상의 유효 블럭수를 계측할 필요가 있으나 판정 플래그 확인법에 의해 계층 부호화의 발생 정보량 제어에서는, 블럭마다 상위 계층에서 전부의 하위 계층의 분할 판정 결과를 고려하여 대상 블럭의 분할 판정을 행해야 한다.In order to calculate the amount of occurrence information, it is necessary to measure the number of effective blocks equal to or greater than the division determination threshold in each layer. However, in the generation information amount control of hierarchical coding by the decision flag check method, the result of division determination of all lower layers in the upper layer is taken into account in each block. To determine the division of the target block.

이때 각 계층에 있어서 분할 판정에 사용하는 블럭 액티버티 판정 임계치는 제 1 계층 분할 판정 임계치를 TH1, 제 2 계층 분할 판정 임계치를 TH2, 제 3 계층 분할 판정 임계치를 TH3, 제 4 계층 분할 판정 임계치를 TH4 로 한다.At this time, the block activity determination threshold used in the segmentation determination in each layer is the first layer segmentation determination threshold value TH1, the second layer segmentation determination threshold value TH2, the third layer segmentation determination threshold value TH3, and the fourth layer segmentation determination threshold value Let TH4 be used.

전체 계층에서 상기의 임계치 이상의 블럭의 하위 계층 분할이 실행된다. 상위 계층에서는 전체의 하위 계층에 임계치 이상의 블럭 액티버티가 존재하지 않는 경우에 그 계층의 블럭 액티버티가 임계치 미만일 때 블럭 분할이 정지된다.Lower layer division of blocks above the threshold in the entire layer is performed. In the upper layer, when there is no block activity above the threshold in the entire lower layer, block division is stopped when the block activity of the layer is less than the threshold.

제 41도(A)에서 최상위 계층인 제 5 계층의 도수 분포표를 나타낸다.41 (A) shows the frequency distribution table of the fifth layer which is the highest layer.

제 5 계층의 도수 분포표에 관해서는 대상 데이터가 차분 데이터에서는 아니므로 부호화 처리에 대응한 정보량 제어를 행한다.In the frequency distribution table of the fifth layer, since the target data is not the difference data, the information amount control corresponding to the encoding process is performed.

선형 양자화등의 고정 길이 부호화를 적용한 경우는 도수 분포표를 작성할 필요는 없다. 발생 정보량 제어에는 다음의 발생 정보량 산출식을 사용할 수 있다.When fixed length coding such as linear quantization is applied, it is not necessary to create a frequency distribution table. The following generation information amount calculation formula can be used for generation information amount control.

즉 제 1 계층에서 분할 대상 블럭내 화소수화를 M1, 또 제 1 계층 데이터의 양자화 비트수를 Q1, 제 1 계층의 판정 플래그 비트수를 N1 이라면 제 1 계층에서 발생 정보량 I1 은 다음식That is, if the pixel number in the segment to be divided in the first layer is M1, the number of quantization bits of the first layer data is Q1, and the number of decision flags bits of the first layer is N1, the amount of information I1 generated in the first layer is

으로 주어질 수 있다.Can be given by

이(18)식에서 제 1 항에서 각 비트수가 4 배로 되는 것은 이 예의 경우 각 블럭이 2 라인 x 2 화소로 분할되기 때문이다. 또 제 1 항에서 3/4 배인 것은 상위 계층치가 하위 계층치의 평균치로부터 생성되고 있다는 구조에 있어서 상위 계층치와 전송되는 하위 계층치 3 화소를 사용하여 산술식으로 하위 계층의 4 번째의 비전송 화소치가 복원되게 하는 성질을 반경하기 때문이다.In Equation (18), the number of bits in the first term is quadrupled because each block is divided into two lines by two pixels in this example. Also, in the structure of claim 1, 3/4 times means that the higher hierarchical value is generated from the average value of the lower hierarchical values. This is because it limits the nature of the tooth to be restored.

그리고 제 2 항에 있어서 제 1 계층에서의 블럭수에 N1 이 가산되는 것은 분할 판정 플래그로서 각 블럭마다 1 비트 부가하여 전송하는 것을 나타내고 있다.The addition of N1 to the number of blocks in the first layer indicates the transmission of an additional 1 bit for each block as the division determination flag.

마찬가지로 제 2, 제 3, 제 4 의 계층에도 각 계층에서 분할 대상 블럭내 화소수합을 M2, M3, M4 로 하고 각 계층에서의 양자화 비트수를 Q2, Q3, Q4, 각 계층의 판정 플래그 비트수를 N2, N3, N4라 하면 각 계층에서 발생 정보량 Ik (k = 2, 3, 4)은 다음식Similarly, in the second, third, and fourth layers, the sum of the pixels in the divided blocks in each layer is M2, M3, and M4, and the number of quantization bits in each layer is Q2, Q3, Q4, and the number of decision flag bits in each layer. Let N2, N3, N4, the amount of information Ik (k = 2, 3, 4) generated in each layer is

에 의해 제공된다.Provided by

제 1∼제 4 계층에 대한 발생 정보량 I1∼I4 및 제 5 계층에 대한 발생 정보량 I5 를 사용하면 계층 부호화 엔코터부 40A 의 부호화 처리에 의해 생기는 총 발생 정보량 I 는 다음식When the generation information amount I1 to I4 for the first to fourth layers and the generation information amount I5 for the fifth layer are used, the total amount of generation information I generated by the encoding processing of the hierarchical encoding encoder 40A is expressed by the following equation.

과 같이 각 계층마다의 발생 정보량의 합으로서 구할 수 있다.As described above, it can be obtained as the sum of the amount of generated information for each layer.

여기에서 각 계층의 발생 정보량에 판정 플래그의 비트수가 가산되나 이 플래그의 정보량은 상위 계층에서 분할 처리가 실행된 블럭수와 동일한다. 각 블럭의 공간적 위치는 상위 계층으로부터의 판정 플래그의 이력에 의해, 각 계층에 있어서 특정한 것이 된다.Here, the number of bits of the determination flag is added to the amount of information generated in each layer, but the information amount of this flag is the same as the number of blocks for which division processing is performed in the upper layer. The spatial position of each block is specified in each layer by the history of the decision flag from the upper layer.

여기에서 개개의 도수 분포표에 대해 설명한다.Here, each frequency distribution table is demonstrated.

이상과 같이 최상위 계층 데이터의 도수 분포표는 압축 방식에 의존하는 것으로 일률적으로 결정될 수 없다. 그러나 도수 분포표 등의 수단을 사용하여 발생정보량을 제어할 수가 있다.As described above, the frequency distribution table of the highest layer data depends on the compression method and cannot be determined uniformly. However, the amount of information generated can be controlled by means such as a frequency distribution table.

다음에 제 1 계층 데이터에 관해서는 블럭 액티버티 ACT1에 대한 블럭 도수가 등록되어 있다. 제 41 도의 제 1 계층 도수 분포표를 사용함으로써 용이하게 임계치 TH1 에 대한 발생 정보량을 산출할 수 있다.Next, as to the first hierarchical data, the block frequency for the block activity ACT1 is registered. By using the first hierarchical frequency distribution table in FIG. 41, the amount of occurrence information for the threshold TH1 can be easily calculated.

임계치 TH1 이상의 블럭이 분할 대상으로 되므로 임계치 이상의 블럭수합을 구함으로써 제 1 계층에서 발생 정보량을 산출한다.Since blocks equal to or larger than the threshold TH1 are to be divided, the amount of generated information is calculated in the first layer by obtaining the sum of the blocks equal to or greater than the threshold.

다음에 제 2 계층의 도수 분포표의 예를 제 42 도에 도시한다.Next, FIG. 42 shows an example of the frequency distribution table of the second hierarchy.

판정 플래그 확인법에 있어서는 제 1 계층에 있어서의 블럭 분할 실행중지 판정을 받은 블럭에 대해 제 2 계층에서의 임계치 TH2 이상의 블럭수를 계측한다.In the determination flag confirmation method, the number of blocks of the threshold TH2 or more in the second layer is measured for the block that has received the block division execution stop determination in the first layer.

여기에서 제 1 계층 블럭 액티버티 ACT1 과 제 2 계층 블럭 액티버티 ACT2의 2 변수로 정의되는 도수 분포표를 도입한다.Here, a frequency distribution table defined by two variables of the first layer block activity ACT1 and the second layer block activity ACT2 is introduced.

즉, 제 1 계층의 임계치 TH1 이상으로 제 2 계층의 임계치 TH2 이상의 블럭도수를 구한다.That is, the block count of the threshold TH2 of the 2nd layer or more is calculated | required more than the threshold TH1 of a 1st layer.

이 조작은 제 42 도의 도수 분포표에 있어서 ACT1 축은 임계치 TH1 이상, ACT2 축은 임계치 TH2 이상의 블럭 도수를 산출한 것으로 상기 조건을 만족한 제 2 계층에서의 발생 정보량의 산출이 실현된다.This operation calculates the amount of information generated in the second layer that satisfies the above conditions by calculating the block count of the ACT1 axis equal to or greater than the threshold TH1 and the ACT2 axis equal to the threshold TH2 in the frequency distribution table of FIG.

제 42 도는 ACT1 이 이산적으로 계측되는 경우이고 각 ACT1의 값마다 제 2 계층의 블럭 액티버티 ACT2 가 분포되어 있는 양상을 나타내고 있다.42 shows a case where ACT1 is measured discretely, and the block activity ACT2 of the second layer is distributed for each value of ACT1.

다음의 제 3 계층, 제 4 계층의 도수 분포표의 예를 제 43 도에 나타낸다.43 shows an example of the frequency distribution table of the third and fourth hierarchies.

제 2 계층의 도수 분포표와 마찬가지로 다변수에 의해 정의되는 도수 분포표를 생성한다.Similar to the frequency distribution table of the second hierarchy, a frequency distribution table defined by multivariables is generated.

제 3 계층에 있어서는 제 1 계층, 제 2 계층, 제 3 계층의 각각의 블럭 액티버티 ACT1, ACT2, ACT3 으로 정의되는 블럭을 도수 분포표에 등록한다. 그 상태를 제 43도(A)에 도시한다.In the third layer, blocks defined by the block activities ACT1, ACT2, and ACT3 of the first layer, the second layer, and the third layer are registered in the frequency distribution table. The state is shown in FIG. 43 (A).

제 3 계층에서는 TCT1 축에서는 임계치 TH1 이상, TCT2 축에서는 임계치 2 이상, ACT3 축에서는 임계치 TH3 이상의 블럭 도수를 산출하는 것으로 제 3 계층에서의 발생 정보량을 산출한다.In the third layer, the amount of information generated in the third layer is calculated by calculating block counts of TH1 or more on the TCT1 axis, threshold 2 or more on the TCT2 axis, and threshold TH3 or more on the ACT3 axis.

제 4 계층에 있어서는 제 1 계층, 제 2 계층, 제 3 계층, 제 4 계층의 각각의 블럭 액티버티 ACT1, ACT2, ACT3, ACT4 에서 정의되는 블럭을 도수 분포표에 등록한다. 그 상태는 제 43도(B)에 도시된다.In the fourth layer, blocks defined in the respective block activities ACT1, ACT2, ACT3, and ACT4 of the first, second, third, and fourth layers are registered in the frequency distribution table. The state is shown in FIG. 43 (B).

제 4 계층의 경우는 ACT1 축에서는 임계치 TH1 이상 ACT2 에서는 TH2 이상 ACT3 축에서 TH3 이상, ACT4 축에서는 TH4 이상의 블럭 도수를 산출하는 것으로 제 4 계층에서 발생 정보량을 산출한다.In the case of the fourth layer, the amount of information generated in the fourth layer is calculated by calculating a block count of TH1 or more on the ACT1 axis or more than TH2 or more on the ACT3 axis or TH3 or more on the ACT3 axis or TH4 or more on the ACT4 axis.

이상의 5 종류의 도수 분포표를 사용해 임계치에 대한 발생 정보량을 산출하고 목표 정보량에 합치되는 제어를 행할 수 있다.The above five types of frequency distribution tables can be used to calculate the amount of information generated about the threshold and to perform control that matches the target information amount.

여기에서 각 계층마다 독립적으로 사용하는 각 계층의 임계치에 대해서는 각 계층마다 독립적으로 변경하는 수법이 있다.Here, there is a method of changing the threshold of each layer independently used for each layer independently for each layer.

예컨대 각 계층마다 미리 목표 정보량을 설정하고 각 계층마다 독립적인 임계치를 변경하여 목표 정보량에 합치하는 제어를 하는 수법이다.For example, a method of controlling a target information amount in advance for each layer and changing an independent threshold value for each layer to match the target information amount.

또 다른 방법으로는 각 계층의 임계치의 조합을 미리 준비하고 제어 순서에 따라 그 임계치 조합을 적용하는 것으로 제어의 간소화를 도모하는 수법도 있다.Another method is to simplify the control by preparing a combination of thresholds of each layer in advance and applying the threshold combinations according to the control order.

다음에 도수 분포표에 대해 설명한다.Next, the frequency distribution table will be described.

상기한 각 계층에서 도수 분포표를 사용한 발생 정보량 제어 수법에 있어서 각 계층에서는 전체의 하위 계층의 분할 판정 결과를 고려하면서 각 계층의 블럭 액티버티가 임계치 이상의 블럭 도수를 산출하는 것으로 최적 제어치를 검출한다.In the above-described method for controlling the amount of information generated using the frequency distribution table in each of the above layers, each layer detects the optimal control value by calculating block counts above the threshold while considering the result of division decision of the entire lower layer.

그 임계치 이상의 블럭 도수 산출 시간의 고속화를 도모하기 위해 블럭 도수가 등록된 도수 분포표를 적산형 도수 분포표에 재구성하는 것을 제안한다.In order to speed up the calculation time of the block frequency above the threshold, it is proposed to reconstruct the frequency distribution table in which the block frequency is registered in the integrated frequency distribution table.

그 적산형 도수 분포표의 예를 제 45 도에 도시한다.An example of the integrated frequency distribution table is shown in FIG. 45.

블럭 액티버티를 등록한 결과, 제 44 도의 도수 분포표 예가 얻어진다. 설명을 간소화하기 위해 블럭 액티버티가 1 변수의 예를 든다.As a result of registering the block activity, the frequency distribution table example in FIG. 44 is obtained. To simplify the explanation, the block activity takes an example of one variable.

적산형 도수 분포표(제 45 도)는 제 44 도의 도수 분포표의 블럭 액티버티의 최대치에 대응하는 블럭 도수로부터 개시하고, 보다 작은 블럭 애티비티값에 대응하는 블럭 도수에 적산 연산을 실시하고 각각의 적산 결과를 도수 분포표에 등록하여 재구조를 갖는다.The integrated frequency distribution table (fig. 45) starts from the block frequency corresponding to the maximum value of the block activities in the frequency distribution table of FIG. 44, performs an integration operation on the block frequency corresponding to the smaller block activity value, and integrates each of them. The results are registered in the frequency distribution table and restructured.

이 처리를 수식으로 표현하는 다음식The following expression expresses this process as a formula

으로 표시한다. 단, SUM(·)은 적산 블럭 도수를 표시하고, N(·)은 도수 분포표에서의 블럭 도수를 나타내고, act 는 적산 도수 분포표에서의 블럭 액티버티 변수를 표시하고, ACT 는 도수 분포표에서의 블럭 액티버티 변수를 표시하며, n 은 도수 분포표 에서 변수 최대치를 표시한다.Indicated by. Where SUM (·) denotes the integrated block frequency, N (·) denotes the block frequency in the frequency distribution table, act denotes the block activity variable in the integrated frequency distribution table, and ACT denotes the block in the frequency distribution table. Indicate activity variables, where n represents the variable maximum in the frequency distribution table.

(21)식이 의미하는 것은 블럭 액티버티값 어드레스의 블럭 도수를 판독하고 상위 블럭 액티버티값까지의 적산치에 가산한 결과를 그 블럭 액티버티값 어드레스에 기입하는 처리이다.Equation (21) means a process of reading the block count of a block activity value address and adding the result to the integrated value up to the higher block activity value to the block activity value address.

그 결과를 제 45 도에 나타낸다. 적산형 도수 분포표에 있어서는 제 44 도의 사선부의 블럭 도수합이 임계치 TH 좌표 데이터 I 에 대응한다.The result is shown in FIG. In the integrated frequency distribution table, the block frequency sum of the oblique portions in FIG. 44 corresponds to the threshold TH coordinate data I. FIG.

이 적산형 도수 분포표에 의해 임계치 TH 를 변경하기 때문에 매회 제 44 도의 사선부의 블럭 도수합을 계산할 필요는 없게 된다.Since the threshold value TH is changed by this integrated frequency distribution table, it is not necessary to calculate the block frequency sum of the oblique portions of FIG. 44 each time.

즉 적산형 도수 분포표의 임계치에 대응하는 적산 블럭 도수를 출력하는 것으로 블럭 도수합의 산출이 실현된다.That is, the calculation of the block frequency sum is realized by outputting the integrated block frequency corresponding to the threshold of the integrated frequency distribution table.

제 45 도는 1 변수의 예에서도 있는 것으로 제 41 도의 제 1 계층 도수 분포표에 적용된다.FIG. 45 is also present in the example of one variable and is applied to the first hierarchical frequency distribution table of FIG.

제 42 도의 제 2 계층 도수 분포표는 제 2 변수의 경우를 나타내며, (21)식을 확장하는 것에 의해 적산형 도수 분포표가 생성되고, 다음식The second hierarchical frequency distribution table in FIG. 42 shows the case of the second variable, and the integrated frequency distribution table is generated by expanding the expression (21).

으로 표시된다. 단, SUM(·)은 적산 블럭 도수를 나타내며, N(·)는 도수 분포표에서의 블럭 도수를 표시하고, act1 은 적산 도수 분포표에서의 제 1 계층 대응 변수를 표시하며, act2 는 적산 도수 분포표에서의 제 2 계층 대응 변수를 표시하며, ACT1 은 도수 분포표에서의 제 1 계층 변수를 표시하고, ACT2 는 도수 분포표에서의 제 2 계층 변수를 표시하며, n 은 도수 분포표에서의 변수 최대치를 나타낸다.Is displayed. Where SUM (·) denotes the integrated block frequency, N (·) denotes the block frequency in the frequency distribution table, act1 denotes the first hierarchical corresponding variable in the integrated frequency distribution table, and act2 in the integrated frequency distribution table. Denotes the second hierarchical corresponding variable in, ACT1 denotes the first hierarchical variable in the frequency distribution table, ACT2 denotes the second hierarchical variable in the frequency distribution table, and n denotes the variable maximum in the frequency distribution table.

(22)식에 따라 생성되는 적산형 도수 분포표에서는 제 1 계층의 판정 임계치 TH1, 제 2 계층의 판정 임계치 TH2 의 어드레스에 대응하는 적산 블럭 도수가 제 1 계층 임계치 TH1 이상 또 제 2 계층 판정 임계치 TH2 이상의 블럭 도수합을 나타낸다.In the integrated frequency distribution table generated according to the equation (22), the integrated block frequency corresponding to the address of the determination threshold TH1 of the first layer and the determination threshold TH2 of the second layer is equal to or greater than the first layer threshold TH1 and the second layer determination threshold TH2. The above-described block frequency sum is shown.

이에 따라 제 2 계층에서의 발생 정보량을 산출할 수 있다.Accordingly, the amount of information generated in the second layer can be calculated.

제 43 도의 제 3 계층, 제 4 계층의 도수 분포표에 관해서도 적산형 도수 분포표를 사용하는 것으로 블럭 도수합 산출 시간을 단축할 수 있다.Also in the frequency distribution tables of the third and fourth hierarchies of FIG. 43, the integrated frequency distribution table can be used to shorten the calculation of the block frequency sum.

이러한 경우에는 블럭 액티버티 변수의 수가 증가하는 것으로 적산 회수는 많아진다.In this case, the number of block activity variables increases, which increases the number of integrations.

먼저, 제 3 계층의 경우의 연산식을 다음식First, the expression in the case of the third layer is given by

으로 표시한다. 단, SUM(·)은 적산 블럭 도수를 표시하고, N(·)는 도수 분포표에서의 블럭 도수를 표시하고, act1 은 전산 도수 분포표에서의 제 1 계층 대응 변수를 표시하며, act2 는 적산 도수 분포표에서의 제 2 계층 대응 변수를 표시하고, act3 은 적산 도수 분포표에서의 제 3 계층 대응 변수를 표시하고, ACT1 은 도수 분포표에서의 제 1 계층변수를 나타내고, ACT2 는 도수 분포표에서의 제 2 계층 변수를 표시하며, ACT3 은 도수 분포표에서의 제 3 계층 변수를 표시하며, n 은 도수 분포표에서 변수 최대치를 표시한다.Indicated by. Where SUM (·) denotes the integrated block frequency, N (·) denotes the block frequency in the frequency distribution table, act1 denotes the first hierarchical variable in the computational frequency distribution table, and act2 denotes the integrated frequency distribution table. Represents the second hierarchical correspondence variable in, act3 represents the third hierarchical correspondence variable in the integrated frequency distribution table, ACT1 represents the first hierarchical variable in the frequency distribution table, and ACT2 represents the second hierarchical variable in the frequency distribution table Where ACT3 represents the third hierarchical variable in the frequency distribution table, and n represents the variable maximum in the frequency distribution table.

(23)식에 따라 생성되는 적산형 도수 분포표에 있어서는 제 1 계층의 판정 임계치 TH1, 제 2 계층의 판정 임계치 TH2, 제 3 계층의 판정 임계치 TH3 의 어드레스에 대응하는 적산 블럭 도수가 제 1 계층 임계치 TH1 이상 그리고 제 2 계층 임계치 TH2 이상 또 제 3 계층 TH3 이상의 블럭 도수합을 나타낸다.In the integrated frequency distribution table generated according to (23), the integrated block frequency corresponding to the address of the determination threshold TH1 of the first layer, the determination threshold TH2 of the second layer, and the determination threshold TH3 of the third layer is the first layer threshold. The sum of blocks above TH1 and above the second layer threshold TH2 and above the third layer TH3.

이에 따라 제 3 계층에 있어서 발생 정보량을 산출할 수 있다.Accordingly, the amount of generated information can be calculated in the third layer.

제 43 도의 제 4 계층의 도수 분포표에 관한 처리를 상술한다.Processing relating to the frequency distribution table of the fourth hierarchy in FIG. 43 will be described in detail.

이 경우 블럭 액티버티 변수가 4 종류로 되는 것으로 가장 적산 연산 회수가 많아진다.In this case, the number of block activity variables is four, which increases the number of integration operations.

제 4 계층의 경우의 연산식을 다음식The formula in the case of the fourth layer is

으로 표시한다. 단, SUM(·)은 적산 블럭 도수를 표시하고, N(·)는 도수 분포표에서의 블럭 도수를 표시하며, act1 은 적산 도수 분포표에서의 제 1 계층 대응 변수를 표시하며, act2 는 적산 도수 분포표에서의 제 2 계층 대응 변수를 표시하고, act3 은 적산 도수 분포표에서의 제 3 계층 대응 변수를 표시하고, act4 는 적산 도수 분포표에서의 제 4 계층 대응 변수를 표시하고, ACT1 은 도수 분포표에서의 제 1 계층 변수를 표시하고, ACT2 은 도수 분포표에서의 제 2 계층 변수를 표시하고, ACT3 은 도수 분포표에서의 제 3 계층 변수를 표시하고, ACT4 는 도수 분포표에서의 제 4 계층 변수를 표시하고, n 은 도수 분포표에서의 변수 최대치를 나타낸다.Indicated by. However, SUM (·) denotes the integrated block frequency, N (·) denotes the block frequency in the frequency distribution table, act1 denotes the first hierarchical corresponding variable in the integrated frequency distribution table, and act2 denotes the integrated frequency distribution table. Represents the second hierarchical correspondence variable in, act3 represents the third hierarchical correspondence variable in the integrated frequency distribution table, act4 represents the fourth hierarchical correspondence variable in the integrated frequency distribution table, and ACT1 represents the fourth hierarchical correspondence variable in the frequency distribution table. Denotes a hierarchical variable, ACT2 denotes a second hierarchical variable in the frequency distribution table, ACT3 denotes a third hierarchical variable in the frequency distribution table, ACT4 denotes a fourth hierarchical variable in the frequency distribution table, n Denotes the variable maximum in the frequency distribution table.

(24)식에서 생성된 적산형 도수 분포표에 있어서는 제 1 계층의 판정 임계치 TH1, 제 2 계층의 판정 임계치 TH2, 제 3 계층의 판정 임계치 TH3, 제 4 계층의 판정 임계치 TH4 의 어드레스에 대응하는 적산 블럭 도수가 제 1 계층 임계치 TH1 이상 제 2 계층 임계치 TH2 이상, 제 3 계층 임계치 TH3 이상이고 제 4 계층 임계치 TH4 이상의 블럭 도수합을 나타낸다.In the integrated frequency distribution table generated by Equation (24), an integration block corresponding to the address of the determination threshold TH1 of the first layer, the determination threshold TH2 of the second layer, the determination threshold TH3 of the third layer, and the determination threshold TH4 of the fourth layer. The frequency count represents the sum of the frequency counts of the first layer threshold TH1 or more, the second layer threshold TH2 or more, the third layer threshold TH3 or more, and the fourth layer threshold TH4 or more.

이에 따라 제 4 계층에서의 발생 정보량도 산출된다.Accordingly, the amount of information generated in the fourth layer is also calculated.

그 처리의 결과, (19)식에 의한 각 계층에 있어서 분할 대상 블럭수에 기초하여 발생 정보량의 산출이 실현된다.As a result of the processing, calculation of the amount of generated information is realized on the basis of the number of target blocks to be divided in each layer according to equation (19).

이상의 적산형 도수 분포표의 도입에 의하여 발생 정보량 제어 시간을 대폭 으로 단축할 수 있다.By introducing the above-described integrated frequency distribution table, it is possible to drastically shorten the amount of information control.

이 적산형 도수 분포표에 대하여 더욱 발생 정보량 제어 시간을 단축하는 제안을 행한다.A proposal is made to further reduce the amount of information information control time generated for this integrated frequency distribution table.

이 제안에서 사용된 적산형 도수 분포표는 분할 판정 임계치에 대한 발생 정보량의 산출에 이용된다.The integrated frequency distribution table used in this proposal is used to calculate the amount of occurrence information for the division decision threshold.

실제의 임계치 처리에 있어서는 화질 열화의 관점에서 실용상, 큰 판정 임계치를 사용할 수 없다. 따라서 블럭 액티버티값을 클립하는 도수 분포표를 작성하는 것을 제안한다. 그 양상을 제 46 도 및 제 47 도에 나타낸다.In actual threshold processing, a large determination threshold cannot be used practically in view of deterioration of image quality. Therefore, it is proposed to create a frequency distribution table that clips the block activity values. The aspect is shown in FIG. 46 and FIG.

제 46 도와 같이 블럭 액티버티값을 LMT 로 클립하면 LMT 이상의 블럭 도수는 도수 분포표에 있어서는 전체 LMT 로 등록된다.As shown in Fig. 46, when the block activity value is clipped to LMT, block counts of LMT or more are registered as all LMTs in the frequency distribution table.

그 결과, LMT 에서의 블럭 도수가 크게 된다. 산출할 블럭 도수합은 사선부로 된다.As a result, the block frequency in the LMT becomes large. The sum of blocks to be calculated is an oblique portion.

그 도수 분포표에 대한 적산형 도수 분포표를 제 47 도에 나타낸다. (21)식∼(24)식으로 나타낸 적산 연산은 블럭 액티버티값의 최대치 n 에서는 아니고, 블럭 액티버티값 LMT 에서 0 까지의 구간에서 행해진다.47 shows an integrated frequency distribution table with respect to the frequency distribution table. The integration operation represented by the formulas (21) to (24) is performed not in the maximum value n of the block activity value but in a section from the block activity value LMT to zero.

산출할 블럭 도수합은 임계치 TH 의 좌표의 적산 블럭 도수 I 이다. 이 예에 나타낸 것과 같이 제 45 도와 동일한 결과가 얻어진다. 도수 분포표의 블럭 액티버티값에 클리핑을 도입함으로써 적산형 도수 분포표 작성 시간의 단축화 및 도수 분포표 메모리 공간의 소형화를 실현할 수 있다.The block frequency sum to be calculated is the integrated block frequency I of the coordinates of the threshold TH. As shown in this example, the same result as in the 45th degree is obtained. By introducing clipping into the block activity value of the frequency distribution table, it is possible to shorten the integration frequency distribution table creation time and reduce the frequency distribution table memory space.

이 수법을 적용하는 구성으로서는 각 계층마다 클립된 값 LMT 를 변화하는 경우와, 각 계층 전부 클립된 값 LMT 를 고정으로 하는 경우의 2 종류가 고려된다.As the configuration to which this technique is applied, two types are considered: a case where the clipped value LMT is changed for each layer and a case where the clipped value LMT is fixed for each layer.

전자는 각 계층의 계층간 차분치 분포에 명백한 다름이 있는 때에 사용하며 후자는 각 계층의 계층간 차분치 분포가 큰 차가 없는 때에 사용된다.The former is used when there is an apparent difference in the distribution of the differences between the layers of each layer, and the latter is used when there is no significant difference between the layers of each layer.

제 48 도는 계층 부호화 처리의 흐름도를 나타내며 스텝 SP2 에 있어서 계층 번호를 기억하는 계층 카운터 I 에 「4」가 등록되고, 이 계층화의 형태가 결정된다.48 shows a flowchart of the hierarchical coding process, and in step SP2, "4" is registered in the hierarchical counter I which stores the hierarchical number, and the form of this hierarchization is determined.

스텝 SP3 에서 발생 정보량 연산에 의해 계층 데이터가 생성되고 스텝 SP4 에 있어서 각 블럭 액티버티가 검출된다. 이 액티버티에 대하여 스텝 SP5 에서 제 42 도에서 상술한 다차원 도수 분포표를 작성 및 등록함으로써 발생 정보량 제어가 행해지고 최적 제어치가 결정된다.In step SP3, hierarchical data is generated by the generation information amount calculation, and in step SP4, each block activity is detected. By generating and registering the multi-dimensional frequency distribution table described above with reference to FIG. 42 in step SP5 for this activity, the amount of generated information is controlled and the optimum control value is determined.

또 스텝 SP6 에서 엔코더측에 그 제어치에 기초해 계층 부호화가 실행된다. 즉 초기에 최상 계층인 5 계층 데이터에 대해 부호화 및 복합화가 행해진다. 그 결과가 하위 계층에 있어서 처리의 초기치로 되고, 스텝 SP7 에 있어서 하위 계층과의 계층간 차분치가 생성된다. 다음에 스텝 SP8 에 있어서 상단에서 결정된 발생 정보량 제어치에 기초해 하위 계층에서의 분할 선택 및 부호화가 실행된다.In step SP6, hierarchical encoding is executed on the encoder side based on the control value. That is, encoding and complexing are initially performed on 5-layered data, which is the highest layer. The result is the initial value of the process in the lower layer, and the difference value between layers with the lower layer is generated in step SP7. Next, in step SP8, division selection and encoding in the lower layer are executed based on the occurrence information amount control value determined at the upper end.

각 계층 처리후, 스텝 SP9 에서 계층 카운터 I 을 감산한다. 그리고 스텝 SP10 에 있어서 계층 카운터 I 의 내용에 대해 종료 판정이 시행된다. 미종료의 경우는, 다시 하위 계층 처리를 속행한다. 전 계층의 처리를 종료한 경우, 루프를 벗어나 스텝 SP11 에서 처리를 종료한다.After each layer process, the layer counter I is subtracted in step SP9. In step SP10, the termination judgment is performed on the contents of the hierarchy counter I. FIG. In the case of no termination, the lower layer processing is continued again. When the processing of all the layers is finished, the processing exits from the loop and the processing ends in step SP11.

이상의 발생 정보량 제어에 의해 화질 열화가 적고 압축 효율이 높은 계층 부호화를 행하는 것이 가능해진다.The above-described control of the amount of generated information makes it possible to perform hierarchical coding with low image quality deterioration and high compression efficiency.

(4) 다른 실시예(4) another embodiment

(4-1) 상기 실시예에 있어서는 블럭 액티버티 P 를 각 블럭에 대해 상위의 계층 레이터에 대해 얻어지는 복호 데이터와 하위의 계층 데이터와의 차분치의 최대치로 판단하는 경우에 대해 설명했으나 본 발명은 이에 한하지 않고 블럭내에 있어서 평균 오차나 절대치합 또 표준 편차나 n 승합, 또한 임계치 이상의 레이터 도수에 의해 판단해도 좋다.(4-1) In the above embodiment, the case in which the block activity P is determined as the maximum value of the difference between the decoded data obtained for the upper hierarchical layer and the lower hierarchical data for each block has been described. It is not limited to this, but may be judged by the mean error, the absolute value, the standard deviation, the n sum, and the radar frequency of the threshold value or more.

(4-2) 상기 실시예에 있어서는 부호기에서 화상 데이터를 PCM 부호화하는 경우에 대해 설명하고 있으나 본 발명은 이것에 한하지 않고 다른 부호화 방식, 예컨대 직교 부호화 방식을 적용하여도 좋다.(4-2) In the above embodiment, the case where the image data is PCM coded by the encoder has been described. However, the present invention is not limited to this, and other coding methods such as orthogonal coding methods may be applied.

(4-3) 상기 실시예에서 각 계층에 대해 얻어지는 도수 분포표의 임계치에 대해 복수의 조합을 ROM 에 격납하여 두고 발생 정보량이 가장 목표치에 가깝게 되는 임계치의 조합을 구하는 경우에 대해 설명했으나 본 발명은 이것에 한하지 않고 각 계층마다 독립적으로 설정하도록 해도 좋다.(4-3) In the above embodiment, a case has been described in which a plurality of combinations are stored in the ROM for the threshold values of the frequency distribution table obtained for each layer, and a combination of the threshold values where the amount of generated information is closest to the target value has been described. It is not limited to this, but may be set independently for each layer.

(4-4) 상기 실시예에 있어서는 최하위의 계층 데이터를 2 라인 x 2 화소씩 평균치를 구하여 상위의 계층의 최상 데이터를 구하는 경우에 대해 설명하고 있으나 본 발명은 이에 한하지 않고, 다른 조합에 의해 평균치를 구하여도 좋다.(4-4) In the above embodiment, a case has been described in which the lowest hierarchical data is obtained by averaging 2 lines x 2 pixels to obtain the highest hierarchical data of the upper hierarchical data. You may calculate an average value.

(5) 이상과 같이 본 발명에 의하면 화상 데이터를 순차 재귀적으로 다른 복수의 해상도인 복수의 계층 데이터로 분할하여 부호화할 때 계층 데이터의 소정 블럭에 대하여 블럭 액티버티를 판정하고, 하위 계층 데이터에 대한 분할 처리의 판정 기준인 임계치를 블럭 액티버티에 대응하는 블럭의 도수 분포표로부터 설정하는 것에 의하여 압축 효율의 저하가 없는 화상 데이터의 계층 부호화 방법을 용이 실현할 수 있다.(5) As described above, according to the present invention, when image data is sequentially recursively divided into a plurality of hierarchical data having different resolutions, the block activity is determined for a predetermined block of the hierarchical data, and the lower hierarchical data is determined. The hierarchical coding method of image data without deterioration in compression efficiency can be easily realized by setting a threshold value as a criterion for the division processing for the data from a frequency distribution table of blocks corresponding to the block activity.

[7] 제 6 실시예[7] sixth embodiment

(1) 제 6 실시예의 화상 부호화 장치(1) The picture coding apparatus of the sixth embodiment

제 6 실시예의 화상 부호화 장치 100 은 제 49 도에서와 같이 제 3 실시예(제 11 도)의 경우와 마찬가지의 개략 구성을 가지며, 입력 화상 데이터 D31 을 계층 부호화하여 출력하는 계층 부호화 엔코더부 100A 와 그 계층 부호화 엔코더부 100A 에서의 발생 정보량이 목표치로 되도록 제어하는 발생 정보량 제어부 100B 에 의해 구성되어 있다.The picture coding apparatus 100 of the sixth embodiment has a schematic structure similar to that of the third embodiment (figure 11) as shown in FIG. 49, and the hierarchical encoding encoder section 100A for hierarchically encoding the input image data D31 and outputting the same. It is comprised by the generation information amount control part 100B which controls so that the generation information amount in the hierarchical encoding encoder part 100A may become a target value.

계층 부호화 엔코더부 100A 는 데이터 지연용의 메모리 M1 (제 50 도)과 엔코더로 구성되어 있다. 이중에 메모리 M1 는 발생 정보량 제어부 100B 에 있어서 최적 제어치가 결정될 때까지, 엔코더 처리가 실행되지 않도록 데이터를 지연하도록 입력에 설치하고 있다.The hierarchical encoding encoder section 100A is composed of a memory M1 (figure 50) for data delay and an encoder. The memory M1 is provided at the input such that the data is delayed so that encoder processing is not executed until the optimum control value is determined in the generation information amount control unit 100B.

한편 발생 정보량 제어부 100B 는 입력 화상 데이터 D31 를 입력하여 처리 대상 데이터에 적합한 최적 제어치 S1 을 설정하고, 이것을 계층 부호화 엔코더 40A 로 송출함으로써 그 계층 부호화 엔코더부 40A 에서 효율 좋은 부호화가 되도록 되어있다. 이는 소위 피드 포워드형의 버퍼링 구성이다.On the other hand, the generation information amount control unit 100B inputs the input image data D31 to set the optimum control value S1 suitable for the processing target data, and sends this to the hierarchical encoding encoder 40A so that the hierarchical encoding encoder 40A can perform efficient encoding. This is a so-called feed forward type buffering configuration.

(2) 계층 부호화 엔코더부(2) hierarchical encoding encoder

계층 부호화 엔코더부 100A 는 제 50 도에서와 같이 5 계층의 해상도가 다른 압축 화상 데이터를 생성하도록 하고 입력 화상 데이터 D31 가 메모리 M1을 통하여 입력되도록 되어 있는 점 및 부호기 51∼55 가 제 51 도에서와 같이 구성된 점을 제외하고 제 12 도 및 제 13 도에 대하여 위에서 마찬가지의 구성을 가진다.The hierarchical encoding encoder section 100A generates compressed image data having different resolutions in five hierarchies as shown in FIG. 50, and the points and encoders 51 to 55 where the input image data D31 is to be inputted through the memory M1 are different from those in FIG. Except for the configuration described above, FIGS. 12 and 13 have the same configuration as above.

그 경우의 부호기 51∼55 는 동일 공간내에 존재하는 신호간의 관계를 이용하여 블럭 분할판정을 실행하도록 되어 있다. 즉 제 51 도에서 부호기 54 는 차분 데이터 D44 를 부호화 회로 54A 에 입력함과 함께, 색 신호 검출 회로 54B 및 휘도 신호 검출회로 54E 에 입력한다. 회도 신호 검출 회로 54E 는 차분 데이터 D44 에 포함되는 휘도 성분을 추출하고, 이어서 액티버티 검출 회로 54F 에 의해, 추출한 휘도 성분의 블럭마다의 액티버티를 검출한다. 임계치 판정 회로 54G 는 검출된 휘도 신호 액티버티를 소정의 임계치와 비교하고, 이에 의해 얻어진 임계치 판정 결과를 계속하여 임계치 설정 회로 54H 에 제공한다. 임계치 설정 회로 54H 에서는, 임계치 판정 회로 54G 에서의 판정 결과가 소정의 임계치 보다도 휘도 신호 액티버티의 쪽이 큰 것을 표시한 것인 경우에는 비교적 작은 임계치를 설정하고, 소정의 임계치 보다도 휘도 신호 액티버티의 쪽이 작은 것을 표시하는 것인 경우에는 비교적 큰 임계치를 설정한다. 이때 임계치 설정 회로 54H 는 최적 제어치 S1 에 따라 설정하는 임계치의 크기를 결정한다. 이에 따라 설정된 임계치는 임계치 판정 회로 54D 에 제공된다.In such a case, the encoders 51 to 55 execute block division determination using the relationship between signals existing in the same space. That is, in FIG. 51, the encoder 54 inputs the difference data D44 to the encoding circuit 54A, and to the color signal detection circuit 54B and the luminance signal detection circuit 54E. The frequency signal detection circuit 54E extracts the luminance component included in the difference data D44, and then detects the activity for each block of the extracted luminance component by the activity detection circuit 54F. Threshold determination circuit 54G compares the detected luminance signal activity with a predetermined threshold, and continuously provides the threshold determination result obtained to threshold setting circuit 54H. In the threshold setting circuit 54H, when the determination result in the threshold determination circuit 54G indicates that the luminance signal activity is larger than the predetermined threshold, a relatively small threshold is set, and the threshold value of the luminance signal activity is higher than the predetermined threshold. If the page indicates a small one, a relatively large threshold is set. At this time, the threshold setting circuit 54H determines the magnitude of the threshold to be set according to the optimum control value S1. The threshold thus set is provided to the threshold determination circuit 54D.

또 부호기 54 에서는, 색 신호 검출 회로 54B 에 의해 추출되는 색신호 성분의 블럭마다의 액티버티가 액티버티 검출회로 54C 에 의해 검출되고, 이에 의해 얻은 색신호 액티버티를 임계치 판정 회로 54D 에 제공한다.In the encoder 54, the activity for each block of the color signal components extracted by the color signal detection circuit 54B is detected by the activity detection circuit 54C, and the color signal activity obtained thereby is provided to the threshold determination circuit 54D.

임계치 판정 회로 54D 는 임계치 설정 회로 54H 에서 설정된 임계치에 의해 색신호 액티버티를 임계치 판정하고, 그 판정 결과에 따라 부호화 회로 54A 에서의 블럭 분할을 제어한다. 즉 색신호 액티버티가 설정된 임계치 이상의 경우에는 블럭 분할하는 것에 대하여, 임계치 미만의 경우에는 블럭 분할을 하지 않는다.The threshold determination circuit 54D thresholds the color signal activity by the threshold set in the threshold setting circuit 54H, and controls the block division in the coding circuit 54A in accordance with the determination result. In other words, block division is not performed when the color signal activity is higher than or equal to the set threshold, whereas block division is not performed when the color signal activity is lower than the threshold.

이와 같이 부호기 54 (부호기 51∼53 도 마찬가지)에 있어서는 일단 휘도 신호의 액티버티에 기초하여 임계치를 설정하고, 그 설정 임계치를 사용하여 색신호의 액티버티를 판정하고, 그 판정 결과에 따라 블럭의 분할을 제어할 수 있도록 되어 있다.As described above, in the encoder 54 (the same is true for the encoders 51 to 53), the threshold is set once based on the activity of the luminance signal, the activity of the color signal is determined using the set threshold, and the block is divided according to the determination result. To control.

여기에서 액티버티라는 것은, 상위 계층에 대응하는 하위 계층 데이터 영역을 「블럭」이라 정의한 경우의, 소정 블럭내의 계층간 차분 데이터 D41∼D44 의 최대치, 평균치, 절대치합, 표준편차 또는 n 승합 등으로 표시되는 상관치이다. 즉 액티버티가 낮은 경우에는 그 블럭은 평탄한 블럭이라고 할 수 있다.Here, activity refers to the maximum value, average value, absolute value, standard deviation, or n sum of interlayer difference data D41 to D44 in a predetermined block when the lower layer data area corresponding to the upper layer is defined as a "block". Correlation value displayed. In other words, when the activity is low, the block is a flat block.

이때 부호기 51∼54 는 블럭 액티버티가 소정의 임계치 보다도 높은 경우에는 그 블럭을 분할 블럭으로서 그 블럭의 데이터를 부호화하여 전송함과 함께 그 블럭이 분할 블럭인 것을 표시하는 분할 판정 플래그를 부착하여 전송한다.If the block activities are higher than a predetermined threshold, the encoders 51 to 54 encode the data as the block as the partitioned block and transmit the data of the block, and attach and send a partition decision flag indicating that the block is the partitioned block. do.

이것에 대하여 부호기 51∼54 는 블럭 액티버티가 소정의 임계치 미만의 경우에는 이 블럭을 비분할 블럭으로하고 이 블럭의 데이터를 전송치 않음과 함께 이 블럭이 비분할 블럭인 것을 표시하는 비분할 판정 블럭을 부가하여 전송한다. 이 비분할 블럭은 복호 장치측에서 상위 계층 데이터로 치환된다.On the other hand, the encoders 51 to 54 determine that the block is a non-divided block when the block activity is less than a predetermined threshold, and that the data of the block is not transmitted and that the block is a non-divided block. Add a block and send it. This undivided block is replaced with higher layer data on the decoding device side.

(3) 분할 처리(3) division processing

이 실시예에서의 계층 부호와 방식에서는, 판정 플래그를 그 이후의 하위 계층에서의 판정에는 반영시키지 않는 방식이 사용되고 있다(이하 이것을 독립 판정법이라 칭함), 즉, 독립 판정법에서는 각 계층 독립으로 매회 임계치 판정에 기초해 분할 선택 처리를 행한다. 예컨대 일단 비분할 판정된 블럭에서도 이어지는 하위 계층에 있어서 재차 액티버티의 판정을 행하고, 여기에서 재분할하는가 분할하지 않는가를 선택한다. 그 결과 독립 판정법을 사용한 계층 부호화 방식에 있어서는 상위 계층에서의 하위 계층의 판정 플래그의 영향을 받지 않는 것에 의해 화질 열화가 적은 계층 부호화가 실현되도록 되어있다.In the hierarchical codes and methods in this embodiment, a method is used in which the determination flag is not reflected in subsequent determinations in the lower hierarchies (hereinafter referred to as an independent judging method). The division selection process is performed based on the determination. For example, even in a block once determined to be non-divided, the activity is again determined in the subsequent lower hierarchies, and it is selected whether to re-divid or not to divide. As a result, in the hierarchical coding method using the independent judging method, hierarchical coding with less image quality deterioration is realized by not being influenced by the decision flag of the lower layer in the upper layer.

이러한 구성에 더하여 계층 부호화 엔코더부 100A 에 있어서는 색신호의 분할 판정을 독립적으로 실행하는 것은 아니고 색신호와 서로 상호 관계에 있는 동일 공간의 휘도 신호를 고려하면서 색신호의 분할 판정을 행하도록 되어있다.In addition to the above configuration, the hierarchical encoding encoder 100A does not perform division determination of the color signal independently, but performs division determination of the color signal while considering luminance signals in the same space mutually correlated with the color signals.

계층 부호화 엔코더 100A 에 있어서는 휘도 신호의 블럭 액티버티에 따라 색신호의 블럭 분할 판정에 사용되는 임계치를 변화시킨다.In the hierarchical encoding encoder 100A, the threshold value used for the block division determination of the color signal is changed in accordance with the block activity of the luminance signal.

즉 계층 부호화 엔코더부 100A 에 있어서는 색신호 상위 계층 데이터의 데이터치를 Xi+1(0), 색신호 하위 계층 데이터의 데이터치를 Xi(j) = [j=0∼3], 색신호 계층간 차분 부호치를 △Xi(j) = Xi+1 (0) - Xi(j)[j = 0∼3], 색신호 블럭 액티버티 결정 함수를 G(·), 색신호 블럭 액티버티 ACTc = G(△Xi(j))[j=0∼3], 동일공간의 휘도 신호 블럭 액티버티를 ACRY 라 할때, 휘도 신호 블럭 액티버티 ACTY 가 소정의 임계치 TH0 이상의 경우, 색신호의 분할 판정 임계치 TH 를 TH0c 로 설정하고, 휘도 신호 블럭 액티버티 ACTY 가 임계치 TH0 미만의 경우, 색신호의 분할 판정 임계치 TH 를 THIc (>TH0c)에 설정하도록 되어 있다.That is, in the hierarchical encoding encoder 100A, the data value of the color signal upper layer data X i + 1 (0), the data value of the color signal lower layer data X i (j) = [j = 0 to 3], and the difference code value between the color signal layers. ΔXi (j) = X i + 1 (0)-X i (j) [j = 0-3], the color signal block activity determination function is G (·), the color signal block activity ACTc = G (ΔXi ( j)) [j = 0 to 3], when the luminance signal block activity in the same space is ACR Y , when the luminance signal block activity ACT Y is equal to or greater than the predetermined threshold TH0, the division determination threshold TH of the color signal is set to TH0c. When the luminance signal block activity ACT Y is less than the threshold TH0, the division determination threshold TH of the color signal is set to THIc (> TH0c).

계층 부호화 엔코더 100A 에 있어서는 색신호 블럭 액티버티 ACTc 가 임계치 TH 이상의 경우, 하위 계층에서의 분할을 실행하는 것에 대하여, 색신호 블럭 액티버티 ACTc 가 임계치 TH 미만의 경우, 하위 계층에서의 분할을 중지하도록 되어 있다.In the hierarchical encoding encoder 100A, when the color signal block activity ACTc is greater than or equal to the threshold TH, the division in the lower layer is stopped when the color signal block activity ACTc is less than the threshold TH. .

여기에서 예컨대 휘도 신호 블럭 액티버티 ACTY 가 임계치 TH0 이상인 경우, 이것은 물체 윤곽부와 같이 휘도 신호의 변화가 큰 경우를 표시하고, 이러한 경우 계층 부호화 엔코더 100A 는 색신호의 분할 판정 임계치 TH 로서, 비교적 적은 분할 판정 임계치 TH0c 를 채용하는 것으로 휘도 신호와 동일하게 분할을 실행하는 방향으로 제어한다.Here, for example, when the luminance signal block activity ACT Y is equal to or larger than the threshold TH0, this indicates a case where the change in the luminance signal is large, such as an object outline, and in this case, the hierarchical encoding encoder 100A is a division decision threshold TH of the color signal, which is relatively small. The division determination threshold TH0c is adopted to control the division in the same direction as the luminance signal.

이에 대하여, 휘도 신호 블럭 액티버티 ACTY 가 임계치 TH0 미만의 경우, 이 것은 휘도 신호의 변화가 크지 않은 것을 표시하고, 이러한 경우 계층 부호화 엔코더 100A 는 색신호의 분할 판정 임계치 TH 로서, 분할 판정 임계치 TH0c 보다도 큰 분할 판정 임계치 THIc 를 채용하는 것에 의해 압축 효율을 향상시킨다.In contrast, when the luminance signal block activity ACT Y is less than the threshold TH0, this indicates that the change in the luminance signal is not large. In this case, the hierarchical encoding encoder 100A is the division determination threshold TH of the color signal, which is higher than the division determination threshold TH0c. The compression efficiency is improved by employing a large division determination threshold THIc.

여기에서, 실시예와 같이 휘도 신호 블럭 액티버티 ACTY 에 따라 임계치 TH를 변화시켜 색신호의 분할을 제어하는 경우와, 일정 임계치의 아래로 블럭 액티버티를 판정하여 색신호의 분할을 제어하는 경우의 신호 파형의 비교를 제 53 도에 나타낸다.Here, as in the embodiment, when the threshold TH is changed according to the luminance signal block activity ACT Y to control the division of the color signal, and when the block activity is determined below the predetermined threshold to control the division of the color signal. A comparison of the waveforms is shown in FIG.

제 53 도에는 설명을 위해 1 차원 신호의 파형을 나타냄과 함께 부호화 대상으로서 컬러 화상을 상정한다. 그 예로는 제 53도(A) 및 (B) 에서와 같이, 물체의 엣지와 같이 휘도 신호가 급격히 변화하고 색신호 변화가 휘도 신호의 변화에 대하여 비교적 적은 신호를 부호화하는 경우를 나타낸다.FIG. 53 shows a waveform of a one-dimensional signal for explanation, and assumes a color image as an encoding target. As an example, as shown in Figs. 53A and 53B, a signal in which the luminance signal changes abruptly and the color signal change is relatively small with respect to the change in the luminance signal like the edge of the object are encoded.

이와 같이 컬러 화상 신호에 대해, 일정한 임계치의 아래에 블럭 액티버티를 판정하여 분할을 제어하는 경우의 색신호의 분할 결과는 제 53도(C)에서와 같게된다. 여기에서 제 53도(C)는 색신호가 표시되고 있는 전 블럭에 비분할 처리가 선택되는 것을 표시한다.In this way, for the color image signal, the division result of the color signal in the case of controlling the division by determining the block activity under a certain threshold is as shown in Fig. 53C. FIG. 53C shows that the non-division processing is selected for all blocks in which the color signal is displayed.

제 53도(C)로부터도 명백하게, 일정의 임계치의 아래에서 블럭 액티버티를 판정하여 색신호의 분할을 제어하는 경우에는, 휘도 신호와 색신호의 분할 판정 결과의 다름에 의해, 물체의 엣지에서도 색신호의 변화가 비교적 작은 경우는 비분할 처리가 선택되는 것이다. 그 결과, 비분할 블럭 데이터의 복원치로서 상위 계층 데이터를 사용함으로써, 신호 파형이 계단형으로 된다. 일반적으로는 눈에 띄지 않는 계단 파형이지만 휘도 신호가 격하게 변화하는 장소의 근방의 평탄부에는 그 계단 파형이 색신호의 화질 열화로서 인식된다.Obviously from Fig. 53 (C), when the block activity is determined under the predetermined threshold and the division of the color signal is controlled, the color signal is changed at the edge of the object due to the difference between the luminance signal and the division result of the division of the color signal. If the change is relatively small, the non-dividing process is selected. As a result, the signal waveform becomes stepped by using higher layer data as the restored value of the undivided block data. In general, the stepped waveform is inconspicuous, but the stepped waveform is recognized as a deterioration in image quality of the color signal in the flat portion near the place where the luminance signal changes sharply.

특히 휘도 신호와 색신호의 블럭 사이즈가 다른 경우 등 동일공간에 존재하는 휘도 신호와 색신호의 신호의 처리의 다름에 의하여 화질차가 두드러진다. 이와 같이하여 색신호에 기초한 화질 열화가 생긴다.In particular, the difference in image quality is prominent due to the difference in processing between the luminance signal and the color signal that exist in the same space, such as when the luminance signal and the color signal have different block sizes. In this way, image quality deterioration based on color signals occurs.

이것에 대해 휘도 신호 블럭 액티버티 ACTY 에 따라 임계치 TH 를 변화시키는 분할을 제어한 경우에는 제 53도(D)에서와 같이 도면의 중앙의 물체 윤곽부와 같이, 휘도 신호 변화가 큰 블럭에서의 색신호의 분할이 행하여지도록 한다.On the other hand, in the case where the division to change the threshold value TH in accordance with the luminance signal block activity ACT Y is controlled, as in the object contour in the center of the figure as shown in FIG. Color signal division is performed.

따라서, 휘도 신호와 색신호의 분할 판정결과가 일치하고 물체 윤곽부에서의 색신호의 계단 파형에 의한 화질 열화를 피할 수 있다.Therefore, the result of the division determination of the luminance signal and the color signal coincides with each other, and deterioration in image quality due to the stepped waveform of the color signal in the object contour portion can be avoided.

즉, 컬러 화상과 같이 다수 신호에 의해 구성되는 화상에 대해 그 계층 부호화를 적용하는 경우, 블럭마다의 분할 판정을 각 신호 독립으로 행하는 것은 아니고, 동일 공간내에 존재하는 신호간의 관계를 고려하여, 분할 판정을 행함으로써 화질을 향상시킬 수 있다.That is, when hierarchical coding is applied to an image composed of a plurality of signals such as a color image, the division determination for each block is not performed independently of each signal, but the division is made in consideration of the relationship between signals existing in the same space. By making the determination, the image quality can be improved.

그러므로, 계층 부호화 장치 100 에 있어서는 압축 효율을 향상함과 함께 화질 열화를 저감하는 것이다.Therefore, in the hierarchical encoding device 100, the compression efficiency is improved and the image quality deterioration is reduced.

제 54 도는 계층 부호화 장치 100 에 의한 계층 부호화 처리의 흐름도를 표시하며, 스텝 SP2 에서 계층 번호를 기억하는 계층 카운터 I 에 「4」가 등록되고 그 계층 부호화의 형태가 결정된다.54 shows a flowchart of the hierarchical encoding processing by the hierarchical encoding apparatus 100. In step SP2, "4" is registered in the hierarchical counter I which stores the hierarchical number, and the form of the hierarchical encoding is determined.

다음 스텝 SP3 에서 발생 정보량 제어부 100B 가 발생 정보량 연산을 함으로써 계층 데이터가 생성되고, 이어서 스텝 SP4 에서 각 블럭 액티버티가 검출된다. 발생 정보량 제어부 100B 는 그 액티버티에 기초한 스텝 SP5 에서 최적 제어치 S1을 결정한다.In the next step SP3, the generation information amount control unit 100B calculates the generation information amount to generate hierarchical data, and then each block activity is detected in step SP4. The generation information amount control unit 100B determines the optimum control value S1 in step SP5 based on the activity.

또한, 다음 스텝 SP6 에서 계층 부호화 엔코더부 100A 로 최적 제어치 S1 에 기초한 계층 부호화가 실행된다. 즉 초기에 최상위 계층인 5 계층 데이터에 대해 부호화 및 복합화가 행해진다. 그 결과가 하위 계층에서의 처리 초기치로 되고, 스텝 SP7 에서 하위 계층과의 계층간 차분치가 생성된다. 또 스텝 SP8 에서 스텝 SP5 에서 결정된 최적 제어치 S1 에 기초하여 하위 계층에서의 분할 선택 및 부호화가 실행된다.In the next step SP6, the hierarchical encoding based on the optimum control value S1 is executed by the hierarchical encoding encoder 100A. That is, encoding and complexing are initially performed on 5-layered data, which is the highest layer. The result is a process initial value in the lower layer, and the difference between layers with the lower layer is generated in step SP7. In step SP8, segmentation selection and encoding in the lower layer are executed based on the optimum control value S1 determined in step SP5.

각 계층 처리후, 스텝 SP9 에서 계층 카운터 I 를 감산한다. 그리고 스텝 SP10 에서 계층 카운터 I 의 내용에 대해 종료 판정이 시행된다. 미종료의 경우는 다시 하위 계층 처리를 속행한다. 전계층의 처리를 종료한 경우 루프를 벗어나 스텝 SP11 에서 당해 계층 부호화 처리를 종료한다.After each layer process, the layer counter I is subtracted in step SP9. In step SP10, an end determination is made on the contents of the hierarchy counter I. FIG. If not, continue with lower layer processing again. When the process of the entire layer is finished, the process exits the loop and the layer encoding process ends in step SP11.

(4) 실시예의 효과(4) Effect of Example

이상의 구성에 의하면 상위 계층부터 하위 계층으로의 블럭 분할을 할때 동일 공간내에 존재하는 신호간의 관계를 고려하여, 분할 판정을 하도록 함에 의해 압축 효율이 좋고 화질 열화를 저감할 수 있는 화상 부호화 방법을 실현한다.According to the above arrangement, when the block division is performed from the upper layer to the lower layer, the partition determination is made in consideration of the relationship between the signals existing in the same space, thereby realizing an image encoding method which has good compression efficiency and can reduce image quality deterioration. do.

(5) 다른 실시예(5) another embodiment

(5-1) 위의 실시예에서 화상을 형성하는 서로 상호관계가 있는 신호로서 휘도 신호 및 색신호를 사용해, 휘도 신호의 블럭 액티버티에 기초하여 색신호의 분할 임계치를 변화시키는 경우에 대해 설명했으나, 본 발명은 이에 한하지 않고 예컨대 서로 상호관계를 가지는 컬러 화상을 형성하는 신호로서 RGB 의 삼원색 신호를 사용하고, 그 중의 하나의 신호 특성에 기초하여 별도의 신호의 분할 임계치를 변화시키도록 하여도 좋고, 또는 서로에 상호 관계를 가지는 신호의 관계에 기초하여 분할 임계치를 선정하도록 하면 좋다.(5-1) In the above embodiment, the case where the division threshold of the color signal is changed based on the block activity of the luminance signal by using the luminance signal and the color signal as mutually correlated signals forming the image, The present invention is not limited to this, and may use, for example, three primary color signals of RGB as signals for forming mutually correlated color images, and may change the division threshold of a separate signal based on one signal characteristic thereof. The division threshold may be selected based on the relationship between the signals having mutual relations with each other.

(5-2) 상기 실시예에서는 본 발명에 의한 화상 부호화 방법을 각 계층 독립으로 매회 임계치 판정하여 분할 처리를 행하는 독립 판정법에 적용한 경우에 대해 설명했으나, 본 발명은 이에 한하지 않고 상위 계층에서의 분할 판정에 의해 일단 하위계층의 분할을 중지할 때 그 이후의 하위 계층의 분할을 중지하는 판정 방법에 적용한 경우, 다시 블럭 액티버티가 소정의 임계치 보다 적은 것을 나타내는 것을 표시하는 판정 결과가 얻어질 때 그 블럭에 대응하는 복수의 하위 블럭의 분할의 방식을 중지시키기 위한 분할 중지 플래그를 일시적으로 발생함과 함께, 복수의 하위 블럭의 적어도 1 개의 블럭의 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 분할 중지 플래그를 분할 계속 플래그로 변경하는 판정 방법에 적용하는 경우에도 상기 실시예와 마찬가지 효과를 얻을 수 있다.(5-2) In the above embodiment, the case where the image coding method according to the present invention is applied to the independent determination method for performing the division process by determining the threshold value each time independently of each layer is described. When a decision is made to indicate that the block activity is smaller than a predetermined threshold, when the division decision is applied to the determination method of stopping the division of the subsequent lower layers once the division of the lower layers is stopped. A determination result indicating that a partition abort flag for stopping the division of the plurality of lower blocks corresponding to the block is temporarily generated and that the block activity of at least one block of the plurality of lower blocks is equal to or greater than a predetermined threshold; Applied to the decision method to change the split stop flag to a split continue flag when is obtained. Where no suitable achieve the same effect as the above embodiment.

본 발명은 이에 한하지 않고 계층 부호화 방식에 있어서 계층 데이터내에 해상도가 다른 복수의 블럭이 존재하도록 한 경우에 광범위하게 적용할 수 있다.The present invention is not limited to this, but can be widely applied to a case where a plurality of blocks having different resolutions exist in hierarchical data in the hierarchical coding scheme.

(6) 상술한 바와 같이 본 발명에 의하면, 화상 데이터를 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터로 분할하여 부호화 함과 함께, 해상도가 최저인 최상위 계층 데이터를 제외한 계층 데이터를 제외한 계층 데이터의 소정 플래그에 대해 블럭 액티버티를 판정하고, 당해 블럭 액티버티가 소정의 임계치 미만일 때 액티버티 판정한 블럭에 대응하는 하위 계층 데이터의 블럭 분할을 중지하며 또한 판정 플래그로서 분할 중지 플래그를 전송하는 화상 부호화 방법에 있어서 서로 상호 관계를 갖는 화상을 형성하는 복수의 신호 중, 제 1 신호에 기초하여 상기 임계치를 선정하고, 당해 임계치와 상기 상호 관계에 있는 신호 중 제 2 의 신호의 블럭 액티버티를 비교하여 그 제 2 신호의 액티버티를 판정하고, 그 판정 결과에 기초하여 블럭 분할을 제어함으로써 화상 데이터를 계층 부호화할 때 압축 효율을 향상함과 함께 화질 열화를 저감한다.(6) As described above, according to the present invention, image data is sequentially recursively divided into a plurality of hierarchical data having a plurality of different resolutions, and except for hierarchical data except for the highest hierarchical data having the lowest resolution. The block activity is determined for a predetermined flag of the hierarchical data, and when the block activity is less than a predetermined threshold, the block division of the lower layer data corresponding to the activity-determined block is stopped, and the division stop flag is transmitted as a determination flag. In the picture coding method described above, the threshold value is selected based on a first signal among a plurality of signals forming images having mutual relations with each other, and the block activity of the second signal among the signals having a correlation with the threshold value is selected. Is compared to determine the activity of the second signal, and the block is divided based on the determination result. By controlling the image quality, compression efficiency is improved and image quality deterioration is reduced when hierarchically encoding image data.

[8] 제 7 실시예[8] Seventh Embodiment

(1) 제 7 실시예의 화상 부호화 장치(1) The picture coding apparatus of the seventh embodiment

제 7 실시예의 화상 부호화 장치 110A 는 제 11∼제 18 도에 대해 상술한 제 4 실시예의 구성에 부가해, 제 55 도에서와 같이, 계층 부호화 엔코더부 110A 로부터 얻어지는 계층 부호화 데이터 D51∼ D55 를 전송 블럭 형성부 111 에서 전송 블럭에 재형성하여 전송 데이터 Dout 로서 송출한다.The picture coding apparatus 110A of the seventh embodiment transmits the hierarchical coded data D51 to D55 obtained from the hierarchical encoding encoder 110A in addition to the configuration of the fourth embodiment described above with respect to FIGS. 11 to 18. The block forming unit 111 reconstructs the transmission block and sends it as transmission data Dout.

(2) 전송 블럭의 데이터 구성(2) Data structure of transport block

여기에서 위와 같은 발생 정보량 제어 방식에 의해 계층 부호화 엔코더부 110A 에서 생성된 데이터는, 부호기 55(제 55 도)로부터 출력되는 최상위 계층 부호화 데이터 D55 등의 고정 길이 데이터와, 부호기 51∼54 로부터 출력되는 제 1∼제 4 계층 차분치 부호화 데이터 D51∼D54 의 가변 길이 데이터로 분류된다.Here, the data generated by the hierarchical encoding encoder 110A by the generation information amount control method as described above is output from fixed length data such as the highest hierarchical coded data D55 and the like output from the encoder 55 (FIG. 55) and from the encoders 51 to 54. It is classified into variable length data of the first to fourth hierarchical differential value encoded data D51 to D54.

이 때문에 당해 계층부호화 엔코더부 110A 에 있어서는, 제 56 도에서와 같이, 화상을 구성하는 각 프레임마다 각 고정 길이 데이터를 일괄하여 고정 길이 데이터 블럭 120 을 형성함과 함께, 당해 프레임의 각 가변 길이 데이터를 일괄하여 가변 길이 데이터 블럭 121 을 형성하고, 이 가변 길이 데이터 블럭 121 을 고정 길이 데이터 블럭 120 의 뒤에 배열함으로써 전송용의 단위 블럭 122 (이하 이것을 전송 블럭 122 라 칭함)을 형성하여 전송로로 순차 전송한다.For this reason, in the hierarchical encoding encoder 110A, as shown in FIG. 56, each fixed length data is collectively formed for each frame constituting the image, and the fixed length data block 120 is formed. The variable length data block 121 is collectively formed, and the variable length data block 121 is arranged after the fixed length data block 120 to form a unit block 122 (hereinafter referred to as a transfer block 122) for transmission to sequentially transfer paths. send.

실제로 전송 블럭 122 에 있어서는, 고정 길이 데이터 블럭 120 의 선두부(즉 전송 블럭 122 의 선두부)에 블럭 122 의 선두 위치를 인식시키기 위한 SYNC 코드나 화상 데이터의 내용을 나타내는 정보 코드(이하 이것을 식별정보 코드라 칭함) 등으로 된 전송 블럭 식별 코드 C1 가 배열되어 있다. 또 전송 블럭 122 에서는, 전송 블럭 식별 코드 C1 의 바로 다음에 최상위 계층 부호화 데이터 D55 가 배열되어 있고, 이에 따라 식별 코드를 사용하여 원하는 화상을 탐색할 때, 정보량이 적은 최상위 계층 부호화 데이터 D55를 사용함으로써 화상을 고속으로 순차 복원할 수 있도록 되어 있다. 이것에 의해 재생시에서의 고속 데이터 서치(일람) 기능을 실현할 수 있다.In fact, in the transmission block 122, the head of the fixed-length data block 120 (that is, the head of the transmission block 122) is a SYNC code for recognizing the head position of the block 122, or an information code indicating the content of the image data (hereinafter referred to as identification information). Transport block identification code C1) is arranged. In the transport block 122, the highest layer coded data D55 is arranged immediately after the transport block identification code C1. Thus, when the desired image is searched using the identification code, the highest level coded data D55 having a small amount of information is used. The image can be sequentially restored at high speed. As a result, a high speed data search (list) function at the time of reproduction can be realized.

또한 상술한 것과 같은 계층 부호화 방식에서는, 계층 부호화 엔코더부 110A의 부호기 51∼55 로부터 각각 출력된 상기한 분할 판정 플래그로 된 복호측에서 화상을 형성하기 위한 판별 코드(이하, 이를 일괄하여 계층간 데이터 분할 판정 코드라 칭함)의 데이터 길이가 각각 계층에서의 전 블럭수에 동일하게 각각 고정 길이 데이터로 된다.Further, in the hierarchical coding scheme as described above, a discrimination code for forming an image on the decoding side of the division determination flag output from the encoders 51 to 55 of the hierarchical encoder section 110A, respectively (hereinafter, collectively referred to as interlayer data). The data length of each of the division decision codes is fixed length data, which is equal to the total number of blocks in each layer.

이 때문에 전송 블럭 122 에서는, 제 56 에서도 명백한 바와 같이, 이들 복호측에 있어서 각 계층마다의 화상을 형성하기 위한 판별 코드로 되는 계층간 데이터 분할 판정 코드 C2 가 최상위 계층 부호화 데이터 D55 의 직후에 배열되고, 이에 따라 상술한 발생 정보량 제어를 시행한 후에도 최상위 계층 부호화 데이터 D55와 계층간 데이터 분할 판정 코드 C2 를 합한 구간에 존재하는 데이터가 전체로서 고정 길이로 될 수 있게 된다.For this reason, in the transmission block 122, as also apparent from the fifty-sixth, the inter-layer data division determination code C2 serving as the discrimination code for forming the image for each layer at these decoding sides is arranged immediately after the highest layer coded data D55. Therefore, even after the above-described generation information control is performed, the data existing in the sum of the highest hierarchical coding data D55 and the inter-layer data division determination code C2 can be fixed length as a whole.

가변 길이 데이터 블럭 121 에서는, 제 4 ∼제 1 계층 차분치 부호화 데이터 D54, D53, D52, D51 가 순차 배열되어 형성되며, 해당 가변 길이 데이터 121 의 직후에는 전송 블럭 122 의 종료를 인식시키기 위한 전송 블럭 종료 코드 C3가 부가되어 있다.In the variable length data block 121, the fourth to the first hierarchical differential encoded data D54, D53, D52, and D51 are formed in sequence, and immediately after the variable length data 121, a transport block for recognizing the end of the transmission block 122. Exit code C3 is added.

이상 구성에 있어서, 이 화상 부호화 장치에서는 계층 부호화 엔코더부 110A에서 생성된 데이터를 각 프레임마다 각 고정길이 데이터의 다음에 각 가변 길이 데이터를 배열함에 의해 전송 블럭 122 를 형성하고 이를 전송로에 송출한다.In the above configuration, the image encoding apparatus forms the transmission block 122 by arranging the data generated by the hierarchical encoding encoder 110A after each fixed length data after each fixed length data for each frame, and sends it to the transmission path. .

따라서 복호측에는 어느 가변 길이 데이터에 에러가 발생한 경우에도 고정길이 데이터 블럭 120 내의 데이터의 정의를 오류하지 않고 복호할 수 있다. 이에 의해 이 화상 부호화 장치에서는 전송 데이터에 에러에 대해 견고성(robust characteristic)을 가지게 되도록 되어있다.Therefore, even if an error occurs in any variable length data, the decoding side can decode the definition of the data in the fixed length data block 120 without error. As a result, in this picture coding apparatus, the transmission data has a robust characteristic against errors.

또한 이 화상 부호화 장치 110 에서는, 상기 발생 정보량 제어 방식에 의해 생성되는 데이터를 전송할 때, 전송 블럭 식별 코오드 C1 의 직후에 최상위 계층 부호화 데이터 D55 를 배열하여 출력하도록 함으로써 복호측에 고속 데이터 탐색 기능을 부가한 경우에 전송 블럭 식별 코드 C1 를 검출후, 최상위 계층 부호화 데이터 D55 까지 짧은 시간에 액세스될 수 있다.In the picture coding apparatus 110, when transmitting the data generated by the generation information amount control method, the high-speed data search function is added to the decoding side by arranging and outputting the highest hierarchical coded data D55 immediately after the transport block identification code C1. In one case, after detecting the transport block identification code C1, up to the highest layer coded data D55 can be accessed in a short time.

이상 구성에 의하면, 복수의 해상도를 가지는 계층 부호화를 용이하게 실현할 수 있다. 또 계층 부호화 엔코더 110A 에서 부호화 되어 출력되는 전송화상 데이터의 총발생 정보량은 거의 목표치에 일치시킬 수 있고 압축 효율의 저하가 없이 부호화를 실현할 수가 있다. 또 화질 열화가 적은 계층 부호화를 실현할 수 있다. 또한 계층 부호화에 있어서 발생 정보량의 관리를 종래에 비하여 일층 용이하게 할 수 있다.According to the above configuration, hierarchical coding having a plurality of resolutions can be easily realized. In addition, the total amount of generated information of the transmission image data encoded and output by the hierarchical encoding encoder 110A can almost match the target value, and encoding can be realized without a decrease in compression efficiency. In addition, hierarchical coding with less image quality degradation can be realized. In addition, management of the amount of information generated in hierarchical coding can be made easier than in the past.

또 각 계층마다의 화상 신호 데이터의 성질이나 인간의 시각 특성을 고려하여 최적 임계치를 설정함으로써 일률적로 임계치를 설정하는 경우에 비하여 수신측에서의 주관적인 화질을 일층향상 시킬 수 있다.In addition, by setting the optimum threshold value in consideration of the nature of the image signal data of each layer and human visual characteristics, the subjective picture quality on the receiving side can be further improved as compared with the case where the threshold value is uniformly set.

(3) 제 7 실시예에 대한 다른 실시예(3) Another embodiment of the seventh embodiment

(3-1) 상기 실시예에 있어서는 블럭 액티버티를 각 블럭에 대하여 상위 계층 데이터에 대하여 얻어진 복호 데이터와 하위의 계층 데이터와의 차분치의 최대치로 판단하는 경우에 대해 설명하고 있으나, 본 발명은 이것에 한하지 않고, 블럭내에 있어서 평균 오차나 절대치합, 또는 표준편차나 n 승합, 임계치 이상의 데이터 도수에 의해 판단하여도 좋다.(3-1) In the above embodiment, the case where the block activity is determined as the maximum value of the difference between the decoded data obtained for the upper layer data and the lower layer data for each block is explained. It is not limited to this, but may be judged based on the mean error, the absolute value, the standard deviation, the n sum, and the data frequency above the threshold.

(3-2) 상기 실시예에 있어서는 각 계층마다 얻어지는 도수 분포표를 그대로 이용하는 경우에 대하여 설명하고 하였으나 본 발명에 이에 한하지 않고, 도수 분포표로부터 적산형의 도수 분포표를 작성하여 그것을 발생 정보량의 계산에 사용해도 좋다.(3-2) In the above embodiment, the case where the frequency distribution table obtained for each layer is used as it is is explained. However, the present invention is not limited to this, and the frequency distribution table of the integrated type is prepared from the frequency distribution table and used to calculate the generated information amount. You may use it.

즉 각 계층마다 도수 분포표를 생성한 후 블럭 액티버티가 상위의 값으로부터 각 블럭 액티버티까지의 블럭 도수에 대하여 누적 가산치를 구하고 각 누적 가산치를 각 블럭 액티버티값에 대응하는 어드레스에 기입해 적산형의 도수 분포를 작성하도록 해도 좋다. 이리하면 각 블럭 액티버티에 대응한 도수는 그 블럭 액티버티 이상의 값을 갖는 블럭 도수의 적산치가 된다.That is, after generating the frequency distribution table for each layer, the block activity calculates the cumulative addition value for the block counts from the upper value to each block activity, and writes each cumulative addition value into an address corresponding to each block activity value. A frequency distribution of may be prepared. In this way, the frequency corresponding to each block activity is the integrated value of the block frequency having a value equal to or greater than the block activity.

이에 따라 예비 적산형 도수 분포표를 생성하면 각 임계치에 대응하는 블럭 도수 적산치를 산출하는 것은 불필요하고 단순히 메모리의 임계치 어드레스의 판독에 의해 블럭 도수 적산치의 산출을 가능하게 할 수 있고 산출에 요하는 시간을 대폭으로 삭감할 수 있다.Accordingly, when the preliminary integrated frequency distribution table is generated, it is unnecessary to calculate the block frequency integrated value corresponding to each threshold value, and it is possible to calculate the block frequency integrated value simply by reading the threshold address of the memory, and the time required for the calculation. We can cut drastically.

(3-3) 상기 실시예에서는 각 계층마다 다른 값을 설정하는 임계치와 블럭 액티버티를 비교하고 블럭의 분할/비분할을 판정하는 경우에 대해 설명했으나 본 발명은 이에 한하지 않고 각 계층마다 다른 값으로 설정된 임계치와 계층간의 데이터의 차분치를 비교하고 비교 결과에 기초해 블럭의 분할/비분할을 판정하도록 하여도 좋다.(3-3) In the above embodiment, a case has been described in which a threshold value for setting a different value for each layer is compared with a block activity, and the division / undivision of the block is determined. However, the present invention is not limited to this, but is different for each layer. The difference value between the threshold value set as the value and the data between the layers may be compared, and the division / non-division of the block may be determined based on the comparison result.

(3-4) 상기 실시예에 있어서는 부호기에서 화상 데이터를 PCM 부호화 하는 경우에 대하여 설명하였으나 본 발명은 이에 한하지 않고 다른 부호화 방식 예컨대 직교 부호화 방식을 적용해도 좋다.(3-4) In the above embodiment, the case where the image data is PCM coded by the encoder has been described. However, the present invention is not limited thereto, and other coding methods such as orthogonal coding methods may be applied.

(3-5) 상기 실시예에 있어서는 각 계층에 대해 얻어진 도수 분포표의 임계치에 대해 복수의 조합을 ROM 에 격납하여 두고, 발생 정보량이 가장 목표치에 가까운 임계치의 조합을 구하는 경우에 대해 설명하고 있으나, 본 발명은 이것에 한하지 않고 각 계층마다 독립으로 설정되도록 하여도 좋다.(3-5) In the above embodiment, a case is described in which a plurality of combinations are stored in the ROM for the threshold values of the frequency distribution table obtained for each layer, and a combination of the threshold values closest to the target value is generated. The present invention is not limited to this, but may be set independently for each layer.

(3-6) 상기 실시예에서는 최하위 계층 데이터를 2 라인 x 2 화소씩 평균치를 구하여 상위의 화상 데이터를 구한 경우에 대한 것이지만, 본 발명은 이에 한하지 않고 다른 조합에 의해 평균치를 구하여도 좋다.(3-6) In the above embodiment, the average value of the lowest hierarchical data is determined by 2 lines x 2 pixels, and the upper image data is obtained. However, the present invention is not limited thereto, and the average value may be obtained by other combinations.

(4) 상기와 같이 본 발명에 의하면 화상 데이터를 순차 재귀적으로 서로 해상도가 다른 복수의 계층 데이터로 분할하여 부호화하는 화상 부호화 장치에 있어서, 부호화된 각 계층 데이터를 포함한 전송 데이터를 소정의 전송로로 송출할 때, 해당 전송 데이터를 화상을 형성하는 소정 단위마다 고정 길이 데이터 및 가변 길이 데이터로 나누어, 고정 길이 데이터를 해당 전송로에 송출한 후에 가변 길이 데이터를 해당 전송로로 송출하도록 함으로써, 복호할 때 가변 길이 데이터에 에러가 발생한 경우에도 고정파장 데이터의 내용을 정확히 검출할 수 있으며, 그에 따라 전송 데이터에 에러에 대해 견고성을 가지는 화상 부호화 장치 및 데이터 전송 방법을 실현한다.(4) As described above, according to the present invention, in the image encoding apparatus which sequentially divides and encodes image data into a plurality of hierarchical data having different resolutions, the transmission data including each encoded hierarchical data is transferred to a predetermined transmission path. When transmitting the data to the transmission path, the transmission data is divided into fixed length data and variable length data for each predetermined unit forming an image, and the fixed length data is sent to the transmission path and then the variable length data is sent to the transmission path. In this case, even when an error occurs in the variable length data, the content of the fixed wavelength data can be accurately detected, thereby realizing an image encoding apparatus and a data transmission method having robustness against errors in the transmission data.

제 1 도는 종래의 피라미드 부호화 방법을 사용하는 화상 부호화 장치를 나타낸 블럭도.1 is a block diagram showing a picture coding apparatus using a conventional pyramid coding method.

제 2 도는 제 1 도의 화상 부호화 장치를 응용한 화상 복호화 장치를 나타낸 블럭도.2 is a block diagram showing a picture decoding apparatus to which the picture coding apparatus of FIG. 1 is applied.

제 3 도는 본 발명에 의한 계층 부호화의 원리를 설명하는 약선도.3 is a schematic diagram illustrating the principle of hierarchical coding according to the present invention.

제 4 도는 제 3 도의 계층 부호화 원리를 사용한 HD 표준화상의 적응 분할 결과의 도표.4 is a diagram of adaptive segmentation results in HD standardization using the hierarchical coding principle of FIG.

제 5 도는 제 3 도의 계층 부호 원리를 사용한 HD 표준화상의 각 계층의 신호 레벨의 표준 편차를 나타낸 도표.5 is a diagram showing the standard deviation of the signal level of each layer in HD standardization using the layer coding principle of FIG.

제 6 도는 본 발명에 따른 화상 부호화 장치의 제 1 실시예의 블럭도.6 is a block diagram of a first embodiment of a picture coding apparatus according to the present invention;

제 7 도는 계층 부호화에 있어서 계층 데이터의 구조를 나타낸 약선도.7 is a schematic diagram showing the structure of hierarchical data in hierarchical coding.

제 8 도는 제 1 실시예의 화상 부호화 장치를 나타낸 블럭도.8 is a block diagram showing the picture coding apparatus of the first embodiment.

제 9 도는 제 1 실시예에 대한 다른 실시예를 나타낸 블럭도.9 is a block diagram showing another embodiment of the first embodiment;

제 10 도는 본 발명에 의한 화상 부호화 장치의 제 2 실시예를 나타낸 블럭도.10 is a block diagram showing a second embodiment of a picture coding apparatus according to the present invention.

제 11 도는 본 발명에 의한 화상 부호화 장치의 제 3 실시예를 나타낸 블럭도.11 is a block diagram showing a third embodiment of a picture coding apparatus according to the present invention;

제 12 도는 제 11 도의 계층 부호화 엔코더부를 나타낸 블럭도.12 is a block diagram showing the hierarchical encoding encoder of FIG.

제 13 도는 제 12 도의 복호기를 나타낸 블럭도.13 is a block diagram showing the decoder of FIG.

제 14 도는 제 12 도의 부호기를 나타낸 블럭도.14 is a block diagram showing the encoder of FIG.

제 15 도는 계층 구조를 설명하는 약선도.15 is a schematic diagram illustrating a hierarchical structure.

제 16 도는 발생 정보량 제어부를 나타낸 블럭도.16 is a block diagram showing a generation information amount control unit.

제 17 도는 각 계층의 도수 분포표를 나타낸 특성 곡선도.17 is a characteristic curve diagram showing a frequency distribution table of each layer.

제 18 도는 각 계층에 대하여 얻어지는 임계치의 조합을 나타낸 표.18 is a table showing the combination of thresholds obtained for each layer.

제 19 도는 도수 분포표를 나타내는 특성 곡선도.19 is a characteristic curve diagram showing a frequency distribution table.

제 20 도는 적산형 도수 분포표를 나타내는 특성 곡선도.20 is a characteristic curve diagram showing an integrated frequency distribution table.

제 21 도는 도수 분포표를 나타내는 특성 곡선도.21 is a characteristic curve diagram showing a frequency distribution table.

제 22 도는 적산형 도수 분포표를 나타내는 특성 곡선도.22 is a characteristic curve diagram showing an integrated frequency distribution table.

제 23 도는 본 발명에 의한 화상 부호화 장치의 제 4 실시예를 나타낸 블럭도.23 is a block diagram showing a fourth embodiment of a picture coding apparatus according to the present invention.

제 24 도는 제 23 도의 계층 부호화 엔코더부를 나타내는 블럭도.FIG. 24 is a block diagram showing the hierarchical encoding encoder of FIG.

제 25 도는 제 24 도의 부호기를 나타낸 블럭도.25 is a block diagram showing the encoder of FIG.

제 26 도는 발생 정보량 제어부를 나타낸 블럭도.26 is a block diagram showing a generation information amount control section.

제 27 도는 각 계층의 도수 분포표를 나타내는 특성 곡선도.Fig. 27 is a characteristic curve diagram showing the frequency distribution table of each layer.

제 28 도는 도수 분포표 예를 나타낸 특성 곡선도.28 is a characteristic curve diagram showing an example of the frequency distribution table.

제 29 도는 도수 분포표 예를 나타낸 특성 곡선도.29 is a characteristic curve diagram showing an example of the frequency distribution table.

제 30 도는 도수 분포표 예를 나타낸 특성 곡선도.30 is a characteristic curve diagram showing an example of the frequency distribution table.

제 31 도는 도수 분포표를 나타낸 특성 곡선도.31 is a characteristic curve diagram showing a frequency distribution table.

제 32 도는 적산형 도수 분포표를 나타내는 특성 곡선도.32 is a characteristic curve diagram showing an integrated frequency distribution table.

제 33 도는 클립된 값을 사용한 도수 분포표를 나타내는 특성 곡선도.33 is a characteristic curve diagram showing a frequency distribution table using clipped values.

제 34 도는 클립된 값을 사용한 적산형 도수 분포표를 나타내는 특성 곡선도.34 is a characteristic curve diagram showing an integrated frequency distribution table using clipped values.

제 35 도는 계층 부호화의 처리순서를 나타내는 흐름도.35 is a flowchart showing a processing sequence of hierarchical encoding.

제 36 도는 본 발명에 의한 화상 부호화 장치의 제 5 실시예를 나타내는 블럭도.36 is a block diagram showing a fifth embodiment of the picture coding apparatus according to the present invention.

제 37 도는 제 36 도의 계층 부호화 엔코더부를 나타내는 블럭도.37 is a block diagram showing the hierarchical encoding encoder of FIG. 36;

제 38 도는 제 37 도의 부호기를 나타내는 블럭도.FIG. 38 is a block diagram showing an encoder of FIG. 37. FIG.

제 39 도는 발생 정보량 제어부를 나타내는 블럭도.39 is a block diagram showing a generation information amount control section.

제 40 도는 각 계층의 도수 분포표를 나타낸 특성 곡선도.40 is a characteristic curve diagram showing a frequency distribution table of each layer.

제 41 도는 도수 분포표 예를 나타내는 특성 블럭도.41 is a characteristic block diagram showing an example of a frequency distribution table.

제 42 도는 도수 분포표 예를 나타내는 특성 블럭도.42 is a characteristic block diagram showing an example of a frequency distribution table.

제 43 도는 도수 분포표 예를 나타내는 특성 블럭도.43 is a characteristic block diagram showing an example of a frequency distribution table.

제 44 도는 도수 분포표를 나타내는 특성 블럭도.44 is a characteristic block diagram showing a frequency distribution table.

제 45 도는 적산형 도수 분포표를 나타내는 특성 블럭도.45 is a characteristic block diagram showing an integrated frequency distribution table.

제 46 도는 클립된 값을 사용한 도수 분포표를 나타내는 특성 블럭도.46 is a characteristic block diagram showing a frequency distribution table using clipped values.

제 47 도는 클립된 값을 사용한 적산형 도수 분포표를 나타내는 특성 블럭도.Fig. 47 is a characteristic block diagram showing an integrated frequency distribution table using clipped values.

제 48 도는 계층 부호화 처리를 나타내는 흐름도.48 is a flowchart showing a hierarchical encoding process.

제 49 도는 본 발명에 의한 화상 부호화 장치의 제 6 실시예를 나타내는 블럭도.49 is a block diagram showing a sixth embodiment of a picture coding apparatus according to the present invention.

제 50 도는 제 49 도의 계층 부호화 엔코더부를 나타내는 블럭도.FIG. 50 is a block diagram showing the hierarchical encoding encoder of FIG. 49; FIG.

제 51 도는 제 50 도의 부호기를 나타내는 블럭도.51 is a block diagram showing an encoder of FIG. 50;

제 52 도는 계층 구조의 설명에 제공하는 약선도.52 is a schematic diagram providing a description of a hierarchical structure.

제 53 도는 색 신호의 분할 결과를 나타내는 신호 파형도.Fig. 53 is a signal waveform diagram showing a result of division of a color signal.

제 54 도는 계층 부호화 처리를 나타내는 흐름도.54 is a flowchart showing a hierarchical encoding process.

제 55 도는 본 발명에 의한 화상 부호화 장치의 제 7 실시예를 나타내는 블럭도.55 is a block diagram showing a seventh embodiment of an image encoding device according to the present invention.

제 56 도는 전송 블럭의 데이터 구성을 나타내는 개념적인 평면도.56 is a conceptual plan view showing the data structure of a transport block.

*도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

40, 80, 90, 100, 110A:계층 부호화 장치40, 80, 90, 100, 110A: Hierarchical Encoding Device

40A, 80A, 90A, 100A:계층 부호화 엔코더부40A, 80A, 90A, 100A: Hierarchical Encoding Encoder

40B, 80B, 90B, 100B:발생 정보량 제어부40B, 80B, 90B, 100B: Generation information amount control part

51∼55, 154∼ 158:부호기51-55, 154-158: encoder

56∼59, 161∼165:복호기56-59, 161-165: A decoder

52C, 53C, 54C, 54F, 65∼68:엑티버티 검출 회로52C, 53C, 54C, 54F, 65 to 68: activity detection circuit

69∼73:도수 분포표69 to 73: Frequency distribution table

74:제어부74: control unit

111:전송 블럭 형성부111: transport block forming unit

120:고정 길이 데이터 블럭120: fixed-length data block

121:가변길이 데이터 블럭121: Variable length data block

122:전송 블럭122: transport block

140:화상 부호화 장치140: image coding device

150∼153, 170∼173:분할 제어 회로150 to 153, 170 to 173: split control circuit

159:제어 코드 발생 회로159: control code generation circuit

166:제어 코드 해석 회로166: control code analysis circuit

D31, D131:입력 화상 데이터D31, D131: input image data

D31∼D35, D131∼D135:계층 데이터D31 to D35 and D131 to D135: hierarchical data

D41∼D44, D140∼D143:차분 데이터D41 to D44, D140 to D143: Difference data

D51, D145:제 1 계층 부호화 데이터D51, D145: First layer encoded data

D52, D146:제 2 계층 부호화 데이터D52, D146: second layer encoded data

D53, D147:제 3 계층 부호화 데이터D53, D147: Third layer coded data

D54, D148:제 4 계층 부호화 데이터D54, D148: Fourth layer encoded data

D55, D149:제 5 계층 부호화 데이터D55, D149: Fifth layer encoded data

D57, S1:최적 제어치D57, S1: Optimal Control Value

J1∼J4D:임계치 판정 결과 정보J1 to J4D: Threshold determination result information

C1∼C6:제어 신호C1 to C6: control signal

TH1 ∼TH4: 임계치TH1-TH4: Threshold

C1:전송 블럭 식별코드C1: transport block identification code

C2:계층간 데이터 분할 판정 코드C2: data division determination code between layers

[발명의 상세한 설명]Detailed description of the invention

본 발명의 화상 부호화 장치 및 방법은 예컨대 테레비젼 회의 시스템이나 비디오 즉시 응답 시스템(video on demand system)과 같이 수신측에 해상도가 다른 모니터를 가지는 시스템의 송신기로서 이용될 수 있다.The picture coding apparatus and method of the present invention can be used as a transmitter of a system having a monitor having a different resolution on the receiving side, such as a television conference system or a video on demand system.

Claims (52)

재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력화상 신호를 부호화하는 화상 부호화 장치에 있어서,A picture coding apparatus for encoding an input picture signal recursively to generate a plurality of hierarchical data having different resolutions, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할 방식으로서, 각 계층 데이터의 소정 블럭의 블럭 액티버티(block activity)를 검출하여 그 검출치에 따라 상기 블럭 또는 그에 대응하는 하위 블럭의 분할 여부를 판정하고, 그 판정 결과에 따라 상기 화상데이터를 분할하는 판정 분할 수단과,An adaptive block division method corresponding to the nature of image data, the method comprising detecting block activity of a predetermined block of each layer data and determining whether the block or a lower block corresponding thereto is divided according to the detected value. Determination division means for dividing the image data in accordance with the determination result; 상기 판정 분할 수단에서 얻어진 계층 부호화 데이터를 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmitting means for transmitting the hierarchical coded data obtained by the decision dividing means. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서,An image encoding apparatus for encoding an input image signal to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키기 위한 제어 신호를 발생하는 판정 제어 수단과,Detecting a block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution, and generating a segmentation determination flag for determining a partitioning method of a block corresponding to the block based on the block activity; And generating a partition stop flag for stopping division of the plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Determination control means for generating a control signal for determining the block activity of and stopping transmission of the hierarchical data of the plurality of lower blocks; 상기 블럭마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded respective hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와, 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 장치에 있어서,In order to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, the input image signal is a difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. An image encoding apparatus for encoding hierarchical differential data of a plurality of layers, 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키기 위한 제어 신호를 발생하는 판정 제어 수단과,Detecting a block activity of a predetermined block of the inter-layer difference data of each layer except the uppermost layer, and generating a segmentation determination flag for determining a partitioning method of a block corresponding to the block based on the block activity. And generating a partition stop flag for stopping division of the plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Determination control means for generating a control signal for determining the block activity of and stopping transmission of the hierarchical data of the plurality of lower blocks; 상기 블럭마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 장치에 있어서,An image encoding apparatus for encoding an input image signal to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 일시적으로 발생함과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 분할 중지 플래그를 분할을 계속하기 위한 분할 계속 플래그로 변경하는 판정 제어 수단과,Detecting a block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution, and generating a segmentation determination flag for determining a segmentation of a block corresponding to the block based on the block activity; Further, when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a partition abort flag for temporarily stopping division of a plurality of sub-blocks corresponding to the block is generated, and the plurality of sub-blocks Determination control means for changing the division stop flag to a division continuation flag for continuing division when a determination result indicating that the block activity of at least one block of the block is equal to or greater than a predetermined threshold is obtained; 상기 블럭마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded respective hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와, 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 장치에 있어서,In order to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, the input image signal is a difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. An image encoding apparatus for encoding hierarchical differential data of a plurality of layers, 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 일시적으로 발생함과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 분할 중지 플래그를 상기 분할 계속 플래그로 변경하는 판정 제어 수단과,Detecting a block activity of a predetermined block of the inter-layer difference data of each layer except the top layer, and generating a segmentation determination flag for determining the division of a block corresponding to the block based on the block activity; And temporarily generating a division stop flag for stopping division of the plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Determination control means for changing the division stop flag to the division continuation flag when a determination result indicating that the block activity of at least one block of a lower block is equal to or greater than a predetermined threshold value is obtained; 상기 블럭마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서,An image encoding apparatus for encoding an input image signal to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하는 판정 제어 수단과,Detecting the block activities of all blocks of each layer data except the highest layer data having the lowest resolution, generating a segmentation determination flag for determining the partitioning of each block based on the block activities, and further generating the block activity flag. When a determination result indicating that the activity is smaller than a predetermined threshold is obtained, a division stop flag for stopping the division of the block is generated, and a determination result indicating that the block activity is above a predetermined threshold is obtained. Determination control means for generating a division continuation flag for continuing division of said block; 상기 블럭마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded respective hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력화상 신호를 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 장치에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, a plurality of input image signals are the difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and the adjacent high hierarchical data. In the image encoding device for encoding hierarchical difference data of a layer, 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하는 판정 제어 수단과,Detecting a block activity of all blocks of the inter-layer difference data of each layer except for the highest layer, and generating a segmentation determination flag for determining the division of each block based on the block activity; When a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a segmentation stop flag for stopping division of the block is generated, and a determination result indicating that the block activity is above a predetermined threshold is obtained. Determination control means for generating a division continuation flag for continuing division of the block when it goes down; 상기 블럭마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded highest layer data and each encoded layer data. 제 2 항에 있어서,The method of claim 2, 하위 계층 데이터를 가중 평균함으로써 상위 계층 데이터를 형성하는 계층 데이터 형성 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And hierarchical data forming means for forming the upper hierarchical data by weighting the lower hierarchical data. 제 3 항에 있어서,The method of claim 3, wherein 상기 계층 차분 데이터는 상기 계층 데이터와 n-1 개의 하위 계층 데이터와의 차분 데이터인 것을 특징으로 하는 화상 부호화 장치.And the hierarchical difference data is difference data between the hierarchical data and n-1 lower hierarchical data. 제 2 항에 있어서,The method of claim 2, 상기 액티버티로서, 최대치, 평균치, 절대치합, 표준편차, n승합을 사용하는 것을 특징으로 하는 화상 부호화 장치.A maximum value, an average value, an absolute value, a standard deviation, and an n sum are used as the activity. 제 2 항에 있어서,The method of claim 2, 상기 액티버티로서, 소정의 임계치를 초과한 값을 가진 데이터를 사용하는 것을 특징으로 하는 화상 부호화 장치.And the data having a value exceeding a predetermined threshold is used as the activity. 제 2 항에 있어서,The method of claim 2, 상기 임계치를 상기 각 계층에 따라 다른 값으로 설정하는 것을 특징으로 하는 화상 부호화 장치.And the threshold value is set to a value different for each layer. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 화상을 형성하기 위하여 서로 상호 관계를 가지는 복수의 화상 형성 신호로부터 구성된 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions recursively, an image encoding apparatus for encoding an input image signal composed of a plurality of image forming signals having mutual relations to form an image, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정의 블럭에 대해, 상기 복수의 화상 형성 신호중에 제 1 의 신호에 대응하는 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여, 상기 블럭 또는 상기 블럭에 대응하는 하위 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭 또는 상기 블럭에 대응하는 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어지는 때 상기 블럭 또는 상기 블럭에 대응하는 하위 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하고, 또한 상기 임계치를 상기 복수의 화상 신호중의 제 2 의 신호에 기초하여 결정하는 판정 제어 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.For a predetermined block of the hierarchical data except for the lowest hierarchical data having the lowest resolution, a block activity corresponding to a first signal is detected among the plurality of image forming signals, and based on the block activity, Generating a segmentation decision flag for determining a segmentation of a block or a lower block corresponding to the block, and when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained; Division for continuing division of the block or the lower block corresponding to the block when a determination result indicating that the block activity is equal to or greater than a predetermined threshold is obtained while generating a division stop flag for stopping division of the lower block. Continue to generate a flag, and the threshold is set to the plurality of image signals And determination control means for determining on the basis of the second signal in the picture. 제 13 항에 있어서,The method of claim 13, 상기 제 1 의 신호는 색신호이며, 상기 제 2 의 신호는 휘도 신호인 것을 특징으로 하는 화상 부호화 장치.And wherein the first signal is a color signal, and the second signal is a luminance signal. 제 14 항에 있어서,The method of claim 14, 상기 제 1 의 신호는 RGB 신호인 것을 특징으로 하는 화상 부호화 장치.And the first signal is an RGB signal. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 장치에 있어서,An image encoding apparatus for encoding an input image signal to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, 발생 정보량을 목표치로 제어하기 위하여 상기 각 계층 데이터의 전 블럭의 블럭 액티버티에 기초하여 블럭 액티버티의 판정 기준인 임계치를 검출하는 임계치 검출 수단과,Threshold detection means for detecting a threshold which is a determination criterion of the block activity based on the block activities of all blocks of the hierarchical data in order to control the amount of generated information to a target value; 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티와 상기 임계치와의 비교 결과에 기초하여 상기 블럭 또는 상기 블럭에 대응하는 블럭의 분할 방식을 판정함과 함께 분할을 하는 판정 분할 수단과,A block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution is detected, and a partitioning scheme of the block or the block corresponding to the block is based on a result of comparing the block activity with the threshold value. Determination dividing means for dividing and determining 상기 판정 분할 수단으로부터 얻어진 계층 부호화 데이터를 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmitting means for transmitting the hierarchical coded data obtained from said decision dividing means. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서,An image encoding apparatus for encoding an input image signal to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정블럭의 블럭 액티버티 및 상기 블럭 엑티버티의 판정 기준인 임계치를, 상기 블럭액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포 상태에 기초하여 검출하는 임계치 검출 수단과,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Threshold detection means for detecting on the basis of the distribution state of block frequency to be performed; 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키기 위한 제어 신호를 발생하는 판정 제어 수단과,Detecting a block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution, and generating a segmentation determination flag for determining a partitioning method of a block corresponding to the block based on the block activity; And generating a partition stop flag for stopping division of the plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Determination control means for generating a control signal for determining the block activity of and stopping transmission of the hierarchical data of the plurality of lower blocks; 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And means for transmitting the decision flag for each block together with the encoded respective hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와, 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 장치에 있어서,In order to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, the input image signal is a difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. An image encoding apparatus for encoding hierarchical differential data of a plurality of layers, 상기 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포 상태에 기초하여 검출하는 임계치 검출 수단과,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity are assigned to each block activity for each layer detected based on the block activity. Threshold detection means for detecting based on a distribution state of corresponding block powers; 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위하여 분할 중지 플래그를 발생함과 함께, 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키는 제어 신호를 발생하는 판정 제어 수단과,Detecting a block activity of a predetermined block of the inter-layer difference data of each layer except the uppermost layer, and generating a segmentation determination flag for determining a partitioning method of a block corresponding to the block based on the block activity. And generating a partition stop flag to stop division of the plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Decision control means for generating a control signal for stopping the determination of the block activity of the block and the transmission of the hierarchical data of the plurality of lower blocks; 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 장치에 있어서,An image encoding apparatus for encoding an input image signal to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포 상태에 기초하여 검출하는 임계치 검출 수단과,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Threshold detection means for detecting on the basis of the distribution state of block frequency to be performed; 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 일시적으로 발생함과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 분할 중지 플래그를 분할을 계속하기 위한 분할 계속 플래그로 변경하는 판정 제어 수단과,Detecting a block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution, and generating a segmentation determination flag for determining a segmentation of a block corresponding to the block based on the block activity; Further, when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a partition abort flag for temporarily stopping division of a plurality of sub-blocks corresponding to the block is generated, and the plurality of sub-blocks Determination control means for changing the division stop flag to a division continuation flag for continuing division when a determination result indicating that the block activity of at least one block of the block is equal to or greater than a predetermined threshold is obtained; 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with each of the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와, 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화 하는 화상 부호화 장치에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, the input image signal has a plurality of differences between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. In the image encoding device for encoding hierarchical difference data of a layer, 상기 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포 상태에 기초하여 검출하는 임계치 검출 수단과,The block activity of a predetermined block of each layer data except the highest layer data having the lowest resolution and a threshold that is a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Threshold detection means for detecting on the basis of the distribution state of block frequency to be performed; 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할의 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작은 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 일시적으로 발생함과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질때 상기 분할중지 플래그를 분할 계속 플래그로 변경하는 판정 제어 수단과,A block determination flag for detecting a block activity of a predetermined block of the inter-layer difference data of each layer except for the highest layer, and for determining a manner of dividing a block corresponding to the block based on the block activity; And a partition abort flag for temporarily stopping division of a plurality of sub-blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Determination control means for changing the division stop flag to a division continuation flag when a determination result indicating that the block activity of at least one block of the lower block of is greater than or equal to a predetermined threshold is obtained; 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터화 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서,An image encoding apparatus for encoding an input image signal to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포상태에 기초하여 검출하는 임계치 검출 수단과,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Threshold detection means for detecting on the basis of a distribution state of block powers; 상기 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하는 판정 제어 수단과,Detecting a block activity of all blocks of each layer data except the highest layer data having the lowest resolution, and generating a segmentation determination flag for determining a partitioning scheme of each block based on the block activity; When a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a division stop flag for stopping division of the block is generated, and a determination result indicating that the block activity is above a predetermined threshold is generated. Decision control means for generating a division continuation flag for continuing division of the block when obtained; 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with each of the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화 하는 화상 부호화 장치에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, a plurality of input image signals are used as the difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. In the image encoding device for encoding hierarchical difference data of a layer, 상기 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포 상태에 기초하여 검출하는 임계치 검출 수단과,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity are assigned to each block activity for each layer detected based on the block activity. Threshold detection means for detecting based on a distribution state of corresponding block powers; 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하는 판정 제어 수단과,Detecting a block activity of all blocks of the inter-layer difference data of each layer except for the highest layer, and generating a segmentation determination flag for determining a partitioning scheme of each block based on the block activity; When a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a segmentation stop flag for stopping division of the block is generated, and a determination result indicating that the block activity is above a predetermined threshold is obtained. Determination control means for generating a division continuation flag for continuing division of the block when it goes down; 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmission means for transmitting the determination flag for each block together with the encoded highest layer data and each encoded layer data. 제 17 항에 있어서,The method of claim 17, 상기 임계치를, 상위계층에 있어서의 상기 블럭 액티버티의 이력에 기초하여 검출하는 것을 특징으로 하는 화상 부호화 장치.And the threshold value is detected based on a history of the block activity in an upper layer. 제 19 항에 있어서,The method of claim 19, 상기 임계치를, 하위계층에 있어서의 상기 블럭 액티버티의 이력에 기초하여 검출하는 것을 특징으로 하는 화상 부호화 장치.And the threshold value is detected based on a history of the block activity in a lower layer. 제 17 항에 있어서,The method of claim 17, 입력 데이터를 대기상태로 제어하고, 상기 임계치가 결정된 시간, 상기 입력데이터를 계층 부호화 처리하는 것을 특징으로 하는 화상 부호화 장치.And controlling the input data to a standby state, and hierarchically encoding the input data at a time when the threshold is determined. 제 17 항에 있어서,The method of claim 17, 상기 각 계층마다 독립하여 상기 임계치를 결정하는 것을 특징으로 하는 화상 부호화 장치.And the threshold value is determined independently for each of the layers. 제 17 항에 있어서,The method of claim 17, 상기 각 계층마다의 상기 임계치의 조합을 미리 준비하는 것을 특징으로 하는 화상 부호화 장치.And a combination of the thresholds for each of the layers in advance. 제 17 항에 있어서,The method of claim 17, 발생 정보량의 산출을 위하여 적산형 도수 분포표를 작성하는 것을 특징으로 하는 화상 부호화 장치.And an integrated frequency distribution table for calculating the amount of generated information. 제 17 항에 있어서,The method of claim 17, 발생 정보량의 산출시에 블럭 액티버티의 수를 소정의 제한치로 제한하는 것을 특징으로 하는 화상 부호화 장치.And the number of block activities is limited to a predetermined limit when calculating the amount of occurrence information. 제 28 항에 있어서,The method of claim 28, 적산형 도수 분포표를 작성할 때, 상기 각 계층에 대하여 블럭 액티버티의 수에 대해 다른 제한치를 설정하는 것을 특징으로 하는 화상 부호화 장치.And a different limiting value for the number of block activities for each of said hierarchies when generating an integrated frequency distribution table. 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서,A picture coding apparatus for encoding an input picture signal recursively to generate a plurality of hierarchical data having a plurality of different resolutions, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할 방식으로서, 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하여 그 검출치에 따라 상기 블럭 또는 그에 대응하는 하위 블럭의 분할 여부를 판정하고, 그 판정 결과에 따라 상기 화상 데이터를 분할하는 판정 분할 수단과,An adaptive block division method corresponding to the property of image data, the block activity of a predetermined block of each hierarchical data is detected, and it is determined whether or not the block or a lower block corresponding thereto is divided according to the detected value. Determination dividing means for dividing the image data in accordance with a result; 상기 판정 수단에서 얻어진 계층 부호화 데이터를, 고정 길이 데이터를 전송한 후, 가변 길이 데이터를 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmitting means for transmitting the variable length data after the fixed length data is transmitted to the hierarchical coded data obtained by the determining means. 제 31 항에 있어서,The method of claim 31, wherein 상기 고정 길이 데이터는 상기 최상위 계층 데이터와 상기 각 계층 데이터를 형성하기 위한 화상 형성 정보로 구성되고, 상기 가변 길이 데이터는 상기 최상위 계층을 제외한 상기 각 계층 데이터로 구성되는 것을 특징으로 하는 화상 부호화 장치.And said fixed length data is comprised of said top layer data and image formation information for forming said respective layer data, and said variable length data is comprised of said each layer data except said top layer. 제 32 항에 있어서,The method of claim 32, 상기 계층 부호화 데이터는 분할 판정 플래그를 포함하는 것을 특징으로 하는 화상 부호화 장치.And the hierarchical coded data includes a segmentation determination flag. 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 장치에 있어서,A picture coding apparatus for encoding an input picture signal recursively to generate a plurality of hierarchical data having a plurality of different resolutions, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할 방식으로서, 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하여 그 검출치에 따라 상기 블럭 또는 그에 대응하는 하위 블럭의 분할 여부를 판정하고, 그 판정 결과에 따라 상기 화상 데이터를 분할하는 판정 분할 수단과,An adaptive block division method corresponding to the property of image data, the block activity of a predetermined block of each hierarchical data is detected, and it is determined whether or not the block or a lower block corresponding thereto is divided according to the detected value. Determination dividing means for dividing the image data in accordance with a result; 상기 판정 수단으로부터 얻어진 최상위 계층 데이터를 고정 길이 데이터로 하여 전송한 후, 상기 최상위 계층 데이터를 제외한 각 계층 데이터를 가변 길이 데이터로 하여 전송하는 전송 수단을 구비하는 것을 특징으로 하는 화상 부호화 장치.And transmitting means for transmitting the highest hierarchical data obtained from the determining means as fixed length data and then transmitting each hierarchical data except for the highest hierarchical data as variable length data. 제 34 항에 있어서,The method of claim 34, wherein 상기 고정 길이 데이터는 분할 판정 플래그를 포함하는 것을 특징으로 하는 화상 부호화 장치.And the fixed length data includes a segmentation determination flag. 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력화상 신호를 부호화하는 화상 부호화 방법에 있어서,In the image coding method of encoding an input image signal recursively to generate a plurality of hierarchical data having different resolutions, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할 방식으로서, 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하여 그 검출치에 따라 상기 블럭 또는 그에 대응하는 하위 블럭의 분할 여부를 판정하고, 그 판정 결과에 따라 상기 화상 데이터를 분할하는 판정 분할 수단과,An adaptive block division method corresponding to the property of image data, the block activity of a predetermined block of each hierarchical data is detected, and it is determined whether or not the block or a lower block corresponding thereto is divided according to the detected value. Determination dividing means for dividing the image data in accordance with a result; 상기 판정 분할 단계로부터 얻어진 계층 부호화 데이터를 전송하는 것을 특징으로 하는 화상 부호화 방법.And transmitting the hierarchical coded data obtained from the decision dividing step. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 방법에 있어서,An image encoding method of encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여, 상기 블럭에 대응하는 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키는 제어 신호를 발생하고,A block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution is detected, and a segmentation determination flag is generated for determining a partitioning method of a block corresponding to the block based on the block activity. And generating a partition stop flag for stopping division of the plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Generating a control signal for determining the block activity of the block and for stopping the transmission of the hierarchical data of the plurality of lower blocks, 상기 블럭마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And a decision flag for each block is transmitted together with the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 방법에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, a plurality of input image signals are used as the difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. In the image encoding method for encoding hierarchical difference data of a layer, 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할의 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 상기 블럭 액티버티가 소정의 임계치보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키기는 제어 신호를 발생하고,A block determination flag for detecting a block activity of a predetermined block of the inter-layer difference data of each layer except for the highest layer, and for determining a manner of dividing a block corresponding to the block based on the block activity; Is generated, and when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a division stop flag for stopping division of the plurality of lower blocks corresponding to the block is generated, and Generating a control signal for determining the block activity of the block and for stopping transmission of the hierarchical data of the plurality of lower blocks; 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 방법에 있어서,In the image encoding method of encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions recursively, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여, 상기 블럭에 대응하는 블럭의 분할 방식을 판정하는 분할 판정 플래그를 발생하고, 또 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키는 분할 중지 플래그를 일시적으로 발생함과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 분할 중지 플래그를 분할을 계속하기 위한 분할 계속 플래그로 변경하고,Detecting a block activity of a predetermined block of the hierarchical data except for the lowest hierarchical data having a lowest resolution, and generating a division determination flag for determining a division method of a block corresponding to the block based on the block activity; And when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a partition abort flag for temporarily stopping division of the plurality of lower blocks corresponding to the block is generated. When the determination result indicating that the block activity of at least one block of the block is greater than or equal to a predetermined threshold is obtained, change the split stop flag to a split continue flag to continue splitting, 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 방법에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, a plurality of input image signals are used as the difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. In the image encoding method for encoding hierarchical difference data of a layer, 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할 방식을 중지시키기 위한 분할 중지 플래그를 일시적으로 발생함과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 분할 중지 플래그를 분할 계속 플래그로 변경하고,Detecting a block activity of a predetermined block of the inter-layer difference data of each layer except the uppermost layer, and generating a segmentation determination flag for determining a partitioning method of a block corresponding to the block based on the block activity. And when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, temporarily generating a segmentation stop flag for stopping the division scheme of the plurality of lower blocks corresponding to the block. When the determination result indicating that the block activity of at least one block of a plurality of lower blocks is equal to or greater than a predetermined threshold is obtained, change the split stop flag to a split continue flag; 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 방법에 있어서,In the image encoding method of encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions recursively, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할의 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하고,Detecting a block activity of all blocks of each layer data except the highest layer data having the lowest resolution, and generating a segmentation determination flag for determining a manner of partitioning of each block based on the block activity; When a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a division stop flag for stopping division of the block is generated, and a determination result indicating that the block activity is above a predetermined threshold is generated. Generate a continue segmentation flag to continue partitioning of the block when obtained, 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와, 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층차분 데이터를 부호화하는 화상 부호화 방법에 있어서,In order to sequentially generate a plurality of hierarchical data having a plurality of different resolutions, the input image signal is a difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. An image encoding method for encoding hierarchical difference data of a plurality of layers, 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할의 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지하기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하고,Detecting a block activity of all blocks of the inter-layer difference data of each layer except the highest layer, and generating a segmentation determination flag for determining a manner of partitioning of each block based on the block activity, Further, when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a division stop flag for stopping division of the block is generated, and a determination result indicating that the block activity is equal to or greater than a predetermined threshold. Generates a continue segmentation flag to continue partitioning of the block when 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 화상을 형성하기 위해 서로 상호 관계를 가지는 복수의 화상 형성 신호로 구성된 입력 화상 신호를 부호화 하는 화상 부호화 방법에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions recursively, an image encoding method for encoding an input image signal composed of a plurality of image forming signals having mutual relations to form an image, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭에 대해 상기 복수의 화상 형성 신호 중 제 1 신호에 대응하는 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭 또는 상기 블럭에 대응하는 블럭의 분할의 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭 또는 상기 블럭에 대응하는 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭 또는 상기 블럭에 대응하는 하위 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하고, 또한 상기 임계치를 상기 복수의 화상 형성 신호중의 제 2 신호에 기초하여 결정하는 것을 특징으로 하는 화상 부호화 방법.A block activity corresponding to a first signal of the plurality of image forming signals is detected for a predetermined block of each layer data except for the highest layer data having the lowest resolution, and the block or the block is based on the block activity. Generating a segmentation decision flag for determining a manner of partitioning of the block corresponding to, and when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, A segmentation continuation flag for continuing segmentation of the block or a lower block corresponding to the block when a decision result indicating that the block activity is above a predetermined threshold is obtained while generating a segmentation stop flag for stopping the segmentation. Is generated, and the threshold value is selected from the plurality of image forming signals. The picture coding method, characterized in that determining on the basis of the second signal. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 방법에 있어서,An image encoding method of encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, 발생 정보량을 목표치로 제어하기 위하여 상기 각 계층 데이터의 전 블럭의 블럭 액티버티에 기초하여 블럭 액티버티의 판정 기준인 임계치를 검출하고,In order to control the amount of generated information to a target value, a threshold value, which is a criterion for determining block activity, is detected based on the block activities of all blocks of the layer data. 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티와 상기 임계치와의 비교 결과에 기초하여, 상기 블럭 또는 상기 블럭에 대응하는 하위 블럭의 분할 방식을 판정함과 함께 분할하고,The block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution is detected, and based on a result of comparing the block activity with the threshold value, the block or lower block corresponding to the block is detected. The division method is determined and divided. 상기 판정 분할 수단으로부터 얻어진 계층 부호화 데이터를 전송하는 것을 특징으로 하는 화상 부호화 방법.And the hierarchical coded data obtained from the decision dividing means. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 방법에 있어서,In the image encoding method of encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions recursively, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포상태에 기초하여 검출하고,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Detection based on the distribution of block frequency 상기 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응한 복수의 하위 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키기 위한 제어 신호를 발생하며,Block activity of a predetermined block of each layer data except for the highest layer data having the lowest resolution is detected, and a segmentation determination flag is generated for determining a partitioning method of a block corresponding to the block based on the block activity. And generating a partition stop flag for stopping division of the plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. Generating a control signal for determining the block activity of the block and for stopping transmission of the layer data of the plurality of lower blocks, 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 방법에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, a plurality of input image signals are used as the difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. In the image encoding method for encoding hierarchical difference data of a layer, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응한 블럭 도수의 분포 상태에 기초하여 검출하고,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and a threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Detecting based on the distribution state of the block frequency, 상기 최상위 계층을 제외한 상기 각 계층 상호 계층차 데이터의 소정 블럭의 블럭 액티버티 값을 검출하고, 그 블럭 액티버티 값에 기초하여 상기 블럭에 대응하는 블럭의 분할 방식을 결정하기 위한 분할 결정 플래그를 발생하며,Detecting a block activity value of a predetermined block of the inter-layer difference data of each layer except for the uppermost layer, and generating a partition determination flag for determining a partitioning method of a block corresponding to the block based on the block activity value. , 상기 블럭 액티버티가 소정의 임계치보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지시키는 분할 중지 플래그를 발생함과 함께, 상기 복수의 하위 블럭의 상기 블럭 액티버티의 판정 및 상기 복수의 하위 블럭의 계층 데이터의 전송을 중지시키기 위한 제어 신호를 발생하고,When a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a segmentation stop flag for stopping division of the plurality of lower blocks corresponding to the block is generated, and the blocks of the plurality of lower blocks are generated. Generating a control signal for determining activity and for stopping transmission of hierarchical data of the plurality of lower blocks; 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 방법에 있어서,An image encoding method of encoding an input image signal in order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응한 블럭 도수의 분포상태에 기초하여 검출하고,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Detecting based on the distribution state of one block frequency, 최저 해상도의 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 값을 검출하며,Detecting a block activity value of a predetermined block of each layer data except for the highest layer data having the lowest resolution; 분할 중지 플래그를 일시적으로 발생시킴과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 분할 중지 플래그를 분할을 계속하기 위한 분할 계속 플래그로 변경하고,A partition for continuing to divide the partition stop flag when the decision to indicate that the block activity of at least one block of the plurality of lower blocks is equal to or greater than a predetermined threshold is obtained while temporarily generating a partition stop flag; Keep changing to the flag, 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 다수 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와, 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화 하는 화상 부호화 방법에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, the input image signal includes a plurality of difference values between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. In the image encoding method for encoding hierarchical difference data of a layer, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응하는 블럭 도수의 분포 상태에 기초하여 검출하고,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Based on the distribution of block frequency 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 소정 블럭의 분할 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 블럭에 대응하는 블럭의 분할을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭에 대응하는 복수의 하위 블럭의 분할을 중지하기 위한 분할 중지 플래그를 일시적으로 발생함과 함께, 상기 복수의 하위 블럭의 적어도 1 개의 블럭의 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 분할 중지 플래그를 분할 계속 플래그로 변경하고,Detecting a segmentation activity of a predetermined block of the inter-layer difference data of each layer except the top layer, and generating a segmentation determination flag for determining a segmentation of a block corresponding to the block based on the block activity; And temporarily generating a division stop flag for stopping division of a plurality of lower blocks corresponding to the block when a determination result indicating that the block activity is smaller than a predetermined threshold is obtained. When the determination result indicating that the block activity of at least one block of the lower block is equal to or greater than a predetermined threshold is obtained, change the split stop flag to a split continue flag; 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded highest layer data and each encoded layer data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 산호를 부호화하는 화상 부호화 방법에 있어서,An image encoding method of encoding an input image coral to sequentially generate a plurality of hierarchical data having a plurality of different resolutions recursively, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응한 블럭 도수의 분포상태에 기초하여 검출하고,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Detecting based on the distribution state of one block frequency, 상기 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하고,Detecting a block activity of all blocks of each layer data except the highest layer data having the lowest resolution, and generating a segmentation determination flag for determining a partitioning scheme of each block based on the block activity; When a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a segmentation stop flag for stopping division of the block is generated, and a determination result indicating that the block activity is above a predetermined threshold is obtained. Generate a segmentation continuation flag to continue segmentation of the block when 상기 블럭 마다의 판정 플래그를 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded hierarchical data. 순차 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해, 입력 화상 신호를 해상도가 최저인 최상위 계층 데이터와 그 최상위 계층 데이터를 제외한 각 계층 데이터 및 인접 상위 계층 데이터의 차분치로 되는 다수 계층의 계층 차분 데이터를 부호화하는 화상 부호화 방법에 있어서,In order to generate a plurality of hierarchical data having a plurality of different resolutions sequentially recursively, a plurality of input image signals are used as the difference between the highest hierarchical data having the lowest resolution and each hierarchical data except the highest hierarchical data and adjacent high hierarchical data. In the image encoding method for encoding hierarchical difference data of a layer, 해상도가 최저인 최상위 계층 데이터를 제외한 상기 각 계층 데이터의 소정 블럭의 블럭 액티버티 및 상기 블럭 액티버티의 판정 기준인 임계치를, 상기 블럭 액티버티에 기초하여 검출된 각 계층 마다 각 블럭 액티버티에 대응한 블럭 도수의 분포 상태에 기초하여 검출하고,The block activity of the predetermined block of each layer data except the highest layer data having the lowest resolution and the threshold value as a criterion for determining the block activity correspond to each block activity for each layer detected based on the block activity. Detecting based on the distribution state of one block frequency, 상기 최상위 계층을 제외한 상기 각 계층의 상기 계층간 차분 데이터의 전 블럭의 블럭 액티버티를 검출하고, 그 블럭 액티버티에 기초하여 상기 각 블럭의 분할 방식을 판정하기 위한 분할 판정 플래그를 발생하고, 또한 상기 블럭 액티버티가 소정의 임계치 보다 작다는 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 중지시키기 위한 분할 중지 플래그를 발생함과 함께, 상기 블럭 액티버티가 소정의 임계치 이상인 것을 나타내는 판정 결과가 얻어질 때 상기 블럭의 분할을 계속하기 위한 분할 계속 플래그를 발생하고,Detecting a block activity of all blocks of the inter-layer difference data of each layer except for the highest layer, and generating a segmentation determination flag for determining a partitioning scheme of each block based on the block activity; When a determination result indicating that the block activity is smaller than a predetermined threshold is obtained, a division stop flag for stopping division of the block is generated, and a determination result indicating that the block activity is above a predetermined threshold is generated. Generate a continue segmentation flag to continue partitioning of the block when obtained, 상기 블럭 마다의 판정 플래그를 부호화된 최상위 계층 데이터 및 부호화된 각 계층 데이터와 함께 전송하는 것을 특징으로 하는 화상 부호화 방법.And the determination flag for each block is transmitted together with the encoded highest layer data and each encoded layer data. 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화하는 화상 부호화 방법에 있어서,An image encoding method of encoding an input image signal recursively to generate a plurality of hierarchical data having different resolutions, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할 방식으로서, 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하여 그 검출치에 따라 상기 블럭 또는 그에 대응하는 하위 블럭의 분할 여부를 판정하고, 그 판정 결과에 따라 상기 화상 데이터를 분할하고,An adaptive block division method corresponding to the property of image data, the block activity of a predetermined block of each hierarchical data is detected, and it is determined whether or not the block or a lower block corresponding thereto is divided according to the detected value. The image data is divided according to the result, 그 판정 결과에 기초하여 얻어진 계층 부호화 데이터를, 고정 길이 데이터를 전송한 후, 가변 길이 데이터를 전송하는 것을 특징으로 하는 화상 부호화 방법.The variable length data is transmitted after the fixed length data is transmitted to the hierarchical coded data obtained on the basis of the determination result. 재귀적으로 다른 복수의 해상도로 된 복수의 계층 데이터를 발생하기 위해 입력 화상 신호를 부호화 하는 화상 부호화 방법에 있어서,In the image encoding method of encoding an input image signal recursively to generate a plurality of hierarchical data having a plurality of different resolutions, 화상 데이터의 성질에 대응한 적응적인 블럭의 분할 방식으로서, 각 계층 데이터의 소정 블럭의 블럭 액티버티를 검출하여 그 검출치에 따라 상기 블럭 또는 그에 대응하는 하위 블럭의 분할 여부를 판정하고, 그 판정 결과에 따라 상기 화상 데이터를 분할하고,An adaptive block division method corresponding to the property of image data, the block activity of a predetermined block of each hierarchical data is detected, and it is determined whether or not the block or a lower block corresponding thereto is divided according to the detected value. The image data is divided according to the result, 상기 판정 결과에 기초하여 얻어진 최상위 계층 데이터를, 고정길이 데이터로서 전송한 후, 상기 최상위 계층 데이터를 제외한 각 계층 데이터를 가변 길이 데이터로서 전송하는 것을 특징으로 하는 화상 부호화 방법.And transmitting the highest hierarchical data obtained based on the determination result as fixed length data, and then transmitting each hierarchical data except the highest hierarchical data as variable length data.
KR1019950701767A 1993-08-30 1994-08-30 Image encoding apparatus and method Expired - Fee Related KR100359009B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950701767A KR100359009B1 (en) 1993-08-30 1994-08-30 Image encoding apparatus and method

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP93-238823 1993-08-30
JP93-238822 1993-08-30
JP93-238824 1993-08-30
JP93-273206 1993-10-04
JP93-273205 1993-10-04
JP93-273207 1993-10-04
JP93-273112 1993-10-04
JP93-349555 1993-12-28
KR1019950701767A KR100359009B1 (en) 1993-08-30 1994-08-30 Image encoding apparatus and method

Publications (1)

Publication Number Publication Date
KR100359009B1 true KR100359009B1 (en) 2005-11-22

Family

ID=43664196

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950701767A Expired - Fee Related KR100359009B1 (en) 1993-08-30 1994-08-30 Image encoding apparatus and method

Country Status (1)

Country Link
KR (1) KR100359009B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852816A (en) * 2021-09-28 2021-12-28 浙江大华技术股份有限公司 Video frame processing method, apparatus, computer device and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852816A (en) * 2021-09-28 2021-12-28 浙江大华技术股份有限公司 Video frame processing method, apparatus, computer device and readable storage medium

Similar Documents

Publication Publication Date Title
US5930394A (en) Picture coding apparatus and method thereof
EP0746157B1 (en) Signal converting apparatus and signal converting method
US5610657A (en) Video compression using an iterative error data coding method
JP3749752B2 (en) Block adaptive differential pulse code modulation system
US5414527A (en) Image encoding apparatus sensitive to tone variations
US6037986A (en) Video preprocessing method and apparatus with selective filtering based on motion detection
US5629780A (en) Image data compression having minimum perceptual error
US6757435B2 (en) Apparatus for and method of processing image and apparatus for and method of encoding image
US20100220936A1 (en) Image encoding device, image encoding method, image encoding/decoding system
US5134478A (en) Method and apparatus for compressing and decompressing a digital video signal using predicted and error images
US20030063667A1 (en) Optimal encoding of motion compensated video
US20080152004A1 (en) Video coding apparatus
JPS62291280A (en) Method for transmitting image signal by encoding the signal by conversion
JP2001519988A (en) System for extracting coding parameters from video data
US6404933B1 (en) Image encoding method and apparatus thereof
EP0845191B1 (en) A method and apparatus for compressing digital image data
KR100359009B1 (en) Image encoding apparatus and method
US7184596B2 (en) Image processing apparatus for reducing coding load
US20050163389A1 (en) Image data comprising device, image data compression method, recording medium, and program
US20060215920A1 (en) Image processing apparatus, image processing method, and storage medium storing programs therefor
JP2002064821A (en) Method for compressing dynamic image information and its system
Ho et al. A pyramidal image coder with contour-based interpolative vector quantization
JP3337160B2 (en) Image processing method and image processing apparatus
JP3748115B2 (en) Image data decoding apparatus and image data decoding method
JPS61147690A (en) Highly efficient code decoding device

Legal Events

Date Code Title Description
PA0105 International application

St.27 status event code: A-0-1-A10-A15-nap-PA0105

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

A201 Request for examination
P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

T11-X000 Administrative time limit extension requested

St.27 status event code: U-3-3-T10-T11-oth-X000

T11-X000 Administrative time limit extension requested

St.27 status event code: U-3-3-T10-T11-oth-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U12-oth-PR1002

Fee payment year number: 1

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9

FPAY Annual fee payment

Payment date: 20111012

Year of fee payment: 10

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 10

FPAY Annual fee payment

Payment date: 20121008

Year of fee payment: 11

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 11

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

St.27 status event code: A-4-4-U10-U13-oth-PC1903

Not in force date: 20131018

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

PC1903 Unpaid annual fee

St.27 status event code: N-4-6-H10-H13-oth-PC1903

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20131018

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301