KR900008858B1 - Image sign apparatus by line buffer - Google Patents
Image sign apparatus by line buffer Download PDFInfo
- Publication number
- KR900008858B1 KR900008858B1 KR1019870015629A KR870015629A KR900008858B1 KR 900008858 B1 KR900008858 B1 KR 900008858B1 KR 1019870015629 A KR1019870015629 A KR 1019870015629A KR 870015629 A KR870015629 A KR 870015629A KR 900008858 B1 KR900008858 B1 KR 900008858B1
- Authority
- KR
- South Korea
- Prior art keywords
- line
- information
- address
- line buffer
- prom
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/12—Systems in which the television signal is transmitted via one channel or a plurality of parallel channels, the bandwidth of each channel being less than the bandwidth of the television signal
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Storing Facsimile Image Data (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
내용 없음.No content.
Description
제1도는 컴퓨터를 이용한 종래의 물체인식 블럭도.1 is a conventional object recognition block diagram using a computer.
제2도는 본 발명의 회로도.2 is a circuit diagram of the present invention.
제3도는 본 발명의 실시예를 나타낸 제2도의 상세회로도.3 is a detailed circuit diagram of FIG. 2 showing an embodiment of the present invention.
제4도는 256×256비트 크기에서의 2×2윈도우를 나타낸 도면.4 shows a 2x2 window in 256x256 bit size.
제5도는 정보 코드의 패턴5 is the pattern of the information code
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1, 2 : 라인 버퍼 3 : D플립플롭1, 2: Line buffer 3: D flip-flop
4 : 비트 어드레스용 2진 카운터 5 : 라이 어드레스용 2진 카운터4: binary counter for bit address 5: binary counter for lie address
6 : D플립플롭 어레이 7 : RPOM6: D flip-flop array 7: RPOM
8 : 정보코드 기록용 어드레스 카운터 9 : 정보코드 기록용 SRAM8: Address counter for information code recording 9: SRAM for information code recording
본 발명은 라이 버퍼를 이용한 영상 부호화 장치에 관한 것으로써, 더욱 상세하게는 컴퓨터를 이용한 영상 인식장치에 있어서 물체의 형태 정보를 갖고 있는 정보(Run-Lenghth)극 구하는 라인 버퍼를 이용한 영상 부호화 장치에 관한 것이다.The present invention relates to an image encoding apparatus using a lie buffer, and more particularly, to an image encoding apparatus using a line buffer for obtaining run-length poles having shape information of an object in an image recognition apparatus using a computer. It is about.
일반적으로 컴퓨터를 이용하여 물체를 인식하는 영상인식 분야에서 물체에 관한 여러가지 정보(예를 들면, 물체의 크기, 모양, 또는 색상)는 그 물체를 인식하기 위한 필요한 정보이다.In general, in the field of image recognition in which a computer is used to recognize an object, various pieces of information (eg, size, shape, or color) of the object are necessary information for recognizing the object.
종래의 영상처리 장치는 제1도에 도시한 바와 같이 상기한 정보들을 얻기 위하여 영상을 디지탈화하고 흑백의 2진 영상화하여 메모리에 저장하며, 컴퓨터와 중앙처리 장치가 소프트 웨어적인 방법으로 그 물체의 정보를 계산해 낸다.In the conventional image processing apparatus, as shown in FIG. 1, in order to obtain the above-mentioned information, the image is digitalized, a black-and-white binary image is stored in a memory, and the computer and the central processing unit use the software information of the object. Calculate
즉, 전체적인 처리시간에 큰 영향을 주는 부분은 영상처리를 하는 소프트웨어 부분으로 이는 중앙처리장치의 연산 능력에 결정된다.That is, the part which greatly affects the overall processing time is the software part which performs image processing, which is determined by the computing power of the central processing unit.
그러나, 상기한 바와 같은 종래의 소프트웨어에 관한 영상처리방법은 다음과 같은 문제점을 가지고 있다.However, the image processing method related to the conventional software as described above has the following problems.
첫째, 소프트 웨어에 의해 처리하는 방법은 처리속도에 제약을 받는다. 따라서 실시간 영상처리등을 필요로 하는 공작기계 또는 로보트등에는 활용이 제한된다.First, the processing by software is limited by the processing speed. Therefore, the application is limited to machine tools or robots that require real-time image processing.
둘째, 일반적인 정보(Run-Lenght)부호기는 단순히 정보의 길이만을 구하기 때문에 그 자체로는 큰 의미가 없고, 물체의 크기 등이 정보를 얻기 위해서는 다시 소프트 웨어적인 연산이 필요하다.Second, the Run-Lenght encoder does not have much meaning in itself because it simply finds the length of the information, and the size of the object requires software operation again to obtain the information.
셋째, 이웃하는 정보와의 관계도 전혀 알 수 없기 때문에 연산에 소요되는 시간이 길어지게 된다.Third, since the relationship with neighboring information is not known at all, the time required for calculation becomes long.
본 발명은 상기한 바와 같은 종래기술의 문제점을 해결하기 위하여 안출된 것으로, 하드 웨어적인 정보처리로 실시간에 가깝도록 시간을 단축하고, 얻어지 정보로부터 그 자체에 이웃하는 정보와의 상관관계를 구할 수 있는 라인 버퍼를 이용한 영상 부호화 장치를 제공하는데 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the problems of the prior art as described above, and reduces the time to near real time by hardware information processing, and obtains the correlation with information neighboring itself from the obtained information. An object of the present invention is to provide an image encoding apparatus using a line buffer.
상기한 바와 같은 목적을 달성하기 위하여 본 발명은, SRAM을 사용한 두개의 라인버퍼와, 2진 영상 데이타의 비트 어드레스 카운터 및 라인 어드레스 카운터와, 2×2윈도우용 D플립플롭 어레이와, 기준이 되는 정보의 패턴을 기억하고 있는 PROM과, 정보코드 기록용 어드레스 카운터와, 추출된 정보코드 기록용 SRAM을 포함하여 구성되는 라인 버퍼를 이용한 영상 부호화 장치를 제공한다.In order to achieve the above object, the present invention provides two line buffers using SRAM, a bit address counter and a line address counter of binary image data, a D flip-flop array for a 2x2 window, and reference. A video encoding apparatus using a line buffer configured to include a PROM storing a pattern of information, an address code recording address counter, and an extracted SRAM for information code recording.
이하, 본 발며의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
제2도는 본 발명의 회로도로써, (1, 2)는 라인 버퍼용 256×1비트 메모리, (3)은 스위치 회로용 D플립플롭, (4)는 비트 어드레스용 2진 카운터, (5)는 라인 어드레스용 2진 카운터, (6)은 2×2윈도우용 D플립플롭 어레이, (7)은 정보패턴 수록용 PROM, (8)은 정보코드 기록용 어드레스 카운터, (9)는 정보코드 기록용 SRAM이다.2 is a circuit diagram of the present invention, where (1, 2) is a 256 × 1 bit memory for line buffer, (3) a D flip-flop for switch circuit, (4) a binary counter for bit address, and (5) Binary counter for line address, (6) D flip-flop array for 2 x 2 windows, (7) PROM for information pattern recording, (8) address counter for information code recording, (9) for information code recording SRAM.
상기한 바와 같은 구성을 갖는 본발명의 바람직한 실시예를 제3도의 상세 회로도에 의하여 상세히 설명한다.A preferred embodiment of the present invention having the configuration as described above will be described in detail with reference to the detailed circuit diagram of FIG.
2진화된 영상 데이타가 라인 단위로 한 비트씩 직렬로 라인버퍼(1,2)에 각각 저장된다. 이때, 라인 버퍼의 선택은 최초에 라인 퍼버(1)로 선택되어지며, 한 라인의 비트가 모두 입력되며 이를 카운트한 비트 카운터(4)에 의해 캐리(carry)가 발생되고, 이에 의해 라인 버퍼 절환 스위치용 D플립플롭(3)의 상태반전에 의해 라인 버퍼(2)가 선택된다.The binarized image data is stored in the
즉, D플립플롭(3)의 출력신호가 하이레벨이면 라인버퍼(1)의 단자(R/)에는 이버터(IN1)에 의해 반전 된 로우레벨 신호가 인가되어 기입산태가 되고, 라인버퍼(2)의 단자(R/)에는 하이레벨 신호가 인가되어 독출상태가 된다.That is, when the output signal of the D flip-
이때, D플립플롭(3)의 출력신호는 토글링되는데, 이 토글링은 라인 어드레스(본원에서는 8비트 카운터이므로 매 256번째의 클럭마다)가 마지막 어드레스일 때 이루어진다.At this time, the output signal of the D flip-
[표 1]TABLE 1
상기한 표 1에서 라인 어드레스가 현재라인 i이면 라인버퍼(1)는 기입상태로써 라인 i의 영상 정보를 기록하고, 라인버퍼(2)는 독출상태로써 라인 i-1의 영상 정보를 출력한다. 만일 비트 어드레스가 m이 되면 다음 클럭 이전에 라인 어드레스가 1이 증가하며, 이때 라인버퍼(1)의 단자(R/)가 반전되어 독출상태가 되므로 라인 i의 영상정보를 출력하고, 라인 버퍼(2)는 기입상태가 되므로 라인 i+1의 영상정보를 기록하게 된다.In the above Table 1, if the line address is the current line i, the
2진화된 영상 데이타느 D플립플롭(61)에 입력되고, 이전에 라인버퍼(1,2)에 입력되었던 영상 데이타가 D플립플롭(63)에 입력되어 D플립플롭 어레이(6)는 2×2윈도우를 형성한다.The binarized image data is inputted to the D flip-
상기한 2×2윈도우는 제4도에 도시한 바와 같이 현재의 2×2윈도우와 바로 직전의 윈도우를 형성하여 이해를 돕도록 하였다.As shown in FIG. 4, the 2x2 window forms a window immediately before the current 2x2 window to assist in understanding.
2×2윈도우 데이타와 현재 가지 자신의 출력상태를 피이드백시킨 정보들을 입력으로 하여 정보코드의 형태를 정보패턴 수록용 PROM(7)에 의해 검색된다. 이때 PROM(7)에는 이미 제5도와 같은 정보 코드의 패턴들이 해당 어드레스에 기록되어져 있다.The form of the information code is retrieved by the information
본원에서는 임의로 START, LAST, JOINT, SPLIT등의 런(RUN)만 예로 들었으나. 프로그램에 따라서 보다 다양한 종류의 변형된 런의 정의로 가능하다.In the present application, only RUN such as START, LAST, JOINT, SPLIT, etc. are arbitrarily given as an example. Depending on the program, it is possible to define a wider variety of modified runs.
PROM(7)에는 제5도에 도시한 바와 같이 미리 정의된 각종 런에 대해 지정된 코드값을 갖게 된다.The
예를 들면 START RUN은 "fH", LAST RUN은 "8H"와 같이 임의로 정의 할 수 있다.For example, START RUN can be arbitrarily defined as “f H ” and LAST RUN as “8 H ”.
여기서, 첨자 "H"SMS 16진수를 뜻하는 것이다.Here, the subscript "H" stands for SMS hexadecimal.
PROM(7)의 어드레스(A0∼A3)는 현재 조사중인 D플립플롭 어레이(6)의 2×2의 윈도우의 여상신호가 인가되고, 어드레스(A4∼A7)은 이전데 발견된 런의 코드값이 인가되며, 출력 인에블 단자()에는 시스템 클럭이 인가된다. 따라서, 매 2×2윈도우에 의한 런의 발견 및 그 해당 코드값은 현재의 2×2윈도우를 영상신호 및 이전에 발견된 런의 종류에 의해서 결정되어질 수 있다.(본원에서는 런의 종류 지정을 특별히 정하지 않았다.)이를 제6도에 도시한 "A"글자의 화면을 예를 들어 설명한다.The address A 0 to A 3 of the
세로×가로가 11×12인 화면에 "A"라는 영상 정보가 있는 경우를 가정한다.It is assumed that there is image information "A" on a screen having a vertical X horizontal 11 x 12.
또한, 현재 진행중인 2×2윈도우의 위치가 {(0,1), (4,5)}라 가정한다. 여기서, (0,1)은 라인 0와 라인 1을 나타나고, (4,5)는 비트 4와 비트 5를 나타낸다. 이를 아래의 표 2에 나타낸면It is also assumed that the position of the 2 × 2 window currently in progress is {(0,1), (4,5)}. Here, (0, 1) represents
[표 2]TABLE 2
이다.to be.
이는 제5도에 도시한 START RUN에 해당된다. 따라서 해당 PROM(7)의 어드레스(A0∼A7=00010000)에 사전 기록되어 있는 START RUN의 코드(예를 들며 "F")등이 PROM(7)으로 출력된다.This corresponds to the START RUN shown in FIG. Therefore, the START RUN code (for example, "F") and the like which are pre-recorded at the addresses A0 to A7 = 00010000 of the
다음 클럭에 의해 2×2윈도우의 위치가 {(0,1),(5,6)}으로 이동하면 PROM(7)의 어드레스 (A0∼A7=0011 1111)과 같이 되어 제5도에 도시된 바와 같은 START RUN의 해당 런이 아니므로 PROM(7)의 출력은 "0"이 된다.When the position of the 2x2 window is moved to {(0,1), (5,6)} by the next clock, it becomes the address (A 0 to A 7 = 0011 1111) of the
여기서, A0∼A3의 0011은 윈도우의 영상신호에 의한 값이고, A4∼A7의 1111은 이전 런의 코드값 출력에 의한 "F"의 값이다.Here, 0011 of A 0 to A 3 is a value based on a video signal of a window, and 1111 of A 4 to A 7 is a value of "F" by outputting a code value of a previous run.
다음에 다시 윈도우의 위치가 {(0,1), (6,7)}으로 이동하면 PROM(7)의 어드레스(A0∼A7=0011 0000)과 같이 도어 제5도에 도시된 바와 같은 START RUN의 해당 런이 아니므로 PROM(7)의 출력은 "0"이 된다.Next, when the position of the window is moved to {(0,1), (6,7)} again, as shown in FIG. 5 of the door as shown in the address (A 0 to A 7 = 0011 0000) of the
마찬가지로 다음번 윈도우는 {(0,1), (7,8)}으로 PROM(7)의 어드레스(A0∼A7=00100000)과 같이 되어 제5도에 도시된 바와 같이 START RUN에 해당하므로 PROM(7)의 출력은 'F"가 되며, 이 출력값도 D0에 의해 기록된다.Similarly, the next window is {(0,1), (7,8)}, which is the same as the address (A 0 to A 7 = 00100000) of the
다음에 라인(0,1)에 대해서는 아무런 런도 더이상 검출되지 않는다.Next, no run is detected any more for line (0, 1).
따라서, 정보코드 기록용 SRAM(9)의 코드 메모리(91)에는 "F"와 "F"가 기록되고, 라인 어드레스 메모리(93)에느 (0,1)의 "1"이 기록되며, 비트 어드레스 메모리(93)에는 (4,5)의 "5"와 (6,7)의 "7"이 기록된다.Therefore, " F " and " F " are recorded in the
결국, 전체적인 시스템의 정보 코드 기록용 SRAMT(9)에는 (F,1,5)와 (F,1,7)이 순차적으로 기록되어 1번째 라인의 START RUN(F코드)가 위치 비트 5에서 7까지 계속됨을 기록할 수 있게 된다.As a result, (F, 1,5) and (F, 1,7) are sequentially recorded in the
이와 같이 해서 순차적으로 모든 라인의 코딩이 끝나게 되면 전체 시스템의 메모리는 "A"라는 화면 정보의 코드화된 영상정보(런의 종류, 라인번호, 비트위치번호)를 갖게 된다. 이후 컴퓨터에 의해 상기한 정보의 처리가 가능하게 된다.In this way, when all lines are sequentially coded, the memory of the entire system has coded image information (type of run, line number, bit position number) of screen information "A". Thereafter, the computer can process the above information.
즉, 2×2 윈도우용 데이타 형태가 PROM(7)내에 기억하고 있는 형태와 일치되면 클럭신호에 동기된 출력이 PROM(7)의 출력단자(D0∼D3)를 통하여 코드의 기록용 SRAM(91)에 입력되고, 비트 어드레스와 라인어드레스가 각각 SRAM(92,93)에 저장된다.That is, if the data format of the 2x2 window matches the type stored in the
또한, 특정한 정보코드가 발생됨을 알리는 정보 패턴 수록용 PROM(7)의 출력(D0)에 따라서 클럭과 동기된 어드레스 증가펄스가 앤드게이트(AN1)를 통해 출력되면 어드레스 카운터(8)는 그때에 따라 정보코드 기록용 SRAM(9)의 어드레스를 증가시킨다.Further, if an address increase pulse synchronized with the clock is output through the AND gate AN1 according to the output D0 of the information
이와 같은 과정이 모든 영상 데이타를 처리하면 종료하게 된다.This process ends when all the image data is processed.
상기한 바와 같이 본 발명에 의하며, 종래의 하드 웨어적인 처리방법에서는 단순히 현재 라인에 발생된 정보의 길이와 발생위치만을 얻을 수 있는 데 반하여 본 발명에서는 발생된 정보와 다른 이웃하는 정보와의 관계를 파악할 수 있으며, 소프트 웨어로 처리하는 종래의 방법에 비해 처리시간을 대폭 단축할 수 있는 이점이 있다.As described above, according to the present invention, in the conventional hardware processing method, only the length and location of information generated on the current line can be obtained, whereas in the present invention, the relationship between generated information and other neighboring information is obtained. It is possible to grasp, and there is an advantage that can significantly reduce the processing time compared to the conventional method of processing with software.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019870015629A KR900008858B1 (en) | 1987-12-31 | 1987-12-31 | Image sign apparatus by line buffer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019870015629A KR900008858B1 (en) | 1987-12-31 | 1987-12-31 | Image sign apparatus by line buffer |
Publications (2)
Publication Number | Publication Date |
---|---|
KR890010735A KR890010735A (en) | 1989-08-10 |
KR900008858B1 true KR900008858B1 (en) | 1990-12-11 |
Family
ID=19267887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019870015629A KR900008858B1 (en) | 1987-12-31 | 1987-12-31 | Image sign apparatus by line buffer |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR900008858B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100770335B1 (en) * | 2006-05-16 | 2007-10-25 | 최영환 | Multi thermostat |
-
1987
- 1987-12-31 KR KR1019870015629A patent/KR900008858B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100770335B1 (en) * | 2006-05-16 | 2007-10-25 | 최영환 | Multi thermostat |
Also Published As
Publication number | Publication date |
---|---|
KR890010735A (en) | 1989-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4646148A (en) | Process of compressing a succession of digital data and device for carrying out the same | |
JPH02268370A (en) | Picture editing device | |
KR900008858B1 (en) | Image sign apparatus by line buffer | |
CA1291822C (en) | Method and apparatus for processing an image signal | |
JPH0693245B2 (en) | Form information compression method | |
SU1675929A1 (en) | Data display unit | |
JPH0149072B2 (en) | ||
JP2917367B2 (en) | Character recognition device | |
JP2595900B2 (en) | Change point coordinate detection device for binary image data | |
JP3345912B2 (en) | Kanji pattern storage memory read control circuit | |
JP2757716B2 (en) | Huffman code decoding circuit | |
KR100252636B1 (en) | 8x8 block address generating circuit for jpeg coding | |
JPS63269623A (en) | Compression data decoder | |
JP2903949B2 (en) | Signal processing device for raster image display system | |
JPS62108380A (en) | Binarization processor | |
JPS61251275A (en) | Processing circuit for picture signal | |
KR890004678B1 (en) | Median filtering circuits | |
SU1474724A1 (en) | Device for displaying graphic data | |
JPS61117676A (en) | Method and circuit for detecting and holding change point of binary pattern | |
JPS63236082A (en) | Display memory control circuit | |
JPS63271294A (en) | Image reloading system for video game machine | |
JPH01126687A (en) | Display memory control circuit | |
JPH05128241A (en) | Picture processor | |
JPS63301677A (en) | Change point detecting circuit | |
JPS6219971A (en) | Picture processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20021129 Year of fee payment: 13 |
|
LAPS | Lapse due to unpaid annual fee |