Claims (3)
화상처리장치에 있어서, 스캐닝된 화상데이타를 입력받아 소정 블럭단위로 데이타를 저장하는 메모리와, 상기 메모리에 저장된 화상데이타를 억세스하여 휘도 및 색차데이타로 변환하여 출력하는 RGB-YIQ변환기와, 상기 RGB-YIQ 변환기로부터 색차신호를 입력받아 수평방향으로 서브샘플링하는 서브샘플러와, 상기 블럭내의 상기 휘도데이타와 서브샘플링된 색차데이타들의 평균값, 표준편차, 분산값을 계산하는 평균분산계산부와, 상기 평균분산계산부로부터 계산된 평균값, 표준편차, 분산값으로 주어진 블럭내의 MSE를 최소로 하는 최적화된 역치값을 구하여 블럭절단코딩을 수행하는 MBTC부와 상기 MBTC부로부터 코딩된 데이타를 입력받아 각각의 코딩상태에 대응하는 플래그 데이타를 출력하여 상기 코딩된 데이타와 함께 저장하는 부호데이타메모리와, 상기 부호데이타메모리로부터 출력된 부호데이타를 전송받아 부호데이타의 플래그특성(flag identifier)를 검색하고 상기 검색상태에 대응하여 부호데이타를 로드하여 출력하는 데이타판단부와, 상기 데이타판단부로부터 입력되는 부호데이타를 입력받아 디코딩하는 역 MBTC부와, 상기 역 MBTC로부터 출력되는 디코딩된 데이타중 I,Q데이타를 보간하는 보간기로 구성함을 특징으로 하는 화상압축 부복호기.An image processing apparatus comprising: a memory for receiving scanned image data and storing data in predetermined block units; an RGB-YIQ converter for accessing image data stored in the memory and converting the image data into luminance and color difference data; A subsampler receiving a color difference signal from a YIQ converter and subsampling in a horizontal direction, an average dispersion calculator for calculating an average value, a standard deviation, and a dispersion value of the luminance data and the subsampled color difference data in the block, and the average MBC section which performs block cutting coding by obtaining the optimized threshold value that minimizes the MSE in a given block with the mean value, the standard deviation, and the variance calculated from the variance calculator, and receives the coded data from the MBTC section. Code data memory for outputting flag data corresponding to the state and storing them together with the coded data A data determination unit which receives the code data outputted from the code data memory, retrieves a flag identifier of the code data, loads and outputs the code data corresponding to the search state, and is input from the data determination unit. And an inverse MBTC unit for receiving and decoding code data and an interpolator for interpolating I and Q data among decoded data output from the inverse MBTC.
제1항에 있어서, 상기 MBTC부가 소정 기준값과 블럭내의 휘도데이타를 입력받아 비교하며, 기준값보다 작은 밝기값을 출력하는 제1비교기와, 상기 비교기로부터의 출력을 가산하고 데이타를 피드백하여 누산하여 힘을 출력하는 가산기와, 상기 가산기의 출력을 상기 비교기로부터 입력되는 출력값갯수로 분주하여 평균을 구하는 분주기와, 상기 평균을 입력받아 MSE값을 출력하는 MSE수행로직과, 상기 MSE값을 일시 저장하는 임시 메모리와, 상기 메모리에 저장된 MSE값을 각각 비교하여 가장 작은 MSE값을 출력하는 최적 역치값으로 출력하는 상기 소정기준은 제2비교기로 구성되며, 상기 역 MBTC부가 입력데이타에 대응하여 각각의 복원값에 대응시키기 위한 비교기와, 부호데이타의 복원값들을 입력받아 저장하고 상기 비교기의 데이타 입력에 대응하여 각각의 복원값을 출력하는 제1메모리 및 제2메모리와, 상기 비교기의 동작을 제어하기 위한 카운터로 구성됨을 특징으로 하는 화상압축 부복호화기.2. The apparatus of claim 1, wherein the MBTC unit receives a comparison of a predetermined reference value with luminance data in the block, and compares the first comparison unit with a first comparator for outputting a brightness value smaller than the reference value; A divider for dividing the output of the adder by the number of output values inputted from the comparator to obtain an average, an MSE execution logic for receiving the average and outputting an MSE value, and temporarily storing the MSE value. The predetermined criterion for comparing the temporary memory and the MSE values stored in the memory to an optimum threshold value for outputting the smallest MSE value is configured as a second comparator, and the inverse MBTC unit reconstructs each of the corresponding data. A comparator to correspond to the value and the restored values of the code data are received and stored, and each corresponding to the data input of the comparator A first memory and a second memory, an image compression unit, characterized by a decoder consisting of a counter for controlling the operation of said comparator and outputting the restored value.
화상처리장치의 화상압축 부복호화방법에 있어서, 화상 스캐닝데이타를 소정 윈도우를 씌워 블럭단위로 메모리에 저장하는 블럭절단단계와, RGB-YIQ변환기가 상기 메모리에 저장된 데이타를 억세스하여 휘도 및 색차 데이타로 변환하는 데이타변환단계와, 서브샘플러가 RGB-YIQ변환기로부터 색차데이타를 입력받아 소정 비율로 서브샘플링하는 서브샘플링단계와, 평균분산계산부는 휘도데이타 및 서브샘플링된 색차데이타를 입력받아 블럭내의 평균값, 표준편차, 분산값등의 통계데이타를 계산하여 출력하는 계산단계와, 상기 통계데이타와 소정기준치를 비교하여 블럭내의 엣지부분이 있는가를 검색하는 엣지검색단계와, 상기 검색결과에 따라 엣지블럭이면 현재의 처리블럭을 다시 소정비로 절단하여 통계데이타를 계산한 후 절단된 블럭이 엣지블럭인가를 검색하고, 절단된 블럭이 엣지블럭이면 코딩없이 화상데이타를 출력하며, 엣지블럭이 아니면 MSE 처리루틴으로 최적역치값을 구하여 블럭절단코딩하여 코딩데이타 및 복원값을 계산하여 출력하는 엣지블럭절단코딩단계와, 상기 엣지검색단계에서 엣지블럭이 아님이 검색되면 MSE처리루틴으로 최적역치값을 구하여 블럭절단코딩하여 코딩데이타 및 복원값을 계산하여 출력하는 블럭절단코딩단계와, 상기 엣지블럭절단코딩단계 및 블럭절단코딩단계에서 코딩된 데이타에 대응하는 플래그 데이타를 출력하는 플래그데이타 출력단계와, 부호 데이타메모리가 상기 화상데이타, 코딩데이타. 복원값, 플래그데이타를 입력받아 처리블럭의 부호데이타로 저장하는 보호데이타저장단계와, 상기 부호데이타메모리에 저장된 부호데이타를 전송받아 부호데이타내의 플래그 데이타를 검색하는 데이타 검색단계와, 상기 검색단계의 검색결과에 대응하여 부호 데이타를 억세스하여 상기 부호데이타중 복원값에 따라 코딩데이타를 디코딩하여 출력하는 역 MBTC단계로 구성함을 특징으로 하는 화상압축 부복호화방법.An image compression and decoding method of an image processing apparatus, comprising: a block cutting step of storing image scanning data in a block unit by covering a predetermined window, and an RGB-YIQ converter accessing the data stored in the memory as luminance and color difference data; A data conversion step of converting, a subsampling step of receiving a color difference data from a RGB-YIQ converter by subsampling at a predetermined ratio, and an average variance calculating unit receiving luminance data and subsampled color difference data, and a mean value in a block. A calculation step of calculating and outputting statistical data such as standard deviation and variance value, an edge search step of searching whether there is an edge portion in the block by comparing the statistical data with a predetermined reference value, and an edge block according to the search result. After cutting the process block again at the predetermined ratio, the statistical data is calculated and the cut block is edge If the cut block is an edge block, the image data is output without coding. If the block is not an edge block, edge block cutting is performed by calculating the coding data and the reconstruction value by obtaining the optimal threshold value using an MSE processing routine and then coding the block. A block cutting coding step of calculating a coding data and a reconstruction value by calculating block coding by calculating an optimal threshold value using an MSE processing routine when it is detected that a non-edge block is detected in the edge searching step, and the edge block cutting coding. A flag data output step of outputting flag data corresponding to the data coded in the step and block cutting coding step; and a code data memory for the image data and the coding data. A protection data storage step of receiving the restored value and the flag data and storing it as code data of the processing block; a data retrieval step of receiving the code data stored in the code data memory and retrieving the flag data in the code data; And an inverse MBTC step of accessing code data corresponding to a search result and decoding and outputting coding data according to a reconstruction value of the code data.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.