KR101193460B1 - Method of matrix filtering within digital image processing apparatus - Google Patents

Method of matrix filtering within digital image processing apparatus Download PDF

Info

Publication number
KR101193460B1
KR101193460B1 KR1020050123984A KR20050123984A KR101193460B1 KR 101193460 B1 KR101193460 B1 KR 101193460B1 KR 1020050123984 A KR1020050123984 A KR 1020050123984A KR 20050123984 A KR20050123984 A KR 20050123984A KR 101193460 B1 KR101193460 B1 KR 101193460B1
Authority
KR
South Korea
Prior art keywords
pixel data
data
matrix
filtering
signal processor
Prior art date
Application number
KR1020050123984A
Other languages
Korean (ko)
Other versions
KR20070063777A (en
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 KR1020050123984A priority Critical patent/KR101193460B1/en
Publication of KR20070063777A publication Critical patent/KR20070063777A/en
Application granted granted Critical
Publication of KR101193460B1 publication Critical patent/KR101193460B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/67Circuits for processing colour signals for matrixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

본 발명은, 디지털 영상 처리 장치에서 영상 데이터의 선명도를 변경하기 위하여 상기 영상 데이터의 화소 데이터 각각에 대하여 매트릭스 데이터를 사용하여 매트릭스 필터링을 수행하는 매트릭스 필터링 방법이다. 여기에서, 사용될 화소 데이터 각각에 대하여 인접 화소 데이터가 포함되지 않는 건너뛰기 구조의 매트릭스 데이터가 사용된다.

Figure R1020050123984

The present invention is a matrix filtering method in which a digital image processing apparatus performs matrix filtering using matrix data on each pixel data of the image data in order to change the sharpness of the image data. Here, for each pixel data to be used, matrix data having a skip structure that does not include adjacent pixel data is used.

Figure R1020050123984

Description

디지털 영상 처리 장치에서의 매트릭스 필터링 방법{Method of matrix filtering within digital image processing apparatus}Method of matrix filtering within digital image processing apparatus

도 1은 본 발명에 따른 매트릭스 필터링 방법을 수행하는 디지털 영상 처리 장치로서의 디지털 카메라의 구성을 보여주는 도면이다.1 is a block diagram of a digital camera as a digital image processing apparatus for performing a matrix filtering method according to the present invention.

도 2는 도 1의 디지털 신호 처리기가 매트릭스 필터링을 수행하는 알고리즘을 보여주는 흐름도이다.2 is a flowchart illustrating an algorithm in which the digital signal processor of FIG. 1 performs matrix filtering.

도 3은 도 2의 단계 S3에서 사용되는 매트릭스 데이터의 구조를 설명하기 위한 도면이다.FIG. 3 is a diagram for describing a structure of matrix data used in step S3 of FIG. 2.

도 4는 도 1의 디지털 신호 처리기에 입력되는 영상 데이터의 프레임의 일 예를 보여주는 도면이다.4 is a diagram illustrating an example of a frame of image data input to the digital signal processor of FIG. 1.

도 5는 도 4의 프레임에서 수평-수직 좌표가 (7,6)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여주는 도면이다.FIG. 5 is a diagram illustrating that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (7,6) in the frame of FIG. 4.

도 6은 도 4의 프레임에서 수평-수직 좌표가 (9,6)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여주는 도면이다.FIG. 6 is a diagram illustrating that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (9,6) in the frame of FIG. 4.

도 7은 도 4의 프레임에서 수평-수직 좌표가 (11,6)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여주는 도면이다. FIG. 7 is a diagram illustrating that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (11,6) in the frame of FIG. 4.

도 8은 도 4의 프레임에서 수평-수직 좌표가 (9,8)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여주는 도면이다.FIG. 8 is a diagram illustrating that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (9,8) in the frame of FIG. 4.

도 9는 도 4의 프레임에서 수평-수직 좌표가 (11,8)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여주는 도면이다.FIG. 9 is a diagram illustrating that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (11,8) in the frame of FIG. 4.

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

1...디지털 카메라, 12...플래시, 1 ... digital camera, 12 ... flash,

19...플래시-광량 센서, 21...외부 인터페이스부, 19 flash-light sensor, 21 external interface,

MIC...마이크로폰, SP...스피커,
35...컬러 LCD 패널, OPS...광학계,
MIC ... microphone, SP ... speaker,
35 ... color LCD panel, OPS ... optical system,

OEC...광전 변환부, MZ...줌 모터,OEC ... photoelectric converter, M Z ... zoom motor,

MF...포커스 모터, MA...조리개(aperture) 모터,M F ... focus motor, M A ... aperture motor,

501...CDS-ADC, 502...타이밍 회로,
503...실시간 클럭, 504...DRAM,
505...EEPROM, 506...메모리 카드 인터페이스,
507...디지털 신호 처리기, 508...RS232C 인터페이스,
509...비디오 필터, 21a...USB 접속부,
21b...RS232C 접속부, 21c...비디오 출력부,
510...구동부, 511...플래시 제어기,
512...마이크로제어기, INP...사용자 입력부,
LAMP...발광부, 513...오디오 처리기,
514...LCD 구동부.
501 ... CDS-ADC, 502 ... timing circuit,
503 ... real time clock, 504 ... DRAM,
505 ... EEPROM, 506 ... memory card interface,
507 ... digital signal processor, 508 ... RS232C interface,
509 ... video filter, 21a ... USB connection,
21b ... RS232C connection, 21c ... video output,
510 ... drive section, 511 ... flash controller,
512 ... microcontroller, INP ... user input,
LAMP ... light emitting unit, 513 ... audio processor,
514 LCD drive.

본 발명은, 매트릭스 필터링 방법에 관한 것으로서, 보다 상세하게는, 디지털 영상 처리 장치에서 영상 데이터의 선명도를 변경하기 위하여 영상 데이터의 화소 데이터 각각에 대하여 매트릭스 데이터를 사용하여 매트릭스 필터링을 수행하는 매트릭스 필터링 방법에 관한 것이다.The present invention relates to a matrix filtering method, and more particularly, to a matrix filtering method for performing matrix filtering on each pixel data of image data in order to change the sharpness of the image data in a digital image processing apparatus. It is about.

디지털 영상 처리 장치 예를 들어, 디지털 카메라는, 사용자의 선택에 따라 영상 데이터의 선명도를 변경하기 위하여, 영상 데이터의 화소 데이터 각각에 대하여 매트릭스 데이터를 사용하여 매트릭스 필터링을 수행한다. 이와 같이 매트릭스 필터링이 수행되는 경우에 매트릭스 필터링 대상의 화소 데이터가 매트릭스 필터링에 의하여 갱신된다. 상기 매트릭스 데이터에는 매트릭스 필터링 대상의 화소 데이터 및 그 주변의 데이터가 포함된다.Digital image processing apparatus For example, in order to change the sharpness of image data according to a user's selection, the digital camera performs matrix filtering on matrix data of each pixel data of the image data. When matrix filtering is performed as described above, pixel data to be filtered is updated by matrix filtering. The matrix data includes pixel data to be matrix filtered and data surrounding the matrix data.

예를 들어, 사용자의 선택에 따라 영상 데이터의 선명도를 줄이려면, 필터링 대상의 화소 데이터 및 그 주변의 데이터의 평균값으로서 필터링 대상의 화소 데이터가 갱신된다.For example, in order to reduce the sharpness of the image data according to the user's selection, the pixel data to be filtered is updated as an average value of the pixel data to be filtered and the data around it.

상기와 같은 매트릭스 필터링에 있어서, 상기 매트릭스 데이터가 많을수록 즉, 상기 매트릭스 데이터의 화소들이 차지하는 영역이 넓을수록 필터링 효과가 크지만 처리 속도가 낮다.  In the matrix filtering as described above, the larger the matrix data, that is, the larger the area occupied by the pixels of the matrix data, the larger the filtering effect but the lower the processing speed.

예를 들어, 3 X 3 매트릭스 데이터를 사용하는 경우에 비하여 5 X 5 매트릭스 데이터를 사용하는 경우가 필터링 효과가 크지만 처리 속도가 낮다. 이와 마찬가지로, 5 X 5 매트릭스 데이터를 사용하는 경우에 비하여 7 X 7 매트릭스 데이터를 사용하는 경우가 필터링 효과가 크지만 처리 속도가 낮다. For example, the use of 5 X 5 matrix data is more effective than the case of using 3 X 3 matrix data, but the processing speed is lower. Similarly, the use of 7 × 7 matrix data is more effective than the case of using 5 × 5 matrix data, but the processing speed is lower.

본 발명의 목적은, 디지털 영상 처리 장치에서 필터링 효과를 크게 하면서도 처리 속도를 높일 수 있는 효율적인 매트릭스 필터링 방법을 제공하는 것이다. An object of the present invention is to provide an efficient matrix filtering method capable of increasing the processing speed while increasing the filtering effect in a digital image processing apparatus.

상기 목적을 이루기 위한 본 발명은, 디지털 영상 처리 장치에서 영상 데이터의 선명도를 변경하기 위하여 상기 영상 데이터의 화소 데이터 각각에 대하여 매트릭스 데이터를 사용하여 매트릭스 필터링을 수행하는 매트릭스 필터링 방법이다. 여기에서, 사용될 화소 데이터 각각에 대하여 인접 화소 데이터가 포함되지 않는 건너뛰기 구조의 매트릭스 데이터가 사용된다.The present invention for achieving the above object is a matrix filtering method for performing matrix filtering on each pixel data of the image data using matrix data in order to change the sharpness of the image data in the digital image processing apparatus. Here, for each pixel data to be used, matrix data having a skip structure that does not include adjacent pixel data is used.

본 발명의 상기 매트릭스 필터링 방법에 의하면, 상기 건너뛰기 구조의 매트릭스 데이터가 사용됨에 따라, 상기 매트릭스 데이터의 양이 줄어들면서도 상기 매트릭스 데이터의 화소들이 차지하는 영역이 넓어진다. 이에 따라, 필터링 효과가 크면서도 처리 속도가 높아질 수 있다.According to the matrix filtering method of the present invention, as the matrix data of the skip structure is used, the area occupied by the pixels of the matrix data is widened while the amount of the matrix data is reduced. Accordingly, the processing speed can be high while the filtering effect is large.

이하, 본 발명에 따른 바람직한 실시예가 상세히 설명된다.Hereinafter, preferred embodiments according to the present invention will be described in detail.

도 1은 본 발명에 따른 매트릭스 필터링 방법을 수행하는 디지털 영상 처리 장치로서의 디지털 카메라(1)의 구성을 보여준다. 도 1을 참조하여, 도 1의 디지 털 카메라(1)의 전체적 구성 및 동작을 설명하면 다음과 같다.1 shows a configuration of a digital camera 1 as a digital image processing apparatus that performs a matrix filtering method according to the present invention. Referring to Figure 1, the overall configuration and operation of the digital camera 1 of Figure 1 will be described.

렌즈부와 필터부를 포함한 광학계(OPS)는 피사체로부터의 빛을 광학적으로 처리한다. The optical system OPS including the lens unit and the filter unit optically processes light from a subject.

광학계(OPS)의 렌즈부는 줌 렌즈, 포커스 렌즈, 및 보상 렌즈를 포함한다. The lens portion of the optical system OPS includes a zoom lens, a focus lens, and a compensation lens.

사용자가 사용자 입력부(INP)에 포함된 광각(wide angle)-줌 버튼 또는 망원(telephoto)-줌 버튼을 누르면, 이에 상응하는 신호가 마이크로제어기(512)에 입력된다. 이에 따라, 마이크로제어기(512)가 구동부(510)를 제어함에 따라, 줌 모터(MZ)가 구동되어 줌 렌즈가 이동된다. When the user presses the wide angle zoom button or the telephoto zoom button included in the user input unit INP, a corresponding signal is input to the microcontroller 512. Accordingly, as the microcontroller 512 controls the driving unit 510, the zoom motor M Z is driven to move the zoom lens.

한편, 자동 초점 모드에 있어서, 디지털 신호 처리기(507) 안에 내장된 주 제어기가 마이크로제어기(512)를 통하여 구동부(510)를 제어함에 의하여 포커스 모터(MF)가 구동된다. Meanwhile, in the auto focus mode, the focus motor M F is driven by the main controller embedded in the digital signal processor 507 controlling the driving unit 510 through the microcontroller 512.

광학계(OPS)의 렌즈부의 보상 렌즈는 전체적인 굴절률을 보상하는 역할을 하므로 별도로 구동되지 않는다. 참조 부호 MA는 조리개(aperture)를 구동하기 위한 모터를 가리킨다.The compensating lens of the lens unit of the optical system OPS is not driven separately because it serves to compensate the overall refractive index. Reference symbol M A denotes a motor for driving an aperture.

광학계(OPS)의 필터부에 있어서, 광학적 저역통과필터(Optical Low Pass Filter)는 고주파 성분의 광학적 노이즈를 제거한다. 적외선 차단 필터(Infra-Red cut Filter)는 입사되는 빛의 적외선 성분을 차단한다.In the filter section of the optical system (OPS), an optical low pass filter removes optical noise of a high frequency component. Infra-red cut filter blocks the infrared component of incident light.

CCD(Charge Coupled Device) 또는 CIS(CMOS-Image Sensor)로 된 광전 변환부(OEC)는 광학계(OPS)로부터의 빛을 전기적 신호들로 변환시킨다. A photoelectric conversion unit (OEC) formed of a charge coupled device (CCD) or a CMOS-image sensor (CIS) converts light from an optical system OPS into electrical signals.

디지털 신호 처리기(507)는 타이밍 회로(502)를 제어하여 광전 변환부(OEC)와 아날로그-디지털 변환부(501)의 동작을 제어한다. CDS-ADC(Correlation Double Sampler and Analog-to-Digital Converter) 소자(501)는, 광전 변환부(OEC)로부터의 아날로그 영상 신호들의 고주파 노이즈를 제거하고 진폭을 조정한 후, 아날로그 영상 신호들을 디지털 영상 신호들 즉, 영상 데이터로 변환시킨다. The digital signal processor 507 controls the timing circuit 502 to control the operations of the photoelectric converter OEC and the analog-digital converter 501. The CDS-ADC (Correlation Double Sampler and Analog-to-Digital Converter) element 501 removes the high frequency noise of the analog image signals from the photoelectric converter (OEC) and adjusts the amplitude, and then converts the analog image signals into a digital image. The signals are converted into video data.

실시간 클럭(503)은 디지털 신호 처리기(507)에 시간 정보를 제공한다. The real-time clock 503 provides time information to the digital signal processor 507.

디지털 신호 처리기(507)는 CDS-ADC 소자(501)로부터의 영상 데이터를 사용자에 의하여 선택된 영상 모드에 따라 처리한다. 예를 들어, 사용자의 선택에 따라 영상 데이터의 선명도를 변경하기 위하여 상기 영상 데이터의 화소 데이터 각각에 대하여 매트릭스 데이터를 사용하여 매트릭스 필터링을 수행한다. 이 매트릭스 필터링의 알고리즘에 대해서는 도 2 내지 9를 참조하여 상세히 설명될 것이다. The digital signal processor 507 processes the image data from the CDS-ADC element 501 according to the image mode selected by the user. For example, in order to change the sharpness of the image data according to a user's selection, matrix filtering is performed on each of the pixel data of the image data using matrix data. This matrix filtering algorithm will be described in detail with reference to FIGS.

각종 램프들이 포함된 발광부(LAMP)는 주 제어기를 내장하는 디지털 신호 처리기(507)로부터의 제어 신호들에 따라 마이크로제어기(512)에 의하여 구동된다. The light emitting unit LAMP including various lamps is driven by the microcontroller 512 according to control signals from the digital signal processor 507 including the main controller.

DRAM(Dynamic Random Access Memory, 504)에는 디지털 신호 처리기(507)로부터의 디지털 영상 데이터가 일시 저장된다. EEPROM(Electrically Erasable and Programmable Read Only Memory, 505)에는 디지털 신호 처리기(507)의 동작에 필요한 알고리즘 및 설정 데이터가 저장된다. 메모리 카드 인터페이스(506)에서는 기록 매체로서의 사용자의 메모리 카드가 착탈된다.The digital image data from the digital signal processor 507 is temporarily stored in the DRAM (Dynamic Random Access Memory) 504. The EEPROM (Electrically Erasable and Programmable Read Only Memory) 505 stores algorithms and setting data necessary for the operation of the digital signal processor 507. In the memory card interface 506, a user's memory card as a recording medium is detached.

디지털 신호 처리기(507)로부터의 디지털 영상 데이터는 LCD 구동부(514)에 입력되고, 이로 인하여 컬러 LCD 패널(35)에 영상이 디스플레이된다.The digital image data from the digital signal processor 507 is input to the LCD driver 514, whereby the image is displayed on the color LCD panel 35.

한편, 디지털 신호 처리기(507)로부터의 디지털 영상 데이터는, USB(Universal Serial Bus) 접속부(21a) 또는 RS232C 인터페이스(508)와 그 접속부(21b)를 통하여 직렬 통신으로써 전송될 수 있고, 비디오 필터(509) 및 비디오 출력부(21c)를 통하여 비디오 신호로서 전송될 수 있다. On the other hand, the digital image data from the digital signal processor 507 can be transmitted by serial communication via the USB (Universal Serial Bus) connection 21a or the RS232C interface 508 and its connection 21b, and the video filter ( 509 and the video output unit 21c can be transmitted as a video signal.

오디오 처리기(513)는, 마이크로폰(MIC)으로부터의 음성 신호를 디지털 신호 처리기(507) 또는 스피커(SP)로 출력하고, 디지털 신호 처리기(507)로부터의 오디오 신호를 스피커(SP)로 출력한다.The audio processor 513 outputs the audio signal from the microphone MIC to the digital signal processor 507 or the speaker SP and outputs the audio signal from the digital signal processor 507 to the speaker SP.

한편, 마이크로제어기(512)는 플래시-광량 센서(19)로부터의 신호에 따라 플래시 제어기(511)의 동작을 제어하여 플래시(12)를 구동한다.On the other hand, the microcontroller 512 drives the flash 12 by controlling the operation of the flash controller 511 according to the signal from the flash-light amount sensor 19.

도 2는 도 1의 디지털 신호 처리기(507)가 매트릭스 필터링을 수행하는 알고리즘을 보여준다. 도 3은 도 2의 단계 S3에서 사용되는 매트릭스 데이터의 구조를 설명하기 위한 도면이다. 도 4는 도 1의 디지털 신호 처리기(507)에 입력되는 영상 데이터의 프레임(DFR)의 일 예를 보여준다. 도 5는 도 4의 프레임(DFR)에서 수평-수직 좌표가 (7,6)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여준다. 도 6은 도 4의 프레임(DFR)에서 수평-수직 좌표가 (9,6)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여준다. 도 7은 도 4의 프레임(DFR)에서 수평-수직 좌표가 (11,6)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여준다. 도 8은 도 4의 프레임(DFR)에서 수평-수직 좌표가 (9,8)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여준다. 도 9는 도 4의 프레임(DFR)에서 수평-수직 좌표가 (11,8)인 화소 데이터에 대하여 도 2의 단계 S3이 수행됨을 보여준다. 2 illustrates an algorithm in which the digital signal processor 507 of FIG. 1 performs matrix filtering. FIG. 3 is a diagram for describing a structure of matrix data used in step S3 of FIG. 2. 4 illustrates an example of a frame DFR of image data input to the digital signal processor 507 of FIG. 1. FIG. 5 shows that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (7,6) in the frame DFR of FIG. 4. FIG. 6 shows that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (9,6) in the frame DFR of FIG. 4. FIG. 7 shows that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (11,6) in the frame DFR of FIG. 4. FIG. 8 shows that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (9,8) in the frame DFR of FIG. 4. FIG. 9 shows that step S3 of FIG. 2 is performed on pixel data having a horizontal-vertical coordinate of (11,8) in the frame DFR of FIG. 4.

도 2 내지 9를 참조하여 도 2의 알고리즘을 설명하면 다음과 같다.The algorithm of FIG. 2 will be described with reference to FIGS. 2 to 9.

디지털 신호 처리기(507)는, 영상 데이터가 입력되면, 필터링 대상이 되는 화소 데이터 DP(x,y)의 x 및 y 좌표 (x,y)를 (1,1)로 설정한다(단계들 S1 및 S2).When the image data is input, the digital signal processor 507 sets the x and y coordinates (x, y) of the pixel data DP (x, y) to be filtered to (1,1) (steps S1 and S2).

다음에, 디지털 신호 처리기(507)는, 사용될 화소 데이터 각각에 대하여 인접 화소 데이터가 포함되지 않는 건너뛰기 구조의 매트릭스 데이터를 사용하여, 대상 화소 데이터 DP(x,y)에 대한 매트릭스 필터링을 수행한다(단계 S3). Next, the digital signal processor 507 performs matrix filtering on the target pixel data DP (x, y) by using the matrix data of the skip structure that does not include adjacent pixel data for each pixel data to be used. (Step S3).

상기 단계 S3에 있어서, 종래의 매트릭스 데이터(도 3의 MOLD)는, 매트릭스 필터링 대상의 화소 데이터 예를 들어, DP(2,2) 및 그 주변의 데이터를 포함하되, 사용될 화소 데이터 각각이 서로 인접되는 구조를 가진다. 하지만, 본 발명에 따른 매트릭스 데이터(도 3의 MNEW)는, 매트릭스 필터링 대상의 화소 데이터 예를 들어, DP(3,3) 및 그 주변의 데이터를 포함하되, 사용될 화소 데이터 각각에 대하여 인접 화소 데이터가 포함되지 않는 건너뛰기 구조를 가진다. 이에 따라, 매트릭스 데이터의 양이 줄어들면서도 매트릭스 데이터의 화소들이 차지하는 영역이 넓어진다. 이에 따라, 필터링 효과가 크면서도 처리 속도가 높아질 수 있다.In the above step S3, the conventional matrix data (M OLD of FIG. 3) includes pixel data to be matrix filtered, for example, DP (2, 2) and data around it, and each pixel data to be used is different from each other. It has an adjacent structure. However, the matrix data (M NEW of FIG. 3) according to the present invention includes pixel data to be matrix filtered, for example, DP (3,3) and data around it, but adjacent pixels for each pixel data to be used. It has a skip structure that does not contain any data. Accordingly, the area occupied by the pixels of the matrix data is widened while the amount of the matrix data is reduced. Accordingly, the processing speed can be high while the filtering effect is large.

예를 들면, 선명도를 낮출 경우의 매트릭스 필터링에 있어서, 화소 데이터 DP(x,y)는 아래의 수학식 1에 의하여 새로운 화소 데이터 DPN(x,y)로 변한다.For example, in matrix filtering in the case of lowering the sharpness, the pixel data DP (x, y) is changed to the new pixel data DP N (x, y) by the following equation (1).

Figure 112005073470516-pat00001
Figure 112005073470516-pat00001

상기 수학식 1을 도 3에 적용하면, 화소 데이터 DP(3,3)은 아래의 수학식 2 에 의하여 새로운 화소 데이터 DPN(3,3)으로 변한다.Applying Equation 1 to FIG. 3, the pixel data DP (3, 3) is changed to the new pixel data DP N (3, 3) by Equation 2 below.

Figure 112005073470516-pat00002
Figure 112005073470516-pat00002

예를 들어, 단위 프레임(도 4의 DFR)의 필터링 대상의 화소 데이터가 (7,6) 좌표의 데이터인 DP(7,6)인 경우, 필터링에 사용될 매트릭스 데이터는 (5,4), (7,4), (9,4), (5,6), (7,6), (9,6), (5,8), (7,8), 및 (9,8) 좌표들의 화소 데이터이다(도 5 참조). 이 경우, 3 X 3 매트릭스 데이터를 사용하면서도 5 X 5 매트릭스 데이터를 사용하는 경우와 유사한 필터링 효과가 얻어질 수 있다.For example, when the pixel data to be filtered in the unit frame (DFR of FIG. 4) is DP (7,6), which is data of (7,6) coordinates, the matrix data to be used for filtering is (5,4), ( 7,4), (9,4), (5,6), (7,6), (9,6), (5,8), (7,8), and pixels of (9,8) coordinates Data (see FIG. 5). In this case, a filtering effect similar to the case of using 5 × 5 matrix data while using 3 × 3 matrix data can be obtained.

다음에, 디지털 신호 처리기(507)는, 상기 단계 S3의 수행에 의하여 대상 화소 데이터 DP(x,y)의 새로운 값이 얻어지면, 예를 들어, 선명도를 낮출 경우에 매트릭스 데이터의 평균값이 얻어지면, 이 새로운 값으로써 대상 화소 데이터 DP(x,y)의 값을 갱신한다(단계 S4). Next, when the digital signal processor 507 obtains a new value of the target pixel data DP (x, y) by performing step S3, for example, when the average value of the matrix data is obtained when the sharpness is lowered, The value of the target pixel data DP (x, y) is updated with this new value (step S4).

다음에, 디지털 신호 처리기(507)는, 현재 설정되어 있는 x 좌표가 그 최종 값(xEND)보다 적으면(단계 S5), 현재 행(low)의 모든 화소들에 대한 필터링이 완료되지 않은 상태이므로, 현재 설정되어 있는 x 좌표를 2만큼 증가시킨다(단계 S6). 이에 따라 필터링 대상의 화소 데이터가 수평 방향(x축 방향)으로 한 화소를 건너 뛴 다음의 화소로 설정된다. Next, the digital signal processor 507, if the currently set x coordinate is less than its final value (x END ) (step S5), the filtering for all the pixels of the current row (low) is not completed Therefore, the currently set x coordinate is increased by 2 (step S6). As a result, the pixel data to be filtered is set to the pixel after skipping one pixel in the horizontal direction (x-axis direction).

예를 들어, 최근의 대상 화소 데이터가 DP(7,6)인 경우(도 5 참조), 그 다음의 대상 화소 데이터는 DP(9,6)이다(도 6 참조). 또한, 최근의 대상 화소 데이터 가 DP(9,6)인 경우(도 6 참조), 그 다음의 대상 화소 데이터는 DP(11,6)이다(도 7 참조). 이와 마찬가지로, 최근의 대상 화소 데이터가 DP(9,8)인 경우(도 8 참조), 그 다음의 대상 화소 데이터는 DP(11,8)이다(도 9 참조). For example, when the latest target pixel data is DP (7,6) (see FIG. 5), the next target pixel data is DP (9,6) (see FIG. 6). In addition, when the latest target pixel data is DP (9, 6) (see Fig. 6), the next target pixel data is DP (11, 6) (see Fig. 7). Similarly, when the recent target pixel data is DP (9,8) (see FIG. 8), the next target pixel data is DP (11,8) (see FIG. 9).

이와 같이 새롭게 설정된 대상 화소 데이터에 대하여 상기 필터링 단계들 S3 내지 S5가 수행된다.The filtering steps S3 to S5 are performed on the newly set target pixel data.

물론, 상기 단계 S6에서 현재 설정되어 있는 x 좌표를 1만큼 증가시킬 수도 있다. 이 경우, 필터링 대상의 화소 데이터가 수평 방향(x축 방향)의 인접 화소로 설정되므로, 필터링 효과는 커질 수 있지만 처리 속도가 낮아진다.Of course, the x coordinate currently set in step S6 may be increased by one. In this case, since the pixel data to be filtered is set to adjacent pixels in the horizontal direction (x-axis direction), the filtering effect can be increased but the processing speed is lowered.

한편, 디지털 신호 처리기(507)는, 현재 설정되어 있는 x 좌표가 그 최종 값(xEND) 이상이면(단계 S5), 현재 행(low)의 모든 화소들에 대한 필터링이 완료된 상태이므로, 현재 설정되어 있는 x 좌표의 값을 '1'로 설정한다(단계 S7). 다음에, 디지털 신호 처리기(507)는, 현재 설정되어 있는 y 좌표를 그 최종 값(yEND)과 비교한다(단계 S8). On the other hand, when the currently set x coordinate is equal to or greater than its final value (x END ) (step S5), the digital signal processor 507 has completed filtering on all pixels of the current row, and thus, the current setting. The value of the made x coordinate is set to '1' (step S7). Next, the digital signal processor 507 compares the currently set y coordinate with its final value y END (step S8).

단계 S8에서, 현재 설정되어 있는 y 좌표가 그 최종 값(yEND)보다 적으면, 마지막 행의 필터링이 수행되지 않은 상태이므로, 디지털 신호 처리기(507)는, 현재 설정되어 있는 y 좌표를 2만큼 증가시킨다(단계 S9). 이에 따라 필터링 대상의 화소 데이터가 수직 방향(y축 방향)으로 한 행을 건너 뛴 다음의 행의 첫 번째 화소로 설정된다. 예를 들어, 최근의 대상 화소 데이터가 DP(17,8)인 경우, 그 다음의 대상 화소 데이터는 DP(1,9)가 아니고 DP(1,10)이다. 다음에, 디지털 신호 처리기 (507)는, 상기 단계 S3 및 그 다음 단계들을 반복적으로 수행한다.In step S8, if the currently set y coordinate is less than its final value (y END ), since the filtering of the last row is not performed, the digital signal processor 507 sets the currently set y coordinate by two. Increase (step S9). Accordingly, the pixel data to be filtered is set as the first pixel of the next row after skipping one row in the vertical direction (y-axis direction). For example, when the latest target pixel data is DP (17,8), the next target pixel data is not DP (1,9) but DP (1,10). Next, the digital signal processor 507 repeatedly performs the above step S3 and the following steps.

물론, 상기 단계 S9에서 현재 설정되어 있는 y 좌표를 1만큼 증가시킬 수도 있다. 이 경우, 필터링 대상의 데이터가 많아져서 필터링 효과는 커질 수 있지만 처리 속도가 낮아진다.Of course, the y coordinate currently set in step S9 may be increased by one. In this case, since the data to be filtered increases, the filtering effect can be increased, but the processing speed is lowered.

한편, 디지털 신호 처리기(507)는, 현재 설정되어 있는 y 좌표가 그 최종 값(yEND) 이상이면(단계 S8), 단위 프레임(DFR)의 모든 필터링 대상의 화소 데이터에 대하여 필터링이 완료된 상태이므로, 수평 방향(x축 방향) 및 수직 방향(y축 방향) 각각으로의 건너뛰기로 인하여 갱신되지 않은 화소 데이터를 보정한 후 필터링을 종료한다(단계 S10). On the other hand, if the currently set y coordinate is equal to or greater than the final value y END (step S8), the digital signal processor 507 has filtered the pixel data of all filtering targets of the unit frame DFR. Then, filtering is terminated after correcting the pixel data not updated due to the skipping in the horizontal direction (x-axis direction) and vertical direction (y-axis direction), respectively (step S10).

여기에서, 갱신되지 않은 화소 데이터 즉, 선택되지 않은 화소 데이터는 선택되었던 화소 데이터의 갱신 데이터에 의하여 보정된다. 예를 들어, 선택되지 않은 화소 데이터 DPR(10,8)은 그 주위의 갱신 데이터 DP(9,8) 및 DP(11,8)에 의하여 보정된다(도 8 및 9 참조). Here, the pixel data that is not updated, that is, the pixel data that is not selected, is corrected by the update data of the pixel data that has been selected. For example, the unselected pixel data DPRs 10 and 8 are corrected by the update data DPs 9 and 8 and DPs 11 and 8 around them (see Figs. 8 and 9).

이상 설명된 바와 같이, 본 발명에 따른 매트릭스 필터링 방법에 의하면, 건너뛰기 구조의 매트릭스 데이터가 사용됨에 따라, 매트릭스 데이터의 양이 줄어들면서도 매트릭스 데이터의 화소들이 차지하는 영역이 넓어진다. 이에 따라, 필터링 효과가 크면서도 처리 속도가 높아질 수 있다.As described above, according to the matrix filtering method according to the present invention, as the matrix data of the skip structure is used, the area occupied by the pixels of the matrix data is widened while the amount of the matrix data is reduced. Accordingly, the processing speed can be high while the filtering effect is large.

본 발명은, 상기 실시예에 한정되지 않고, 청구범위에서 정의된 발명의 사상 및 범위 내에서 당업자에 의하여 변형 및 개량될 수 있다. The present invention is not limited to the above embodiments, but may be modified and improved by those skilled in the art within the spirit and scope of the invention as defined in the claims.

Claims (8)

화소 데이터 각각에 대한 매트릭스 필터링 방법에 있어서,In the matrix filtering method for each pixel data, 사용될 화소 데이터에 대하여 수평, 수직 및 대각 방향으로 적어도 하나의 화소 데이터만큼 이격된 화소 데이터들을 선택하는 단계;Selecting pixel data spaced apart by at least one pixel data in horizontal, vertical and diagonal directions with respect to the pixel data to be used; 상기 사용될 화소 데이터와 상기 선택한 화소 데이터들을 포함한 매트릭스 데이터를 평균하는 단계; 및Averaging matrix data including the pixel data to be used and the selected pixel data; And 상기 사용될 화소 데이터를 상기 평균한 화소 데이터로 갱신하는 단계를 포함하는 매트릭스 필터링 방법. Updating the pixel data to be used with the averaged pixel data. 삭제delete 삭제delete 삭제delete 제 1 항에 있어서, 다음 사용될 화소 데이터는,The pixel data of claim 1, wherein the pixel data to be used next is: 상기 사용될 화소 데이터로부터 수직 또는 수평 방향으로 적어도 하나의 화소 데이터만큼 이격된 화소 데이터인 것을 특징으로 하는 매트릭스 필터링 방법.Matrix data spaced apart from the pixel data to be used by at least one pixel data in a vertical or horizontal direction. 삭제delete 제 5 항에 있어서, 6. The method of claim 5, 모든 화소 데이터가 갱신된 후에 사용되지 않은 화소 데이터가 보정되는 매트릭스 필터링 방법. A matrix filtering method in which unused pixel data is corrected after all pixel data is updated. 제 7 항에 있어서, The method of claim 7, wherein 상기 사용되지 않은 화소 데이터가 상기 사용된 화소 데이터의 갱신 데이터에 의하여 보정되는 매트릭스 필터링 방법.And the unused pixel data is corrected by the update data of the used pixel data.
KR1020050123984A 2005-12-15 2005-12-15 Method of matrix filtering within digital image processing apparatus KR101193460B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050123984A KR101193460B1 (en) 2005-12-15 2005-12-15 Method of matrix filtering within digital image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050123984A KR101193460B1 (en) 2005-12-15 2005-12-15 Method of matrix filtering within digital image processing apparatus

Publications (2)

Publication Number Publication Date
KR20070063777A KR20070063777A (en) 2007-06-20
KR101193460B1 true KR101193460B1 (en) 2013-03-25

Family

ID=38363634

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050123984A KR101193460B1 (en) 2005-12-15 2005-12-15 Method of matrix filtering within digital image processing apparatus

Country Status (1)

Country Link
KR (1) KR101193460B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100296596B1 (en) 1999-07-14 2001-07-12 윤종용 Edge Enhancement Method by 4-Directional 1-D High Pass Filtering
KR20050008793A (en) * 2002-06-04 2005-01-21 마이크론 테크놀로지, 인크 Method and apparatus for real time identification and correction of pixel defects for image sensor arrays
KR100525785B1 (en) 2001-06-15 2005-11-03 엘지전자 주식회사 Filtering method for pixel of image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100296596B1 (en) 1999-07-14 2001-07-12 윤종용 Edge Enhancement Method by 4-Directional 1-D High Pass Filtering
KR100525785B1 (en) 2001-06-15 2005-11-03 엘지전자 주식회사 Filtering method for pixel of image
KR20050008793A (en) * 2002-06-04 2005-01-21 마이크론 테크놀로지, 인크 Method and apparatus for real time identification and correction of pixel defects for image sensor arrays

Also Published As

Publication number Publication date
KR20070063777A (en) 2007-06-20

Similar Documents

Publication Publication Date Title
US7321393B2 (en) Method of controlling operation of a digital camera to take an identification photograph
US7420601B2 (en) Digital camera and method of controlling a digital camera to determine image sharpness
CN100541311C (en) The digital photographing apparatus of automatic focusing method and the automatic focusing method of use
JP2010062722A (en) Image processing apparatus and computer program
CN1773361A (en) Method and apparatus for removing noise from a digital image
US20060087578A1 (en) Method of controlling digital photographing apparatus for out-focusing operation and digital photographing apparatus adopting the method
KR100562404B1 (en) Method of automatic focusing for camera wherein additional scanning is performed
US20070132877A1 (en) Auto-focusing method using variable noise level and digital image processing apparatus using the same
US8379984B2 (en) Method of controlling digital image processing apparatus for face detection, and digital image processing apparatus employing the method
KR100468871B1 (en) Method for automatic focusing within camera wherein second-order function is utilized
US20080266239A1 (en) Imaging device having display brightness control function
US20040257459A1 (en) Method of controlling portable digital apparatus where folder icons move
KR101193460B1 (en) Method of matrix filtering within digital image processing apparatus
JP2019161247A (en) Projection type display device and control method thereof
KR100515961B1 (en) Method of controlling digital camera performing re-compression
JP6315239B2 (en) Imaging apparatus, imaging method, image processing apparatus, imaging program
KR20040025379A (en) Method for managing data files within portable digital apparatus, utilizing representative voice
KR100515964B1 (en) Method for controlling portable digital apparatus wherein folder icons are adaptively displayed
KR101543765B1 (en) Camera unit and multimedia information appliance having the same
KR101289802B1 (en) Digital image processing apparatus wherein auto focusing is performed
KR101204803B1 (en) Method to efficiently process data of bayer pattern
KR101345292B1 (en) Method of controlling digital image processing apparatus wherein face area is efficiently searched, and digital image processing apparatus adopting the method
EP2709351B1 (en) Imaging apparatus, and control method thereof
KR101144875B1 (en) Digital image processing device and diplay method of the device
KR101612448B1 (en) Apparatus for processing digital image and method for controlling thereof

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150925

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160929

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170927

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee