KR930008059B1 - Data scanning circuit having programmable adaptivity - Google Patents
Data scanning circuit having programmable adaptivity Download PDFInfo
- Publication number
- KR930008059B1 KR930008059B1 KR1019910001021A KR910001021A KR930008059B1 KR 930008059 B1 KR930008059 B1 KR 930008059B1 KR 1019910001021 A KR1019910001021 A KR 1019910001021A KR 910001021 A KR910001021 A KR 910001021A KR 930008059 B1 KR930008059 B1 KR 930008059B1
- Authority
- KR
- South Korea
- Prior art keywords
- output
- multiplexer
- memory
- address
- data
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
제 1 도는 본 발명에 따른 화상데이타의 변환 및 스캔닝 예시도.1 is a diagram illustrating conversion and scanning of image data according to the present invention.
제 2 도는 본 발명에 따른 블럭도2 is a block diagram according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 제 1 레지스터 2 : 제 2 레지스터1: first register 2: second register
3 : 제 1 멀티플렉서 4 : 제 1 메모리3: first multiplexer 4: first memory
5 : 카운터 6 : 제 2 멀티플렉서5: counter 6: second multiplexer
7 : 제 3 멀티플렉서 8 : 제 2 메모리7: third multiplexer 8: second memory
9 : 제 3 메모리 10 : 인버터9: third memory 10: inverter
11 : 제 4 멀티플렉서 12 : 디멀티플렉서11: fourth multiplexer 12: demultiplexer
본 발명은 화상데이타 압축회로에 관한 것으로, 특히 화상데이타를 압축할시 변환과정을 거친후 압축과정으로 입력되기전 압축과정에서 압축률을 높일 수 있도록 데이타를 스캔시 스캔 순서를 조정하는 회로에 관한 것이다.BACKGROUND OF THE
일반적으로 화상데이타의 압축시 입력데이타는 수직 및 수평으로 화소 몇 개씩 선택하여 구성된 블록단위로 이루어진다.In general, when compressing image data, input data is composed of block units configured by selecting several pixels vertically and horizontally.
제 1a 도에서는 원영상데이타를 4×4블럭으로 구성한 것을 보여주고 있고, 이 영상데이타가 변환과정을 거치면(b) 도와 같이 많은 화소가 0인 값을 갖게 된다. 화상의 성질에 따라 변환과정을 거친 상기(b) 도와 같은 데이타는 0의 분포가 달라지게 되고 압축과정으로 보내주기전 상기 제 1c 도와 같이 스캔하면 0이 최대한 많이 출력되도록 할 수가 있으며, 이후 압축과정으로 보내면 압축과정에서는 압축률을 최대한 향상시킬 수 있다.In FIG. 1A, the original image data is composed of 4 × 4 blocks. When the image data undergoes a conversion process (b), many pixels have a value of zero. According to the nature of the image, the data such as (b), which has been transformed, have different distributions of 0, and when scanned with the 1c, before sending to the compression process, 0 can be output as much as possible. In this process, the compression rate can be improved as much as possible.
만일 상기 제 1c 도에서 스캔하는 방식을 하나로 고정시키지 않고 화상의 상태 및 0의 분포상태에 따라 0가 최대한 출력될 수 있도록 변환한다면, 상기 압축과정에서는 어떠한 화상이 입력되더라도 항시 최상의 압축률을 유지할 수가 있다.If the scanning method of FIG. 1C is not fixed to one and the zero is converted according to the state of the image and the distribution state of the zero, the best compression ratio can be maintained at any time in any compression process. .
이와같이 영상데이타를 압축함에 있어서 스캐닝을 어떻게 하느냐에 따라 압축률에는 많은 변동이 생기게 되며, 한 장의 화면에 대한 다양한 스캔방식을 실험하여 그중 최대의 압축률을 실현할 수 있는 스캔순서를 선택하는 것이 필요하게 된다.In this way, the compression rate varies greatly depending on how scanning is performed in compressing the image data, and it is necessary to experiment with various scanning methods for a single screen to select a scan order that can realize the maximum compression rate.
따라서, 본 발명의 목적은 소정 메모리에 스캔순서를 기억시켰다가 그를 이용 스캔하도록 하므로서 화질에 따라 스캔방식을 달리할 수 있게 하여 화상데이타를 압축과정으로 전송하기전 최대한 0가 많이 형성될 수 있도록 하는 회로를 제공함에 있다.Accordingly, an object of the present invention is to store the scan order in a predetermined memory, and to scan using the scan order, so that the scanning method can be changed according to the image quality so that as many zeros as possible can be formed before the image data is transmitted in the compression process. In providing a circuit.
이하 첨부된 도면을 참고로 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제 2 도는 본 발명에 따른 블럭도로서, 스캔순서데이타(DT)를 받아 소정 스캔데이타 래치신호(DTR)에 의해 래치 출력하는 제 1 레지스터(1)와, 상기 스캔순서데이타를 저장시키기 위한 영역을 지정하는 어드레스 데이타(AD)를 받아 소정 어드레스 래치신호(ADR)에 의해 래치출력하는 제 2 레지스터(2)와, 소정 스캔시작 신호(SS)를 받으면 카운트 업하여 소정 값까지 카운트하여 출력하는 카운터(5)와, 상기 카운터(5)의 출력과 상기 제 2 레지스터(2)의 출력을 상기 제 2 레지스터(2)의 출력중 최상위 비트신호에 의해 선택출력하는 제 1 멀티플렉서(3)와, 상기 제 1 멀티플렉서(3)의 출력을 어드레스로 하여 상기 제 1 레지스터(1)의 스캔순서 데이타(DT) 출력을 상기 제1 멀티플렉서(3)가 상기 어드레스 데이타(AD)를 선택할 시 그를 라이트 어드레스로 받아 저장하고 페이지신호(PGS)에 의해 페이지를 정하여 저장하며 상기 제 1 멀티플렉서(3)가 상기 카운터(5)의 출력을 선택할 시 그를 리드 어드레스로 받아 다시 독출하는 제 1 메모리(4)와, 상기 제 1 메모리(4)의 출력과 상기 제 1 멀티플렉서(3)의 출력을 상기 제 1 메모리(4)의 출력 최상위 비트값에 의해 선택적으로 출력하는 제 2 멀티플렉서(6)와, 상기 제 1 메모리(4)의 출력과 상기 제 1 멀티플렉서(3)의 출력을 상기 제 1 메모리의 출력 최상위 비트값에 의해 선택적으로 출력하되 상기 제 1 멀티플렉서(6)와 두 입력을 바뀐상태로 받으므로서 선택출력시 상기 제 1 멀티플렉서(6)와 상호 교반으로 선택 출력하는 제 2 멀티플렉서(7)와, 화상데이타를 받아 상기 카운터(5)의 출력중 최상위 비트값의 상태에 따라 1출력단에 선택적으로 출력하는 디멀티플렉서(12)와, 상기 제 2 멀티플렉서(6)의 출력을 어드레스로 상기 디멀티플렉서(12)의 일단 출력을 저장 또는 독출하되 상기 제 1 메모리(4)의비트값에 의해 저장과 독출상태를 결정하는 제 3 메모리(9)와, 상기 제 2 멀티플렉서(6)의 출력을 어드레스로 상기 디멀티플렉서(12)의 타단출력을 저장 또는 독출하되 상기 제 1 메모리(4)의 출력 최상위 비트값의 반적값에 의해 저장과 독출상태를 결정하는 제 2 메모리(8)와, 상기 제 2 메모리(8)와 제 3 메모리(9)의 출력을 받아 상기 제 1 메모리(4)의 출력 최상위 비트값의 반전값에 의해 선택적으로 출력하는 제 4 멀티플렉서(11)와, 상기 제 2 메모리(8)의 출력 최상위 비트값을 반전 출력하는 인버터(10)로 구성한다.FIG. 2 is a block diagram according to the present invention, and includes a
이하 상기한 구성에 의거 본 발명의 일실시예를 상세히 설명한다.Hereinafter, an embodiment of the present invention will be described in detail based on the above configuration.
본 발명에서 외부 제어신호 즉, 스캔시작신호(SS), 스캔순서데이타(SDT), 스캔순서데이타 저장 어드레스(SAD), 스캔순서데이타 래치신호(DTR), 어드레스 래치신호(ADR), 페이지 신호(PGS)등은 PC(Personal Computer)또는 마이콤계의 제어기 등에서 외부로부터 입력될 수 있다.In the present invention, an external control signal, that is, a scan start signal (SS), a scan sequence data (SDT), a scan sequence data storage address (SAD), a scan sequence data latch signal (DTR), an address latch signal (ADR), and a page signal ( PGS) and the like can be input from the outside from a personal computer (PC) or a microcomputer controller.
상기 스캔순서데이타저장 어드레스(SAD)의 최상위 비트값은 제 1 멀티플렉서(3)의 선택신호로 공급되며, 이 값이 1이면 제 1 멀티플렉서(3)는 카운터(5)의 출력을 선택하고, 0이면 상기 제 1 멀티플렉서(3)는 제 2 레지스터(2)의 출력을 선택한다.The most significant bit value of the scan order data storage address SAD is supplied to the selection signal of the first multiplexer 3, and if this value is 1, the first multiplexer 3 selects the output of the
본 발명에서는 입력화상데이타를 받아 스캔닝하여 출력하기전에 먼저 스캔순서를 저장하고 이 저장된 순서에 입력하여 입력화상데이타를 스캐닝하도록 하고 있다. 스캔순서를 저장할시는 먼저 상기 스캔순서데이타(SDT)를 제 1 레지스터(1)에 상기 스캔순서데이타 래치신호(DTR)와 함께 공급받아 저장함과 동시 제 1 메모리(4)의 입력단에 공급한다. 이어 이 데이터가 저장될 어드레스를 상기 어드레스 래치신호(ADR)와 함께 받아 제 2 레지스터(2)에 저장함과 동시 제 1 멀티플렉서(3)의 B입력단에 출력하면 이때 최상위 비트값은 상기 제 1 멀티플렉서(3)의 선택신호 공급단(S)에 공급하고 그 값을 0이므로 상기 제 1 멀티플렉서(3)가 상기 스캔순서데이타 저장을 위한 어드레스(AD)를 선택하여 상기 제 1 메모리에 공급한다. 이때 상기 제 1 메모리(4)는 상기 스캔순서데이타(DT)를 상기 제 1 멀티플렉서(3)의 출력이 지정하는 영역에 저장한다. 그리고 이와같은 수순을 63회 반복하여 1화면 단위로 스캔순서를 모두 기억시킨다.In the present invention, before receiving and scanning input image data, the scanning order is first stored and input in the stored order to scan the input image data. When storing the scan order, first, the scan order data SDT is supplied to the
이후 화상데이타(DI)가 공급되면 상기 제 1 멀티플렉서(3)의 선택신호를 1로 전환하고 상기 스캔시작신호(SS)를 공급하여 상기 카운터(5)를 인에이블시킨다. 이때 상기 카운터(5)는 카운팅을 시작하여 64까지 카운팅하면서 매스탭마다 상기 제 1 메모리(4)에 카운팅한 값과 리드신호를 어드레스 공급단 및 리드신호공급단에 출력한다. 이때 상기 제 1 메모리(4)는 상기에서 저장된 스캔순서데이타를 독출하여 제 2, 3 멀티플렉서(6, 7)를 거쳐 제 2, 3 메모리(8, 9)에 리드 어드레스로 공급한다. 상기 제 2, 3 멀티플렉서(6, 7)는 상기 제 1 멀티플렉서(3)의 순차신호와 상기 제 1 메모리(4)의 스캔순서데이타를 각각 교번으로 선택하여 출력하며, 제 2 멀티플렉서(6)와 제 3 멀티플렉서(7) 또한 서로 교번으로 상기 신호들을 선택하게 된다. 즉, 상기 제 2 멀티플렉서(6)가 상기 제 1 메모리(4)의 스캔순서데이타를 선택한다면 상기 제 3 멀티플렉서(6)는 상기 제 1 멀티플렉서(3)의 순차신호를 선택하고, 상기 제 2 멀티플렉서(6)가 상기 제 1 멀티플렉서(3)의 출력을 선택한다면 상기 제 3 멀티플렉서(7)는 상기 제 1 메모리(4)의 출력을 선택한다. 또한 이들의 선택상태를 결정하는 것은 상기 제 1 메모리(4)에서 출되하는 최상위 비트의 상태에 의해 결정되며 이는 매 64회마다 천이된다.Thereafter, when the image data DI is supplied, the selection signal of the first multiplexer 3 is switched to 1 and the scan start signal SS is supplied to enable the counter 5. At this time, the counter 5 starts counting and counts up to 64, and outputs the value and the read signal counted to the first memory 4 for each tab to the address supply terminal and the read signal supply terminal. At this time, the first memory 4 reads the stored scan sequence data and supplies the read order data to the second and
이때 상기 제 1 멀티플렉서(3)의 출력은 상기 제2, 3 메모리(8, 9)의 라이트신호로 작용하고, 상기 제 1 메모리(4)의 출력은 상기 제 2, 3메모리(8, 9)의 리드신호로 작용하게 된다. 또한 상기 제2, 3메모리(8, 9)의 선택신호는 상기 제 3 메모리(9)의 리드/라이트 제어신호로 작용하고, 이를 반전하는 인버터(10)의 출력이 상기 제 2 메모리(8)의 리드/라이트 제어신호를 작용한다.In this case, the output of the first multiplexer 3 serves as a write signal of the second and
그리고 상기 제 1 메모리(4)의 리드/라이트 제어신호는 동시에 제 4 멀티플레서(11)의 선택신호가 되기도 한다. 따라서 상기 제2, 3메모리(8, 9)는 상기 제 1 멀티플렉서(3)의 출력값을 라이트 어드레스로 받고 상기 제 1 메모리(4)의 출력을 리드 어드레스로 받게 된다.The read / write control signal of the first memory 4 may be the selection signal of the fourth multiplexer 11 at the same time. Accordingly, the second and
한편 상기 카운터(5)의 출력중 최상위 비트값은 디멀티플렉서(12)의 선택제어신호로 공급되어, 상기 디멀티플렉서(12)가 상기 공급되는 화상신호를 화면단위로 교호하여 두 개의 출력단으로 출력하도록 한다. 이때 출력되는 타이밍은 상기 제2, 3메모리(8, 9)가 각기 리드상태이고 상기 제 1 멀티플렉서(3)의 출력이 어드레스로 공급될 때가 되도록 한다.On the other hand, the most significant bit value of the output of the counter 5 is supplied as the selection control signal of the demultiplexer 12, so that the demultiplexer 12 alternately outputs the supplied image signal to each of the two output terminals. At this time, the output timing is such that the second and
이러한 이유로 상기 공급되는 화상데이타(DI)는 상기 제2, 3메모리(8, 9)에서 서로 블럭단위로 교번하여 기록하게 되고 독출시는 상기 제 1 메모리(4)의 스캔순서데이타에 의해서 독출되어 제 4 멀티플렉서(11)에 의해 선택출력되므로서 최대한 0의 데이타가 많도록 스캐닝되어 출력된다.For this reason, the supplied image data DI are alternately written in block units in the second and
따라서 본 발명에 블럭단위로 화상데이타를 입력하게 되면 항시 0의 값을 가장 많이 포함하도록 스캐닝하여 출력할 수 있는 스캔패턴을 찾아낼 수 있도록 하는 실험적 이점이 있다.Therefore, when the image data is input in units of blocks in the present invention, there is an experimental advantage of finding a scan pattern that can be output by scanning to always include the most value of 0.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910001021A KR930008059B1 (en) | 1991-01-22 | 1991-01-22 | Data scanning circuit having programmable adaptivity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910001021A KR930008059B1 (en) | 1991-01-22 | 1991-01-22 | Data scanning circuit having programmable adaptivity |
Publications (2)
Publication Number | Publication Date |
---|---|
KR920015224A KR920015224A (en) | 1992-08-26 |
KR930008059B1 true KR930008059B1 (en) | 1993-08-25 |
Family
ID=19310136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019910001021A KR930008059B1 (en) | 1991-01-22 | 1991-01-22 | Data scanning circuit having programmable adaptivity |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR930008059B1 (en) |
-
1991
- 1991-01-22 KR KR1019910001021A patent/KR930008059B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR920015224A (en) | 1992-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0398511B1 (en) | Video random access memory | |
US5495266A (en) | Still picture display apparatus and external storage device used therein | |
US6732252B2 (en) | Memory interface device and memory address generation device | |
GB2214763A (en) | Odd-integer magnification for an interlaced image display apparatus | |
JPH07181909A (en) | Double scan circuit | |
JP3166447B2 (en) | Image processing apparatus and image processing method | |
KR930008059B1 (en) | Data scanning circuit having programmable adaptivity | |
JPH05303361A (en) | Character display device | |
KR0166853B1 (en) | Digital image signal manufacturing memory system | |
US5355150A (en) | Sub-screen data storage control unit | |
KR100269140B1 (en) | Context generating circuit for small picture and method the refor | |
JPH0471222B2 (en) | ||
JPH06139354A (en) | High speed histogram generator | |
KR100260889B1 (en) | Circuit and method of generating addresses for processing 8 bit digital image signal | |
KR920008274B1 (en) | 16/256 color switching apparatus | |
JPH07129756A (en) | Buffer memory device | |
JP2820068B2 (en) | Image data synthesis display device | |
KR960011738B1 (en) | Adrs generator in frame & field structure | |
JPS63236082A (en) | Display memory control circuit | |
KR0159572B1 (en) | Inverse-scan apparatus | |
JP2975800B2 (en) | Inclined character generation circuit | |
JPH0785261A (en) | Mirror image processor | |
JPH02135880A (en) | Image pickup device | |
JPH0522660A (en) | Video signal generation device | |
KR920001619B1 (en) | Image processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
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: 20030730 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |