Abstract:
An apparatus and a method for encoding and decoding image data are provided to keep a high quality image when encoding and decoding an image by diversifying prediction direction. An H.264 / AVC image encoder encodes I and SI macroblocks by using a prediction method inside a screen. A prediction block is used as reference data when encoding and decoding. A diagonal left down direction and a diagonal right down direction are separated by the first angle clockwise and counterclockwise respectively with regard to a vertical direction. A horizontal downward direction and a horizontal upward direction are separated by the second angle clockwise and counterclockwise respectively with regard to a horizontal direction. An prediction mode calculating unit calculates a prediction value of a prediction block with regard to a prediction mode corresponding to each of prediction directions. A prediction mode determining unit determines a prediction mode in which a calculated cost function is minimum as the optimum prediction mode.
Abstract:
스캔 패턴 결정 장치 및 이를 이용한 영상 데이터 부호화 방법과 그 장치, 그리고, 이를 이용한 영상 데이터 복호화 방법과 그 장치가 개시된다. 본 발명에 따른 스캔 패턴 결정 장치는 영상 프레임에 존재하는 공간적 중복성을 제거하기 위해 설정된 각각의 예측 모드별로 영상 데이터 블록의 차이값을 변환 및 양자화하여 생성된 M×N 크기의 2차원 계수 블록의 각각의 화소위치에 대한 0의 계수값의 출현 빈도가 기록되어 있는 출현 빈도 데이터들이 저장되는 저장부; 부호화할 영상 데이터 블록의 픽셀값과 각각의 예측 모드에 대응하는 예측 블록의 예측값의 차이값을 기초로 산출된 율-왜곡 비용함수가 최소가 되는 최적의 예측 모드에 해당하는 출현 빈도 데이터의 값 중에서 상기 2차원 계수 블록의 계수값이 0인 화소 위치에 대응하는 값을 증가시키는 계수값 카운터; 및 상기 최적의 예측 모드에 해당하는 출현 빈도 데이터의 값이 증가하는 순서대로 스캔되도록 상기 최적의 예측 모드에 대응하는 스캔 패턴을 갱신하는 갱신부;를 구비한다. 본 발명에 따르면, 영상의 압축 부호화시에 사용되는 화면내 예측의 수행시 예측 모드에 따라 스캔 패턴을 달리함으로써 보다 높은 압축율을 달성할 수 있다. 영상 압축, H.264/AVC, 화면내 예측, 스캔 패턴, 예측 모드
Abstract:
An apparatus and a method for determining scan pattern, and an apparatus and a method for encoding image data using the same, and a method for decoding image data using the same are provided to achieve high compression rate by differentiating scan pattern depending on the screen estimation mode. A storage unit(510) stores appearance frequency data. A calculated value counter(520) increases the value corresponding to the target pixel location among the value of prevalence data. An update unit(530) renews the scan pattern corresponding to the estimation mode to be able to scan in the order of the appearance value increases.
Abstract:
An image data coding apparatus and method, and an image data decoding apparatus and method are provided to reduce the spatial redundancy as maintaining the quality of an image by diversifying the expected direction. A prediction unit(320) within a screen assigns pixel values, which form a pixel row of 4x1 size adjacent to the upper side of an image data block which will be encoded as being stored in a storage unit(310), to pixels which form pixel rows(the number of a) of 4x1 size vertically to the image data block. And then, the prediction unit assigns pixel values, which correspond to each pixel row of 4x1 size, among pixel values, which form a pixel row of 1x4 size adjacent to the image data block, to pixels which form pixel rows(the number of (4-a)) of 4x1 size vertically to the image data block. Finally, the prediction unit calculates the expected values for forming an expected block.