KR20150085665A - Apparatus and method for processing image - Google Patents
Apparatus and method for processing image Download PDFInfo
- Publication number
- KR20150085665A KR20150085665A KR1020140005600A KR20140005600A KR20150085665A KR 20150085665 A KR20150085665 A KR 20150085665A KR 1020140005600 A KR1020140005600 A KR 1020140005600A KR 20140005600 A KR20140005600 A KR 20140005600A KR 20150085665 A KR20150085665 A KR 20150085665A
- Authority
- KR
- South Korea
- Prior art keywords
- decoding
- digital signal
- software
- video
- decoder
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/177—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a group of pictures [GOP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
본 발명은 영상 처리 장치 및 방법에 관한 것이다.The present invention relates to an image processing apparatus and method.
디지털 비디오 레코더 또는 네트워크 비디오 레코더와 같은 영상 기록 저장 장치는 적어도 하나 이상의 감시 카메라와 연결되어, 선택된 카메라로부터 수신한 영상을 저장하거나, 디코딩 및 디스플레이 처리하여 모니터로 출력한다.A video recorder such as a digital video recorder or a network video recorder is connected to at least one surveillance camera and stores the image received from the selected camera, decodes and displays the image, and outputs the image to the monitor.
이러한 영상 기록 저장 장치에는 DSP(digital signal process) 칩과 메인 칩이 장착되어 있다. 여기서 DSP 칩이 코덱, 메모리, 하드웨어 오류 등의 예기치 않은 문제에 의해 고장난 경우에는 자체적으로 DSP 칩을 리셋하여 복구하는 기능이 구비되어 있다. 그러나, DSP 칩을 복수하는 동안 영상 기록 장치로 입력되는 영상을 디코딩할 수 없기 때문에 영상이 멈춰있거나 디스플레이 되지 않는 문제가 발생한다. 이러한 경우 사용자는 중요한 영상 정보를 손실하여 녹화 영상 및 라이브 영상을 정상적으로 저장하거나 출력할 수 없게 된다.Such a video recording and storing device is equipped with a DSP (digital signal process) chip and a main chip. In this case, if the DSP chip is broken due to an unexpected problem such as a codec, a memory, or a hardware error, a function of resetting the DSP chip by itself is provided. However, since an image input to the video recording apparatus can not be decoded while a plurality of DSP chips are being multiplexed, there arises a problem that the video is stopped or not displayed. In this case, the user loses important video information and can not normally record or output the recorded video or live video.
본 발명이 해결하고자 하는 기술적인 과제는 하드웨어 디코딩을 수행하는 디지털 신호 처리부에 오류가 발생되는 경우 오류가 복구되기 전까지 소프트웨어 디코딩을 수행하도록 하여 영상 정보를 손실을 방지하고, 영상의 정상적인 저장 또는 출력을 유지할 수 있도록 하는 영상 처리 장치 및 방법을 제공하는데 있다.SUMMARY OF THE INVENTION It is a technical object of the present invention to provide a digital signal processing apparatus and a digital signal processing method, And to provide a video processing apparatus and method capable of maintaining the same.
본 발명이 이루고자 하는 기술적인 과제를 해결하기 위한 일 실시 예에 따른 영상 처리 장치는 영상 및 음성신호를 디코딩하는 하드웨어 디코더를 포함하는 디지털 신호 처리부; 및 상기 디지털 신호 처리부의 상태를 모니터링하고, 상기 디지털 신호 처리부로부터 신호가 수신되지 않을 경우, 상기 디지털 신호 처리부의 오류 발생을 나타내는 이벤트 신호에 응답하여 소프트웨어 디코더를 로딩하고, 상기 영상 및 음성신호를 상기 소프트웨어 디코더로 디코딩하는 메인 프로세서;를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an image processing apparatus comprising: a digital signal processor including a hardware decoder for decoding video and audio signals; And a controller for monitoring the state of the digital signal processor and loading a software decoder in response to an event signal indicating occurrence of an error of the digital signal processor when the signal is not received from the digital signal processor, And a main processor for decoding the decoded data into a software decoder.
본 발명에 있어서, 상기 메인 프로세서는, 상기 오류가 복구된 디지털 신호 처리부로부터 신호가 수신되는 경우, 상기 소프트웨어 디코더의 동작을 종료하고 상기 하드웨어 디코더의 동작을 재개하는 것을 특징으로 한다.In the present invention, when a signal is received from the digital signal processing unit in which the error is recovered, the main processor terminates the operation of the software decoder and restarts the operation of the hardware decoder.
본 발명에 있어서, 상기 메인 프로세서는, GOP(group of picture) 단위의 영상 신호 중 인트라 프레임을 소프트웨어 디코딩하거나, 또는 상기 영상신호의 해상도를 더 낮게 조정하여 소프트웨어 디코딩 하는 것을 특징으로 한다.In the present invention, the main processor software-decodes an intra frame of a video signal of a group of pictures (GOP) unit, or performs software decoding by adjusting the resolution of the video signal to a lower level.
본 발명이 이루고자 하는 기술적인 과제를 해결하기 위한 일 실시 예에 따른 영상 처리 방법은 디지털 신호 처리부에 포함된 하드웨어 디코더를 이용하여 영상 및 음성신호를 디코딩하는 하드웨어 디코딩 단계; 상기 디지털 신호 처리부로부터 신호가 수신되지 않을 경우, 상기 디지털 신호 처리부의 오류 발생을 나타내는 이벤트 신호를 발생하는 단계; 및 상기 이벤트 신호에 응답하여 소프트웨어 디코더를 로딩하고 상기 영상 및 음성신호를 상기 소프트웨어 디코더로 디코딩하는 소프트웨어 디코딩 단계;를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an image processing method including: a hardware decoding step of decoding an image and a speech signal using a hardware decoder included in a digital signal processing unit; Generating an event signal indicating an error occurrence of the digital signal processing unit when a signal is not received from the digital signal processing unit; And a software decoding step of loading a software decoder in response to the event signal and decoding the video and audio signals to the software decoder.
본 발명에 있어서, 상기 오류가 복구된 디지털 신호 처리부로부터 신호가 수신되는 경우, 상기 소프트웨어 디코딩의 동작을 종료하고 상기 하드웨어 디코딩의 동작을 재개하는 단계;를 더 포함하는 것을 특징으로 한다.The method may further include stopping the operation of the software decoding and resuming the operation of hardware decoding when a signal is received from the digital signal processing unit in which the error is recovered.
본 발명에 있어서, 상기 소프트웨어 디코딩 단계는, GOP(group of picture) 단위의 영상 신호 중 인트라 프레임을 소프트웨어 디코딩하거나, 또는 상기 영상신호의 해상도를 더 낮게 조정하여 소프트웨어 디코딩 하는 단계;를 포함하는 것을 특징으로 한다.In the present invention, the software decoding step comprises software decoding the intra frame of the video signal in a group of picture (GOP) unit, or performing software decoding by adjusting the resolution of the video signal to a lower level .
상술한 바와 같이 본 발명에 따르면, 하드웨어 디코딩을 수행하는 디지털 신호 처리부에 오류가 발생되는 경우 오류가 복구되기 전까지 소프트웨어 디코딩을 수행하도록 하여 영상 정보를 손실을 방지하고, 영상의 정상적인 저장 또는 출력을 유지할 수 있다.As described above, according to the present invention, when an error occurs in a digital signal processing unit that performs hardware decoding, software decoding is performed until an error is recovered, thereby preventing loss of image information and maintaining normal storage or output of an image .
도 1은 본 발명의 일 실시 예에 따른 영상 처리 장치의 구성을 보이는 블록도 이다.
도 2는 본 발명의 일 실시 예에 따른 소프트웨어 디코딩을 설명하는 도면이다.
도 3은 본 발명의 일 실시 예에 따른 영상 처리 방법의 동작을 보이는 흐름도 이다.1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.
2 is a diagram illustrating software decoding in accordance with an embodiment of the present invention.
3 is a flowchart illustrating an operation of an image processing method according to an exemplary embodiment of the present invention.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 설명되는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 아래에서 제시되는 실시 예들로 한정되는 것이 아니라, 서로 다른 다양한 형태로 구현될 수 있고, 본 발명의 사상 및 기술 범위에 포함되는 모든 변환, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 아래에 제시되는 실시 예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.Brief Description of the Drawings The advantages and features of the present invention, and the manner of achieving them, will be apparent from and elucidated with reference to the embodiments described in conjunction with the accompanying drawings. It should be understood, however, that the present invention is not limited to the embodiments set forth herein, but may be embodied in many different forms and includes all conversions, equivalents, and alternatives falling within the spirit and scope of the present invention . BRIEF DESCRIPTION OF THE DRAWINGS The above and other aspects of the present invention will become more apparent by describing in detail preferred embodiments thereof with reference to the attached drawings. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
본 출원에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. 제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof. The terms first, second, etc. may be used to describe various elements, but the elements should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.
이하, 본 발명에 따른 실시 예들을 첨부된 도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 동일하거나 대응하는 구성 요소는 동일한 도면번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. .
도 1은 본 발명의 일 실시 예에 따른 영상 처리 장치의 구성을 보이는 블록도 이다. 도 1을 참조하면, 영상 처리 장치는 복수의 네트워크 카메라(100), 네트워크(200), 영상 처리 수단(300) 및 디스플레이 수단(400)을 포함한다.1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. Referring to FIG. 1, an image processing apparatus includes a plurality of
네트워크 카메라(100)는 임의의 영역에 적어도 하나 이상 설치되고, 촬영 영상을 디지털 영상 신호로 출력하고 네트워크(200)를 통하여 디지털 비디오 레코더 또는 네트워크 비디오 레코더와 같은 영상 저장 수단(400)으로 출력한다. 네트워크 카메라(100)는 특정 장소의 고정된 위치에 배치되는 스피드 돔 카메라일 수 있다. 또한 네트워크 카메라(100)는 고정렌즈가 구비되어 촬영 범위가 고정된 단일 고정식 카메라로 구성될 수 있고, 또는 촬영 범위가 가변적인 PTZ(pan-tilt-zoom) 카메라로 구성될 수 있다. 여기서 PTZ 카메라는 수평 방향으로 회전되는 팬(pan) 동작과 수직 방향으로 회전되는 틸트(tilt) 동작 및 줌인/줌아웃(zoom in/zoom out) 동작에 의해 한 대의 카메라로 다양한 감시 영역을 용이하게 변경시킬 수 있다. At least one
영상 처리 수단(300)은 적어도 하나 이상의 네트워크 카메라(100)가 촬영한 영상 및 음성 신호를 하드웨어 디코더로 디코딩하여 저장 또는 출력 중에 오류 발생으로 하드웨어 디코더가 동작하지 않을 경우, 소프트웨어 디코더로 영상 및 음성신호를 디코딩하여 저장 및 출력함으로써 영상 및 음성 정보를 손실을 방지하고, 영상 및 음성 정보의 정상적인 저장 또는 출력을 유지할 수 있도록 한다.When the hardware decoder is not operated due to an error during decoding or decoding of the video and audio signals captured by at least one or
이러한 영상 처리 수단(300)은 디지털 신호 처리부(310), 메인 프로세서(330) 및 RAM(read access memory)(350)을 포함할 수 있다.The image processing means 300 may include a digital
디지털 신호 처리부(310)는 네트워크 카메라(100)로부터 입력되는 영상 및 음성 신호에 대하여 노이즈를 저감하고, 감마 보정(Gamma Correction), 색필터 배열보간(color filter array interpolation), 색 매트릭스(color matrix), 색보정(color correction), 색 향상(color enhancement) 등의 화질 개선을 위한 영상 신호 처리를 수행한다. 또한, 디지털 신호 처리부(310)는 기능적으로 색채 처리, 블러 처리, 에지 강조 처리, 영상 해석 처리, 영상 인식 처리, 영상 이펙트 처리 등도 행할 수 있다. The digital
이러한 디지털 신호 처리부(310)는 하드웨어 디코더(311)를 포함할 수 있다. 하드웨어 디코더(311)는 네트워크 카메라(100)로부터 입력되는 영상 및 음성 신호에 대해 디코딩을 수행한다. 여기서 하드웨어 디코더(311)는 디지털 신호 처리부(310)에 빌트-인(built-in) 형태로 구비되고, 회로 로직으로 구성된 디코더 이다. 일반적으로 하드웨어 디코더(311)가 영상 및 음성 신호의 디코딩을 수행하면, 메인 프로세서(330)의 제어에 의해 디코딩된 영상 및 음성신호가 영상 처리 수단(300) 내에 저장되거나 라이브 영상으로 디스플레이 수단(400)에 출력된다.The
메인 프로세서(330)는 영상 처리 수단(300)의 전반적인 동작을 제어하며, 특히 디지털 신호 처리부(310)를 모니터링 한다. 여기서, 모니터링이라 함은, 디지털 신호 처리부(310)로부터 주기적으로 신호(예를 들어, 디코딩 요청에 응답한 디코딩 완료 신호)를 수신하고, 그에 적합한 제어신호(예를 들어, 다음 디코딩 요청 신호 또는 다른 영상 처리 신호 등)를 디지털 신호 처리부(310)로 출력함을 나타낸다.The
본 실시 예에서 메인 프로세서(330)는 디지털 신호 처리부(310)의 모니터링 중에 디지털 신호 처리부(310)로부터 신호가 수신되지 않는 경우 RAM(350)으로부터 소프트웨어 디코더(335)를 로딩하여, 메인 프로세서(330)에서 영상 및 음성 신호에 대 소프트웨어 디코딩을 수행한다.The
이러한 메인 프로세서(330)는 이벤트 판단부(331), 소프트웨어 디코딩부(333) 및 제어부(335)를 포함할 수 있다.The
이벤트 판단부(331)는 디지털 신호 처리부(310)의 모니터링 중에 디지털 신호 처리부(310)로부터 신호가 수신되지 않는 경우 이벤트를 발생한다. 여기서 디지털 신호 처리부(310)로부터 신호가 수신되지 않는 경우는, 디지털 신호 처리부(310) 내부의 코덱, 메모리, 하드웨어 오류 등의 예기치 않은 문제에 의해 고장난 경우로, 이와 같은 경우 디지털 신호 처리부(310)는 자체적으로 리셋을 수행한다. 디지털 신호 처리부(310)가 리셋을 수행하게 되면 하드웨어 디코더(311)는 더 이상 동작하지 않게 된다.The
소프트웨어 디코딩부(333)는 이벤트 판단부(331)의 이벤트 발생 신호에 응답하여 RAM(350)으로부터 소프트웨어 디코더(531)를 로드하고, 영상 및 음성 신호에 대해 소프트웨어 디코딩을 수행한다. 여기서 소프트웨어 디코더(531)는 하드웨어 디코더(531)의 동작이 중지되어 오류가 복구될 때까지 디코딩 동작을 수행한다. 또한 소프트웨어 디코더(351)는 ffmpeg 같은 라이브러리로써, 소프트웨어적으로 영상 및 음성 신호를 디코딩한다. 소프트웨어 디코더(351)는 영상 및 오디오에 사용될 수 있는 코덱 라이브러리로써, 영상에 대해서는 H.264, MPEG-4, MJPEG 등을 사용할 수 있고, 음성에 대해서는 AAC, MP3 등을 이용해서 디코딩을 수행한다.The
제어부(335)는 이벤트 생성 및 소멸에 따른 소프트웨어 디코딩부(333) 및 하드웨어 디코더(311)의 동작을 제어하며, 특히 하드웨어 디코더(311) 및 소프트웨어 디코더(351)의 성능 비교를 통하여, 소프트웨어 디코더(351)의 디코딩량을 제어한다. 제어부(335)는 소프트웨어 디코딩부(333)에서 동작되는 소프트웨어 디코더(351)의 성능이 하드웨어 디코더(311)의 성능을 대체할 수 없는 경우, GOP(group of picture) 단위의 영상 신호 중 인트라 프레임을 소프트웨어 디코딩하거나, 또는 영상신호의 해상도를 더 낮게 조정하여 소프트웨어 디코딩 하도록 제어할 수 있다.The
도 2는 소프트웨어 디코딩부(333)에서 동작되는 소프트웨어 디코더(351)의 디코딩량 조정을 설명하는 도면이다.2 is a view for explaining the adjustment of the decoding amount of the
네트워크 카메라(100)로부터 수신한 영상은, 영상 프레임 픽쳐 그룹(GOP: group of picture)에 포함된 인트라(I: intra) 프레임, 예측(P: predicted) 프레임 및 양방향(B: bidirectional) 프레임들을 포함한다. 인트라(I) 프레임은 키 프레임으로써 이전프레임들을 참조하지 않고 압축되는 독립적인 프레임으로, 화질이 가장 좋고 용량도 가장 크다. 예측(P) 프레임은 이전 인트라(I) 프레임 또는 이전 예측(P) 프레임을 정보를 바탕으로 구성된 프레임으로써 화질과 용량은 중간급이다. 예측(P) 프레임은 이전 인트라(I) 프레임 또는 이전 예측(P) 프레임을 참조하여 변동된 내용만을 압축한다. 인트라(I) 프레임과 예측(P) 프레임은 다음의 다른 프레임들을 위해 참조 프레임(reference frame)으로 이용된다. 그리고 양방향(B) 프레임은 가장 낮은 화질 및 용량을 가지며, 압축을 위해 전후 참조 프레임 즉, 인트라(I) 프레임 및 예측(P) 프레임이 요구된다. An image received from the
제어부(335)는 소프트웨어 디코더(351)의 성능이 하드웨어 디코더(311)의 성능을 대체할 수 없는 경우, GOP(group of picture) 단위의 영상 신호 중 예측(P) 프레임 및 양방향(B) 프레임을 디코딩에서 누락시키고 인트라(I) 프레임만을 소프트웨어 디코딩하도록 제어한다.The
다른 실시 예로, 제어부(335)는 소프트웨어 디코더(351)의 성능이 하드웨어 디코더(311)의 성능을 대체할 수 없는 경우, 해상도를 현재 영상의 해상도(예를 들어, 1920×1080) 보다 더 낮은 해상도(예를 들어, 720×480)로 조정하고, 더 낮게 조정된 해상도의 영상을 소프트웨어 디코딩하도록 제어할 수 있다.If the performance of the
디지털 신호 처리부(310)의 오류로 이벤트가 발생한 경우, 소프트웨어 디코딩부(333)에서 동작되는 소프트웨어 디코더(351)가 영상 및 음성 신호의 디코딩을 수행하면, 메인 프로세서(330)의 제어에 의해 디코딩된 영상 및 음성신호가 영상 처리 수단(300) 내에 저장되거나 라이브 영상으로 디스플레이 수단(400)에 출력된다.When an event occurs due to an error of the digital
디지털 신호 처리부(310)가 자체적인 리셋 기능을 수행하여 오류가 복구되면, 메인 프로세서(330)는 다시 디지털 신호 처리부(310)로부터 신호를 수신하게 된다. 이와 같은 경우 이벤트 판단부(330)는 이벤트 해지 신호를 생성한다. 이벤트 해지 신호에 응답하여 제어부(335)는 소프트웨어 디코딩부(333)의 동작을 중단하고, 하드웨어 디코더(311)의 동작을 재개하여, 영상 및 음성 신호가 하드웨어 디코더(311)에 의해 디코딩 되도록 제어한다.When the
이와 같이 하드웨어 디코딩을 수행하는 디지털 신호 처리부에 오류가 발생되는 경우 오류가 복구되기 전까지 소프트웨어 디코딩을 수행하도록 하여 영상 정보를 손실을 방지하고, 영상의 정상적인 저장 또는 출력을 유지할 수 있게 된다.If an error occurs in the digital signal processing unit performing hardware decoding, software decoding is performed until the error is recovered, thereby preventing loss of image information and maintaining normal storage or output of the image.
디스플레이 수단(400)은 영상 처리 수단(300)에서 처리된 영상 및 음성 신호를 디스플레이 한다. 디스플레이 수단(400)은 사용자가 모니터 하고자 하는 적어도 하나 이상의 채널 영상을 분할하여 디스플레이 할 수 있다. 즉, 디스플레이 수단(400)은 화면을 2개, 4개, 8개 등으로 분할하고, 분할한 화면에 각 채널의 영상을 디스플레이 할 수 있다. 이러한 디스플레이 수단(400)은 액정 디스플레이 패널(LCD), 유기 발광 디스플레이 패널(OLED), 전기 영동 디스플레이 패널(EPD) 등으로 이루어질 수 있다. 디스플레이 수단(400)은 사용자의 터치를 통하여 입력을 받을 수 있도록 터치스크린 형태로 구비되어, 입력 인터페이스로서 동작할 수 있다.The display means 400 displays the video and audio signals processed by the video processing means 300. The display means 400 may divide and display at least one channel image to be monitored by the user. That is, the display means 400 can divide the screen into two, four, eight, etc., and display the image of each channel on the divided screen. The display means 400 may include a liquid crystal display panel (LCD), an organic light emitting display panel (OLED), and an electrophoretic display panel (EPD). The display means 400 may be provided as a touch screen so as to receive input through a user's touch, and may operate as an input interface.
본 실시 예에서는 디지털 비디오 레코더 또는 네트워크 비디오 레코더와 같은 영상 처리 수단(300)에 국한하여 설명하였으나, 이에 국한되지 않고, 디지털 신호 처리부 및 메인 프로세서를 구비한 어떠한 영상 처리 장치에서도 구현이 가능하다. In the present embodiment, the description has been given only to the image processing means 300 such as a digital video recorder or a network video recorder. However, the present invention is not limited thereto, and can be implemented in any image processing apparatus having a digital signal processing unit and a main processor.
이어서, 도 3을 참조하여 본 발명의 일 실시 예에 따른 영상 처리 방법을 설명하기로 한다. 본 발명에 따른 영상 처리 방법은 도 1에 도시된 바와 같이 주변 구성요소들의 도움을 받아 영상 처리 수단에서 수행될 수 있다. 이하의 설명에서 도 1 및 도 2에 대한 설명과 중복되는 부분은 그 설명을 생략하기로 한다.Next, an image processing method according to an embodiment of the present invention will be described with reference to FIG. The image processing method according to the present invention can be performed in the image processing means with the help of peripheral components as shown in FIG. In the following description, the description of the parts that are the same as those in FIG. 1 and FIG. 2 will be omitted.
영상 처리 수단은 디지털 신호 처리부에 포함된 하드웨어 디코더를 이용하여 The image processing means uses a hardware decoder included in the digital signal processing unit
영상 및 음성신호를 디코딩하는 하드웨어 디코딩을 수행한다(S110). 하드웨어 디코딩이 수행되면, 디코딩 결과가 영상 처리 수단 내에 저장되거나 또는 디스플레이 수단으로 출력될 수 있다.Hardware decoding for decoding the video and audio signals is performed (S110). When the hardware decoding is performed, the decoding result may be stored in the image processing means or output to the display means.
디지털 신호 처리부를 모니터링하는 메인 프로세서가, 디지털 신호 처리부로부터 신호를 수신하지 못한 경우, 디지털 신호 처리부에 오류 발생을 나타내는 이벤트 신호를 발생한다(S120). 메인 프로세서가 디지털 신호 처리부로부터 신호를 수신하지 못하는 경우는, 디지털 신호 처리부 내부의 코덱, 메모리, 하드웨어 오류 등의 예기치 않은 문제에 의해 고장난 경우이며, 이와 같은 경우 메인 프로세서는 이벤트를 발생한다.When the main processor for monitoring the digital signal processing unit fails to receive a signal from the digital signal processing unit, it generates an event signal indicating occurrence of an error in the digital signal processing unit (S120). When the main processor fails to receive a signal from the digital signal processing unit, the main processor malfunctions due to an unexpected problem such as codec, memory, or hardware error in the digital signal processing unit. In this case, the main processor generates an event.
메인 프로세서는 이벤트 신호에 응답하여 소프트웨어 디코더를 로딩하고, 영상 및 음성신호를 소프트웨어 디코더로 디코딩하는 소프트웨어 디코딩을 수행한다(S130). 이벤트 신호가 발생하면 디지털 신호 처리부는 리셋을 수행하고, 디지털 신호 처리부가 리셋을 수행할 동안의 디코딩 동작을 소프트웨어 디코딩으로 대체한다. 소프트웨어 디코딩이 수행되면, 디코딩 결과가 영상 처리 수단 내에 저장되거나 또는 디스플레이 수단으로 출력될 수 있다. 여기서 메인 프로세서는 소프트웨어 디코더의 성능이 하드웨어 디코더의 성능을 대체할 수 없는 경우, GOP(group of picture) 단위의 영상 신호 중 예측(P) 프레임 및 양방향(B) 프레임을 디코딩에서 누락시키고 인트라(I) 프레임만을 소프트웨어 디코딩하도록 제어하거나, 해상도를 현재 영상의 해상도(예를 들어, 1920×1080) 보다 더 낮은 해상도(예를 들어, 720×480)로 조정하고, 더 낮게 조정된 해상도의 영상을 소프트웨어 디코딩하도록 제어할 수 있다.The main processor loads the software decoder in response to the event signal, and performs software decoding to decode the video and audio signals into a software decoder (S130). When an event signal is generated, the digital signal processing unit performs resetting, and the digital signal processing unit replaces the decoding operation during software reset with software decoding. When the software decoding is performed, the decoding result may be stored in the image processing means or output to the display means. Herein, when the performance of the software decoder can not replace the performance of the hardware decoder, the main processor misses the prediction (P) frame and the bidirectional (B) frame from the decoding in the GOP (group of picture) ) Frame, or to adjust the resolution to a lower resolution (for example, 720 x 480) than the resolution of the current image (e.g., 1920 x 1080) Decoded.
메인 프로세서는 리셋을 통하여 오류가 복구된 디지털 신호 처리부로부터 신호가 수신되었는지 판단한다(S140). 디지털 신호 처리부로부터 신호가 수신되지 않은 경우 소프트웨어 디코딩 동작을 계속 수행한다.The main processor determines whether a signal is received from the digital signal processing unit in which the error is recovered through reset (S140). If the signal is not received from the digital signal processing unit, the software decoding operation is continued.
오류가 복구된 디지털 신호 처리부로부터 신호가 수신된 경우, 메인 프로세서는 이벤트 해지 신호를 생성함과 동시에, 소프트웨어 디코딩의 동작을 종료하고 하드웨어 디코딩의 동작을 재개한다(S140).When a signal is received from the recovered digital signal processor, the main processor generates an event cancel signal, terminates the operation of software decoding, and resumes the operation of hardware decoding (S140).
본 발명의 다양한 실시 예들은 어떠한 방법으로도 본 발명의 범위를 한정하지 않는다. 명세서의 간결함을 위하여, 종래 전자적인 구성들, 제어 시스템들, 소프트웨어, 상기 시스템들의 다른 기능적인 측면들의 기재는 생략될 수 있다. 또한, 도면에 도시된 구성 요소들 간의 선들의 연결 또는 연결 부재들은 기능적인 연결 및/또는 물리적 또는 회로적 연결들을 예시적으로 나타낸 것이며, 실제 장치에서는 대체 가능하거나 추가적인 다양한 기능적인 연결, 물리적인 연결, 또는 회로 연결들로 구현될 수 있다. 또한, "필수적인", "중요하게" 등과 같은 구체적인 언급이 없다면, 본 발명의 실시를 위하여 반드시 필요한 구성 요소가 아닐 수 있다.The various embodiments of the invention are not intended to limit the scope of the invention in any way. For brevity of description, descriptions of conventional electronic configurations, control systems, software, and other functional aspects of such systems may be omitted. Also, the connections or connection members of the lines between the components shown in the figures are illustrative of functional connections and / or physical or circuit connections and may be replaced or additionally provided with various functional connections, physical connections , Or circuit connections. Also, unless stated otherwise such as "essential "," importantly ", and the like, it may not be a necessary component for the practice of the present invention.
본 발명의 명세서(특히 특허청구범위에서)에서 "상기"의 용어 및 이와 유사한 지시 용어의 사용은 단수 및 복수 모두에 해당하는 것일 수 있다. 또한, 본 발명에서 범위(range)를 기재한 경우 상기 범위에 속하는 개별적인 값을 적용한 발명을 포함하는 것으로서(이에 반하는 기재가 없다면), 발명의 상세한 설명에 상기 범위를 구성하는 각 개별적인 값을 기재한 것과 같다. The use of the terms "above" and similar indication words in the specification of the present invention (particularly in the claims) may refer to both singular and plural. In addition, in the present invention, when a range is described, it includes the invention to which the individual values belonging to the above range are applied (unless there is contradiction thereto), and each individual value constituting the above range is described in the detailed description of the invention The same.
본 발명에 따른 방법을 구성하는 단계들에 대하여 명백하게 순서를 기재하거나 반하는 기재가 없다면, 상기 단계들은 적당한 순서로 행해질 수 있다. 반드시 상기 단계들의 기재 순서에 따라 본 발명이 한정되는 것은 아니다. 본 발명에서 모든 예들 또는 예시적인 용어(예들 들어, 등등)의 사용은 단순히 본 발명을 상세히 설명하기 위한 것으로서 특허청구범위에 의해 한정되지 않는 이상 상기 예들 또는 예시적인 용어로 인해 본 발명의 범위가 한정되는 것은 아니다. 또한, 당업자는 다양한 수정, 조합 및 변경이 부가된 특허청구범위 또는 그 균등물의 범주 내에서 설계 조건 및 팩터에 따라 구성될 수 있음을 알 수 있다.Unless there is explicitly stated or contrary to the description of the steps constituting the method according to the invention, the steps may be carried out in any suitable order. The present invention is not necessarily limited to the order of description of the above steps. The use of all examples or exemplary language (e.g., etc.) in this invention is for the purpose of describing the present invention only in detail and is not to be limited by the scope of the claims, It is not. It will also be appreciated by those skilled in the art that various modifications, combinations, and alterations may be made depending on design criteria and factors within the scope of the appended claims or equivalents thereof.
따라서, 본 발명의 사상은 상기 설명된 실시 예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 또는 이로부터 등가적으로 변경된 모든 범위는 본 발명의 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be construed as being limited to the above-described embodiments, and all ranges that are equivalent to or equivalent to the claims of the present invention as well as the claims .
100: 네트워크 카메라 200: 네트워크
300: 영상 처리 수단 310: 디지털 신호 처리부
311: 하드웨어 디코더 330: 메인 프로세서
331: 이벤트 판단부 333: 소프트웨어 디코딩부
335: 제어부 350: RAM
351: 소프트웨어 디코더 400: 디스플레이 수단100: network camera 200: network
300: image processing means 310: digital signal processing unit
311: Hardware decoder 330: Main processor
331: Event determination unit 333: Software decoding unit
335: control unit 350: RAM
351: Software decoder 400: Display means
Claims (6)
상기 디지털 신호 처리부의 상태를 모니터링하고, 상기 디지털 신호 처리부로부터 신호가 수신되지 않을 경우, 상기 디지털 신호 처리부의 오류 발생을 나타내는 이벤트 신호에 응답하여 소프트웨어 디코더를 로딩하고, 상기 영상 및 음성신호를 상기 소프트웨어 디코더로 디코딩하는 메인 프로세서;를 포함하는 것을 특징으로 하는 영상 처리 장치.A digital signal processor including a hardware decoder for decoding video and audio signals; And
The method comprising: monitoring a state of the digital signal processing unit; loading a software decoder in response to an event signal indicating occurrence of an error in the digital signal processing unit when the signal is not received from the digital signal processing unit; And a main processor for decoding the image data with a decoder.
상기 오류가 복구된 디지털 신호 처리부로부터 신호가 수신되는 경우, 상기 소프트웨어 디코더의 동작을 종료하고 상기 하드웨어 디코더의 동작을 재개하는 것을 특징으로 하는 영상 처리 장치.The information processing apparatus according to claim 1,
And terminates the operation of the software decoder and resumes the operation of the hardware decoder when a signal is received from the digital signal processing unit in which the error is recovered.
GOP(group of picture) 단위의 영상 신호 중 인트라 프레임을 소프트웨어 디코딩하거나, 또는 상기 영상신호의 해상도를 더 낮게 조정하여 소프트웨어 디코딩 하는 것을 특징으로 하는 영상 처리 장치.The information processing apparatus according to claim 1,
Wherein software decoding of an intra frame of a video signal of a group of pictures (GOP) unit is performed, or software decoding is performed by adjusting the resolution of the video signal to a lower level.
상기 디지털 신호 처리부로부터 신호가 수신되지 않을 경우, 상기 디지털 신호 처리부의 오류 발생을 나타내는 이벤트 신호를 발생하는 단계; 및
상기 이벤트 신호에 응답하여 소프트웨어 디코더를 로딩하고 상기 영상 및 음성신호를 상기 소프트웨어 디코더로 디코딩하는 소프트웨어 디코딩 단계;를 포함하는 것을 특징으로 하는 영상 처리 방법.A hardware decoding step of decoding video and audio signals using a hardware decoder included in the digital signal processing unit;
Generating an event signal indicating an error occurrence of the digital signal processing unit when a signal is not received from the digital signal processing unit; And
And a software decoding step of loading a software decoder in response to the event signal and decoding the video and audio signals to the software decoder.
상기 오류가 복구된 디지털 신호 처리부로부터 신호가 수신되는 경우, 상기 소프트웨어 디코딩의 동작을 종료하고 상기 하드웨어 디코딩의 동작을 재개하는 단계;를 더 포함하는 것을 특징으로 하는 영상 처리 방법.The method according to claim 1,
And terminating the operation of the software decoding and resuming the operation of the hardware decoding when a signal is received from the digital signal processor after the error is recovered.
GOP(group of picture) 단위의 영상 신호 중 인트라 프레임을 소프트웨어 디코딩하거나, 또는 상기 영상신호의 해상도를 더 낮게 조정하여 소프트웨어 디코딩 하는 단계;를 포함하는 것을 특징으로 하는 영상 처리 방법.2. The method of claim 1,
And performing software decoding of an intra frame of a video signal of a group of pictures (GOP) unit, or software decoding by adjusting the resolution of the video signal to a lower level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140005600A KR102126869B1 (en) | 2014-01-16 | 2014-01-16 | Apparatus and method for processing image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140005600A KR102126869B1 (en) | 2014-01-16 | 2014-01-16 | Apparatus and method for processing image |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20150085665A true KR20150085665A (en) | 2015-07-24 |
KR102126869B1 KR102126869B1 (en) | 2020-06-25 |
Family
ID=53875877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140005600A KR102126869B1 (en) | 2014-01-16 | 2014-01-16 | Apparatus and method for processing image |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102126869B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898496A (en) * | 2015-11-18 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | HLS stream hardware decoding method based on Android device and device |
CN106559679A (en) * | 2015-09-28 | 2017-04-05 | 腾讯科技(深圳)有限公司 | Method, server and mobile terminal that video is decoded |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011255406A (en) | 2010-06-10 | 2011-12-22 | Meiko:Kk | Lead-free composite composition |
KR20120057384A (en) * | 2010-11-26 | 2012-06-05 | 엘지전자 주식회사 | Signal processing apparatus and method thereof |
-
2014
- 2014-01-16 KR KR1020140005600A patent/KR102126869B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011255406A (en) | 2010-06-10 | 2011-12-22 | Meiko:Kk | Lead-free composite composition |
KR20120057384A (en) * | 2010-11-26 | 2012-06-05 | 엘지전자 주식회사 | Signal processing apparatus and method thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106559679A (en) * | 2015-09-28 | 2017-04-05 | 腾讯科技(深圳)有限公司 | Method, server and mobile terminal that video is decoded |
CN106559679B (en) * | 2015-09-28 | 2019-10-08 | 腾讯科技(深圳)有限公司 | The decoded method of video, server and mobile terminal |
CN105898496A (en) * | 2015-11-18 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | HLS stream hardware decoding method based on Android device and device |
Also Published As
Publication number | Publication date |
---|---|
KR102126869B1 (en) | 2020-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220014717A1 (en) | Analytics-Drived Summary Views for Surveillance Networks | |
KR20070060612A (en) | Method for outputting a video signal in digital video recorder | |
JP4804378B2 (en) | Video display device and video display method | |
US20140244858A1 (en) | Communication system and relaying device | |
KR101218360B1 (en) | Security system and method of controlling thereof | |
JP2007243699A (en) | Method and apparatus for video recording and playback | |
JP6547097B2 (en) | Image processing apparatus and method | |
US10462346B2 (en) | Control apparatus, control method, and recording medium | |
JP2016127520A (en) | Image encoding/decoding system and diagnostic method therefor | |
KR20150085665A (en) | Apparatus and method for processing image | |
KR20080015994A (en) | Method for macro photographing of monitoring camera | |
KR100597917B1 (en) | Moving picture recording apparatus and system | |
KR101035489B1 (en) | A vehicle block box apparatus using a plurality of camera | |
US20140132800A1 (en) | Image processing apparatus and image processing method | |
JP2011205363A (en) | Video monitoring system | |
JP4487660B2 (en) | Image protection device and imaging device | |
KR102312681B1 (en) | System and Method of processing image | |
JP2007215032A (en) | Imaging apparatus and control method thereof | |
CN112911299A (en) | Video code rate control method and device, electronic equipment and storage medium | |
JP2006025060A (en) | Image protection apparatus, imaging apparatus and program | |
JP2002185834A (en) | Camera, terminal and camera supervisory system | |
JP2008262024A (en) | Image processor | |
KR20150026355A (en) | Apparatus and method for backup image | |
US11831985B2 (en) | Camera and control method | |
US11616929B2 (en) | Electronic apparatus and method of controlling the same, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right |