KR930008177B1 - Picture image processing apparatus - Google Patents
Picture image processing apparatus Download PDFInfo
- Publication number
- KR930008177B1 KR930008177B1 KR1019850002487A KR850002487A KR930008177B1 KR 930008177 B1 KR930008177 B1 KR 930008177B1 KR 1019850002487 A KR1019850002487 A KR 1019850002487A KR 850002487 A KR850002487 A KR 850002487A KR 930008177 B1 KR930008177 B1 KR 930008177B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- image
- color
- boundary
- processing
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/387—Composing, repositioning or otherwise geometrically modifying originals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Processing Or Creating Images (AREA)
- Television Systems (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
내용 없음.No content.
Description
제 1a 내지 1e도는 PDI 코드에 의한 여러 가지 도형 처리를 모식적으로 도시한 모식도.1A to 1E are schematic diagrams schematically showing various graphic processings by PDI codes.
제 2 도는 본 발명에 따른 화상의 부호화 처리 장치를 디지탈 화상 전송 시스템의 입력 데이타 처리 장치에 적용한 일실시예에 대한 블록도.2 is a block diagram of an embodiment in which the image encoding apparatus according to the present invention is applied to an input data processing apparatus of a digital image transmission system.
제 3 도는 상기 실시예에 있어서 화상 처리 순서를 도시한 흐름도.3 is a flowchart showing an image processing procedure in the above embodiment.
제 4 도는 상기 실시예에 있어서 색처리 순서를 도시한 흐름도.4 is a flowchart showing a color processing procedure in the embodiment.
제 5 도는 상기 실시예에 있어서 정보량 삭감 처리의 동작을 설명하기 위한 처리 대상 화소의 배열을 도시한 모식도.FIG. 5 is a schematic diagram showing an arrangement of processing target pixels for explaining the operation of the information amount reduction processing in the embodiment. FIG.
제 6 도는 상기 실시예에 있어서 화상의 경제 검출 회로의 일례의 구성을 도시한 블록도.6 is a block diagram showing a configuration of an example of an economic detection circuit of an image in the embodiment.
제 7 도는 상기 검출 회로의 동작을 설명하기 위한 타임-챠트.7 is a time-chart for explaining the operation of the detection circuit.
제 8 도는 경계 검출 대상이 되는 각 화소의 배열을 도시한 모식도.8 is a schematic diagram showing an arrangement of pixels to be bounded.
제 9 도는 경계 검출 대상 화소에 대하여 화상의 경계가 연속하는 방향 및 각 화소의 화상 데이타의 내용을 도시한 모식도.9 is a schematic diagram showing the direction in which the boundary of an image continues with respect to the boundary detection target pixel and the contents of the image data of each pixel.
제 10 도는 경계의 초기 검출 동작시에 있어서 검출 방향 결정의 동작 원리를 도시한 모식도.10 is a schematic diagram showing an operation principle of detection direction determination in the initial detection operation of the boundary.
제 11a 내지 11h 도는 경계가 연속하는 방향을 순차로 결정하는 경우에 각 화소의 화상 데이타의 내용과 검출 방향을 여러 가지로 도시한 모식도.11A to 11H are schematic views showing various contents and detection directions of image data of each pixel in the case of sequentially determining the direction in which the boundary is continuous.
제 12 도는 경계선 처리 회로의 구성을 도시한 블록도.12 is a block diagram showing the configuration of a boundary line processing circuit.
제 13 도는 영역 처리 회로의 구성을 도시한 블록도.13 is a block diagram showing the configuration of an area processing circuit.
제 14 도는 상기 영역 처리 회로의 동작을 설명하기 위한 타임-챠트도.14 is a time-chart diagram for explaining the operation of the area processing circuit.
제 15 도는 색처리 대상 영역을 도시한 모식도.15 is a schematic diagram showing a color processing target area.
제 16 도는 스타트 어드레스 검출 회로의 구성을 도시한 블록도.16 is a block diagram showing the configuration of a start address detection circuit.
제 17a 및 17b 도는 상기 스타트 어드레스 검출 회로의 동작을 설명하기 위한 각 처리 대상 영역을 도시한 모식도.17A and 17B are schematic diagrams showing respective processing target regions for explaining the operation of the start address detection circuit.
제 18 도는 다른 영역을 내부에 갖는 처리 대상 영역을 도시한 모식도.18 is a schematic diagram showing a processing target area having another area therein.
제 19 도는 상기 다른 영역과 처리 대상 영역의 경계선을 판별하는 판별 회로의 구성을 도시한 블록도.Fig. 19 is a block diagram showing the configuration of a discriminating circuit for discriminating the boundary between the other area and the processing target area.
제 20 도는 상기 실시예의 부호화 처리에 있어서 색지정 처리 대상 화상 영역을 도시한 도면.20 is a diagram showing a color specification processing target image area in the encoding process of the embodiment.
제 21 도는 구성 패턴의 각 예를 도시한 도면.21 is a diagram showing each example of a configuration pattern.
제 22 도는 제 20 도에 도시한 화상 영역에 대하여 상기 제 7a 내지 7h 도에 도시한 각 텍스처 패턴으로 색지정한 상태를 도시한 도면.FIG. 22 is a diagram showing a state in which color is designated with each texture pattern shown in FIGS. 7A to 7H with respect to the image area shown in FIG. 20;
제 23 도는 3레벨의 색데이타를 2레벨의 색데이타로 변환하는 경우의, 색지정 동작 원리를 도시한 도면.FIG. 23 is a diagram showing the principle of color specification operation in the case of converting color data of three levels to color data of two levels; FIG.
제 24 도는 상기 색지정 동작 원리에 따라서 27색의 색지정을 행하는 경우에 이용하는 구성 패턴의 일례를 도시한 도면.Fig. 24 is a diagram showing an example of a configuration pattern used when color specification of 27 colors is performed in accordance with the color specification operation principle.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
41, 42, 43, 44 : 프레임 메모리 90 : 보조 메모리41, 42, 43, 44: frame memory 90: auxiliary memory
100 : 마이크로컴퓨터 200 : 고속연산처리회로100: microcomputer 200: high speed operation processing circuit
201 : 타이밍 카운터 202 : 오프셋201: timing counter 202: offset
203 : 데이타 가산기 204 : 타이밍 게이트203: data adder 204: timing gate
205 : 3 스테이트 인터페이스 회로 210 : 화상 메모리205: 3 state interface circuit 210: image memory
211, 212 : 데이타 선택기 213, 223, 223A, 223B, 250 : 랫치 회로211, 212:
214, 224 : 데이타 비교기 215 : 어드레스 카운터214, 224
220 : 시프트 레지스터 221 : 데이타 게이트220: shift register 221: data gate
222 : 마스크 게이트 228 : 플립-플롭222
230 : 데이타 비교 회로230: data comparison circuit
본 발명은 예를들면 한 장의 칼라 화상을 기하학적 도형 영역의 집합으로 취급하고, 그 칼라 화상 정보를 기하학 명령 데이타로 변환해서, 전화 회로나 무선 회로를 이용하여 각종 화상 정보를 전송하는 소위 비디오텍스 또는 텔레스텍트등의 디지탈 화상 전송 시스템에 이용되는 데이타 처리 장치에 관한 것으로서, 특히 각 도형 영역을 임의로 지정하여 임의의 색에 의한 색칠 등을 행하는 화상의 영역 처리 장치에 관한 것이다.For example, the present invention treats a single color image as a set of geometric figure areas, converts the color image information into geometric command data, and transmits various image information using a telephone circuit or a wireless circuit. BACKGROUND OF THE
최근들어, 정보화 사회의 발전에 수반하여 각종 화상 정보를 전송하기 위한 소위 뉴미디어(new media)로서 비디오텍스(videotex)나 텔레텍스트(teletext) 등의 디지탈 화상 정보 전송 시스템의 개발 및 실용화가 각국에서 진행되고 있다. 예를들면, 영국에서는 프레스텔(PRESTEL)이라 불리우는 캡틴 시스템(Captain : Charactor And Pattern Telephone Access Information Network System)이 개발되고, 더우기, 프랑스의 텔레텔(Teletel), 카나다, 미국의 NAPLPS(North American Presentation Level Protocol Syntax)가 실용화되고 있다.In recent years, the development and practical use of digital image information transmission systems such as videotex and teletext as so-called new media for transmitting various image information with the development of the information society have been progressed in various countries. It is becoming. For example, in the UK, a Captain: Charactor And Pattern Telephone Access Information Network System (PRESTEL) has been developed and, moreover, North American Presentation in France, Teletel, Canada, and the United States. Level Protocol Syntax) has been put to practical use.
그런데, 상기 NAPLPS에 있어서 채용되고 있는 한 장의 화상을 기하학적 도형 영역의 집합으로 취급하고 화상 정보를 PDI(Picture Description Instruction) 코드에 의한 기하학 명령 데이타로 나타내어 전송하는 방식은 화상 정보를 모자이크 화소에 대응시켜 문자 코드로 나타내는 다른 방식과 비교하여, 극히 효율이 좋은 것으로서 그 고효율성이 높게 평가되고 있다. 상기 PDI 코드로는 기하학 도형에 의한 작도 명령용의 5종류의 명령 데이타[POINT], [LINE], [AFC], [RECTANGLE], [POLYGON]와 도트(dot) 대응 그래픽스 명령용의 명령 데이타[BIT]와 색상이나 색의 농담(gradation)등을 그래픽스 지정하여 상기 작도 명령의 모드를 제어하기 위한 명령 데이타[CONTROL]등이 정의되어 있다. 상기 명령 데이타[POINT]로는 제 1a 도에 도시한 바와같이 표시 화면내의 임의의 좌표 위치에 작도 개시점을 설정하거나 혹은 점 Po를 플롯(plot)하고, 또한, 상기 명령 데이타[LINE]로는 제 1b 도에 도시된 바와같이, 2점 P1, P2사이를 연결하는 선분을 그린다. 더우기, 상기 명령 데이타[AFC]로는 제 1c 도에 도시된 바와같이, 3점 P1, P2, P3의 좌표에 의거하여 원호를 그리고, 또 도면중 일점쇄선으로 도시된 바와같이 상기 2점 P1,P3사이를 연결하는 현을 그려 그 윤곽내를 빈틈없이 모두 칠하는 일이 행해진다. 또, 상기 명령[RECTANGLE]으로는 제 1d 도에 도시한 바와같이 2점 P1, P2를 대각선상의 정점으로 하는 장방형의 윤곽을 그리고, 또한 그 윤곽내를 빈틈없이 모두 칠하는 것이 행해지며, 또, 상기 명령[POLYGON]으로는 제 1e 도에 도시한 바와같이, 정점 P1, P3, …, Pn에 의해 정해진 다각형의 윤곽을 그리고, 또한 그 윤곽내를 빈틈없이 모두 칠하는 것이 행해진다.By the way, a single image employed in the NAPLPS is treated as a set of geometric figure regions, and the image information is represented as geometric command data by PDI (Picture Description Instruction) code, and the image information is mapped to mosaic pixels. Compared with the other system represented by the character code, the efficiency is extremely high and the high efficiency is evaluated. The PDI code includes five types of instruction data [POINT], [LINE], [AFC], [RECTANGLE], [POLYGON], and instruction data for dot-compatible graphics instruction [ BIT] and color or color gradation, and the like, and command data [CONTROL] for controlling the mode of the drawing command are defined. As the command data [POINT], as shown in FIG. 1A, a drawing start point is set at an arbitrary coordinate position in the display screen, or a point Po is plotted. As shown in the figure, a line segment connecting two points P 1 and P 2 is drawn. Furthermore, as the command data [AFC], as shown in FIG. 1C, an arc is drawn based on the coordinates of three points P 1 , P 2 , and P 3 , and the two points as indicated by a dashed line in the figure. A string connecting the P 1 and P 3 is drawn to fill the contour seamlessly. In addition, the command [RECTANGLE] draws a rectangular outline with two points P 1 and P 2 as diagonal vertices as shown in FIG. 1D, and paints all of the outlines seamlessly. Further, as the command [POLYGON], vertices P 1 , P 3 ,... , The contour of the polygon defined by P n and the inside of the contour are filled in seamlessly.
그러나 상술한 바와같은 기하학 명령 데이타를 이용한 디지탈 화상 정보 전송 시스템에서는 실제로 전송하는 화상 정보의 정보량을 대량으로 삭감하는 것이 가능하여 고효율의 정보 전송을 행할 수가 있지만, 상기 실제로 전송하는 화상 정보, 즉 한 장의 화상을 도시한 기하학 명령 데이타를 작성하기 위한 작업에 많은 수고와 시간을 필요로 한다는 문제점이 있다.However, in the digital image information transmission system using the geometric command data as described above, it is possible to reduce the amount of information of the image information actually transmitted in a large amount, so that highly efficient information transmission can be performed. There is a problem that a lot of effort and time are required for the work for creating the geometric command data showing the image.
예를들면, 전송해야 할 화상을 촬상한 비디오 신호를 상기 기하학 명령 데이타로 변환하는 작업은 모니터 텔레비젼 수상기로 목적의 화상을 보면서, 조작자가 타블렛(tablet)에 의해 윤곽 정보나 색상 및 색의 농담 정보(color hue and gradation inforamation) 등을 먼저 입력한 후에, 각종 수정을 가하여, 기하학 명령 데이타로 변환하는 등의 방법이 생각되지만, 원래 화상의 정보를 정확히 표현하기가 어렵고, 각종 정보의 입력에 많은 시간과 수고를 필요로 한다.For example, the operation of converting a video signal captured from an image to be transmitted into the geometric command data is performed by the operator using a tablet while viewing the target image on a monitor television receiver. After inputting (color hue and gradation inforamation), etc., various modifications are applied to convert the geometric command data into geometric command data. However, it is difficult to accurately represent the information of the original image, and it takes a lot of time to input various information. It requires labor and labor.
따라서, 본 발명은 상술한 바와같은 문제점을 감안하여, 임의의 화상 영역을 지정하고, 그 영역의 화상 데이타를 다른 임의의 화상 데이타로 치환하는 데이타 처리를 단시간내에 효율적으로 행할 수 있도록 화상의 영역 처리 장치를 제공하고, 상술한 바와같은 디지탈 화상 전송 시스템에 있어서 전송 데이타의 작성 등을 용이하게 행할 수 있도록 하는 것을 목적으로 한다.Therefore, in view of the above-described problems, the present invention designates an arbitrary image region and processes the image region so that the data processing for substituting the image data of the region with another arbitrary image data can be efficiently performed within a short time. It is an object of the present invention to provide an apparatus and to facilitate creation of transmission data and the like in the digital image transmission system as described above.
본 발명에 따른 화상의 영역 처리 장치는 상술한 목적을 달성하기 위하여, 입력 화상 데이타를 화상 기억 수단에 기억하고, 상기 화상 기억 수단으로부터 독출되는 화상 데이탈에 대하여 동일 화상 데이타로 표시되는 화상 영역의 경계선을 지정된 화상 영역에 대해 경계 검출 수단으로 추적하여 경계선 데이타를 기억 수단에 기억하며, 상기 경계선 데이타로 표시되는 지정된 화상 영역의 경계선에 대응하는 화상 데이타를 임의로 지정되는 다른 화상 데이타로 치환하여 상기 화상 기억 수단으로부터 주사 라임마다에 순차적으로 화상 데이타를 독출하고, 이 화상 데이타 및 상기 경계선 데이타에 따라서 상기 지정된 화상 영역에 대응하는 윈도우 펄스를 각 주사 라인마다에 형성하여, 상기 윈도우 펄스에 따라서 상기 지정된 화상 영역내의 화상 데이타를 상기 지정된 다른 화상 데이타로 치환하도록 한 것을 특징으로 한다.In order to achieve the above object, the image area processing apparatus according to the present invention stores the input image data in the image storage means, and the image area displayed in the same image data with respect to the image data read out from the image storage means. The boundary line is tracked by the boundary detecting means for the designated image area, and the boundary data is stored in the storage means, and the image data corresponding to the boundary of the designated image area represented by the boundary data is replaced with other image data which is arbitrarily designated. Image data is sequentially read out from the storage means for each scanning lime, and window pulses corresponding to the designated image area are formed for each scanning line in accordance with the image data and the boundary data, and the designated image is made according to the window pulses. Image data in the area Is replaced by the other image data specified above.
이하, 본 발명에 따른 화상의 영역 처리 장치의 일실시예에 대하여, 도면을 참조하면서 설명하기로 한다.EMBODIMENT OF THE INVENTION Hereinafter, one Example of the area processing apparatus of the image which concerns on this invention is demonstrated, referring drawings.
제 2 도 내지 24 도에 도시하는 실시예는 텔레돈(Telidon) 방식의 디지탈 화상 정보 전송 시스템에 있어서의 입력 데이타 처리 장치에 본 발명을 적용한 것으로서, 본 실시예의 장치는 전송하는 칼라 화상을 도시하지 않은 칼라 비디오 카메라로 촬상하여 얻어지는 RGB 색 신호 혹은 표준 텔레비젼 방식(예를들어 NTSC)의 칼라 텔레비젼 신호를 입력으로 하고, 이 입력으로 도시되는 1 프레임분의 칼라 화상을 기하학적 도형 영역의 집합으로서 취급하여, 상기 칼라 화상을 도시하는 기하학 명령 데이타를 마이크로컴퓨터(100)에서 형성하여 데이타 버스를 통해 출력하는 것이다.2 to 24 show the present invention applied to an input data processing apparatus in a teledon type digital image information transmission system. The apparatus of this embodiment does not show a color image to be transmitted. An RGB color signal obtained by imaging with a color video camera or a color television signal of a standard television system (for example, NTSC) is used as an input, and a color image for one frame shown by this input is treated as a set of geometric figure areas. The geometric command data showing the color image is formed in the
본 실시예의 장치의 전체 구성을 도시한 제 2 도의 블록도에 있어서, 예를들어, NTSC 방식의 칼라 텔레비젼 신호는 제 1 신호 입력 단자(1)를 거쳐서 NTSC/RGB 변환기(5)와 동기 분리 회로(6)에 공급되고, 또, RGB 색 신호는 제 2 신호 입력 단자(2)를 거쳐서 입력 선택 회로(10)에 공급된다.In the block diagram of FIG. 2 showing the overall configuration of the apparatus of the present embodiment, for example, an NTSC system color television signal is connected to the NTSC /
상기 입력 선택 회로(10)는 상기 제 1 신호 입력 단자(1)로부터 NTSC/RGB 변환기(5)를 거쳐서 공급되는 상기 칼라 텔레비젼 신호를 변환한 RGB 색 신호 혹은 상기 제 2 신호 입력 단자(2)로부터 공급되는 RGB 색 신호를 선택하여, 한쪽의 RGB 색 신호를 아날로그/디지탈(A/D) 변환기(20)에 공급한다.The
또한, 상기 동기 분리 회로(6)는 상기 제 1 신호 입력 단자(1)로부터 공급되는 칼라 텔레비젼 신호중의 동기 신호를 분리하여, 그 동기 신호를 동기 전환 회로(5)에 공급한다. 상기 동기 전환 회로(5)는 상기 제 2 신호 입력 단자(2)에 공급되는 RGB 색 신호에 대응하는 동기 신호가 제 3 신호 입력 단자(3)로부터 공급되고 있으며, 상기 입력 선택 회로(10)와 연동한 선택 동작을 행하여 상기 A/D변환기(20)에 공급하는 RGB 색 신호에 대응하는 동기 신호를 어드레스 데이타 발생 블록(30)에 공급한다. 이 어드레스 데이타 발생 블록(30)은 PLL발전기(31)의 발진출력펄스를 상기 카운터 회로(32)로 구성되며, 상기 PLL발전기(31)와 카운터 회로(32)로 계수하므로써 상기 동기 신호에 동기한 어드레스 데이타를 형성하고, 이 어드레스 데이타를 선택 회로(35)에 공급한다.In addition, the
상기 어드레스 선택 회로(35)는 컴퓨터(100)의 어드레스 버스를 거쳐 공급되는 어드레스 데이타와 상기 어드레스 데이타 발생 블록(30)으로부터 공급되는 어드레스 데이타를 선택하여, 제 1 내지 제 4 프레임 메모리(41, 42, 43, 44) 커서(cursor) 메모리(45) 및 문자 발생기(46)에 상기 어드레스 데이타를 공급한다. 또한, 상기 프레임 메모리(41,42, 43, 44), 커서 메모리(45) 및 문자 발생기(46)는 컴퓨터(100)의 데이타 버스를 통해 각종 데이타의 교환을 행하도록 되어 있다.The address selection circuit 35 selects address data supplied via the address bus of the
상기 제 1프레임 메모리(41)는 원화 데이타를 기억하기 위한 메모리이며, 상기 A/D변화기(20)에서 RGB 색 신호를 디지탈화하고, 그 입력 칼라 화상 데이타가 상기 어그레스 데이타 발생 블록(30)으로부터의 어드레스 데이타에 의거하여 RGB의 각 색 마다에 기입된다. 이 제 1프레임 메모리(41)에 기억된 입력 칼라 화상 데이타는 언제든지 임의로 판독하여 디지탈/아날로그(D/A) 변환기(61)에 의해 아날로그의 RGB 색 신호로 변환하여 제 1출력 선택 회로(71)를 거쳐 제 1 RGB 모니터 장치(81)에 공급하여 칼라 원화상을 모니터할 수 있도록 되어 있다.The first frame memory 41 is a memory for storing original data, and digitalizes an RGB color signal in the A /
또한, 제 2 내지 제 4 프레임 메모리(42, 43, 44)는 상기 제 1 프레임 메모리(41)에 기억한 원화 데이타에 대하여 색 처리나 용장 데이타(redundant data)의 삭감 처리 등의 각종 데이타 처리용의 범용 메모리로서 사용되는 것으로서, 후술하는 각종 처리 과정에 있어서의 각종 화상 데이타가 상기 데이타 버스를 통해 기입/판독된다. 상기 제 2 프레임 메모리(42)에 기억되는 데이타 처리 완료 후의 화상 데이타는 칼라 테이블 메모리(52)에서 색 데이타로 변환하여 D/A 변환기(63)를 거쳐 아날로그의 RGB 색 신호로 되돌려 제 1 및 제 2 출력 선택 회로(71, 72)에 공급되고 있고, 데이타 처리 완료후의 칼라 화상을 제 1 혹은 제 2RGB 모니터 장치(81, 82)에서 모니터할 수 있도록 되어 있다. 또한, 상기 제 3 프레임 메모리(43)에 기억되는 데이타 처리 완료 후의 화상 데이타는 칼라 테이블 메모리(53)에서 색 데이타로 변환하여 D/A 변환기(64)를 거쳐 아날로그의 RGB 색 신호로 되돌려 상기 제 2 출력 선택 회로(72)로부터 제 2RGB 모니터 장치(82)에 공급하고, 데이타 처리 환료후의 칼라 화상을 모니터할 수 있도록 되어 있다. 또한, 상기 제 4 프레임 메모리(44)는 상기 제 1 프레임 메모리(41)에 기억된 원화 데이타를 상기 D/A 변환기(61)에서 아날로그의 RGB 색 신호로 되돌린 후에 RG/Y 변환기(68)에서 휘도 Y 신호로 변환하고, 또 A/D 변환기(69)를 거쳐서 디지탈화하므로써 얻어지는 원화의 흑백 화상 데이타가 기입된다. 이 흑백 화상 데이타에 대하여 용장 데이타의 삭감 처리 등을 행한 후의 흑백 화상 데이타는 칼라 테이블 메모리(53)와 D/A 변환기(63)를 거쳐서 아날로그의 RGB 색 신호로 되돌려 신호 합성 회로(70)에 공급되도록 되어 있다.The second to
상기 신호 합성 회로(70)에는 상기 커서 메모리(45)로부터 커서 표시 신호가 공급됨과 동시에 상기 문자 발생기(46)로부터 시스템의 각종 제어 명령 표시용의 문자 데이타가 칼라 테이블 메모리(53)에서 아날로그의 RGB 색 신호로 변환하여 공급되고 있으며, 상기 제 4 프레임 메모리(44)에 기억되어 있는 화상 데이타에 의한 화상과 상기 커서 메모리(45)로부터의 커서 표시 신호에 의한 커서 화상과 상기 문자 발생기(46)로부터의 문자 데이타에 의한 화상을 걸쳐 합친 RGB 색 신호를 합성하여 출력한다. 이 신호 합성 회로(70)에서 얻어진 RGB 색 신호에 의한 화상은 상기 제 2RGB 모니터 장치(82)에서 모니터할 수 있음과 동시에, 상기 RGB 색 신호를 RGB/Y 변환기(80)에서 휘도 Y신호로 변환하여 흑백 모니터 장치(83)로 모니터할 수 있도록 되어 있다.The cursor display signal is supplied from the
게다가, 본 실시예에 있어서, 컴퓨터(100)는 이 장치 전체의 동작 제어를 행하는 제어기로서 작용하는 것으로서, 그 데이타 버스 및 어드레스 버스에는 ROM이나 RAM등의 보조 메모리(90)나 플리피 디스크 제어기(flopy disk contoller)(91), 또, 입출력 인터페이스 회로(93) 및 고속 연산 처리 회로(200)등이 접속되어 있다. 또한 상기 입출력 인터페이스 회로(93)에는 메뉴얼 편집 처리시에 각종 데이타를 입력하기 위한 타블렉(tablet)(94) 및 그 모니터 장치(94)가 접속되어 있다.In addition, in the present embodiment, the
그리고, 본 실시예의 장치는 제 3 도의 플로우챠트에 도시한 바와같은 순서로 화상처리를 수행하고, 상기 A/D 변환기(20)를 거쳐서 제 1 프레임 메모리(41)에 공급되는 입력 칼라 화상 데이타를 기하학 명령 데이타로 변환하여 데이타 버스를 통해 출력하도록 되어 있다.The apparatus of this embodiment performs image processing in the order as shown in the flowchart of Fig. 3, and inputs the input color image data supplied to the first frame memory 41 via the A /
즉, 입력 칼라 화상 데이타는 먼저 제 1 프레임 메모리(41)에 기입되며, 원화 데이타로서 기억된다. 여기서, 상기 입력 칼라 화상 데이타는 입력 선택 회로(10) 및 동기 전환 회로(15)를 전환하는 것에 의해, NTSC 칼라 텔레비젼 신호 혹은 RGB 색 신호의 어느 쪽으로부터 선택할 수가 있다. 도, 상기 제 1 프레임 메모리(41)에 기억된 원화 데이타는 RGB/Y 변환기(68)에 의해 흑백 화상 데이타로 변환하여 제 4 프레임 메모리(44)에도 기억된다.That is, the input color image data is first written into the first frame memory 41, and stored as original data. The input color image data can be selected from either an NTSC color television signal or an RGB color signal by switching the
다음에, 상기 제 1 및 제 4 프레임 메모리(41, 44)에 기억된 화상 데이타에 의거하여, 입력 칼라 화상 데이타의 색처리를 행하고, 또, 용장 데이타의 삭감 처리를 행하여, 원화상의 특징을 잃지 않고 최종적으로 기하학 명령 데이타로 변환하기에 적합한 화상 데이타를 자동적으로 형성한다.Next, on the basis of the image data stored in the first and fourth frame memories 41 and 44, color processing of the input color image data is performed, and redundancy data is processed to reduce the characteristics of the original image. Automatically forms image data suitable for conversion into geometric command data without loss.
그리고, 상기 각 처리를 행한 후에, 화상 데이타를 기하학 명령 데이타로 변환하는 변환 처리를 자동적으로 행한다.After each of the above processes, a conversion process for converting the image data into geometric command data is automatically performed.
또한, 원화상을 인위적으로 수정하여 전송하는 경우에는 상기 기하학 명령 데이타 변환 처리 전에 매뉴얼(manual) 편집 처리를 수행한다.In addition, in the case of artificially modifying and transmitting the original image, manual editing processing is performed before the geometric command data conversion processing.
상기 색 처리에서는 상기 제 1 프레임 메모리(41)에 기억되는 입력 칼라 화상 데이타에 도시되는 원칼라 화상중에서 빈도가 높은 상위 n색을 자동적으로 선택하고, 각 화소에 상기 n색 중의 어느것인가를 할당하는 처리를 제 4 도에 도시하는 플로우챠트의 순서로 행한다.In the color processing, the high frequency n high frequency is automatically selected among the original color images shown in the input color image data stored in the first frame memory 41, and each pixel is assigned either one of the n colors. Processing is performed in the order of the flowchart shown in FIG.
이 색 처리는, 상기 고속 연산 처리 회로(200)에 의해, 상기 제 1 프레임 메모리(41)에 기억되어 있는 입력 칼라 화상 데이타에 대하여, 우선 각 색 데이타의 히스토그램(histogram)을 작성하고 이 히스토그램의 상위 n개의 색 데이타를 선택한다. 다음에, 상기 제 4 프레임 메모리(44)에 기억되어 있는 흑백 화상 데이타에 표시되는 흑백 화상의 동일 휘도로 표시되는 각 화상 영역에 대하여, 상기 원 칼라 화상의 색에 가장 가까운 n색의 색을 할당하여, 휘도순의 칼라 테이블 데이타를 형성하고, 또 각 회소마다 편차가 최소로 되도록 상기 칼라 테이블 데이타를 정정한다. 이와같이 상기 고속 연산 처리 회로(200)에서 형성된 칼라 테이블 데이타는 각 칼라 테이블 메모리(51, 52, 53)에 기억된다. 또, 상기 각 화상 영역에 상기 n 색의 할당된 색 처리 완료 후의 화상 데이타가 상기 제 2 프레임 메모리(42)에 기입된다.The color processing first generates a histogram of the respective color data with respect to the input color image data stored in the first frame memory 41 by the high speed
상기 색 처리를 행한 칼라 화상은 상기 제 2프레임 메모리(42)에 기억되어 있는 화상 데이타를 어드레스 데이타로 하여, 상기 제 1 칼라 테이블 메모리(41)로부터 각 색 데이타를 판독함으로써 제 1 혹은 제 2 RGB 모니터 장치(81, 82)에 모니터된다.The color image subjected to the color processing uses the image data stored in the
또, 상기 용장 데이타의 삭감 처리에서는, 상기 제 2 및 제 4 프레임 메모리(42, 44)에 기억되어 있는 각 화상 데이타에 대하여, 잡음 제거 처리, 중간 음조 제거 처리(intermediate tone removal processing), 소영역 삭제 처리 등을 행하여, 다음 기하학 명령 데이타 변환 처리에 불필요한 용장 데이타를 제거하여 정보량을 적게 한다.In the redundant data reduction process, for each image data stored in the second and
이 삭감 처리는 상기 고속 연산 처리 회로(200)에서 행해진다. 예를들면, 제 5 도에 도시한 바와같이 3×3의 9개의 화소[A], [B], [C], [D], [E], [F], [G], [H], [I]에 있어서, 그 중심 화소[E]에 대해 4근방 화소 [B], [D], [F], [H]중 3개 이상의 데이타가 같을 때는 그 값에 상기 중심 화소[E]의 데이타를 치환함으로써 상기 잡음 제거 처리가 행해진다. 또한, 상기 중심 화소[E]에 대하여, 각 화소명[A·E·I][B·E·H], [C·E·G][D·E·F]중 2개 이상이 단음조 증가 혹은 단음조 감소이면, 상기 중심 화소[E]를 중간 음조의 화소로 하여, 8근방의 가장 가까운 값에 상기 중심 화소[E]의 데이타를 치환함으로써, 상기 중간 음조 제거 처리가 행해진다. 다시, 상기 소영역 삭제 처리는 지정된 면적 이하의 소영역을 인접하는 영역에 결합함으로써 행해진다. 그래서, 이와같이 상기 고속 연산 처리 회로(200)에서 용장 데이타의 제거 처리가 실시된 화상 데이타는 상기 제 3 프레임 메모리(43)에 입력되고, 상기 제 2 칼라 테이블 메모리(52)를 거쳐 제 2 RGB 모니터 장치(82)에서 모니터된다.This reduction processing is performed in the high speed
여기서, 상술한 바와같은 색처리나 정보량 삭감 처리를 실시할 처리 대상 화상 영역의 결정에는, 상기 고속 연산 처리 회로(200)에 실장되어 있는, 예를들면 제 6 도에 도시한 바와같은 구성의 경계 검출 회로가 이용된다.Here, the boundary of the configuration as shown in FIG. 6, which is mounted in the high speed
제 6 도에 있어서, 화상 메모리(210)에는 이 장치로 처리를 행하는 화상의 1화소당 n 비트의 1프레임분의 화상 데이타가 미리 기입되어 있다. 상기 화상 메모리(210)는 임의의 크기의 랜덤 액세스 가능한 RAM으로 이루어진다. 또, 상기 화상 메모리(210)의 어드레스 라인에는 상기 마이크로컴퓨터(100)로부터 공급되는 콜록 펄스를 계수하는 타이밍 카운터(201)의 계수 출력으로 어드레싱되는 오프셋 ROM(202)에서 판독되는 오프셋 데이타와 상기 마이크로컴퓨터(100)로부터 공급되는 센터 어드레스 데이타를 가산기(203)에서 가산한 어드레스 데이타가 공급되고 있다. 또, 상기 화상 메모리(210)의 기입/판독 제어 라인에는 상기 타이밍 카운터(210)의 출력을 타이밍 케이트(204)로써 디코드하여 얻어지는신호가 공급되고 있다.6, image data for one frame of n bits per pixel of an image to be processed by this apparatus is pre-written in the
여기서, 상기 타이밍 카운터(201)는 제 7 도의 타임 챠트에 도시한 바와같이 상기 클록 펄스를 계수하여 10진 계수 출력[0], [1], …, [9]을 상기 오프셋 ROM(202)과 타이밍 게이트(204)에 공급한다. 또, 상기 오프셋 ROM(202)에는 상기 계수출력[0], [1], …, [9]로 지정되는 어드레스에 오프셋 데이타, [①], …, [⑦], [⑧],이 기입되어 있다. 상기 오프셋 데이타, [①], [②], …, [⑦], [⑧],은 제 8 도에 도시한 3행 3열의 9화소, ①, ②, …, ⑦, ⑧에 대응하고 있다. 또, 상기 타이밍 게이트(204)는 상기 계수 출력[0], [1],…, [9]를 디코드함으로써, 계수 출력[0]으로부터 계수 출력[8]의 기간중에는 논리「1」로 기입 시간 TR을 표시하는 계수 출력[9]의 기간중에서는 논리「0」으로 판독기간 TWR을 표시하는신호를 형성한다. 그리고, 상기 가산기 (203)는 상기 센터 어드레스 데이타와 상기 오프셋 데이타를 가산함으로써, 상기 센터 어드레스 데이타로 지정되는 검출 대상 화소를 중심 화소 ⑧로 하여, 그 8근방 화소, ①,…, ⑦ 및 상기 중심 화소 ⑧의 각 화상 데이타를 1사이클 기간중에 순차로 지정하는 어드레스 데이타를 형성한다.Here, the
상기 화상 메모리(210)로부터 순차로 판독되는 화상 데이타는 데이타 라인을 통하여 n비트 9단의 시프트 레지스터(220)에 공급되고 있다. 이 시프트 레지스터(220)는 상기 화상 데이타를 상기 클록 펄스에 따라 순차적으로 전송하고 상기 3행 3열의 9화소, ①, …, ⑧의 각 화상 데이타를 일차적으로 기억한다.The image data sequentially read from the
상기 시프트 레지스터(220)에 일시 기억된 각 화상 데이타는 데이타 비교 회로(230)에 공급되어, 상기 중심 화소 ⑧ 즉, 검출 대상 화소의 화상 데이타와 8근방 화소, ①, …, ⑦의 각 화상 데이타를 비교된다. 상기 데이타 비교 회로 (230)는 각각 n비트의 8개의 비교기(231, 232, …, 238)로 이루어지며, 각 화상 데이타의 일치 출력 데이타를 방향 ROM(24)에 판독 어드레스 데이타로서 공급한다.Each image data temporarily stored in the
상기 방향 ROM(240)은 화상의 경계가 연속하는 방향을 표시하는 방향 데이타가 미리 기입되어 있으며, 이 방향 데이타가 랫치 회로(250)를 거쳐 경계 검출 출력으로서 판독되도록 되어 있다. 상기 랫치 회로(250)는 상기 타이밍 게이트(204)로부터신호가 랫치 클록으로서 공급되고 있으며, 이신호의 하강 타이밍, 즉 상기 시프트 레지스터(220)에 각 화소, ①, …, ⑧ 모두의 화상 데이타를 일시 기억한 상태의 타이밍에서 상기 방향 데이타를 랫치하도록 되어 있다. 또, 이 랫치 회로(250)를 거쳐 출력되는 경계 검출 출력, 즉 방향 데이타는 상기 방향 ROM(24)에 어드레스 데이타로서 공급되어 있다.In the
여기서, 중심 화소 ⑧과 그 8근방 화소, ①, …, ⑦로 표시되는 화상 경계가 연속하는 방향은 상기 중심화소⑧를 검출 대상 화소로 한 경우에, 제 9 도에 도시한 8종류의 방향 데이타 D0[→], D1[ ], D2[↑], …, D7[ ]로 일의적으로 결정할 수가 있고 중심 화소 ⑧에 대해 화상의 경계가 연속하고 있음을 예를들면 8근방 화소, ①, …, ⑦에 대하여 D0, D1, …, D7은 각 요소, ①, …, ⑧의 화소의 화상 데이타가 제 9 도에 도시한 바와같은 상태에 있음을 조건으로서, 다른 5개의 화소의 화상 데이타 Δ의 내용에 의하여 결정된다. 환언하면, 각 방향 데이타 D0, D1, …, D7에 대하여 4개의 화소 데이타는 일의적으로 결정된다. 한편, 제 9 도에 있어서, 0표는 화상 데이타가 일치되고 있음을 나타내고, X표는 화상 데이타가 불일치하고 있음을 나타내고 있다.Here, the
그리고, 화상의 연속하는 경계를 반시계 방향으로 순차적으로 추적한다고 하면, 이전의 검출 동작으로 얻어진 방향 데이타와, 현 시점에 있어서의 검출 대상 화소, 즉 중심 화소 ⑧에 대한 8근방 화소, ①, …, ⑦의 각 화소 데이타의 일치, 불일치 상태로부터 방향 데이타를 일의적으로 결정할 수 있다.If the continuous boundary of the image is sequentially tracked in the counterclockwise direction, the direction data obtained by the previous detection operation and the
즉, 우선, 경계 검출을 행하는 화상 영역의 최초의 검출 대상 화소를 결정하는데는 예를들면 화상의 좌측하방으로부터 화상 데이타를 서치(search)하여, 제 10 도에 도시한 바와같이 적어도 8근방 화소중 4개의 화소 ④, ⑤, ⑥, ⑦이 모두 중심 화소⑧에 대하여 불일치 상태로 되어 있는 검출 대상 화소를 검출하면 좋다. 그리고, 이 최초의 검출 대상 화소에 대한 방향 검출 출력은 D0[→], D1[ ], D2[↑] 3종류의 어느 것으로 되며, 각 화소, ①, ②의 화상 데이타 Δ의 내용에 의해 제 10 도에 도시한 바와같이 일의적으로 결정할 수 있다.That is, first of all, in determining the first detection target pixel of the image area for performing boundary detection, image data is searched from the lower left side of the image, and among the at least eight neighboring pixels as shown in FIG. The four
또한, 경계를 추적하여 방향 검출을 행하는 상태에서는 이전의 검출 동작에 의해 결정된 중심 화소 ⑧에 대하여 8근방 화소중 3개의 화소의 일치 또는 불일치가 이미 결정되어 있으며, 다른 5개의 화소의 화상 데이타Δ에 의하여, 제 11a 도 내지 제 11h 도에 도시한 바와같이, 이전의 검출 대상 화소의 위치에 의해 방향 검출 출력이 일의적으로 결정된다. 한편, 제 11a 내지 11h 도에 있어서 ◎표는 이전의 검출 동작시의 검출 대상 화소를 표시하고, 무표시는 일치 불일치의 어느것도 좋은 것을 나타내고 있다.In the state where the boundary is traced and the direction is detected, a match or inconsistency of three pixels among the eight neighboring pixels has already been determined with respect to the center pixel? Determined by the previous detection operation, and the image data? Thus, as shown in FIGS. 11A to 11H, the direction detection output is uniquely determined by the position of the previous detection target pixel. On the other hand, in Figs. 11A to 11H, the? Marks indicate the detection target pixels during the previous detection operation, and the non-display indicates that any of the mismatches is good.
상기 방향 ROM(240)에는 상술한 바와 같이 중심 화소 ⑧에 대한 8근방 화소, ①, …, ⑦의 각 화상 데이타의 일치 검출 출력 데이타와 이전의 경계 검출 출력, 즉 방향 데이타에 의하여 일의적으로 결정된 방향 데이타 D0, D1, …, D7이 미리 기입되어 있으며, 상기 일치 검출 출력 데이타와 방향 데이타를 판독 어드레스로서, 상기 방향 데이타 D0, D1, …, D7가 경계 검출 출력으로서 판독된다.The
본 실시예와 같이, 방향 ROM(240)에 미리 기입된 방향 데이타를 비교 회로(230)의 출력 데이타로 판독함으로써 경계 검출 출력을 얻도록 하면, 종래 16비트 마이크로컴퓨터에서 수십 μs정도의 처리 시간을 요하던 화상의 경계 검출 처리를 1 내지 3μs 정도의 극히 짧은 시간에 행할 수 있다.As in the present embodiment, when the edge detection output is obtained by reading the direction data previously written in the
한편, 이 경계 검출 회로에선, 상기 3스테이트 상태 인터페이스 회로(three-state interface circuit)(205)를 거쳐 검출 레벨 데이타를 데이타 라인에 입력하고, 상기신호가 논리 「0」즉 기입 기간 TWR중에 상기 스테이트 인터페이스 회로 (205)를 인에이블 상태로 제어함으로써, 경계 검출 레벨을 임의로 변경할 수 있도록 되어 있다.On the other hand, in this boundary detection circuit, detection level data is input to a data line via the three-
그리고, 상술한 바와같은 색처리 및 정보량 삭감 처리를 자동적으로 행한 후에, 원화상에 더욱 수정을 가한 경우에는 상술한 색처리 및 삭감 처리를 자동적으로 행하여 얻어지는 화상 데이타로 표시되는 칼라 화상에 대하여, 새로운 모티브의 가입 또는 삭제, 색의 정정 등을 인위적으로 가하는 매뉴얼 편집 처리를 행한다.Then, after the color processing and information amount reduction processing as described above are automatically performed, when further correction is made to the original image, a color image displayed by the image data obtained by automatically performing the color processing and reduction processing described above is newly added. Manual editing is performed to artificially add or delete motifs, correct colors, and the like.
상기 매튜얼 편집 처리는, 상기 제 4 프레임 메모리(44)에 기억되어 있는 흑색 화상 데이타에 의한 화상을 모니터하는 흑백 모니터 장치(83)의 화면상에 설치된 투명 타블렛(94)을 이용하여 행해진다. 상기 흑백 모니터 장치(83)의 화면에는 매뉴얼 편집에 필요한 각종 제어 명령 표시용의 문자 정보 화상이 상기 문자 발생기(46)에 의해서 부여되고, 상기 타블렛(94)으로부터 발생하는 위치 정보를 나타내는 커서 표시용 커서 화상이 상기 커서 메모리(45)에서 제공되며, 조작자가 상기 타블렛(94)에 부착되어 있는 팬을 이용하여 화상의 수정을 행하면, 실시간으로 효과가 표시된다.The said material editing process is performed using the transparent tablet 94 provided on the screen of the black-and-
여기서, 상기 매뉴얼 편집 처리에 의해, 예를들면 임의의 화상 영역의 색을 변경하는 경우에, 본 발명에 따른 영역 처리 장치가 이용된다.Here, the area processing apparatus according to the present invention is used when the manual editing process changes the color of an arbitrary image area, for example.
이 영역 처리 장치는 상기 고속 연산 처리 회로(200)에 실장되어 있고, 상술한 경계 검출 회로를 이용한 제 12 도에 도시된 바와같은 구성의 경계선 처리 회로와, 이 경계선 처리 회로에 의한 경계선 처리 후에 영역 처리를 행하는 제 13 도에 도시된 바와같은 구성의 영역 처리 회로로 이루어진다.This area processing apparatus is mounted on the high speed
제 12 도에 도시한 경계선 처리 회로는 상술한 경계 검출 회로에 있어서 데이타 가산기(203)에 마이트로컴퓨터(100)로부터의 처리 대상 영역을 지정하는 데이타로서 상기 처리 대상 영역의 경계선상의 위치를 나타내는 스타트 어드레스 데이타가 제 1 데이타 선택기(211)를 통해 공급되고, 또한 상기 처리 대상 영역의 새로운 색을 지정하는 화상 데이타가 상기 3스테이트 인터페이스 회로(205)에 공급된다.The boundary line processing circuit shown in FIG. 12 is a start indicating the position on the boundary line of the processing target region as data for designating the processing target region from the
더우기, 이 경계선 처리 회로에서는 오프셋 ROM(202)의 시프트 레지스터 입력으로서 상기 타이밍 카운터(201)의 계수 출력과 상기 랫치 회로(250)에 의한 랫치 출력, 즉 방향 데이타가 제 2 데이타 선택기(212)를 통해 공급되고, 또한 상기 가산기(203)에 공급되는 센터 어드레스 데이타로서, 상술한 마이크로컴퓨터(100)로부터 공급되는 스타트 어드레스 데이타와, 이 가산기(203)에 의한 가산 출력 데이타를 랫치 회로(213)로 랫치한 랫치 출력 데이타가 제 1 데이타 선택기(211)를 통해 공급되고 있다. 또한, 상기 마이크로컴퓨터(100)로 제공된 스타트 어드레스 데이타와 상기 랫치 회로(213)에 의한 랫치 출력 데이타는 데이타 비교기(214)에서 비교되도록 되어 있다.Furthermore, in this boundary line processing circuit, the coefficient output of the
상기 제 2 데이타 선택기(212)는 상기 타이밍 게이트(212)에 의한 상술한 기입 기간 TWR중에 상기 방향 ROM(240)으로부터 상기 랫치 회로(250)을 통하여 출력되는 방향 데이타로 상기 오프셋 ROM(202)을 어드레싱하도록 동작 제어되고 있다. 또한, 상기 제 1 데이타 선택기(211)는 상기 마이크로컴퓨터(100)로부터 공급되는 스타트 어드레스 데이타를 데이타 가산기(203)로 취급하는 기간 이외에는 상기 마이크로컴퓨터03)의 가산 출력 데이타를 랫치하는 랫치 회로(213)의 랫치 출력 데이타를 상기 가산기 (203)로 되돌리도록 동작 제어되고 있다.The
상술한 바와같은 구성의 경계성 처리 회로에 있어서, 마이크로컴퓨터(100)로부터 처리 대상 영역 및 새로운 색을 지정하는 스타트 어드레스 데이타와 화상 데이타가 공급되면, 상기 스타트 어드레스 데이타로 지정되는 화상을 먼저 중심 화소로서 경계 검출하기 시작하여, 상기 방향 ROM(240)으로부터 랫치 회로(250)를 통해 출력되는 랫치 출력 데이타 즉 경계 검출 데이타로서 순차로 상기 오프셋 ROM(204)을 어드레싱함으로써 얻어지는 오프셋 데이타와 상기 스타트 어드레스 데이타를 가산기 (203)로 가산함에 따라, 다음의 검출 동작에 있어서 센터 어드레스 데이타를 얻고, 이 센터 어드레스 데이타를 랫치 회로(213)로 랫치한다. 그리고, 상기 랫치회로(213)로 랫치한 센터 어드레스 데이타로 지정되는 중심 화소에 대하여, 경계 검출 동작을 행함으로써 상기 처리 대상 영역의 경계선을 순차로 추적하면서, 상기 각 중심 화소에 대응하는 화상 데이타를 상기 새로운 화상 데이타로 치환한다. 상기 경계선의 추적 동작은 상기 데이타 비교기(203)에서 부여되고 있는 스타트 어드레스 데이타와, 상기 랫치 회로(213)로서 랫치된 센터 어드레스 데이타가 일치할 때까지 반복되고, 일치한 시점에서 경계선 처리를 종료한다.In the boundary processing circuit of the above-described configuration, when the start address data and the image data specifying the processing target region and the new color are supplied from the
상기 경계선 처리가 종료되면, 상기 마이크로컴퓨터(100)는 상기 데이타 비교기(214)로부터 출력되어 경계선 처리 종료를 나타내는 일치 출력을 수신하여, 상기 고속 연산 처리 회로(200)내의 접속 상태를 제 13 도에 도시한 영역 처리 회로로 전환한다.When the boundary line processing is completed, the
이 영역 처리 회로에서는 상술한 경계선 처리에 의해서 경계선의 화상 데이타가 새로운 색의 화상 데이타로 전환된 화상 메모리(210)의 어드레스 라인에 어드레스 카운터(215)가 접속되고, 이 어드레스 카운터(215)에 의해서 모든 어드레스가 순차로 억세스되며, 상기 화상 메모리(210)로부터 판독되는 화상 데이타가 데이타 라인을 통해 데이타 게이트(221)와 마이크 게이트(222)에 공급된다.In this area processing circuit, an
상기 어드레스 카운터(215)는 타이밍 카운터(210)로 억세스 클록을 1/2 분주하여 얻어지는 타임 클록을 계수함으로써, 어드레스 데이타를 형성하고 있다. 또한, 상기 타이밍 카운터(201)로 얻어지는 타이밍 클록은 NAND게이트(229)를 통하여 3스테이트 인터페이스 회로(205)에 제어 펄스로서 공급됨과 동시에, 상기 화상 메모리(210)에 기입/판독 제어(R/WR)신호로서 공급된다.The
상기 데이타 게이트(221)는 상기 화상 메모리(210)로부터 판독되는 화상 데이타를 랫치 회로(223)를 통해 데이타 비교기(224)에 공급한다. 이 데이타 비교기(224)에는 색 처리 대상 영역의 색을 나타내는 화상 데이타가 상기 마이크로컴퓨터(100)로부터 제공되고 있고, 상기 화상 메모리(210)로부터 판독된 데이타와 상기 마이크컴퓨터(100)에서 제공된 화상 데이타를 비교함으로써, 처리 대상 영역내에 있는지의 여부를 판별하며, 처리 대상 영역내에 있는 것을 나타내는 예를들면 제 14 도에 도시한 바와같은 일치 출력을 스위치(225)를 통해 상기 NAND게이트(229)에 공급함과 동시에, 그 일치 출력을 인버터(226)를 통해 제1AND게이트(227A)에 공급한다. 즉, 상기 제1AND게이트(227A)에는 상기 데이타 비교 회로(224)에 의해 얻어지는 처리 대상 영역의 외부에 있는 것을 나타내는 불일치 출력이 공급되고 있다.The
또한, 상기 마이크 게이트(222)는 상기 화상 메모리(210)로부터 판독되는 화상 데이타에 의해서 상술한 경계선 처리를 실시한 화상 데이타를 추출하여 제 1랫치 회로(223A)를 통해 제 2 랫치 회로(223B)에 공급함과 동시에 제2AND게이트(227B)에 공급하고 있다. 상기 제 2랫치 회로(223B)는 그 랫치 출력을 상기 제1AND게이트(227A)에 공급한다.In addition, the
상기 제1AND게이트(227A)는 그 출력을 R-S 플립-플롭(228)의 리셋트 단자에 공급하고 있다. 또한 상기 제2AND게이트(227B)는 그 출력을 상기 R-S 플립-플롭(228)의 셋트 단자에 공급하고 있으며, 더우기 상기 플립-플롭(228)의 부정출력이 공급되고 있다. 그리고, 상기 플립-플롭(228)은 그 긍정 출력을 윈도우 펄스로서 상기 NAND게이트(229)에 공급한다.The first AND gate 227A supplies its output to the reset terminal of the RS flip-
상술한 바와같은 구성의 영역 처리 회로에 있어서, 상기 마이크로컴퓨터(100)로부터 영역 처리 스타트 펄스가 상기 어드레스 카운터(215)에 공급되면, 이 어드레스 카운터(215)에서 형성되는 어드레스 데이타에 따라서 상기 화상 메모리(210)로부터 화상 데이타가 순차로 판독된다. 그리고, 처리 대상 영역의 화상 데이타가 상기 화상 메모리(210)로부터 판독되면 상기 마이크 게이트(222)에서 상기 처리 대상 영역의 경계선 위치를 나타내는 경계선 데이타를 검출하여 상기 플립-플롭(228)을 셋트하고, 그 후 상기 화상 데이타가 처리 대상 영역의 외부에 있지 않은 것을 상기 데이타 비교기(224)로 판정하고 상기 경계선 데이타로 상기 플립-플롭(228)을 리셋트함으로써, 처리 대상 영역의 1수평 라인분의 화상 데이타에 대응하는 윈도우 펄스를 상기 플립-플롭(228)으로 형성한다. 상기 플립-플롭(228)에서 형성된 윈도우 펄스로서 게이트 제어되는 NAND게이트(229)는 상기 처리 대상 영역내의 화상 데이타에 대응하는 타이밍의 타이밍 클록만을 통과시키고, 그 게이트 출력에 의해 상기 3스테이트 인터페이스 회로(205)의 동작 제어 및 상기 화상 메모리(210)의 각 주사 라인마다에 기입/판독 제어를 행하며, 상기 3스페이트 인터페이스 회로(210)에 공급되고 있는 새로운 색의 화상 데이타로 상기 처리 대상 영역내의 화상 데이타를 치환한다.In the area processing circuit of the above-described configuration, when an area processing start pulse is supplied from the
본 실시예에 있어서, 상기 플립-플롭(208)에 의해 형성되는 윈도우 펄스는, 예를들면, 제 15 도에 도시한 바와같은 영역내부에 다른 영역 ARo을 포함한 처리 대상 영역 ARs에 대해서, 또한 모든 영역에 대해서도, 모든 영역에 걸친 1수평 라인분의 윈도우 펄스로 되어 있다. 그리고, 상기 다른 영역 ARo을 제외하는 데에는 상기 데이타 비교기(224)로부터의 일치 출력을 상기 NAND게이트(229)에 공급하는 스위치(225)를 폐쇄하여, 상기 일치 출력 및 상기 위도우 펄스로서 상기 NAND게이트(229)의 게이트 제어를 행하는 것이 좋고, 상기 스위치(225)의 조작에 의해서, 상술한 경계선 처리를 추적한 처리 대상 영역의 경계선으로 둘러 쌓여진 모든 영역에 대한 처리와, 그 내부의 다른 영역을 제외한 처리를 선택적으로 행할 수 있다.In this embodiment, the window pulse formed by the flip-flop 208 For example, for a processing target area AR s including another area AR o in the area as shown in FIG. 15, and for all areas, it is a window pulse for one horizontal line across all areas. have. In order to exclude the other area AR o , the
여기에서, 상술한 제 12 도에 도시한 경계선 처리 회로에 공급되는 스타트 어드레스 데이타는 예를들면 제 16 도에 도시한 바와같은 구성의 스타트 어드레스 검출 회로를 상기 고속 연산 처리 회로(200)내에 실장하고 있으면, 상기 타블렛(94)을 이용하여 처리 대상 영역내의 임의의 위치를 지정하는 만큼 얻을 수 있다.Here, for example, the start address data supplied to the boundary line processing circuit shown in FIG. 12 is mounted in the high speed
제 16 도에 도시한 스타트 어드레스 검출 회로에서는 상기 타블렛(94)으로 제공되는 처리 대상 영역내의 위치를 지정한 이니셜 어드레스 데이타가 X어드레스 카운터(215X)와 Y어드레스 카운터(215Y)에 로드된다. 상기 각 어드레스 카운터(215X), (215Y)는, 어드레스 검출 스타트 펄스에 의해 트리거되는 플립-플롭의 출력에 의해서 게이트 제어되는 AND 게이트(241)를 통하여 클록 펄스가 공급되고, 이 클록 펄스를 카운트한다. 그리고, 상기 각 어드레스 카운터(215X), (215Y)로서 상기 화상 메모리(210)를 억세스하여, 상기 화상 메모리(210)로부터 판독되는 화상 데이타는 데이타 비교기(242)에 직접 및 랫치 회로(243)를 통하여 공급되고, 상기 데이타 비교기(242)에서 1화소전의 화상 데이타와 비교되며, 경계선상의 데이타인지, 아닌지가 판정된다. 상기 데이타 비교기(242)는 그 비교 출력을 인버터(244)로부터 OR게이트(245)를 통하여 상기 플립-플롭(246)은 상기 데이타 비교기(242)이 출력이 논리 「0」, 즉, 경계선을 검출할 때에 클리어되고, 상기 AND게이트(241)를 폐쇄하여 어드레스 검출 동작을 종료시킨다. 또한, 상기 플립-플롭(246)의 클리어 단자에는 상기 X카운터(215X)의 캐리(carry) 출력이 상기 OR게이트를 통하여 공급되고 있고, 수평 주사라인 종점 위치까지의 사이에 경계선이 검출되지 않을 때, 상기 캐리 출력에 의해 클리어되고, 상기 AND게이트(241)를 폐쇄하여 어드레스 검출 동작을 종료시킨다. 그리고, 상기 어드레스 검출 동작을 종료할 때의 상기 각 어드레스 카운터(215X), (215Y)의 내용이 랫치 회로(214)를 통하여 스타트 어드레스 데이타로서 출력된다. 상기 스타트 어드레스 검출 회로에서는 제 17a 도에 도시한 바와같이 경계선으로 폐쇄된 처리 대상 영역 ARs내의 임의의 위치를 Ps를 나타내는 이니셜 어드레스 데이타가 제공되면 상기 위치 Ps가 존재하는 수평 라인상의 경계선 위치 PE를 나타내는 스타트 어드레스 데이타를 상기 랫치 회로(214)로부터 출력하고, 또한, 제 17b 도에 도시한 바와같이 처리 대상 영역 ARS이 화상 전체의 우측에 위치하고 있는 경우에는 상기 이니셜 어드레스 데이타로 표시되는 위치 PS를 포함하는 수평 라인의 종점 위치 PE'를 나타내는 스타트 어드레스 데이타가 얻어진다.In the start address detection circuit shown in FIG. 16, initial address data designating a position in the processing target area provided to the tablet 94 is loaded into the
또한, 상술한 제 15 도의 처리 대상 영역 ARS와 같이 내부에 다른 영역 ARO를 포함하고 있는 경우에는, 상기 다른 영역 ARO과의 경계선을 검출하는 것이 있지만, 이 경계선은 상술한 경계 검출 회로에 의한 검출 동작이 시계 회전 방향으로 행해지는 것을 검출함으로써 판별할 수 있다. 즉, 상술한 경계선 검출회로는 검출 대상 화소에 대한 부근의 8개의 화소를 반시계 회전 방향으로 지정하여 검출 동작을 행하도록 한 것으로서, 상기 처리 대상 영역 ARS내의 다른 영역 ARO과의 경계선을 제 18 도에 도시한 바와같이 시계 회전 방향으로 순차로 검출하는 것이 된다. 상기 경계 검출 회로에 의하 검출 동작이 반시계 회전 방향 또는 시계 회전 방향으로 행해지는가를 판별하기 위해서는 예를들면 제 19 도에 도시한 바와같은 구성의 판별 회로를 이용하는 것이 좋다.In addition, when another area AR O is included inside as in the process target area AR S of FIG. 15 described above, the boundary line with the other area AR O can be detected. Can be discriminated by detecting that the detection operation is performed in the clockwise rotation direction. That is, the above-described boundary line detection circuit designates eight pixels in the vicinity of the detection target pixel in the counterclockwise rotation direction to perform a detection operation, and removes a boundary line with another area AR O in the processing target area AR S. As shown in FIG. 18, the detection is performed sequentially in the clockwise rotation direction. In order to determine whether the detection operation by the boundary detection circuit is performed in the counterclockwise rotation direction or the clockwise rotation direction, it is preferable to use a discrimination circuit having a configuration as shown in FIG. 19, for example.
제 19 도에 도시한 판별 회로에서는 상술한 경계 검출 회로로 얻어지는 검출 출력, 즉 방향 데이타가 차분기(248)에 직접 및 랫치 회로(247)를 통하여 공급되고, 이 차분기(248)로 얻어지는 차분 데이타가 데이타 가산기(249)에 의해 적산된다.In the discriminating circuit shown in FIG. 19, the detection output obtained by the above-described boundary detecting circuit, that is, the direction data is supplied directly to the
상기 데이타 가산기(249)는 상기 경계 검출 회로에서 1주분의 경계선이 검출되는 동안의 상기 차분 데이타를 적산한다. 이 데이타 가산기(294)에서 얻어지는 가산 출력의 최상위 비트 데이타는 상기 경계 검출 회로에 의해 반시계 회전방향의 검출 동작이 행해지면 논리 「0」으로 되고, 반대로 시계 회전 방향의 검출 동작이 행해지면 논리 「1」로 된다. 따라서, 이 판별 회로에 의한 판별 출력으로, 상기 다른 영역 ARO과의 경계선을 나타내는 경계선 데이타를 지정할 수 있고, 상기 경계 검출 동작과 판별 동작을 병행함으로써, 임의의 처리 대상 영역의 경계선을 정확히 검출할 수 있다. 또한, 상기 판별 회로를 이용하면, 상기 처리 대상 영역 ARS내의 다른 영역 ARO에 대한 영역 처리를 행할 수 있게 된다.The data adder 249 integrates the difference data while a boundary line of one week is detected in the boundary detection circuit. The most significant bit data of the add output obtained by this data adder 294 becomes logic "0" when the counterclockwise rotation direction detection operation is performed by the boundary detection circuit, and conversely, when the clockwise direction detection operation is performed, the logic " 1 ". Therefore, in the discrimination output by this discriminating circuit, boundary data indicating the boundary line with the other area AR O can be designated, and the boundary line of any processing target region can be accurately detected by performing the boundary detecting operation and the discriminating operation in parallel. Can be. In addition, using the discrimination circuit, it is possible to perform area processing on another area AR O in the processing target area AR S.
그리고, 상술한 바와같이 영역 처리 장치를 이용하여 매뉴얼 편집 처리를 행한 후에 행해지는 상기 기하학 명령 데이타 변환 처리에서는 상술한 바와 같이 각종 처리용 칼라 화상 데이타로 표시되는 화상에 대해서, 각 화상 영역의 개개의 기하학 명령 데이타를 다음 순서에 따라 형성한다.As described above, in the geometric command data conversion processing performed after the manual editing process using the area processing apparatus, each image area of each image area is individually displayed with respect to the image represented by the color image data for various processing as described above. Geometry command data is formed in the following order.
먼저, 각 화상 영역의 경계를 상기 고속 연산 처리 회로(200)로 추적하여, 각 정점의 위치 좌표를 검출한다. 다음에, 검출된 위치 좌표를 기하학 도형(다각형)의 정점 위치인 것으로 간주하여, 상술한 PDI코드에 의한 기하학 명령 데이타, 예를들면(POLYGON)으로 변환한다. 더우기, 상기 각 정점을 연결하는 기하학 도형으로 표시되는 각 화상 영역마다에, 상술한 색 처리로 결정한 색에 대응하는 명령 데이타(CONTROL)를 부여한다.First, the boundary of each image area is traced by the high speed
예를들면, 제 20 도에 도시한 바와같이 각 정점 P0, P1,…, P4를 있는 화상 영역 AR에 대해서 PDI 코드에 의한 명령 데이타로 변환하는 경우에는 이 화상 영역 AR 색상 지정을 텍스처 패턴 TXP와 상기 택스처 패턴 TXP의 색상의 조합으로 행해지며, 우선 각 정점 P0, P1, …, P4의 각 위치 좌표 [X0, Y0], [X1, Y1], [X4, Y4]와 배경 칼라(background color)를 코딩하고, 다음에 텍스처 패턴 TXP를 지정하여 그 전경 칼라(foreground color)와 상기 각 위치 좌표 [X0, Y0], [X1, Y1], …, [X4, Y4]를 다시 코딩함으로써, 상기 화상 영역 AR에 대한 코딩을 종료한다. 상기 텍스처 패턴 TXP로서 예를들면 제 21 도에 도시한 바와같이, 3종류의 패턴 TXP1, TXP2, TXP3를 선택적으로 지정하고, 그 전경 칼라를 흑백 2색으로부터 선택적으로 지정하면, 제 22 도에 도시한 바와같이, 상기 화상 영역 AR에 대하여 5가지 다른 색조의 색 지정을 할 수 있다. 즉, 2종류의 색간의 텍스처 패턴 TXP를 mp종류, 또, 색을 np종류라 하면,For example, as shown in FIG. 20, each vertex P 0 , P 1 ,... , In the said done for specifying the image area AR color as texture pattern TXP and combination of colors of the Tax processing pattern TXP, first each vertex P 0 when converting to the command data according to the PDI code for the image area AR in the P 4 , P 1 ,.. Each location coordinates [X 0, Y 0] of the P 4, [X 1, Y 1], [
인 Np종류의 색을 개략적으로 표현할 수 있다.The color of the N p type can be represented schematically.
이제, 본 실시예에 있어서 각 화상 영역의 색 지정에 대한 구체적인 예를 설명한다. 설명을 간단히 하기 위하여, 입력 칼라 화상 데이타는 R.G.B의 각 색상을 각기 3레벨로 하여 33=27 색의 색 데이타로서 원화상이 색상을 나타내고 있는 것으로 한다. 예를들면, 제 23 도에 도시한 바와같이, R.G.B의 각 레벨이(0, 1, 2)로 표시되는 색상 C0를 R.G.B가 2페벨, 즉 23=8색으로 합성하는 데에는, 도면중 R.G.B의 레벨이 (0, 2, 2)인 파선으로 표시한 색상 CB과(0, 0, 2)인 일점쇄선으로 표시한 색상 CF를 1 : 1로 배합하는 것이 좋다. 즉, 전경 칼라를 CF(0, 2, 2)로 하고, 배경 칼라를 CB(0, 20, 2)로 하여, 체크 무늬의 텍스터 패턴을 이용하는 것이 좋다. 따라서, 원화상의 각 색상을 나타내는 입력 칼라 화상 데이타의 색 데이타 Dc(R.G.B)를 판독 어드레스로 하여, 제 24 도에 도시한 바와같은 텍스처 데이타를 텍스처 메모리로부터 판독함으로써, 27색의 색 지정을 행할 수 있다. 또한, 텍스처 데이타는 전경 칼라 지정 데이타 DCF(R.G.B)와 배경 칼라 지정 데이타 DCB(R.G.B) 및 텍스처 지정 데이타 DTX로 이루어지며 DTX=0은 전경 칼라만으로 색지정하는 것을 나타내고, DTX=1은 체크 무늬의 텍스처 패턴을 지정하는 것을 나타낸다.Now, a specific example of color specification of each image area in the present embodiment will be described. For the sake of simplicity, the input color image data assumes that the original image represents the color as color data of 3 3 = 27 colors with each color of RGB as three levels. For example, as shown in FIG. 23, in order to synthesize the color C0 in which each level of RGB is represented as (0, 1, 2) to 2 pebbles, that is, 2 3 = 8 colors, the RGB in the drawing is RGB. It is preferable to combine the color C B indicated by the broken line with the level of (0, 2, 2) and the color C F indicated by the dashed dashed line with the (0, 0, 2) at 1: 1. That is, it is good to use a checkered textural pattern with the foreground color as C F (0, 2, 2) and the background color as C B (0, 20, 2). Therefore, by designating the color data Dc (RGB) of the input color image data representing the respective colors of the original image as the read address, and reading the texture data as shown in FIG. 24 from the texture memory, 27 colors can be designated. Can be. In addition, the texture data is composed of the foreground color specification data D CF (RGB), the background color specification data D CB (RGB), and the texture specification data D TX , where D TX = 0 indicates color specification using only the foreground color, and D TX = 1. Indicates a checkered texture pattern.
상술한 실시예의 설명으로부터 명백한 바와같이, 본 발명에 따른 화상의 영역 처리 장치에서는 화상 기억 수단에 기억된 화상 데이타로 표시되는 화상에 대하여, 각 화상 영역을 임의로 지정하여, 지정된 영역의 화상 데이타를 다른 화상 데이타로 극히 간단히 치환할 수 있고, 디자탈 화상 전송 시스템등에 있어서의 입력 화상 처리에 적합한 데이타 처리 장치를 제공할 수 있다.As is apparent from the description of the above-described embodiments, in the image area processing apparatus according to the present invention, each image region is arbitrarily designated for an image displayed by the image data stored in the image storage means, and image data of the designated region is changed. It is possible to provide a data processing apparatus which can be replaced with image data extremely simply and which is suitable for input image processing in a digital image transmission system or the like.
Claims (1)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP84-87404 | 1984-04-28 | ||
JP59087404A JPS60231268A (en) | 1984-04-28 | 1984-04-28 | Picture area processor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR850007353A KR850007353A (en) | 1985-12-02 |
KR930008177B1 true KR930008177B1 (en) | 1993-08-26 |
Family
ID=13913931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019850002487A KR930008177B1 (en) | 1984-04-28 | 1985-04-13 | Picture image processing apparatus |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPS60231268A (en) |
KR (1) | KR930008177B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5259041A (en) * | 1987-05-12 | 1993-11-02 | Konica Corporation | Image processing method and apparatus |
WO1988009098A1 (en) * | 1987-05-12 | 1988-11-17 | Konica Corporation | Method and apparatus for image processing |
-
1984
- 1984-04-28 JP JP59087404A patent/JPS60231268A/en active Pending
-
1985
- 1985-04-13 KR KR1019850002487A patent/KR930008177B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR850007353A (en) | 1985-12-02 |
JPS60231268A (en) | 1985-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5332995A (en) | Graphic pattern processing apparatus | |
US4808989A (en) | Display control apparatus | |
US4646134A (en) | Apparatus for encoding image signal | |
US4420770A (en) | Video background generation system | |
EP0369702B1 (en) | Image processing apparatus and method | |
US4914729A (en) | Method of filling polygonal region in video display system | |
US5179642A (en) | Image synthesizing apparatus for superposing a second image on a first image | |
EP0202014B1 (en) | Improvements in video image creation systems | |
GB2174278A (en) | Area-fill graphic image processing system | |
JP2578170B2 (en) | Image display device | |
KR930008177B1 (en) | Picture image processing apparatus | |
KR930004642B1 (en) | Apparatus for encoding image signal | |
KR930004645B1 (en) | Apparatus for encoding image signal | |
KR930008176B1 (en) | Apparatus for encoding image signal | |
JPS60197073A (en) | Color designation processing unit of color picture | |
KR900000091B1 (en) | Display devices of color picture image | |
JP2511966B2 (en) | Graphic processing device | |
JPH0546757B2 (en) | ||
JPH0124319B2 (en) | ||
KR950007532B1 (en) | Grapic pattern processing apparatus | |
JPS5848101B2 (en) | Zukei Hatsuseisouchi | |
JPH0659105B2 (en) | Color correction method in video plate making apparatus | |
JPH0546758B2 (en) | ||
JPH06342280A (en) | Video character pattern processor | |
JPH03206782A (en) | Symbol generator |
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 | ||
LAPS | Lapse due to unpaid annual fee |