TW503377B - Image processing method and system with multiple modes - Google Patents

Image processing method and system with multiple modes Download PDF

Info

Publication number
TW503377B
TW503377B TW90111909A TW90111909A TW503377B TW 503377 B TW503377 B TW 503377B TW 90111909 A TW90111909 A TW 90111909A TW 90111909 A TW90111909 A TW 90111909A TW 503377 B TW503377 B TW 503377B
Authority
TW
Taiwan
Prior art keywords
image
color
advanced
black
white
Prior art date
Application number
TW90111909A
Other languages
Chinese (zh)
Inventor
Jewel Tsai
Nora Wen
Original Assignee
Mustek Systems Inc
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 Mustek Systems Inc filed Critical Mustek Systems Inc
Priority to TW90111909A priority Critical patent/TW503377B/en
Application granted granted Critical
Publication of TW503377B publication Critical patent/TW503377B/en

Links

Abstract

The present invention is an image processing method and system with multiple modes, which comprises the information capturing and storing of line-art, gray scale, and color images; capture the preliminary color image by the image capturing device; dividing the preliminary color image into the line-art image region, gray-scale image region, color image region; capture the advanced line-art image, advanced gray scale, and advanced color images from the image-capturing device; users can select the line-art image region, gray-scale image region, color image region from the pre-existing images displayed by the image display device to obtain the advanced line-art image, advanced gray scale, and advanced color images; store the image information with multiple modes to a multi-mode image file by an image storing device.

Description

503377 五、發明說明(1) ^ 【發明的應用範圍】 本發明係有關於一種多重模式的影像處理方法及其系 統,可應用於包含黑白、灰階、彩色影像的影像處理。 【發明背景】 一般的電子圖檔主要由像素(pixel )所構成,一個 影像檔就是以成千上萬乃至數百萬個像素以格狀的排列方 式來顯示。電腦用一個或多個位元的資料組合記錄每一個 像素的亮度和色彩。影像資料的位元數越大,其儲存的資 料量也越大,所佔的記憶體隨之增大。而依影像儲存的方 式則可分為黑白(1 i n e a r t )影像、灰階(g r a y 1 e v e 1 ) _ 影像和彩色(color )影像三種類型。 黑白影像的每個像素只用一個位元來記錄,以黑點和 白點來記錄影像的變化,一般用於光學手寫辨識(OCR ) 的判讀。半色調影像(h a 1 f t ο n e )係以黑白影像產生近似 灰階影像的錯覺效果,較暗的區域是以較多的黑點來表 示,而較亮的區域用較少的黑點來表示。因此,可製造出 ' 成影像的層次感,報紙上看到的圖片多半屬於這類半色調 、 影像。 灰階影像的每個像素用更多的位元來表示,例如:要 表現1 6 階的灰階層次需要用到4 個位元,更進一步,8 _ 個位元可表現多達2 5 6 階的灰階層次,使得黑白照片的 層次表現更加立體與真實。 彩色影像包含的資料較黑白影像或灰階影像複雜,為 獲取彩色影像,數位相機和掃描器使用分色處理,例如:503377 V. Description of the invention (1) ^ [Application range of the invention] The present invention relates to a multi-mode image processing method and system, which can be applied to image processing including black and white, grayscale, and color images. [Background of the Invention] A general electronic picture file is mainly composed of pixels. An image file is displayed in a grid-like arrangement with thousands or even millions of pixels. The computer uses a combination of one or more bits of data to record the brightness and color of each pixel. The larger the number of bits of image data, the larger the amount of data it stores, and the more memory it takes. According to the image storage method, it can be divided into three types: black and white (1 i n e a r t) image, gray level (g r a y 1 e v e 1) _ image and color (color) image. Each pixel of a black and white image uses only one bit to record, and the black point and white point are used to record changes in the image. It is generally used for the interpretation of optical handwriting recognition (OCR). A halftone image (ha 1 ft ο ne) is a black and white image that produces the illusion of a grayscale image. Darker areas are represented by more black dots, and brighter areas are represented by fewer black dots. . Therefore, it can create a sense of layering into an image. Most of the pictures seen in newspapers belong to this type of halftone and image. Each pixel of a grayscale image is represented by more bits. For example: 4 bits are needed to represent the gray level of 16 levels. Furthermore, 8 _ bits can represent up to 2 5 6 The gray level of the order makes the hierarchical expression of black and white photos more three-dimensional and real. Color images contain more complex data than black and white or grayscale images. To obtain color images, digital cameras and scanners use color separation processing, such as:

第4頁 503377 五、發明說明(2) 一 RGB三色(紅色Red 、綠色Green 和藍色Blue)分析接 收到的影像光線。透過這個模式,影像中所有的色彩都可 以用紅綠藍三原色以不同強度還原而成。而隨著選取模式 不同,對色彩記錄的極限可達2 4 位元、3 0 位元或3 6 位元RGB像素不等。 但在實際運用上,單一標的物往往包含一種以上之影 像特質,例如:一份報紙包含文字的黑白影像、廣告的灰 階影像、圖片的彩色影像;身分證之相片部份屬於彩色影 像,其他部分屬於黑白影像或灰階影像;在名片管理上, 亦常需將相片部份的彩色影像加上文字部份的黑白影像、 φ 商標部份的灰階影像同時處理。 以往之處理方式有幾種:第一個方法是當成彩色影像 而進行處理,其優點是影像資訊豐富,不致失真,其缺點 是所需記憶量大,且處理時間長。第二個方法是當成黑白 或灰階影像而進行處理,其優點是所需記憶量小,且處理 時間短,其缺點是影像資訊太少,容易失真。 1 【發明之概述】 v 有鑑於此,本發明提出一種多重模式的影像處理方法 及其系統,以包含黑白、灰階、彩色之多重模式擷取、編 輯與儲存影像資訊。 φ 本發明係以影像擷取裝置擷取初步彩色影像;以影像 分析裝置將初步彩色影像區分為黑白影像區域、灰階影像 區域、彩色影像區域;由影像擷取裝置擷取進階黑白影 像、進階灰階影像、進階彩色影像;使用者亦可以輸入裝Page 4 503377 V. Description of the invention (2)-RGB three colors (Red, Green, and Blue) analyze the received image light. Through this mode, all colors in the image can be restored with different intensities using the three primary colors of red, green and blue. With different selection modes, the limit on color recording can reach 24, 30, or 36-bit RGB pixels. However, in practice, a single object often contains more than one image quality, for example: a newspaper contains a black and white image of text, a grayscale image of an advertisement, and a color image of an image; part of the photo of the ID card is a color image. Some belong to black-and-white or gray-scale images; in the management of business cards, it is often necessary to process the color image of the photo portion plus the black-and-white image of the text portion and the gray-scale image of the φ trademark portion at the same time. There are several previous processing methods. The first method is to process them as color images. The advantage is that the image information is rich and not distorted. The disadvantages are the large amount of memory required and the long processing time. The second method is to process it as a black and white or grayscale image. The advantage is that the required amount of memory is small and the processing time is short. The disadvantage is that the image information is too small and it is easy to be distorted. 1 [Summary of the Invention] v In view of this, the present invention proposes a multi-mode image processing method and system for capturing, editing, and storing image information in multiple modes including black and white, gray scale, and color. φ The present invention captures a preliminary color image with an image capture device; separates the preliminary color image into a black and white image area, a grayscale image area, and a color image area with an image analysis device; the advanced black and white image is captured by the image capture device, Advanced grayscale image, advanced color image; users can also input equipment

第5頁 503377 五、發明說明(3) 置由影像顯示裝置所顯示之既存影像選取黑白影像區域、 灰階影像區域、彩色影像區域而取得進階黑白影像、進階 灰階影像、進階彩色影像;以影像儲存裝置將多重模式之 影像資訊儲存至一個多模式影像檔案。 本發明提出的多重模式之影像擷取與儲存方法,包 含:初步擷取影像、分析影像資訊、進階擷取影像、儲存 影像資訊等步驟。 本發明提出的多重模式之影像編輯與儲存方法,包 含:擷取既存影像、顯示初步影像、編輯影像資訊、儲存 影像資訊等步驟。 本發明提出的多重模式之影像編輯與儲存系統,包 含:影像顯示裝置、輸入裝置、影像儲存裝置。 本發明之目的在於以包含黑白、灰階、彩色之多重模 式擷取、編輯、儲存影像資訊。 有關本發明之詳細内容及技術,茲就配合圖式說明如 下: 【發明之詳細說明】 請參照「第1圖」,多重模式的影像擷取與儲存方法 之流程圖。 本發明是一種多重模式的影像擷取與儲存方法,以包 含黑白、灰階、彩色之多重模式擷取與儲存一標的物之影 像資訊 '包含下列步驟:初步擷取影像1 0 0、分析影像資 訊2 0 0、進階擷取影像3 0 0、儲存影像資訊4 0 0。 初步擷取影像1 0 0係以影像擷取裝置對標的物擷取初 503377 五、發明說明(4) — 步彩色影像。初步擷取影像1〇〇係以介於6〇dpi與3〇〇dpi之 間的低解析度擷取該初步彩色影像。 分析影像資訊20 0係以影像分析裝置將該初步彩色影 像區分為黑白影像區域、灰階影像區域、彩色影像區域。 ,階掏取影像3 0 0係由影像掏取裝置依據里'白影像區 黑白影像、進階灰階影像、進階彩色乂…勿分別擷取進階 3 0 0係以介於3 0 0 dp i與2 4 0 0dpi之間的t像。進階擷取影像 黑白影像、該進階灰階影像、該進階二=斤度擷取該進階 儲存影像資訊4 0 0係以影像儲存自壯形色影像。 像、進階灰階影像、進階彩色影像彳法衣—罝將進階黑白影 檔案。 、=子至一個多模式影像 請參照「第2圖」,分析影像資—η丰 之流程圖。 貝汛步驟的第一實施例 分析影像資訊步驟2 0 〇之第—實A 影像2 1 0、選取區域範圍2 2 〇。 焉^例包含:顯示初步 顯示初步影像210係以影像顯示 ^ 像。 、置頌示初步彩色影 選取區域範圍2 2 0係由使用者 示裝置選取黑白影像區域、灰階 雨入裝置自該影像顯 域。 〜像區域、彩色影像區 凊麥照「第3圖」,分析影像資 之流程圖。 貝Λ步驟的第二實施例 分析影像資訊步驟2 〇 〇之第一每 弟一貝施例包含:區分彩色 503377 五、發明說明(5) 座標2 3 0、切割影像方塊2 4 0、計算分布比率2 5 0、分類影 像方塊2 6 0。 區分彩色座標2 3 0係將一個彩色座標區分為黑白空 間、灰階空間與彩色空間。 切割影像方塊2 4 0係以水平與垂直方式切割初步彩色 影像切割為複數個影像方塊。 計算分布比率2 5 0係逐一計算各影像方塊所包含像素 在黑白空間、灰階空間、彩色空間之分布比率。 分類影像方塊2 6 0係依據各影像方塊所包含像素在黑 白空間、灰階空間、彩色空間之分布比率將各影像方塊分 類為黑白影像區域、灰階影像區域、彩色影像區域。 請參照「第4圖」,區分彩色座標之流程圖。 區分彩色座標2 3 0包含:轉換彩色座標之各點為C I E Lab座標(L,a,b ) 231 ;將a2 +b2大於或等於一彩色臨界值 的彩色座標之各點劃分為彩色空間2 3 2 ;將a2 + b2小於彩度 臨界值且L介於白色臨界值與黑色臨界值之間的彩色座標 之各點劃分為灰階空間2 3 3 ;以及將彩色空間與灰階空間 之外的彩色座標之各點劃分為黑白空間2 3 4。 請參照「第5圖」,儲存影像資訊之流程圖。 儲存影像資訊步驟4 0 0包含:紀錄區域資訊4 1 0、紀錄 影像資訊42 0。 紀錄區域資訊4 1 0係紀錄黑白影像區域、灰階影像區 域、彩色影像區域之座標。 紀錄影像資訊4 2 0係紀錄進階黑白影像、進階灰階影 503377 五、發明說明(6) 像、進階彩色影像。 請參照「第6圖」,多重模式的影像編輯與儲存方法 之流程圖。 本發明是一種多重模式的影像編輯與儲存方法,讀取 至少一既存影像檔案進行編輯並以包含黑白、灰階、彩色 之多重模式儲存,包含下列步驟:擷取既存影像6 0 0、顯 示初步影像7 0 0、編輯影像資訊8 0 0、儲存影像資訊9 0 0。 擷取既存影像6 0 0係由影像儲存裝置讀取至少一既存 影像。 顯示初步影像7 0 0係以影像顯示裝置顯示既存影像。 0 編輯影像資訊8 0 0係使用者以輸入裝置由影像顯示裝 置所顯示之既存影像選取黑白影像區域、灰階影像區域、 彩色影像區域而取得進階黑白影像、進階灰階影像、進階 彩色影像。 儲存影像資訊9 0 0係以影像儲存裝置將進階黑白影 像、進階灰階影像、進階彩色影像儲存至一多模式影像檔 1 案。 、 請參照「第7圖」,儲存影像資訊之流程圖。 儲存影像資訊步驟9 0 〇包含:紀錄區域資訊9 1 0、紀錄 影像資訊9 2 0。 _ 紀錄區域資訊9 1 0係紀錄黑白影像區域、灰階影像區 域、彩色影像區域之座標。 紀錄影像資訊9 2 0係紀錄進階黑白影像、進階灰階影 像、進階彩色影像。Page 5 503377 V. Description of the invention (3) Set the existing image displayed by the image display device to select the black and white image area, grayscale image area and color image area to obtain advanced black and white image, advanced grayscale image, advanced color Image: Use the image storage device to store multi-mode image information into a multi-mode image file. The multi-mode image acquisition and storage method provided by the present invention includes the steps of initially acquiring images, analyzing image information, advanced acquiring images, and storing image information. The multi-mode image editing and storage method provided by the present invention includes the steps of capturing existing images, displaying preliminary images, editing image information, and storing image information. The multi-mode image editing and storage system provided by the present invention includes: an image display device, an input device, and an image storage device. The purpose of the present invention is to capture, edit, and store image information in multiple modes including black and white, grayscale, and color. The detailed content and technology of the present invention are described below in conjunction with the drawings: [Detailed description of the invention] Please refer to "Fig. 1" for a flowchart of a multi-mode image capture and storage method. The present invention is a multi-mode image capture and storage method. The multi-mode capture and storage of image information of a target object in multiple modes including black and white, gray scale, and color includes the following steps: preliminary capture of image 100, analysis of image Information 2 0 0, advanced capture image 3 0 0, stored image information 4 0 0. The initial capture of the image 100 is based on the capture of the target by the image capture device. 503377 V. Description of the invention (4)-a step color image. The preliminary capture image 100 captures the preliminary color image at a low resolution between 60 dpi and 300 dpi. The analysis of the image information 200 is to divide the preliminary color image into a black and white image area, a grayscale image area, and a color image area by an image analysis device. The image extraction device 3 0 0 is based on the image extraction device according to the black and white image of the white image area, the advanced gray image, and the advanced color image ... Do not capture the advanced 3 0 0 separately to be between 3 0 0 t image between dp i and 2 400 dpi. Advanced capture image Black and white image, the advanced gray-scale image, the advanced two = cataclysm capture the advanced storage image information 4 0 0 is stored as a strong image. Image, advanced grayscale image, advanced color image. , = Sub-to a multi-mode image Please refer to "Figure 2" to analyze the flow chart of image resources-η 丰. The first embodiment of the Bayesian step is to analyze the image information in step 200—the real A image 2 1 0 and the selected area 2 2 0. Examples include: display preliminary display preliminary image 210 is to display ^ image. 1. Set the initial color image. The range of the selected area 2 2 0 is the black and white image area selected by the user display device and the gray scale rain-in device from the image display area. ~ Image area, color image area 凊 麦 照 「第 3 图」 A flow chart for analyzing image data. The second embodiment of the step Λ analyzes the image information. The first example of step 200 includes: distinguishing color 503377 5. Description of the invention (5) Coordinates 2 3 0, cut image square 2 4 0, calculation distribution The ratio is 2 50, and the classification image is 2 6 0. Differentiating color coordinates 2 3 0 distinguishes a color coordinate into black and white space, gray scale space and color space. Cutting image squares 2 0 0 Cuts the preliminary color image horizontally and vertically. The image is cut into multiple image squares. Calculating the distribution ratio 2 50 calculates the distribution ratio of the pixels contained in each image block in black and white space, gray scale space, and color space one by one. Classification of image blocks 260 is based on the distribution ratio of pixels contained in each image block in black and white space, gray level space, and color space. Each image block is classified into black and white image area, gray level image area, and color image area. Please refer to "Figure 4" for the flowchart of distinguishing color coordinates. Differentiating the color coordinates 2 3 0 includes: converting each point of the color coordinate to the CIE Lab coordinate (L, a, b) 231; dividing each point of the color coordinate where a2 + b2 is greater than or equal to a color threshold into a color space 2 3 2; divide the points of the color coordinates where a2 + b2 is less than the chroma threshold and L is between the white threshold and the black threshold into grayscale space 2 3 3; and The points of the color coordinates are divided into black and white space 2 3 4. Please refer to "Figure 5" for the flowchart of storing image information. Step 4 0 of storing image information includes: recording area information 4 1 0, recording image information 4 0. Recording area information 4 1 0 Records the coordinates of the black and white image area, grayscale image area, and color image area. Record image information 4 2 0 Record advanced black and white image, advanced gray level image 503377 5. Description of the invention (6) Image, advanced color image. Please refer to "Figure 6" for the flowchart of multi-mode image editing and storage method. The invention is a multi-mode image editing and storage method. At least one existing image file is read for editing and stored in a multi-mode including black and white, gray scale, and color. The method includes the following steps: capturing an existing image 600, displaying a preliminary Image 7 0 0, edit image information 8 0 0, save image information 9 0 0. Capturing an existing image 600 refers to reading at least one existing image from an image storage device. Display preliminary image 7 0 0 Existing image is displayed on the image display device. 0 Edit image information 8 0 0 The user uses the input device to select an existing image displayed by the image display device to select a black and white image area, a grayscale image area, and a color image area to obtain an advanced black and white image, an advanced grayscale image, and an advanced Color image. Store image information 9 0 0 Use the image storage device to save advanced black and white images, advanced grayscale images, and advanced color images to a multi-mode image file. Please refer to "Figure 7" for the flowchart of storing image information. Step 9 0 of storing image information includes: recording area information 9 1 0, recording image information 9 2 0. _ Recording area information 9 1 0 Records the coordinates of the black and white image area, grayscale image area, and color image area. Recording image information 9 2 0 Records advanced black and white images, advanced grayscale images, and advanced color images.

第9頁 503377 五、發明說明(7) ‘ 請參照「第8圖」,多重模式的影像擷取與儲存系統 之方塊圖。 本發明是一種多重模式的影像擷取與儲存系統,以包 含黑白、灰階、彩色之多重模式擷取與儲存一標的物之影 像資訊,包含:影像擷取裝置5 1 0、影像分析裝置5 2 0、影 像儲存裝置530。 影像擷取裝置5 1 0係用以對標的物擷取初步彩色影 像,並依據黑白影像區域、灰階影像區域、彩色影像區域 對標的物分別擷取進階黑白影像、進階灰階影像、進階彩 色影像。影像擷取裝置5 1 0係以介於60dpi與3 0 0 dpi之間的 _ 低解析度擷取該初步彩色影像,以介於3 0 0 dpi與2 4 0 0dpi 之間的高解析度擷取進階黑白影像、進階灰階影像、進階 彩色影像。。 影像分析裝置5 2 0係連接於影像擷取裝置5 1 0,用以區 分初步彩色影像為黑白影像區域、灰階影像區域、彩色影 像區域。 影像分析裝置5 2 0之第一實施例包含:影像顯示裝 v 置、.輸入裝置。 影像顯示裝置係用以顯示該初步彩色影像。 輸入裝置係用以提供使用者由影像顯示裝置選取黑白 肇 影像區域、灰階影像區域、彩色影像區域。 影像分析裝置5 2 0之第二實施例包含:彩色座標查 表、切割影像單元、計算單元、分類單元。 彩色座標查表係列舉一彩色座標之所有可能,並將彩Page 9 503377 V. Description of the invention (7) ‘Please refer to“ Figure 8 ”, a block diagram of a multi-mode image capture and storage system. The invention is a multi-mode image capture and storage system, which captures and stores image information of a target object in a multi-mode including black and white, gray scale, and color, including: image capture device 5 1 0, image analysis device 5 2 0. Image storage device 530. The image capturing device 510 is used to capture a preliminary color image of the target object, and according to the black and white image area, grayscale image area, and color image area, the target object respectively captures an advanced black and white image, an advanced grayscale image, Advanced color image. The image capture device 5 1 0 captures this preliminary color image at _ low resolution between 60dpi and 3 0 0 dpi, and captures high resolution between 3 0 0 dpi and 2 4 0 0 dpi Take advanced black and white images, advanced grayscale images, advanced color images. . The image analysis device 5 2 0 is connected to the image acquisition device 5 1 0 to distinguish the preliminary color image into a black and white image area, a grayscale image area, and a color image area. The first embodiment of the image analysis device 520 includes: an image display device and an input device. The image display device is used to display the preliminary color image. The input device is used to provide the user with a black and white image area, a grayscale image area, and a color image area selected by the image display device. The second embodiment of the image analysis device 520 includes: a color coordinate lookup table, a cutting image unit, a calculation unit, and a classification unit. The color coordinate lookup table series takes all the possibilities of a color coordinate, and

第10頁 503377 丄五、發明說明(8) * ' 色座標區分為黑白空間、灰階空間、彩色空間,可依下列 步驟取得: 1、 轉換彩色座標之各點為C I E L a b座標(L,a,b )。 2、 將a2 + b2大於或等於彩色臨界值的彩色座標之各點 劃分為彩色空間。 3、 將a2 + b2小於彩度臨界值且L介於白色臨界值與黑 色臨界值之間的彩色座標之各點劃分為灰階空間。 4、 將彩色空間與灰階空間之外的彩色座標之各點劃 分為黑白空間。 切割影像單元係用以切割初步彩色影像為複數個影像 φ 方塊。 計算單元係用以依據彩色座標查表,逐一計算各影像 方塊所包含像素在黑白空間、灰階空間、彩色空間之分布 比率。 分類單元係連接於計算單元,依據各影像方塊所包含 像素在黑白空間、灰階空間、彩色空間之分布比率將各影 〜 像方塊分類為黑白影像區域、灰階影像區域、彩色影像區 域。 影像儲存裝置5 3 0係連接於影像擷取裝置5 1 0,用以將 進階黑白影像、進階灰階影像、進階彩色影像儲存至一多 籲 模式影像檔案。 多模式影像檔案紀錄黑白影像區域、灰階影像區域、 彩色影像區域之座標以及進階黑白影像、進階灰階影像、 進階彩色影像。Page 10 503377 丄 V. Description of the invention (8) * 'The color coordinates are divided into black and white space, gray scale space and color space, which can be obtained by the following steps: 1. Convert the points of the color coordinates to CIEL ab coordinates (L, a , B). 2. Divide the points of the color coordinates where a2 + b2 is greater than or equal to the color threshold into the color space. 3. Divide the points of the color coordinates where a2 + b2 is less than the chroma threshold and L is between the white threshold and the black threshold as a grayscale space. 4. Divide the points of the color coordinates outside the color space and grayscale space into black and white space. The cutting image unit is used to cut the preliminary color image into a plurality of image φ squares. The calculation unit is used to calculate the distribution ratio of pixels contained in each image block in black and white space, gray scale space, and color space one by one according to the color coordinate lookup table. The classification unit is connected to the calculation unit, and classifies each image to the image block into a black-and-white image area, a gray-scale image area, and a color image area according to the distribution ratio of pixels contained in each image block in black and white space, gray space, and color space. The image storage device 5 3 0 is connected to the image capture device 5 1 0, and is used to store the advanced black and white image, the advanced gray level image, and the advanced color image into a multi-mode image file. The multi-mode image file records the coordinates of the black and white image area, the grayscale image area, and the color image area, as well as the advanced black and white image, advanced grayscale image, and advanced color image.

第11頁 503377 五、發明說明(9) 請參照「第9圖」,多重模式的影像編輯與儲存系統 之方塊圖。 本發明是一種多重模式的影像編輯與儲存系統,讀取 至少一既存影像檔案進行編輯並以包含黑白、灰階、彩色 之多重模式儲存,包含:影像顯示裝置5 6 0、輸入裝置 5 7 0、影像儲存裝置5 3 0。 影像顯示裝置5 6 0係用以顯示既存影像。 輸入裝置5 7 0係提供使用者由影像顯示裝置5 6 0所顯示 之既存影像選取黑白影像區域、灰階影像區域、彩色影像 區域而取得進階黑白影像、進階灰階影像、進階彩色影 像。 《 影像儲存裝置5 3 0係用以讀取既存影像,並將進階黑 白影像、進階灰階影像、進階彩色影像儲存至一多模式影 像檔案。 多模式影像檔案紀錄黑白影像區域、灰階影像區域、 彩色影像區域之座標以及進階黑白影像、進階灰階影像、二 進階彩色影像。 【發明之效果】 ' 本發明為一種多重模式的影像處理方法及其系統,以 包含黑白、灰階、彩色之多重模式擷取、編輯、儲存影像φ 資訊。 由於本發明以多重模式擷取及儲存黑白影像、灰階影 像、彩色影像,可減少不必要之影像資訊,無需經由壓縮 手段,即可使所需記憶容量適中,並增快影像處理速度。Page 11 503377 V. Description of the invention (9) Please refer to "Figure 9", a block diagram of the multi-mode image editing and storage system. The invention is a multi-mode image editing and storage system. It reads at least one existing image file for editing and stores it in multiple modes including black and white, gray scale, and color, including: image display device 5 60, input device 5 7 0 、 Image storage device 5 3 0. The image display device 560 is used to display an existing image. The input device 5 7 0 provides users with an existing image displayed by the image display device 5 60 to select a black and white image area, a grayscale image area, and a color image area to obtain an advanced black and white image, an advanced grayscale image, and an advanced color. image. << The image storage device 530 is used to read the existing image and save the advanced black and white image, advanced grayscale image, and advanced color image to a multi-mode image file. The multi-mode image file records the coordinates of the black and white image area, grayscale image area, and color image area, as well as the advanced black and white image, advanced grayscale image, and advanced color image. [Effects of the Invention] The present invention is a multi-mode image processing method and system for capturing, editing, and storing image φ information in a multi-mode including black and white, gray scale, and color. Because the present invention captures and stores black and white images, grayscale images, and color images in multiple modes, unnecessary image information can be reduced, and the required memory capacity can be moderated without compression, and the image processing speed can be increased.

第12頁 503377 五、發明說明(ίο) 由於以單一多模式影像檔案儲存影像資訊,可避免部份資 訊遺失。 雖然本發明以前述之較佳實施例揭露如上,然其並非 用以限定本發明,任何熟習此技藝者,在不脫離本發明之 精神和範圍内,當可作些許之更動與潤飾,因此本發明之 保護範圍當視後附之申請專利範圍所界定者為準。Page 12 503377 V. Description of the Invention (ίο) Because the image information is stored in a single multi-mode image file, some information can be avoided. Although the present invention is disclosed in the foregoing preferred embodiment as above, it is not intended to limit the present invention. Any person skilled in the art can make some modifications and retouching without departing from the spirit and scope of the present invention. The scope of protection of the invention shall be determined by the scope of the attached patent application.

第13頁 503377 圖式簡單說明 【圖式簡單說明】 第1圖是多重模式的影像擷取與儲存方法之流程圖。 第2圖是分析影像資訊步驟的第一實施例之流程圖。 第3圖是分析影像資訊步驟的第二實施例之流程圖。 第4圖是區分彩色座標之流程圖。 第5圖是儲存影像資訊之流程圖。 第6圖是多重模式的影像編輯與儲存方法之流程圖。 第7圖是儲存影像資訊之流程圖。 第8圖是多重模式的影像擷取與儲存系統之方塊圖。 第9圖是多重模式的影像編輯與儲存系統之方塊圖。 【圖示符號說明】 100 初步擷取影像 2 0 0 分析影像資訊 210 顯示初步影像 22 0 選取區域範圍 2 3 0 區分彩色座標 231 轉換座標 232 劃分彩色空間 2 3 3 劃分灰階空間 2 34 劃分黑白空間 24 0 切割影像方塊 2 5 0 計算分布比率 2 6 0 分類影像方塊 3 0 0 進階擷取影像Page 13 503377 Simple description of the drawings [Simplified illustration of the drawings] Figure 1 is a flowchart of the method of image capture and storage in multiple modes. FIG. 2 is a flowchart of the first embodiment of the step of analyzing image information. FIG. 3 is a flowchart of a second embodiment of the step of analyzing image information. Fig. 4 is a flowchart for distinguishing color coordinates. Figure 5 is a flowchart of storing image information. FIG. 6 is a flowchart of a multi-mode image editing and storage method. Figure 7 is a flowchart of storing image information. Figure 8 is a block diagram of a multi-mode image capture and storage system. Figure 9 is a block diagram of a multi-mode image editing and storage system. [Symbol description] 100 Initially capture image 2 0 0 Analyze image information 210 Display preliminary image 22 0 Select area 2 3 0 Differentiate color coordinates 231 Convert coordinates 232 Divide color space 2 3 3 Divide gray space 2 34 Divide black and white Space 24 0 Cut image block 2 5 0 Calculate distribution ratio 2 6 0 Classify image block 3 0 0 Advanced capture image

第14頁 503377 圖式簡單說明 40 0 儲存影像資訊 410 紀錄區域資訊 4 2 0 紀錄影像育訊 510 影像擷取裝置 5 2 0 影像分析裝置 5 3 0 影像儲存裝置 5 6 0 影像顯示裝置 5 7 0 輸入裝置 6 0 0 擷取既存影像 7 0 0 顯示初步影像 80 0 編輯影像資訊 9 0 0 儲存影像資訊 910 紀錄區域貢訊 92 0 紀錄影像資訊Page 14 503377 Simple illustration of the diagram 40 0 Stored image information 410 Recorded area information 4 2 0 Recorded image education 510 Image capture device 5 2 0 Image analysis device 5 3 0 Image storage device 5 6 0 Image display device 5 7 0 Input device 6 0 0 Capture existing image 7 0 0 Display preliminary image 80 0 Edit image information 9 0 0 Store image information 910 Record area tribute 92 0 Record image information

第15頁Page 15

Claims (1)

503377 s、申請專利範圍 1、 一種多重模式的影像處理方法,以包含黑白、灰階、 彩色之多重模式擷取與儲存一標的物之影像資訊,包 含下列步驟: 初步擷取影像:以一影像擷取裝置對該標的物擷 取一初步彩色影像; 分析影像資訊··以一影像分析裝置將該初步彩色 影像區分為一黑白影像區域、一灰階影像區域、一彩 色影像區域; 進階擷取影像:由該影像擷取裝置依據該黑白影 像區域、該灰階影像區域、該彩色影像區域對該標的 物分別擷取一進階黑白影像、一進階灰階影像、一進 階彩色影像;以及 儲存影像資訊:以一影像儲存裝置將該進階黑白 影像、該進階灰階影像、該進階彩色影像儲存至一多 模式影像檔案。 2、 如申請專利範圍第1項所述之多重模式的影像處理方 法,該初步擷取影像步驟係以介於60dpi與3 0 0 dpi之間 的低解析度擷取該初步彩色·影像。 3、 如申請專利範圍第1項所述之多重模式的影像處理方 法’該分析影像貢訊步驟包含· 顯示初步影像:以一影像顯示裝置顯示該初步彩 色影像; 選取區域範圍:使用者以一輸入裝置由該影像顯 示裝置選取該黑白影像區域、該灰階影像區域、該彩503377 s, patent application scope 1, a multi-mode image processing method, which captures and stores the image information of a target object in multiple modes including black and white, gray scale, and color, including the following steps: Initially capture an image: use an image The capturing device captures a preliminary color image of the target object; analyzes the image information ... The preliminary color image is divided into a black and white image area, a grayscale image area, and a color image area by an image analysis device; advanced capture Image acquisition: The image capture device acquires an advanced black and white image, an advanced gray level image, and an advanced color image according to the black and white image area, the gray scale image area, and the color image area respectively for the target object. ; And storing image information: using an image storage device to store the advanced black-and-white image, the advanced gray-scale image, and the advanced color image into a multi-mode image file. 2. According to the multi-mode image processing method described in item 1 of the scope of the patent application, the preliminary image capture step is to capture the preliminary color image at a low resolution between 60 dpi and 300 dpi. 3. The multi-mode image processing method described in item 1 of the scope of the patent application. The step of analyzing image tributes includes: displaying a preliminary image: displaying the preliminary color image with an image display device; selecting a range of areas: the user using a The input device selects the black and white image area, the grayscale image area, and the color image by the image display device. 第16頁 503377 六、申請專利範圍 色影像區域。 4、 如申請專利範圍第1項所述之多重模式的影像處理方 法5該分析影像貧訊步驟包含· 區分彩色座標:將一彩色座標區分為一黑白空 間、一灰階空間、一彩色空間; 切割影像方塊:以水平與垂直方式切割該初步彩 色影像切割為複數個影像方塊; 計算分布比率:逐一計算各影像方塊所包含像素 在該黑白空間.、該灰階空間、該彩色空間之分布比 率;以及 分類影像方塊:依據各影像方塊所包含像素在該 β 黑白空間、該灰階空間、該彩色空間之分布比率將各 影像方塊分類為該黑白影像區域、該灰階影像區域、 該彩色影像區域。 5、 如申請專利範圍第4項所述之多重模式的影像處理方 法,該區分彩色座標步驟包含: : 轉換該彩色座標之各點為CIE Lab座標(L,a,b ); * 將a2 + b2大於或等於一彩色臨界值的該彩色座標之 各點劃分為該彩色空間; φ 將a2 + b2小於該彩度臨界值且L介於一白色臨界值 與一黑色臨界值之間的該彩色座標之各點劃分為該灰 階空間;以及 將該彩色空間與該灰階空間之外的該彩色座標之Page 16 503377 6. Scope of patent application Color image area. 4. The multi-mode image processing method described in item 1 of the scope of the patent application 5 The step of analyzing image leanness includes: • distinguishing color coordinates: distinguishing a color coordinate into a black and white space, a grayscale space, and a color space; Cut image block: cut the preliminary color image horizontally and vertically into a plurality of image blocks; calculate the distribution ratio: calculate the distribution ratio of pixels contained in each image block in the black and white space, the grayscale space, and the color space one by one. ; And classify image blocks: classify each image block into the black and white image area, the grayscale image area, and the color image according to the distribution ratio of pixels contained in each image block in the β black and white space, the grayscale space, and the color space. region. 5. According to the multi-mode image processing method described in item 4 of the scope of the patent application, the step of distinguishing the color coordinates includes: Converting the points of the color coordinates to the CIE Lab coordinates (L, a, b); * a2 + Each point of the color coordinate where b2 is greater than or equal to a color threshold is divided into the color space; φ divides the color where a2 + b2 is less than the chroma threshold and L is between a white threshold and a black threshold Points of the coordinates are divided into the gray scale space; and the color space and the color coordinates outside the gray scale space are 第17頁 503377 六、申請專利範圍 各點劃分為該黑白空間。 6、 如申請專利範圍第1項所述之多重模式的影像處理方 法,該進階擷取影像步驟係以介於3 0 0 dpi與2 4 0 0 dpi之 間的高解析度擷取該進階黑白影像、該進階灰階影 像、該進階彩色影像。 7、 如申請專利範圍第1項所述之多重模式的影像處理方 法,該儲存影像資訊步驟包含: 紀錄區域資訊:紀錄該黑白影像區域、該灰階影 像區域、該彩色影像區域之座標;以及 紀錄影像資訊:紀錄該進階黑白影像、該進階灰 階影像、該進階彩色影像。 8、 一種多重模式的影像處理方法,擷取至少一既存影像 檔案進行編輯並以包含黑白、灰階、彩色之多重模式 儲存,包含下列步驟: 擷取既存影像:由一影像儲存裝置讀取至少一既 存影像; : 顯示初步影像:以一影像顯示裝置顯示前述既存 _ 影像; ^ 編輯影像資訊:使用者以一輸入裝置由該影像顯 示裝置所顯示之前述既存影像選取一黑白影像區域、· 一灰階影像區域、一彩色影像區域而取得一進階黑白 影像、一進階灰階影像、一進階彩色影像;以及 儲存影像資訊:以一影像儲存裝置將該進階黑白 影像、該進階灰階影像、該進階彩色影像儲存至一多Page 17 503377 6. Scope of patent application Each point is divided into this black and white space. 6. According to the multi-mode image processing method described in item 1 of the scope of patent application, the advanced image capture step is to capture the image at a high resolution between 300 dpi and 240 dpi. Black and white image, the advanced grayscale image, and the advanced color image. 7. The multi-mode image processing method described in item 1 of the scope of patent application, the step of storing image information includes: recording area information: recording coordinates of the black and white image area, the grayscale image area, and the color image area; and Record image information: record the advanced black and white image, the advanced grayscale image, and the advanced color image. 8. A multi-mode image processing method, capturing at least one existing image file for editing and storing in multiple modes including black and white, gray scale, and color, including the following steps: Retrieving an existing image: reading at least one image storage device An existing image;: display a preliminary image: display the aforementioned existing image with an image display device; ^ edit image information: the user selects a black-and-white image area with an input device from the aforementioned existing image displayed by the image display device, a A grayscale image area and a color image area to obtain an advanced black-and-white image, an advanced gray-scale image, and an advanced color image; and storing image information: using an image storage device, the advanced black-and-white image, the advanced Grayscale image, the advanced color image is saved to more than one 第18頁 503377 六、申請專利範圍 模式影像檔案。 9、如申請專利範圍第8項所述之多重模式的影像處理方 法,該儲存影像資訊步驟包含: 紀錄區域資訊:紀錄該黑白影像區域、該灰階影 像區域、該彩色影像區域之座標;以及 紀錄影像資訊:紀錄該進階黑白影像、該進階灰 階影像、該進階彩色影像。 1 0、一種多重模式的影像處理系統,以包含黑白、灰階、 彩色之多重模式擷取與儲存一標的物之影像資訊,包 含: 一影像擷取裝置,用以對該標的物擷取一初步彩 色影像,並依據一黑白影像區域、一灰階影像區域、 一彩色影像區域對該標的物分別擷取一進階黑白影 像、一進階灰階影像、一進階彩色影像; 一影像分析裝置,連接於該影像擷取裝置,用以 區分該初步彩色影像為該黑白影像區域、該灰階影像 區域、該彩色影像區域;以及 一影像儲存裝置,連接於該影像擷取裝置,用以 將該進階黑白影像、該進階灰階影像、該進階彩色影 像儲存至一多模式影像檔案。 11、如申請專利範圍第1 0項所述之多重模式的影像處理系 統,該影像擷取裝置係以介於6 0 dpi與3 0 0 dp i之間的低 解析度擷取該初步彩色影像。 1 2、如申請專利範圍第1 0項所述之多重模式的影像處理系Page 18 503377 6. Scope of patent application Mode image file. 9. The multi-mode image processing method as described in item 8 of the scope of patent application, the step of storing image information includes: recording area information: recording coordinates of the black and white image area, the grayscale image area, and the color image area; and Record image information: record the advanced black and white image, the advanced grayscale image, and the advanced color image. 10. A multi-mode image processing system that captures and stores image information of a target in multiple modes including black and white, gray scale, and color, including: an image capture device for capturing a target Preliminary color image, and according to a black and white image area, a grayscale image area, and a color image area, respectively, an advanced black and white image, an advanced grayscale image, and an advanced color image are acquired for the target object; an image analysis A device connected to the image capture device to distinguish the preliminary color image into the black and white image area, the grayscale image area, and the color image area; and an image storage device connected to the image capture device for The advanced black-and-white image, the advanced gray-level image, and the advanced color image are stored in a multi-mode image file. 11. The multi-mode image processing system described in item 10 of the scope of patent application, the image capture device captures the preliminary color image at a low resolution between 60 dpi and 300 dpi . 1 2. The multi-mode image processing system described in item 10 of the scope of patent application 第19頁 503377 六、申請專利範圍 統,該影像擷取裝置係以介於3 0 0dpi與240 0 dpi之間的 高解析度擷取該進階黑白影像、該進階灰階影像、該 進階彩色影像。 1 3、如申請專利範圍第1 0項所述之多重模式的影像處理系 統,該影像分析裝置包含: 一影像顯示裝置,用以顯示該初步彩色影像;以 及 一輸入裝置,用以提供使用者由該影像顯示裝置 選取該黑白影像區域、該灰階影像區域、該彩色影像 區域。 1 4、如申請專利範圍第1 0項所述之多重模式的影像處理系 統,該影像分析裝置包含: 一彩色座標查表,用以列舉一彩色座標之所有可 能,並將該彩色座標區分為一黑白空間、一灰階空 間、一彩色空間; 一切割影像單元,用以切割該初步彩色影像為複 數個影像方塊; 一計算單元,用以依據該彩色座標查表,逐一計 算各影像方塊所包含像素在該黑白空間、該灰階空 間、該彩色空間之分布比率;以及 一分類單元,連接於該計算單元,依據各影像方 塊所包含像素在該黑白空間、該灰階空間、該彩色空 間之分布比率將各影像方塊分類為該黑白影像區域、 該灰階影像區域、該彩色影像區域。 503377 六、申請專利範圍 1 5、如申請專利範圍第1 4項所述之多重模式的·影像處理系 統5該彩色座標查表係以下列步驟取得: 轉換該彩色座標之各點為CIE Lab座標(L,a,b ); 將a2 + b2大於或等於一彩色臨界值的該彩色座標之 各點劃分為該彩色空間; 將a2 + b2小於該彩度臨界值且L介於一白色臨界值 與一黑色臨界值之間的該彩色座標之各點劃分為該灰 階空間;以及 將該彩色空間與該灰階空間之外的該彩色座標之 g 各點劃分為該黑白空間。 1 6、如申請專利範圍第1 〇項所述之多重模式的影像處理系 統,該多模式影像檔案紀錄該黑白影像區域、該灰階 影像區域、該彩色影像區域之座標以及該進階黑白影 像、該進階灰階影像、該進階彩色影像。 1 7、一種多重模式的影像處理系統,讀取至少一既存影像 · 檔案進行編輯並以包含黑白、灰階、彩色之多重模式 - 儲存,包含: 一影像顯示裝置,用以顯示至少一既存影像; 一輸入裝置,提供使用者由該影像顯示裝置所顯 馨 示之前述既存影像選取一黑白影像區域、一灰階影像 區域、一彩色影像區域而取得一進階黑白影像、一進 階灰階影像、一進階彩色影像;以及 一影像儲存裝置,用以讀取前述既存影像,並將Page 19, 503377 6. The scope of the patent application. The image capture device captures the advanced black-and-white image, the advanced gray-scale image, and the high-resolution image at a high resolution between 300 dpi and 240 0 dpi. Color image. 1 3. The multi-mode image processing system described in item 10 of the scope of patent application, the image analysis device includes: an image display device for displaying the preliminary color image; and an input device for providing a user The image display device selects the black and white image area, the grayscale image area, and the color image area. 14. The multi-mode image processing system as described in item 10 of the scope of patent application, the image analysis device includes: a color coordinate look-up table for enumerating all possibilities of a color coordinate, and distinguishing the color coordinate into A black and white space, a gray scale space, a color space; a cutting image unit for cutting the preliminary color image into a plurality of image blocks; a calculation unit for calculating each image block one by one according to the color coordinate lookup table Including the distribution ratio of pixels in the black and white space, the gray scale space, and the color space; and a classification unit connected to the calculation unit, and according to the pixels included in each image block in the black and white space, the gray scale space, and the color space The distribution ratio classifies each image square into the black and white image area, the grayscale image area, and the color image area. 503377 6. Scope of patent application 1 5. Multi-mode image processing system as described in item 14 of patent application scope 5 The color coordinate lookup table is obtained by the following steps: Convert each point of the color coordinate to CIE Lab coordinate (L, a, b); divide each point of the color coordinate where a2 + b2 is greater than or equal to a color threshold into the color space; a2 + b2 is smaller than the chroma threshold and L is between a white threshold Points of the color coordinate between a black threshold and a black threshold are divided into the grayscale space; and points of g of the color coordinate outside the grayscale space and the color coordinate are divided into the black and white space. 16. The multi-mode image processing system as described in Item 10 of the scope of patent application, the multi-mode image file records the black and white image area, the gray scale image area, the coordinates of the color image area, and the advanced black and white image , The advanced grayscale image, the advanced color image. 17. A multi-mode image processing system that reads at least one existing image · file for editing and storage in multiple modes including black and white, grayscale, and color-storage, including: an image display device for displaying at least one existing image ; An input device that provides a user to select a black-and-white image area, a gray-scale image area, and a color image area to obtain an advanced black-and-white image and an advanced gray-scale from the aforementioned existing image displayed by the image display device; Image, an advanced color image; and an image storage device for reading the existing image, and 第21頁 503377 六 18 申請專利範圍 該進階黑白影像、該進階灰階影像、該進階彩色影像 儲存至一多模式影像檔案。 、如申請專利範圍第1 7項所述之多重模式的影像處理系 統,該多模式影像檔案紀錄該黑白影像區域、該灰階 影像區域、該彩色影像區域之座標以及該進階黑白影 像、該進階灰階影像、該進階彩色影像。Page 21 503377 6 18 Patent application scope The advanced black and white image, the advanced grayscale image, and the advanced color image are saved to a multi-mode image file. The multi-mode image processing system described in item 17 of the scope of patent application, the multi-mode image file records the black and white image area, the gray scale image area, the coordinates of the color image area, and the advanced black and white image, the Advanced grayscale image, this advanced color image. 第22頁Page 22
TW90111909A 2001-05-18 2001-05-18 Image processing method and system with multiple modes TW503377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW90111909A TW503377B (en) 2001-05-18 2001-05-18 Image processing method and system with multiple modes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW90111909A TW503377B (en) 2001-05-18 2001-05-18 Image processing method and system with multiple modes

Publications (1)

Publication Number Publication Date
TW503377B true TW503377B (en) 2002-09-21

Family

ID=27607865

Family Applications (1)

Application Number Title Priority Date Filing Date
TW90111909A TW503377B (en) 2001-05-18 2001-05-18 Image processing method and system with multiple modes

Country Status (1)

Country Link
TW (1) TW503377B (en)

Similar Documents

Publication Publication Date Title
US9769354B2 (en) Systems and methods of processing scanned data
US7352898B2 (en) Image processing apparatus, image processing method and program product therefor
US8254679B2 (en) Content-based image harmonization
US8373905B2 (en) Semantic classification and enhancement processing of images for printing applications
JP5958023B2 (en) Image processing apparatus and image processing program
JP5935454B2 (en) Image processing apparatus and image processing program
US20050152613A1 (en) Image processing apparatus, image processing method and program product therefore
US20110050723A1 (en) Image processing apparatus and method, and program
JP2004529404A (en) Method and apparatus for analyzing images
CN1207924C (en) Method for testing face by image
US8437542B2 (en) Image processing apparatus, method, and program
KR101597739B1 (en) Image processing apparatus, image processing method, and computer readable medium
JP2005190435A (en) Image processing method, image processing apparatus and image recording apparatus
CN102956029B (en) Image processing apparatus and image processing method
US7119924B2 (en) Detection and segmentation of sweeps in color graphics images
JP2010056827A (en) Apparatus and program for processing image
JP4441300B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium storing the program
CN111191716B (en) Method and device for classifying printed pictures
JP5887242B2 (en) Image processing apparatus, image processing method, and program
JP4693289B2 (en) Image compression apparatus, image compression method, program code, and storage medium
CN110782392A (en) Image processing method, image processing device, electronic equipment and storage medium
TW503377B (en) Image processing method and system with multiple modes
US6816612B2 (en) Multi-mode image processing method and a system thereof
JP2005203865A (en) Image processing system
JP4228905B2 (en) Image processing apparatus and program

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees