KR910006682B1 - Image data curve detecting method for picture transmission device - Google Patents

Image data curve detecting method for picture transmission device Download PDF

Info

Publication number
KR910006682B1
KR910006682B1 KR1019880015863A KR880015863A KR910006682B1 KR 910006682 B1 KR910006682 B1 KR 910006682B1 KR 1019880015863 A KR1019880015863 A KR 1019880015863A KR 880015863 A KR880015863 A KR 880015863A KR 910006682 B1 KR910006682 B1 KR 910006682B1
Authority
KR
South Korea
Prior art keywords
address
inflection point
data
scan
bit
Prior art date
Application number
KR1019880015863A
Other languages
Korean (ko)
Other versions
KR900008833A (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 KR1019880015863A priority Critical patent/KR910006682B1/en
Publication of KR900008833A publication Critical patent/KR900008833A/en
Application granted granted Critical
Publication of KR910006682B1 publication Critical patent/KR910006682B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The method detects the inflection of the image data using the bit detection table and the mask table. The method includes steps: (A) comparing the detected inflection bit address and the number of bit of the standard pixel of one line; (B) replacing the value of the inflection bit position by the number of pixel when the bit address is larger; (C) checking that the inflection exists on one byte of the scan data whent eh bit address is smaller; (D) calculating the inflection bit address when the inflection exists on one byte of the scan data and otherwise increasing the memory address of the scan buffer; (E) checking that the scan buffer address is the last address of the line; and (F) writing the end of the line on the address saving region of the scan buffer when the scan buffer address is the last address, loading the number of pixel on the inflection bit, and oterwise saving the address of scan buffer memory and calculating the inflection bit address.

Description

화상전송기기의 이미지 데이터 변곡점 검출방법Image data inflection point detection method of image transmission device

제1도는 본 발명을 수행하기 위한 화상전송기기의 일부분의 블럭도.1 is a block diagram of a portion of an image transmitting apparatus for carrying out the present invention.

제2도는 제1도 스캔버퍼의 메모리맵.2 is a memory map of a scan buffer of FIG.

제3도는 본 발명에 따른 이미지 데이터 변곡점 검출 흐름도의 블럭 다이어그램.3 is a block diagram of an image data inflection point detection flowchart according to the present invention.

제4도는 본 발명에 따른 비트디덱터 메모리 테이블.4 is a bit decoder memory table according to the present invention.

제5도는 본 발명에 따른 마스크 테이블.5 is a mask table according to the present invention.

제6도는 제3도 흐름도의 상세흐름도.6 is a detailed flowchart of the FIG. 3 flow chart.

본 발명은 화상전송기기의 이미지 데이터 변곡점 검출방법에 관한 것이다. 현재 화상송기기는 여러가지가 있으나 그의 대표적인 것으로써 원고의 화상을 전송하는 팩시밀리(Facsimile : 이하 FAX라함)을 들 수 있다.The present invention relates to a method for detecting an image data inflection point of an image transmission device. Currently, there are many image transfer apparatuses, but a typical one thereof is a facsimile (hereinafter referred to as FAX) for transmitting an image of a document.

상기와 같이 FAX로 전송하려고 하는 제반 도큐멘트(Document : 이하 DOC라함)는 CCITT T.4에서 규정된 크기의 라인별로 스캔되어 논리화 되어진후 전송하려는 데이터의 비트수를 감소하기 위한 압축(Coding)을 실행한 후 전송되어 진다.As described above, all documents to be transmitted by FAX (Document: hereinafter called DOC) are scanned for each line of the size specified in CCITT T.4 and logically compressed to reduce the number of bits of data to be transmitted. It is sent after execution.

스캔닝되어 논리화 되어진 FAX 이미지 데이터(Image Data)는 흑(Black)과 백(White)으로 분리되어지며, 상기와 같이 분리되는 단위를 화소라 한다.The scanned and logicalized FAX image data is divided into black and white, and the unit separated as described above is called a pixel.

하나의 화소하나의 크기는 세로 1/7.7mm, 가로 1/8mm이다. 상기 크기는 시스템 해상도에 따라 변할 수도 있다.One pixel is 1 / 7.7 mm long and 1/8 mm wide. The size may vary with system resolution.

예를 들어 A4사이즈(Size)의 도큐멘트를 스캔하였을때 한라인의 화소수는 1728개가 된다. 상기의 압축방식(Cosing Method)도 역시 CCITT규정 T.4에 권고되고 있으며, 주로 MH(Modified Huffman Code) 방식과 MR(Modified Read Code) 방식이 사용되고 있다.For example, when scanning an A4 size document, the number of pixels per line becomes 1728. The Cosing Method is also recommended in CCITT Regulation T.4. MH (Modified Huffman Code) and MR (Modified Read Code) methods are mainly used.

상기 MH팅은 한라인(One Line) 즉 1728개의 화소중 흑(Black) 화소나 백(White) 화소의 연속되는 화소의 갯수로 코드테이블(Code Table)에 따라 라인별로 코딩하는 방법이다.The MHting is a method of coding one line, that is, the number of consecutive pixels of a black pixel or a white pixel among 1728 pixels, line by line according to a code table.

예를 들어 스캔되어진 스캔데이터(화소데이터)의 백화수소 3개 연속되거나 블랙회소가 10개 연속적으로 되는 것이라면, 백화소수 3에 해당하는 코드와 블랙소수 10개에 해당하는 코드로 구성하여 전송하는 것이다.For example, if three consecutive white hydrogens or ten black pixels are consecutively scanned, the scanned data (pixel data) consists of a code corresponding to white pixel number 3 and a code corresponding to 10 black decimal points. .

상기와 같은 MH코딩 과정에서 스캔데이터의 연속되는 동일 색깔의 화소수를 구하기 위해서는 스캔데이터가 백색화소의 논리 0에서 흑색화소의 논리 "1" 또는 그와 반대되는 경우인 색갈 변환점(Change Point : 이하 변곡점 이라함)을 검출(Detect) 하여야만 한다. MR코딩의 경우도 기준라인(Reference Line)을 두고 현재 라인(Current Line)을 코딩(Coding)하여 나가는 방법이다.In order to obtain the same number of pixels of consecutive same color of scan data in the MH coding process as described above, a color conversion point (Change Point: hereinafter) in which scan data is a logic 0 of a white pixel and a logic "1" of a black pixel or the opposite thereof The inflection point). MR coding is also a method of coding a current line by leaving a reference line.

상기 MR코딩에 있어서 기준라인(Reference Line)이란 바로전이 코딩이 끝난 이전라인을 말하며, 현재의 라인을 전라인의 바로밑에 위치하는 라인이며, 현재 코딩하려는 라인을 칭한다.In the MR coding, a reference line refers to a previous line where a previous coding has been completed, a line which is located immediately below a current line, and refers to a line to be currently coded.

상기와 같은 MR코딩 방식도 현재의 라인을 코딩하기 위해서는 기준라인 및 현재라인의 변곡점을 구하여만 변곡점간의 거리비교를 통해서 코딩을 수행할 수 있게 된다.In order to code the current line as described above, the coding may be performed by comparing the distance between the inflection points only by obtaining the inflection points of the reference line and the current line.

그러므로 상기 MH코딩이나 MR코딩을 행할 경우에 있어서는 변곡점의 검출이 꼭 실행되어야만 한다. 따라서 본 발명의 목적은 이미지 데이터를 코딩하여 전송하는 화상전송기기에 있어서, 상기 이미지 데이터를 코딩시 필요로 하는 변곡점을 디덱션하는 방법을 제공함에 있다.Therefore, in the case of the MH coding or MR coding, detection of the inflection point must be performed. Accordingly, an object of the present invention is to provide a method for dedicating an inflection point required when coding image data in an image transmission device for coding and transmitting image data.

본 발명의 다른 목적은 이미지 데이터의 변곡점을 비트 디덱션 테이블과 마스크테이블을 사용하여 검출토록 하는 방법을 제공함에 있다.Another object of the present invention is to provide a method of detecting an inflection point of image data using a bit decrement table and a mask table.

이하 본 발명은 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명을 수행하기 위한 FAX의 일부분의 블럭도로써, 도면중 MPU는 마이크로프로세서, DMA는 데렉트 메모리 엑세스 DOC는, 도큐멘트(원고) CCD는 광전면환소자(Charge Coupled device), LES는 레벨슬라이서(Level Slicer), SR은 시프트레지스터, SBM은 스캔버퍼 메모리(SCAN Buffer Memory)이다.1 is a block diagram of a portion of a FAX for carrying out the present invention, in which the MPU is a microprocessor, the DMA is a direct memory access DOC, the document CCD is a charge coupled device, and the LES is Level Slicer, SR is Shift Register and SBM is Scan Buffer Memory.

상기의 구성은 모든 FAX내에 구성된 것으로, 원고를 광으로 주주사시에 광전변환소자 CCD가 원고 DOC로부터의 광을 수광하여 광전변환하며, 상기 광전변환 신호는 레벨슬라이서 LES에 의해 레벨스라이싱됨으로써 디지탈화된 로직데이터로 변환된다. 상기 레벨슬라이서 LES에서 디지탈화 되어진 데이터는 시프트레지스터 SR에 입력된다.The above structure is constituted in all the FAX, and the photoelectric conversion element CCD receives the photo from the original DOC and photoelectrically converts the original photoelectrically by the main scanning. The photoelectric conversion signal is digitally leveled by level slicer LES. The converted logic data is converted. The digitized data in the level slicer LES is input to the shift register SR.

상기 시프트레지스터 SR의 동작에 의해 병렬 변환되는 데이터는, 마이크로프로세서 MPU의 제어에 의해 디렉트 메모리 억세스 DMA에 의해서 스캔버퍼 메모리 SBM에 순차적으로 세이브된다. 상기와 같이 스캔버퍼 메모리 SBM에 세이브된 스캔데이트 즉 화소데이터 8비트를 화소단위로하여 세이브된다. 이때, 상기 스캔버퍼 메모리 SBM의 메모리 맵핑은 제2도와 같다.The data converted in parallel by the operation of the shift register SR are sequentially stored in the scan buffer memory SBM by the direct memory access DMA under the control of the microprocessor MPU. As described above, the scan data saved in the scan buffer memory SBM, i.e., 8 bits of pixel data, is saved in units of pixels. In this case, the memory mapping of the scan buffer memory SBM is shown in FIG. 2.

제2도 (A)는 스캔버퍼의 바이트 어드레스 상태를 도시한 것으로써 스캔라인별 100H 바이트(byte)이다. 이때 라인을 100H 바이트로 한것은 A4용지를 스캔시 화소는 216바이트 B4용지 스캔시에도 화소바이트 수가 256바이트이기 때문이다.FIG. 2 (A) shows the byte address status of the scan buffer, which is 100H bytes per scan line. At this time, the line is 100H bytes because the pixel number is 256 bytes when scanning A4 paper, even when scanning 216 bytes B4 paper.

제2도 (B)는 스캔버퍼의 바이트 어드레스내의 8비트 화소데이터 각각을 지정하기 위한 화소비트 어드레스를 나타낸 것이다. A4원고(도큐멘트) DOC를 스캔하였을때 한라인(One Line)의 화소는 1728개 이므로 바이트 어드레스로는 000H-00D7H이고, 비트 어드레스로는 06COH이다. B4원고 DOC를 스캔하였을때, 한라인의 화소수는 2048개 이므로 바이트 어드레스는 0000H-00FFH이고, 비트 어드레스로는 0800H이다.2B shows a pixel bit address for designating each of the 8 bit pixel data in the byte address of the scan buffer. When scanning an A4 document (document) DOC, there are 1728 pixels in one line, so it is 000H-00D7H for the byte address and 06COH for the bit address. When scanning the B4 document DOC, the byte address is 0000H-00FFH and the bit address is 0800H because the number of pixels per line is 2048.

제3도는 본 발명에 따른 변곡점 검출흐름도로써 소프트웨어블럭이다.3 is a software block as an inflection detection flow diagram according to the present invention.

제4도는 본 발명에 따른 변곡점 검출을 위한 비트디덱션 테이블로써, 한 바이트분내의 화소데이터내에서의 변곡점을 검출하기 위하여 한바이트로 나타낼 수 있는 00H-FFH로(256바이트)까지의 어드레스 영역에서 임의의 해당하는 숫자를 인덱스(Index)로 하면 바로 한바이트 화소들내의 화소 변곡점 비트위치를 알 수 있도록 정의한 것이다.4 is a bit de-diction table for detecting an inflection point according to the present invention, which is arbitrary in an address region up to 00H-FFH (256 bytes) that can be represented as one byte to detect an inflection point in pixel data within one byte. When the corresponding number of is defined as an index, the pixel inflection point bit position in one byte of pixels is defined.

상기 비트디덱션 테이블(Bit Detection Table : 이하 BITDET이라함)은 MSB(한바이트중 상위비트)로부터 연속되는 논리0의 갯수를 구하는 것인데 어드레스 00H-FFH까지의 숫자를 인덱스(Index2)로 하고 각 숫자로부터 이 연속되는 0의 갯수를 인덱스(Index1)로 하는 메모리 위치의 데이터가 되도록 만든 테이블이다.The bit detection table (hereinafter referred to as BITDET) is to calculate the number of consecutive logical 0s from the MSB (highest bit of one byte), and the numbers from addresses 00H to FFH are indexes. Is a table created so that the number of consecutive zeros becomes the data of the memory location whose index is Index1.

제5도는 본 발명에 따른 마스크테이블로써, 한바이트분 내의 화소데이터내에 위치한 변곡점을 검출한 후 동일 바이트내에 위치할 수 있는 변곡점의 검출을 행할 시에 변곡점이 검출된 화소비트 데이터를 마스크하는 테이블이다. 상기의 테이블도 인덱스(Index1)를 이용하여 그 인덱스(Index)에 히당하는 데이터를 페치해서 사용하게 된다.5 is a mask table according to the present invention, which detects an inflection point located in pixel data within one byte and then masks the pixel bit data where the inflection point is detected when detecting an inflection point that can be located in the same byte. . The above table also uses the index Index1 to fetch and use the data corresponding to the index.

제6도는 본 발명에 따른 제3도의 상세흐름도이다. 이하 본 발명의 동작예를 상술한 제1도 내지 제6도를 참조하여 설명하기에 앞서 제1도의 원고DOC 사이즈가 A4라고 가정한다. 지금 제1도와 같이 회로에 있어서 원고DOC가 FAX의 원고 삽입구에 삽입되면, 제1도의 동작에서 제2도와 같은 스캔버퍼 메모리(SBM)의 소정 바이트 어드레스 영역에 순서적으로 세이브된다.6 is a detailed flowchart of FIG. 3 according to the present invention. Before describing the operation example of the present invention with reference to FIGS. 1 to 6, it is assumed that the document DOC size of FIG. 1 is A4. When the document DOC is inserted into the document insertion port of the FAX in the circuit as shown in FIG. 1, it is sequentially saved in the predetermined byte address area of the scan buffer memory SBM as shown in FIG.

상기와 같이 스캔버퍼 메모리(SBM)에 스캔데이터가 세이브되는 상태에서 변곡점 검출 플로우가 런(RUN)되면, 마이크로프로세서 MPU는 제6도 (6a)과정에서 현재까지 검출된 변곡점 비트 어드레스와 한 라인의 규정화소 비트수와 비교를 통해 상기 규정 화소비트수 보다 적은가를 판단한다.As described above, when the inflection detection flow is RUN in the state where the scan data is stored in the scan buffer memory SBM, the microprocessor MPU performs the inflection point bit address and one line of the inflection point detected so far in FIG. It is determined whether the number of prescribed pixel bits is smaller than the number of prescribed pixel bits by comparison with the number of prescribed pixel bits.

예를 들어 제2도 스캔버퍼 메모리(SBM)의 초기 시작번지인 바이트 어드레스 0000H내의 비트 어드레스 0000H의 화소비트 데이터를 억세스 한것이라면 이는 A4원고 한라인 화소비트수 1728보다 적으므로 (6b)과정에서 마이크로프로세서 MPU내의 워크레지스터(Work Register)를 클리어한다.For example, if the pixel bit data of the bit address 0000H in the byte address 0000H, which is the initial start address of the scan buffer memory SBM in FIG. 2, is accessed, it is less than the A4 original one-line pixel bit number 1728. Clear the work register in the processor MPU.

이때 상기 워크레지스터는 2바이트로 구성되어 상위, 하위 바이트를 분리 사용이 가능하며, RA, RB, RC, RD 4개가 마이크로프로세서에 내장되어 있다. 상기 (6b)과정을 수행한 마이크로프로세서 MPU는 (6c)과정에서 스캔버퍼 메모리(SBM)의 현재 스캔버퍼 메모리의 바이트 어드레스(SBMA)와 소정값의 화소 비교데이터 COMDAT를 배타적 논리합하여 그 결과를 레지스터 RBL에 세이브한다.At this time, the work register is composed of two bytes, the upper and lower bytes can be used separately, four RA, RB, RC, RD is embedded in the microprocessor. The microprocessor MPU performing step (6b) registers the result of exclusively ORing the byte address (SBMA) of the current scan buffer memory of the scan buffer memory (SBM) and the pixel comparison data COMDAT of a predetermined value in step (6c). Save to RBL.

이때 상기 화소 비교 데이터 COMDAT는 한라인의 첫번째 변곡점 검출수행시 00H로 초기화(Initital)되어진 값이며, 이는 본 발명의 루틴이 수행시마다 보수(Complement)가 취하여져 변환된다.In this case, the pixel comparison data COMDAT is a value initialized to 00H at the time of performing the first inflection point detection of one line, which is converted every time the routine of the present invention is performed.

상기 레지스터 RBL은 워크레지스터 RB의 하위바이트를 나타낸다. 따라서 스캔버퍼 메모리(SBM)의 초기 바이트 번지 0000H의 화소데이터가 제2도와 같이 "00011100"인 경우에는 레지스터 RBL에 세이브되는 데이터는 "00011100"이다. 왜냐하면, 초기 화소 비교되어지는 00H이므로써 스캔버퍼 메모리(SBM)의 바이트 어드레스 0000H가 그대로 세이브되기 때문이다.The register RBL represents the lower byte of the work register RB. Therefore, when the pixel data of the initial byte address 0000H of the scan buffer memory SBM is "00011100" as shown in FIG. 2, the data stored in the register RBL is "00011100". This is because the byte address 0000H of the scan buffer memory SBM is saved as it is 00H compared with the initial pixel.

상기 (6c)과정을 수행한 마이크로프로세서 MPU는 (6d)과정에서 마스크테이블(Mask table : 이하 Maskble라함)의 인덱스 레지스터(Index1)내의 데이터에 의한 값으로 제4도의 마스크테이블 값을 억세스 한다.The microprocessor MPU performing step (6c) accesses the mask table value of FIG. 4 using the data in the index register (Index1) of the mask table (hereinafter referred to as Maskble) in step (6d).

이때 상기 인덱스(Index1)는 마스크테이블(Maskble)의 특정값을 억세스 하기 위한 레지스터(Register)이며, 초기 동작시에는 00H로 초기화 되어져 있다.At this time, the index Index1 is a register for accessing a specific value of the mask table Maskble and is initialized to 00H during the initial operation.

따라서 마이크로프로세서 MPU는 6d과정에서 제5도의 마스크테이블의 어드레스 00H의 데이터 "111111111"를 내부 인덱스 레지스터(Index1)의 값에 의해 억세스하고 레지스터 RBL에 세이브된 데이터와 논리곱(AND)하여 그 결과를 레지스터(RBL)에 세이브한다. 이후 마이크로프로세서 MPU는 6e과정에서 레지스터(RBL)의 데이터가 모두 "0"인가를 검색하여 스캔데이터한 바이트분내 변곡점 데이터가 있는가를 검색한다.Therefore, the microprocessor MPU accesses the data " 111111111 " of address 00H of the mask table of FIG. 5 by the value of the internal index register Index1 in AND, and logically ANDs the data stored in the register RBL. Save to register RBL. Thereafter, the microprocessor MPU searches whether the data of the register RBL is all "0" in step 6e to check whether there is an inflection point data within the scanned byte.

검색결과 모두 "0"가 아니라면, 레지스커(RBL)의 현재 세이브 데이터를 인덱스 레지스터(Index2)에 6l과정에서 세이브하고, 상기 6l과정에서 인덱스(Index2)에 세이브된 데이터를 비트디덱트 테이블 어드레스로 하여 상기 비트디덱트 테이블의 데이터를 억세스하며, 그 결과의 데이타를 6m과정에서 내부 레지스터(RAL)에 로드한다. 즉 6m과정에서 전술한 레지스터(RBL)의 데이터 "00011100"를 어드레스로 하여 제4도의 비트디덱트 테이블에서 03H의 데이터를 엑세스하고 상기 억세스 데이터를 레지스터(RAL)에 세이브한다. 이후 상기 6m과정에 의해서 레지스터(RAL)에 세이브된 내용을 차기 마스크테이블의 어드레스 인덱스로 사용하기 위하여 상기 레지스터(RAL)의 데이터 03H를 6n과정에서 인덱스(Index1)에 세이브한다.If the result of the search is not "0", the current save data of the register RBL is saved in the index register Index2 in step 6l, and the data saved in the index Index2 in step 6l is stored in the bit decode table address. By accessing the data of the bit decode table, the resulting data is loaded into the internal register (RAL) in 6m. That is, in step 6m, data of 03H is accessed from the bit decode table of FIG. 4 with the address "00011100" of the register RBL described above as an address, and the access data is stored in the register RAL. Subsequently, in order to use the contents saved in the register RAL by the 6m process as the address index of the next mask table, the data 03H of the register RAL is stored in the index Index1 in the 6n process.

상기 6n과정을 수행한 마이크로프로세서(MPU)는 6o과정에서 현재 스캔버퍼 메모리(SBM)의 16비트 어드레스 SBMA를 내부 레지스터 RC에 세이브한다. 상기 6o과정을 수행한 마이크로프로세서(mpu)는 내부 레지스터 RC의 하위 레지스터 RCL의 어드레스 즉 스캔버퍼 메모리(SBM)의 하위 어드레스를 6p과정에서 레지스터 RD의 하위 레지스터 RDL에 세이브하고, 6r과정에서는 스캔버퍼 메모리(SBM) 어드레스의 하위 2바이트를 왼쪽으로 3번 시프트하여 비트어드레스화 한다.In step 6o, the microprocessor (MPU) stores the 16-bit address SBMA of the current scan buffer memory (SBM) in the internal register RC. The microprocessor (mpu) performing step 6o saves the address of the lower register RCL of the internal register RC, that is, the lower address of the scan buffer memory (SBM), to the lower register RDL of the register RD in step 6p, and the scan buffer in step 6r. Bit addressing is performed by shifting the lower two bytes of the memory SBM address three times to the left.

상기 6r과정을 수행한 마이크로프로세서 MPU는 6s과정에서 비트어드레스화한 레지스터(RD)의 하위 레지스터(RDL)의 내용과 6m과정에 의해 디텍트된 스캔버퍼 메모리(SBM)의 바이트 어드레스중의 변곡점 위치데이터 03H를 가산(Adding)하여 변곡점 비트어드레스를 계산하여 구하고 그 결과를 레지스터(RDL)에 로드한다.The microprocessor MPU performing step 6r has an inflection point position in the contents of the lower register RDL of the bit addressed register RD in step 6s and the byte address of the scan buffer memory SBM detected by step 6m. The data 03H is added to calculate the inflection bit address, and the result is loaded into the register RDL.

스캔버퍼 메모리(SBM)의 바이트 어드레스내의 변곡점 비트어드레스를 계산한 마이크로프로세서(MPU)는 레지스터(RD)에 세이브된 변곡점 비트어드레스를 6t과정에서 변곡점 비트어드레스 리턴값(Return Value)를 저장하는 레지스터(CPRV)에 이를 로드하고 6u과정에서 비교데이터 COMDAT를 콤플리멘팅(Complementing)한다. 이때 비교데이터 COMDAT를 콤플리멘트 하는 이유는 한번 변곡점이 디덱트 되어진 다음 변곡점을 찾기 위한 것이다.The microprocessor (MPU) that calculates the inflection bit address in the byte address of the scan buffer memory SBM registers the inflection point bit address stored in the register RD in 6t to store the inflection bit address return value (Return Value). Load it into CPRV) and compament the comparison data COMDAT in step 6u. The reason why the comparison data COMDAT is completed is to find the inflection point after the inflection point is depressed once.

만약 전술한 6e과정에서 레지스터(RBL)의 데이터가 모두 "0"이라면 현재 억세스된 스캔버퍼 메모리(SBM)의 어드레스 영역의 데이터내에 변곡점이 존재치 않는 것이라고 판단하고 6f과정에서 스캔버퍼 메모리(SBM)의 어드레스를 증가(Incrementing)한다. 스캔버퍼 메모리(SBM)의 어드레스를 증가시킨 후 마이크로프로세서(MPU)는 라인별 스캔데이터의 스타트 스캔버퍼 어드레스(SBMAO)에서 현재 스캔버퍼 메모리 어드레스(SBMA)를 뺀값이 도큐멘트 DOC 사이즈별 바이트하소수(TBC)와 같은가를 6g과정에서 검색한다.If the data of the register RBL is all "0" in the above-described process 6e, it is determined that there is no inflection point in the data of the address area of the currently accessed scan buffer memory (SBM), and in step 6f the scan-buffer memory (SBM) Increment the address of (Incrementing). After increasing the address of the scan buffer memory (SBM), the microprocessor (MPU) subtracts the current scan buffer memory address (SBMA) from the start scan buffer address (SBMAO) of line-by-line scan data. TBC) is searched in 6g.

이때 도큐멘트 DOC 사이즈별 바이트화소수(TBL)는 A4시 216바이트 B4시 256바이트이다.In this case, the number of byte pixels TBL for each document DOC size is 216 bytes in A4 and 256 bytes in B4.

6g과정의 검색결과 같지 않다면, 6h과정에서 현재 스캔버퍼 메모리 어드레스(SBMA) 영역의 데이터와 모두 비트가 같은 논리인 비교데이터 COMDAT를 비교하여 변곡점이 존재하는가를 검색한다. 상기 6h과정의 검색결과 현스캔 바이트의 화소데이터가 비교데이터와의 논리가 같아 변곡점이 없다면 전술한 6f과정을 반복 수행하고, 변곡점이 검출되면 6i과정에서 현재 스캔버퍼 메모리 어드레스(SBMA)를 소정버퍼(CPBASA)에 세이브한다. 이때 상기 버퍼(CPBASA)는 변곡점이 있는 스캔버퍼 어드레스를 세이브하는 영역의 어드레스이다.If it is not the same as the search result of step 6g, in step 6h, the data of the current scan buffer memory address (SBMA) area is compared with the comparison data COMDAT in which all bits have the same logic to search for an inflection point. If the pixel data of the current scan byte has the same logic as that of the comparison data and the inflection point is repeated, the aforementioned step 6f is repeated. If the inflection point is detected, the current scan buffer memory address SBMA is assigned to the predetermined buffer in step 6i. Save to (CPBASA). In this case, the buffer CPBASA is an address of an area for saving a scan buffer address having an inflection point.

상기 6i과정을 수행한 마이크로프로세서(MPU)는 6j과정에서 다음번째의 스캔버퍼 메모리 어드레스를 세이브하기 위해 소정버퍼(CPBASA)를 업데이트(Up Date)한다. 상기 6j과정에서 업데이트를 실행한 마이크로프로세서 MPU는 6k과정에서 비교데이터 COMDAT와 현재 스캔버퍼 메모리 어드레스(SBMA)의 지정에 의한 스캔데이터를 배타적 논리합하여 그 결과를 레지스터 RBL에 로드하고 전술한 6l과정을 수행하여 현재 스캔버퍼 메모리(SBM) 바이트내의 변곡점 비트어드레스를 전술한 바와 같이 계산한다.In operation 6j, the microprocessor (MPU) updates a predetermined buffer CPBASA to save the next scan buffer memory address in operation 6j. The microprocessor MPU which has executed the update in step 6j exclusively ORs the scan data specified by the comparison data COMDAT and the current scan buffer memory address (SBMA) in step 6k, loads the result into the register RBL, and performs the above-described step 6l. The inflection point bit address in the current scan buffer memory (SBM) byte is calculated as described above.

따라서 전술한 6i, 6j, 6k과정에서는 현재라인(Current Line)의 변곡점 검출시 변곡점이 있는 스캔버퍼 메모리의 어드레스를 소정 버퍼에 세이브하여 MR코딩에 사용하려함을 알 수 있다.Therefore, in the above-described processes 6i, 6j, and 6k, it can be seen that the address of the scan buffer memory having the inflection point is stored in a predetermined buffer and used for MR coding when the inflection point of the current line is detected.

한편 전술한 6g과정에서의 비교결과가 같다면, 마이크로프로세서(MPU)는 변곡점이 존재하는 스캔버퍼 메모리 어드레스 세이브 영역 즉 CPBASA에 라인끝(Line End)을 표시하는 데이터를 6w과정에서 세이브한다.On the other hand, if the comparison result in the above 6g process is the same, the microprocessor (MPU) saves the data indicating the line end (Line End) in the CPBASA in the scan buffer memory address save area where the inflection point exists in 6w process.

상기 6w과정을 수행한 마이크로프로세서 MPU는 변곡점 비트어드레스(CPRV)에 라인끝 비트어드레스를 로드한다. 예를 들면 원고DOC가 A4인 경우 06COH를 6x과정에서 로드한다.The microprocessor MPU performing the 6w process loads the line end bit address into the inflection point bit address (CPRV). For example, if the document DOC is A4, 06COH is loaded in 6x.

상술한 바와 같이 본 발명은 스캔버퍼 메모리이 스캔데이커의 변곡점을 비트디덕션 테이블과 마스크테이블의 데이터와 간단한 소프트웨어로써 정확하게 검출함으로써 FAX 이미지 데이터를 압축 손쉽게 할 수 있다.As described above, the present invention can easily compress the FAX image data by accurately scanning the inflection point of the scan data with the data of the bit deduction table and the mask table and simple software.

Claims (1)

화상전송기기의 이미지 데이터 변곡점 검출방법에 있어서, 현재까지 검출된 변곡점 비트어드레스와 한라인의 규정화소 비트수를 비교하여 현재 변곡점 비트어드레스가 규정화소수 비트수보다 적은가를 검색하는 제1단계와, 상기 제1단계의 검색결과가 규정화소수 보다 클때 변곡점 비트 위치에 화소수에 해당하는 값을 로딩하고 비교데이터를 보수하는 제2단계와, 상기 제1단계의 검색결과가 규정화소수 보다 적을때에 스캔데이터의 한바이트내에 변곡점이 있는가를 검색하는 제3단계와, 상기 제3단계에 검색결과 변곡점 존재시 스캔데이터 한바이트내의 변곡점 비트어드레스를 계산하고 비교테이터를 보수하고, 변곡점이 없을때 스캔버퍼 메모리 어드레스를 증가시키는 제4단계와, 스캔버퍼 어드레스 증가후 스캔버퍼 어드레스가 라인끝 어드레스인가를 검색하는 제5단계와, 상기 제5단계에서의 검색결과가 라인끝일때 변곡점이 존재하는 스캔버퍼 메모리 어드레스 세이브 영역에 라인끝을 표시하고 변곡점 비트 위치에 화소수에 해당하는 값을 로딩후 비교데이터를 보수하는 제6단계와, 상기 제5단계에서의 검색결과가 라인끝 아닐때 스캔데이터 한바이트내 변곡점이 존재하는가를 검색하여 존재시 변곡점이 존재하는 스캔버퍼 메모리의 어드레스를 세이브하고 스캔 한바이트내의 변곡점 비트 어드레스를 계산하여 비교데이터를 보수하는 제7단계와, 상기 제6단계에서 검색결과 스캔데이터 한바이트내 변곡점이 없을때 스캔버퍼 메모리 어드레스를 증가시키는 제8단계로 이루어짐을 특징으로 하는 방법.An image data inflection point detection method of an image transmission device, comprising: a first step of comparing whether an inflection point bit address detected so far and the number of prescribed pixel bits of a line are searched to determine whether the current inflection point bit address is less than a prescribed number of pixel bits; A second step of loading a value corresponding to the number of pixels at an inflection point bit position and repairing the comparison data when the search result of the first step is larger than a prescribed pixel; and when the search result of the first step is smaller than a prescribed pixel A third step of searching for whether there is an inflection point in one byte of the scan data, and calculating the inflection point bit address in one byte of the scan data and repairing the comparison data when the inflection point exists in the third step. A fourth step of increasing the memory address; and after the increase of the scan buffer address, the scan buffer address is the end of line address. In the fifth step of searching for the value and the result of the search in the fifth step, the end of the line is displayed in the scan buffer memory address save area where the inflection point exists, and the value corresponding to the number of pixels is loaded at the inflection point bit position. The sixth step of repairing data and the search result of the inflection point in one byte of the scan data when the search result in the fifth step is not at the end of the line are performed to save and scan the address of the scan buffer memory in which the inflection point exists. A seventh step of repairing the comparison data by calculating the inflection point bit address in the byte and an eighth step of increasing the scan buffer memory address when there is no inflection point in the scan result scan data in the sixth step. Way.
KR1019880015863A 1988-11-30 1988-11-30 Image data curve detecting method for picture transmission device KR910006682B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880015863A KR910006682B1 (en) 1988-11-30 1988-11-30 Image data curve detecting method for picture transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880015863A KR910006682B1 (en) 1988-11-30 1988-11-30 Image data curve detecting method for picture transmission device

Publications (2)

Publication Number Publication Date
KR900008833A KR900008833A (en) 1990-06-03
KR910006682B1 true KR910006682B1 (en) 1991-08-30

Family

ID=19279740

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880015863A KR910006682B1 (en) 1988-11-30 1988-11-30 Image data curve detecting method for picture transmission device

Country Status (1)

Country Link
KR (1) KR910006682B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100443827B1 (en) * 2001-10-23 2004-08-09 주식회사 유일산업 Apparatus for separating distilled water

Also Published As

Publication number Publication date
KR900008833A (en) 1990-06-03

Similar Documents

Publication Publication Date Title
EP0188678B1 (en) Method and apparatus for rotating binary images
EP1318665B1 (en) Image processing apparatus and method, program, and storage medium
US5293432A (en) Document image scanner with variable resolution windows
GB2147766A (en) Picture image file device
KR100264331B1 (en) Apparatus and a method for correction of the skewed document
US5818607A (en) Image signal processing apparatus and information transmission/reception apparatus
US7352480B2 (en) Image processing apparatus and image processing method
US4731862A (en) Binarizing system of picture image signals
KR910006682B1 (en) Image data curve detecting method for picture transmission device
US5982955A (en) Optical image indexed document filer
US5452102A (en) Image processing unit
US6674912B2 (en) Data compression processing method and apparatus
KR910008524B1 (en) Black puttern repeadly encoding method for fax
US5369506A (en) Circuit arrangement for selecting an image data correction scheme, writing the correction scheme to a correction table and correcting image data gradation
US5452092A (en) Changing pixel detector for coding of image data
EP0898413A2 (en) Method of eliminating garbage data of a scanner
KR0154698B1 (en) Method for saving paper for facsimile
KR100334114B1 (en) Method for correcting image of scanner
US5809168A (en) Method and apparatus for estimating a character size of an alphanumeric subject copy in a facimile system
JP2566905B2 (en) Image transmission method
US20050201630A1 (en) Image processing apparatus
JPH0732448B2 (en) Image processing device
JPS5779564A (en) Line-picture information conversion system
KR100245021B1 (en) Method for determining threshold value of line image
KR0162186B1 (en) Pixel deleting method for a facsimile

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: 20000726

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee