TW582167B - Compression method of icon in digital camera - Google Patents

Compression method of icon in digital camera Download PDF

Info

Publication number
TW582167B
TW582167B TW89128381A TW89128381A TW582167B TW 582167 B TW582167 B TW 582167B TW 89128381 A TW89128381 A TW 89128381A TW 89128381 A TW89128381 A TW 89128381A TW 582167 B TW582167 B TW 582167B
Authority
TW
Taiwan
Prior art keywords
primary color
digital camera
encoding
graphic
scope
Prior art date
Application number
TW89128381A
Other languages
Chinese (zh)
Inventor
Ji-Dian Wu
Nan-Shiun Shr
Original Assignee
Inventec Multimedia & Telecom
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 Inventec Multimedia & Telecom filed Critical Inventec Multimedia & Telecom
Priority to TW89128381A priority Critical patent/TW582167B/en
Application granted granted Critical
Publication of TW582167B publication Critical patent/TW582167B/en

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

A compression method of icon in digital camera is disclosed, which applies the rapid digital signal processing capability of digital camera, and applies a decompression technology to encode the icon and store it into a register, and decodes the compressed icon for displaying on the liquid crystal display. Thus, the memory required by the icon can be reduced, so as to save the cost of the flash memory.

Description

582167582167

月 曰 修- 月為一種"面圖形(lc〇n)之壓縮方法, 指 一種數位相機介面圖形之壓縮方法。 【發明背景】 ,f =機疋一種數位化的影像輸入處理及影像記憶裝 :及二ΐ傳統相機’數位相機内部含有大量的數位影像處 丄ΐ 般常見的數位影像訊號處理有自動曝光 =〇 =P〇sure)、自動對焦(Aut〇 F〇cus)'自動白平衡 ),以\ e Balance)以及影像壓縮(Image Compression )以上功能皆須相當大量的數位訊號處理能力。 曰顯?ΓΪ用者操作的方便性,數位相機也大都提供液 ;;::Γ用者設定與了解相機目前狀態…設定手 鎖定Γ ί:曝Ϊ值' &大倍數、或編輯影像時的刪除、 鎖疋寺。為使些人機择作公而# Α 大都以Ϊ闽乙4、^ > 作面更人性化,此等狀態顯示 無須為:::==指引使用者操“ :於相機内部系— 據相機大量的内部系統記憶體,使李續彳产執+\ 增加而影響相機的成本。因此 :充:己憶體“ 形所佔據大量記憶體之壓縮方 角;決數位相機介面圖 【發明之概述及目的】 ‘、’、一關注的議題。 本發明之目的在於將點矩陣格式 ”縮後再儲存於數位相機的内部系統預 —__力運用—解壓縮技術將介Month Month-Month is a method for compressing surface graphics (lcOn), which refers to a method for compressing digital camera interface graphics. [Background of the invention], f = machine, a digital image input processing and image memory equipment: and two traditional cameras, 'digital camera contains a large number of digital image processing, the common digital image signal processing has automatic exposure = 〇 = P〇sure), autofocus (AutoFocus) 'automatic white balance), \ e Balance) and image compression (Image Compression) all of the above functions must have a considerable amount of digital signal processing capabilities. Yue Xian? ΓΪ The convenience of the user, most digital cameras also provide liquids;; :: Γ The user sets and understands the current state of the camera ... Set the hand lock Γ: Exposure value '& large multiples, or delete when editing images, Suo Si Temple. In order to make these man-machines choose to be public, # Α mostly uses ΪMinyi 4, ^ > to make the face more humane. These status displays need not be: The large amount of internal system memory of the camera makes Li Xuyi's production + + increase and affect the cost of the camera. Therefore: Charge: the memory square "large square of the compressed square corner of the memory; digital camera interface diagram [Overview and purpose of the invention ] ',', An issue of concern. The purpose of the present invention is to reduce the dot matrix format "and then store it in the internal system of the digital camera.

第5頁 582167 修正Page 5 582167 Corrections

SS_i9l28381 五、發明說明(2) 面圖形編碼後儲存至一輕六σσ 一 %廿芏 臀存态中,再將壓縮德的八 解碼以顯示於液晶顯示器上,如此可低3面圖形 的記憶體,以節省快閃記憶體的成本。-η圖形所需 盾$ 、一第_ @ ^ 將介面圖形分離成一第 原色 ¥一原色、一第三原色及一第 :第一 一原色、第二原色、第三原色及第四原色儲:至刀2第 中,透過-數位信號處理器發出一開啟編碼程 ^存盗 瑪’並將資料館存至暫存器中;接著:η 色、第二原&、第三原色及第四原色資料重整;原 標頭完成一壓縮檔案;最後將該壓縮檔案儲存至塹户=一 中,完成壓縮程序。 专存器 .有關本發明之詳細内容及技術,茲就配合圖式說明如 下: 【發明之詳細說明】 第1圖為本發明之數位相機介面圖形之壓縮方法之系 統架構圖,當數位相機取像單元1 〇 〇啟動電源進入運作模 式後,可藉由menu鍵選擇切換進入圖形介面方式操作相、 機,相機内的系統控制器1 1 〇接收使用者的指式按鍵丨丨2, 如up、down、enter等,依照預先儲存於系統記憶體12〇内 被壓縮的介面圖形位置,按順序取出並傳遞至數位信號處 理器1 3 0,再利用介面圖形解壓縮方式,將圖形解壓後再 依序將還原的介面圖形傳遞至系統控制器1 1 〇,該系統控 制器1 1 0連結液晶顯示器1 4 0及記憶體緩衝器1 5 0,並將數 位信號處理器1 3 0所傳遞的還原介面圖形依照圖形介面設SS_i9l28381 V. Description of the invention (2) After the surface graphics are encoded, they are stored in a light six σσ one percent gluteal state, and then the compressed eight are decoded to be displayed on the liquid crystal display. This can lower the memory of the three-sided graphics. To save the cost of flash memory. -η graphics required shield $, first _ @ ^ Separate the interface graphics into a first primary color ¥ a primary color, a third primary color, and a first: first primary color, second primary color, third primary color, and fourth primary color storage: to the knife In the second step, an open encoding process is sent through the -digital signal processor and the database is stored in a temporary register; then: the η color, the second primary color, the third primary color, and the fourth primary color are reorganized. ; The original header completes a compressed file; finally saves the compressed file to the tenant = one, and completes the compression process. Special register. The detailed content and technology of the present invention are described below with reference to the drawings: [Detailed description of the invention] FIG. 1 is a system architecture diagram of a method for compressing a digital camera interface graphic according to the present invention. After the image unit 1 00 is powered on and enters the operating mode, it can be switched by the menu key to enter the graphical interface mode to operate the camera. The system controller in the camera 1 1 〇 receives the user's finger buttons 丨 2 such as up , Down, enter, etc., according to the compressed interface graphic position stored in the system memory 120 in advance, sequentially retrieve and transfer to the digital signal processor 130, and then use the interface graphic decompression method to decompress the graphic and then The restored interface graphics are sequentially transferred to the system controller 1 0. The system controller 1 0 is connected to the liquid crystal display 1 40 and the memory buffer 1 50, and the digital signal processor 1 3 0 passes the Restore interface graphics are set according to the graphical interface

第6頁 582167Page 6 582167

修正___ 計的位置置放於記憶體緩衝器1 5 〇,然後驅動液晶顯示器 1 4 0及系統控制器1 1 〇,使介面圖形能依設計顯示於液晶顯 了器1 4 0上。其中液晶顯示器1 4 〇亦可使用視訊機取代,且 系統控制器1 1 〇更提供一外部記憶體1 6 〇與一電腦介面1 7 〇 ’用以將所儲存的資料與外部擴充裝置連結。 由於介面圖形(I c 0 n )通常具有相同且連續的資訊成 分’例如一大區塊的相同紅色或藍色,或一長條線,此種 貧料排列方式使介面圖形帶有極大的低頻成分,且只有在 色彩變化的交接處才具有高頻響應,亦即區塊内的資料值 疋相同的’而在色彩變化的交接處,相同且連續的資料才 被中斷’但即使是如此,緊鄰著的資料又是相同且連續, 因此大量的相同資料便形成冗餘資訊並佔據大量記憶體; 此種介面圖形所具有的低頻資訊及線性特性可藉由有效且 可逆的編碼及解碼技術將此等冗餘資訊簡化,例如:差異 脈衝碼調變(Differential Pulse Code Modulation; D i f f e r e n t i a 1 P C Μ)技術、可變長度編碼(R u n L e n g t h E n c o d i n g ’ R l E )技術、霍夫曼編碼(H u f f m a n C o d i n g)技術 等’以降低數位相機内系統記憶體所需要的空間,達到降 低成本的目的。 本發明所提之介面圖形係以一位元映射圖(bitmapped graphics)之圖形檔格式為主,利用RLE的技術將一連串重 複的資料位元進行壓縮並予以儲存。 第2圊為本發明之數位相機介面圖形之壓縮方法之介 面圖形(Icon)示意圖,其中該介面圖形(IC0n) 2 0 0係表示 一電子伏特調解(EV adjustment)功能,且該介面圖形Correction ___ The position of the meter is placed in the memory buffer 150, and then the LCD monitor 140 and the system controller 1 110 are driven, so that the interface graphics can be displayed on the LCD monitor 140 according to the design. The LCD display 140 can also be replaced by a video camera, and the system controller 11 provides an external memory 16 and a computer interface 17 ′ for connecting the stored data with an external expansion device. Because the interface graphics (I c 0 n) usually have the same and continuous information components, such as a large block of the same red or blue, or a long line, this lean arrangement method causes the interface graphics to have extremely low frequencies. Components, and only have high-frequency response at the intersection of color changes, that is, the data values in the block are the same 'and at the intersection of color changes, the same and continuous data is interrupted' but even so, The adjacent data is the same and continuous, so a large amount of the same data forms redundant information and occupies a large amount of memory; the low-frequency information and linear characteristics of this interface graphics can be converted by effective and reversible encoding and decoding technology. This redundant information is simplified, such as: Differential Pulse Code Modulation (Differentia 1 PC M) technology, variable length coding (R un L ength E ncoding 'R l E) technology, Huffman coding (H uffman Coding) technology, etc. 'to reduce the space required by the system memory in the digital camera to achieve the purpose of reducing costs. The interface graphics mentioned in the present invention are mainly based on a bitmapped graphics file format. A series of repeated data bits are compressed and stored by using RLE technology. No. 2 is a schematic diagram of an interface graphic (Icon) of a method for compressing an interface graphic of a digital camera according to the present invention, wherein the interface graphic (IC0n) 2 0 0 represents an EV adjustment function, and the interface graphic

582167 ^89128381 五、發明說明(4) (Icon) 2 0 0係為 形槽格式。 曰 修正 仇元映射圖(bitmapped graphics)之圖 本發明以一-r RLEM技術為例f長f,碼(R:'叫讣—。'⑽; 以重複的資料為μ Γ 行性’ RU是一種 適用於資料位;^基礎的—種演算》,這種演算法通常 .例如原始資::多重複的影像、語音或是視訊。 用RLE編碼方式、,〇F 〇F 〇F…〇F(共有20個0F),使 為14),如此一來為14〇F(2〇的十六進位表示方式 RLE編碼之後只t 先使用二十個位元組的資料,經過 節省不少空間與時間。 、社储存貝枓時,可以 變長ί :碼為圖本:壓'之之數干” ^ ,廣泛地應用於各個領於;編碼技術而言 一簡單Μ Ρ - 對於連、,串列的相同資料可以 而;二Λν值 V 亦即<R’v> ^ 色/明/纟:彳卜# t在8位兀的糸統中可接受最長的路255, =55。首先數位信號處理器厲收系 石=f 碼(Golay c〇de),再累計相同的格雷 則固數紀錄《冗餘資訊長度m R,然後貼上該資來值v。對 位相機介:圖形…由於資料以多元二維陣列排列 因此必需先將二維育料3 0 0切割轉換成 3 T,如此:ί效地降低圖形資料量而達到-個合理的 【縮比’而且原”面圖形的資料越多、頻率變化越緩慢,582167 ^ 89128381 V. Description of the Invention (4) (Icon) 2 0 0 is a slotted format. The present invention takes a -r RLEM technology as an example f length f, code (R: 'called 讣 —.' ⑽; repeating data is μ Γ linearity 'RU is A kind of suitable for data bit; ^ Basic-a kind of algorithm ", this kind of algorithm is usually. For example, original data :: multiple repetitive images, voice or video. Using RLE encoding method, 〇F 〇F 〇F ... 〇F (There are 20 0F in total, so it is 14). In this way, it is 14F (20 hex hexadecimal representation after RLE encoding. Only twenty bytes of data are used first. After saving a lot of space and The time can be lengthened when stored by the company. The code is a picture book: the number of digits can be used. It is widely used in various fields. For coding technology, a simple MP- The same information in the column can be used; the two Λν values V, that is, < R'v > ^ color / ming / 纟: 彳 卜 # t can accept the longest path 255, = 55 in the 8-bit system. First digit The signal processor receives the system code = f code (Golay code), and then accumulates the same Gray number fixed record "redundant information length m R, and then pastes the value to v Alignment camera: graphics ... Because the data is arranged in a multi-dimensional two-dimensional array, it is necessary to first cut the two-dimensional breeding material 3 0 0 into 3 T, so: reduce the amount of graphic data effectively to achieve a reasonable [shrink The more data there is, the slower the frequency changes.

3 =再進行RLE編碼32 0,由於數個相同的資料僅以2個位元 修正3 = RLE encoding 32 0, because several identical data are only corrected by 2 bits

盡號 891283S1 五、發明說明(5) 貝J壓細比就越大’如此邊一 , 大I Μ八a @ # 進 步地達成使用少量記憶體儲存 大里的介面圖形以降低成本。 w什 第4圖為本發明之數位相 轡具译M m闽π切 要位相私介面圖形之壓縮方法之可 义長度解碼圖形解壓縮之干立 性總踩姑# 思圖,冗餘長度編碼為一可逆 技:,'亦即冗餘長度解碼技術為編碼技術的可逆反 式解壓縮可得到原來的介面圖形而毫」 声4、.碼過之< R ’ v> CODE 3 1 0先移除標頭長 二再为別取出搭配的冗餘資訊長度值r及該資訊值v, 精由數位信號處理器U 椒琮、宝# y , ΛΑ _ h t w d U的陕速運异能力將排列成相對應 的R個個數的V值還;^ ,,士 —、晉;s ^ ^ ^ . 疋京 此遷原碼為一介面圖形的完整串 歹^連、.Λ碼,所以當系統控制器丨10取得完整連續碼後,需 按照介面圖形2 0 0的原來尺寸切宝丨丨士夕 一 …界木尺寸切割成多元二維陣列3 0 0再送 至液晶顯* 1 140或視訊機緩衝記憶體,最後啟動液晶顯 •不器1 4 0或視訊以顯示介面圖形2 〇 〇。 以下說明本發明具體實施的壓縮編碼過程,其中,第 5 7圖為本卷明之數位相機介面圖形之壓縮方法之壓縮編 碼肌釭圖,其中C卜C 2、C 3係為連接第5〜7圖的節點,請 參考第5圖,首先輪入介面圖形(步驟5〇〇),並判斷是否為 —位元映射圖?(步驟510),如果不是,進一步判斷是否為 —第一原色/第二原色/第三原色/第四原色格式(如 C/M/Y/K格式)?(步驟5 2 0 ),如果不是,則非本發明所採用 之圖形格式,並顯示錯誤訊息(步驟5 3 〇 );如果是一位元 映射圖,則透過色彩空簡轉換(步驟54〇),將C/M/Y/K分離 (步驟5 5 0 ),並儲存C/M/Y/K資料至暫存器中(步驟56〇),End number 891283S1 V. Description of the invention (5) The larger the compression ratio is, the larger the size, the larger the size, the greater the size and the the size of the interface graphics, and the lower the cost. Figure 4 shows the digital phase translation of the present invention. M m Min π tangential phase compression method of the private interface graphics. Meaningful length decoding. Decompression of graphics. Compression of totality. # 思 图 , Redundant length coding It is a reversible technology: 'That is, the redundant length decoding technology is the reversible trans-decompression of the encoding technology to obtain the original interface graphics.' Sound 4. The code is over < R 'v > CODE 3 1 0 first Remove the header long two, and then do not take out the redundant information length value r and the information value v. The digital signal processors U 琮, 宝 # y, and ΛΑ _ htwd U ’s different capabilities will be arranged. The corresponding V value of the R number is also; ^ ,, Shi—, Jin; s ^ ^ ^. The original code is a complete string of interface graphics 歹 ^, .Λ code, so when the system After the controller 丨 10 obtains the complete continuous code, it needs to cut the treasure according to the original size of the interface graphic 2 0 丨 Shi Xiyi ... The size of the wood is cut into a multi-dimensional two-dimensional array 3 0 0 and sent to the LCD display * 1 140 or video camera Buffer memory, and finally start the LCD display 140 or video to display the interface graphics 2000. The following describes the specific compression coding process of the present invention. Among them, Figure 5-7 is the compression coding muscle map of the digital camera interface graphics compression method of Ming Ming, where C2, C2, and C3 are the 5th to 7th connections. For the nodes of the graph, please refer to Figure 5. First, turn in the interface graphics (step 500), and determine whether it is a bitmap. (Step 510), if not, further determine whether it is-the first primary color / the second primary color / the third primary color / the fourth primary color format (such as C / M / Y / K format)? (Step 5 2 0), if it is not, it is not a graphic format adopted by the present invention, and an error message is displayed (step 5 3 0); if it is a one-bit map, it is converted by color space (step 54) To separate C / M / Y / K (step 5 50), and store the C / M / Y / K data in the temporary register (step 56),

第9頁 582167 羞正 曰 j 號 8912WR1 五、發明說明(6) |接著進入下一處理措段。 請接著參考第6圖所示,系統發出一指令至^ ^ 〇 〇 ),接著等待DSP的回應(步驟6丨〇 ),並 1日2 (步驟6 2 0 ),如果超過時間,則顯示錯誤;二疋(=過 I正常t判ί dsp是否正常?(步驟64〇),*果Dsp 吊,則開啟編碼程序(步驟6 5 0 ),並分別針對c/m進 丨儲^編碼(t驟66〇)及針對Υ/Κ進行RLE編碼(步驟6 6 2 ),並 =存編碼後的C/M資料至暫存器中(步驟67 ^ |後的γ/κ資料至暫存器中(步驟6 72 )。 及儲存、為碼 凊接著參考第7圖所示,完成步驟6 7 0、672後,接| 二Γ步驟70 0 ),並判斷是否完成編:: =10),直到DSP回應編碼完成為止,待編碼完成後 Π 驟72 0 ),並進行資料重組(步驟 且填入一“頭(步驟74 0 ),並將檔案儲存至— |驟750),完成數位相機介面圖形之壓縮流程。…中(步 …以下說明本發明具體實施的解麼縮解碼過程,, 第8〜9圖為本發明之數位相機介面圖形之壓縮方法之 縮解碼流程圖,其中D1係為連接第8〜9圖的節點,往泉 第8圖所=,首*從暫存器中讀取㈣(步驟8〇 °月接考 除標頭(步驟81 〇),並抽取C/M/Y/Kf料(步驟82要者^ 離C/M/Y/K資料(步驟8 3 0 ),並進行資料重組(步驟84〇/ 儲存資料至暫存器中(步驟85〇),此時系統發出一指令至 DSP中(步,8 6 0 ),接著等待Dsp的回應(步 匕^步驟…果超過時間-顯示錯誤^ 第ίο頁 582167 案號 89128381_年 月__g_修正 五、發明說明(7) ,並結束動作以保留資料的完整性。 如果DSP回應的時間沒有超過,則進一步判斷DSP是否 正常?(步驟9 0 0 ),如果DSP顯示不正常,則顯示錯誤訊息 (步驟9 1 0 ),否則進行開啟解碼程序(步驟9 2 0 ),並分別針 對C/M進行RLE解碼(步驟9 3 0 )及針對γ/κ進行RLE解碼(步驟 9 32 ) ,並儲存解碼後的C / Μ資料至暫存器中(步驟9 4 〇 ),及儲 解碼後的Υ/Κ資料至暫存器中(步驟942 ),此時觸發顯示 令(步驟9 5 0 ),透過液晶顯示器顯示介面圖形(步驟96〇)。 ,然本發明以前述之較佳實施例揭露如上,然 :::艮定本發明,㈣熟習此技藝者,在不脫離 2 精神和範圍内,當可作1 μ ^ 泣$ ^ 卞二δ午之更動與潤飾,因此本發明之 保蠖耗圍當視後附之申請專利範圍所界定者為準。Page 9 582167 Shame Zheng No. 8912WR1 V. Description of Invention (6) | Then proceed to the next processing section. Please refer to Figure 6 below. The system sends an instruction to ^ ^ 〇〇), and then waits for a response from the DSP (step 6 丨 〇), and then 2 (step 6 2 0). If the time is exceeded, an error is displayed. ; Second (= I is normal, judging whether dsp is normal? (Step 64), if Dsp is suspended, start the encoding program (Step 6 50), and store ^ encoding (t / c) for c / m respectively. Step 66)) and RLE encoding for Υ / Κ (step 6 6 2), and store the encoded C / M data in the register (the γ / κ data after step 67 ^ | into the register) (Step 6 72). And store it as a code, and then refer to Figure 7, after completing steps 6 7 0, 672, then | | 2 Γ step 70 0), and determine whether the editing is completed: = 10), until The DSP responds to the encoding completion. After the encoding is completed, step 72 0), and data reorganization (step and fill in a "head (step 74 0), and save the file to — | step 750) to complete the digital camera interface graphics The compression process .... (Step ... The following describes the decompression decoding process that is specifically implemented in the present invention. Figures 8-9 are the digital camera interface graphics of the present invention. Shrinking decoding flowchart of the shrinking method, where D1 is the node connected to Figures 8 ~ 9, as shown in Figure 8; first reads from the register (step 80 ° monthly examination and removal of the header) (Step 81 〇), and extract the C / M / Y / Kf material (step 82 key ^ away from the C / M / Y / K data (step 8 3 0), and then reorganize the data (step 84 0 / save the data to Register (step 85), at this time the system sends an instruction to the DSP (step, 8 60), and then waits for the response of Dsp (step ^ step ... if the time exceeds-display error ^ page 582167 case No. 89128381_ 年月 __g_ Amendment 5. Invention Description (7), and end the action to preserve the integrity of the data. If the DSP response time does not exceed, then further judge whether the DSP is normal? (Step 9 0 0), if If the DSP display is abnormal, an error message is displayed (step 9 1 0), otherwise the decoding process is started (step 9 2 0), and RLE decoding is performed for C / M (step 9 3 0) and RLE is performed for γ / κ. Decode (step 9 32), and store the decoded C / M data in a temporary register (step 9400), and store the decoded Υ / Κ data To the register (step 942), at this time, a display order is triggered (step 950), and the interface graphic is displayed through the liquid crystal display (step 96). However, the present invention is disclosed as the above-mentioned preferred embodiment, but: :: Determine the present invention, and those who are familiar with this art, without departing from the spirit and scope of 2, can make 1 μ ^ wee $ ^ 卞 δ Wuzhi changes and retouching, so the protection of the present invention The attached application patent shall prevail.

582167 案號 89128381 年月曰 修正 圖式簡單說明 第1圖為本發明之數位相機介面圖形之壓縮方法之系統架 構圖; 第2圖為本發明之數位相機介面圖形之壓縮方法之介面圖 形(I con)示意圖; 第3圖為本發明之數位相機介面圖形之壓縮方法之可變長 度編碼圖形壓縮之示意圖; 第4圖為本發明之數位相機介面圖形之壓縮方法之可變長 度解碼圖形解壓縮之示意圖; 第5〜7圖為本發明之數位相機介面圖形之壓縮方法之壓縮 編碼流程圖;及 第8〜9圖為本發明之數位相機介面圖形之壓縮方法之解壓 縮解碼流程圖。 【符號說明】 100 數位相機取像單元 110 系統控制器 112 指式按鍵 12 0 糸統記憶體 130 數位信號處理器 140 液晶顯示器 150 記憶體緩衝器 160 外部記憶體 170 電腦介面 2 0 0 介面圖形(Icon) 3 0 0 二維資料582167 Case No. 89128381 Revised diagrams Brief description The first figure is the system architecture diagram of the digital camera interface graphics compression method of the present invention; the second figure is the interface graphics of the digital camera interface graphics compression method of the present invention (I con) schematic diagram; FIG. 3 is a schematic diagram of a variable-length-encoded graphics compression method of a digital camera interface graphic compression method of the present invention; FIG. 4 is a variable-length decoded graphics decompression method of a digital camera interface graphic compression method of the present invention Figures 5 to 7 are flowcharts of compression coding of the digital camera interface graphics compression method of the present invention; and Figures 8 to 9 are decompression and decoding flowcharts of the digital camera interface graphics compression method of the present invention. [Symbol description] 100 digital camera acquisition unit 110 system controller 112 finger buttons 12 0 system memory 130 digital signal processor 140 liquid crystal display 150 memory buffer 160 external memory 170 computer interface 2 0 0 interface graphics ( Icon) 3 0 0 2D data

第12頁 582167 案號89128381_年月日 修正 圖式簡單說明 310 一 維資料串 320 R L E編碼 400 >多除標頭長度 410 RLE解碼 步驟 500 輸入介面圖形 步驟 510 判斷是否為一位元映射圖? 步驟 520 是否為一 C/M/Y/K格式? 步驟 530 顯示錯誤訊息 步驟 540 色彩空間轉換 步驟 550 將C/M/Y/K分離 步驟 560 儲存C/M/Y/K資料至暫存器中 步驟 600 發出一指令至DSP中 步驟 610 等待DSP的回應 步驟 620 是否超過時間 步驟 630 顯示錯誤訊息 步驟 640 DSP是否正常? 步驟 650 開啟編碼程序 步驟 660 針對C / Μ進行R L E編碼 步驟 662 針對Y / Κ進行R L Ε編碼 步驟 670 儲存編碼後的Υ資料至暫存器 中 步驟 672 儲存編碼後的C貪料至暫存器 中 步驟 700 等待DSP的回應 步驟 710 是否完成編碼 步驟 720 暫停DSP的動作Page 12 582167 Case No. 89128381_Year Month and Day Modification Schematic description 310 One-dimensional data string 320 RLE encoding 400 > Divided header length 410 RLE decoding step 500 Input interface graphics step 510 Determine whether it is a one-bit map ? Step 520 is a C / M / Y / K format? Step 530 Display error message Step 540 Color space conversion Step 550 Separate C / M / Y / K Step 560 Store C / M / Y / K data to register Step 600 Send an instruction to DSP Step 610 Wait for the DSP Response step 620 Is time exceeded Step 630 Display error message Step 640 Is the DSP normal? Step 650 Open the encoding program Step 660 RLE encoding for C / M Step 662 RL encoding for Y / K E Step 670 Store the encoded data into the register Step 672 Store the encoded C data into the register Step 700: Wait for the response from the DSP. Step 710: Whether the encoding is completed. Step 720: Pause the DSP.

第13頁 582167 案號 89128381 年 月 曰 修正 圖式簡單說明 步驟7 3 0 步驟7 4 0 步驟7 5 0 步驟8 0 0 步驟8 1 0 步驟8 2 0 步驟8 3 0 步驟8 4 0 步驟8 5 0 步驟8 6 0 步驟8 7 ◦ 步驟8 8 0 步驟8 9 0 步驟9 0 0 步驟9 1 0 步驟9 2 0 步驟9 3 0 步驟9 3 2 步驟9 4 0 步驟9 4 2 步驟9 5 0 步驟9 6 0Page 13 582167 Case No. 89128381 Revised diagram of the month and year Simple explanation Step 7 3 0 Step 7 4 0 Step 7 5 0 Step 8 0 0 Step 8 1 0 Step 8 2 0 Step 8 3 0 Step 8 4 0 Step 8 5 0 Step 8 6 0 Step 8 7 ◦ Step 8 8 0 Step 8 9 0 Step 9 0 0 Step 9 1 0 Step 9 2 0 Step 9 3 0 Step 9 3 2 Step 9 4 0 Step 9 4 2 Step 9 5 0 Step 9 6 0

進行資料重組 填入一標頭 將檔案儲存至一暫存器中 從暫存器中讀取檔案 移除標頭 抽取C/M/Y/K資料 分離C/M/Y/K資料, 進行資料重組 儲存資料至暫存器中 發出一指令至DSP中 等待DSP的回應 是否超過時間 顯示錯誤訊息 DSP是否正常? 顯示錯誤訊息 開啟解碼程序 針對C/M進行RLE解碼 針對Y/K進行RLE解碼 儲存解碼後的C/M資料至暫存器中 儲存解碼後的Y/K資料至暫存器中 觸發顯示指令 顯示介面圖形Reorganize the data, fill in a header, store the file in a register, read the file from the register, remove the header, extract the C / M / Y / K data, separate the C / M / Y / K data, and perform the data Reorganize the stored data into the register and issue a command to the DSP. Wait for the response of the DSP to exceed the time. Is the error message displayed? Is the DSP normal? Display error message. Start decoding program. RLE decoding for C / M. RLE decoding for Y / K. Store decoded C / M data to register. Store decoded Y / K data to register. Trigger display command display. Interface graphics

第14頁Page 14

Claims (1)

582167 _案號89128381_年月曰 修正_ 六、申請專利範圍 1 . 一種數位相機介面圖形之壓縮方法,該方法至少包含下 列步驟: 確定該介面圖形為一位元映射圖之圖形檔格式; 將該介面圖形分離成一第一原色、一第二原色、一第三 原色及一第四原色; 分別將該第一原色、該第二原色、該第三原色及該第四 原色儲存至一暫存器中; 等待一數位信號處理器發出一開啟編碼程序訊號; 針對該第一原色、該第二原色、該第三原色及該第四原 色進行編碼; 儲存編碼後的該第一原色、該第二原色、該第三原色及 該第四原色資料至該暫存器 中; 等待該數位信號處理器發出一編碼程序完成訊號; 將編碼後的該第一原色、該第二原色、該第三原色及該 第四原色資料重整,並填入一標頭完成一壓縮檔案;及 將該壓縮檔案儲存至該暫存器中,完成壓縮程序。 2.如申請專利範圍第1項所述之數位相機介面圖形之壓縮 方法’其中該編碼技術可以是可變長度編碼(R u η Length Encoding; RLE)0 3 .如申請專利範圍第1項所述之數位相機介面圖形之壓縮 方法,其中該編碼技術可以是差異脈衝碼調變 (Differential Pulse Code Modulation; Differential PCM ) ° 4.如申請專利範圍第1項所述之數位相機介面圖形之壓縮582167 _Case No. 89128381_ Modification of Year of the Year_ 6. Application for Patent Scope 1. A method for compressing a digital camera interface graphic, the method includes at least the following steps: determining that the interface graphic is a graphic file format of a one-bit map; The interface graphic is separated into a first primary color, a second primary color, a third primary color, and a fourth primary color; the first primary color, the second primary color, the third primary color, and the fourth primary color are stored in a register, respectively. Waiting for a digital signal processor to send an encoding-enable program signal; encoding the first primary color, the second primary color, the third primary color, and the fourth primary color; storing the encoded first primary color, the second primary color, The third primary color and the fourth primary color data are stored in the register; waiting for the digital signal processor to send an encoding program completion signal; the encoded first primary color, the second primary color, the third primary color, and the fourth The original color data is reorganized, and a header is filled in to complete a compressed file; and the compressed file is stored in the temporary register to complete the compression process. 2. The compression method of the digital camera interface graphics described in item 1 of the scope of the patent application, wherein the encoding technology may be variable length encoding (R u η Length Encoding; RLE) 0 3. The digital camera interface graphics compression method described above, wherein the encoding technology may be Differential Pulse Code Modulation (Differential Pulse Code Modulation; Differential PCM) ° 4. The digital camera interface graphics compression described in the first patent application scope 第15頁 582167 案號 89128381 年月曰_修正 六、申請專利範圍 方法,其中該編碼技術可以是霍夫曼編碼(H u f f m a η Coding)0 5 ,如申請專利範圍第1項所述之數位相機介面圖形之壓縮 方法,其中執行將該介面圖形分離成一第一原色、一第 二原色、一第三原色及一第四原色的步驟前更包含一色彩 空間轉換的步驟。 6. 如申請專利範圍第1項所述之數位相機介面圖形之壓縮 方法,其中執行將編碼後的該第一原色、該第二原色、一 第三原色及一第四原色資 料重整的步驟前更包含一暫停 該數位信號處理器的動作。 7. 如申請專利範圍第1項所述之數位相機介面圖形之壓縮 方法,其中更包含將該介面圖形之二維資料切割轉換成 一維資料串的步驟。 8. 如申請專利範圍第1項所述之數位相機介面圖形之壓縮 方法,其中該介面圖形係為一點矩陣格式。Page 15 582167 Case No. 89128381 _ Amendment VI. Method of applying for patent scope, where the coding technology can be Huffman coding (H uffma η Coding) 0 5 as the digital camera described in item 1 of the scope of patent application A method for compressing an interface graphic, wherein the step of separating the interface graphic into a first primary color, a second primary color, a third primary color, and a fourth primary color further includes a color space conversion step. 6. The method for compressing a digital camera interface graphic as described in item 1 of the scope of the patent application, wherein before performing the steps of rearranging the encoded data of the first primary color, the second primary color, a third primary color, and a fourth primary color The method further includes suspending the digital signal processor. 7. The method for compressing a digital camera interface graphic as described in item 1 of the scope of patent application, further comprising the step of cutting and converting the two-dimensional data of the interface graphic into a one-dimensional data string. 8. The method for compressing a digital camera interface graphic as described in item 1 of the scope of patent application, wherein the interface graphic is in a one-point matrix format. 第16頁Page 16
TW89128381A 2000-12-30 2000-12-30 Compression method of icon in digital camera TW582167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW89128381A TW582167B (en) 2000-12-30 2000-12-30 Compression method of icon in digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW89128381A TW582167B (en) 2000-12-30 2000-12-30 Compression method of icon in digital camera

Publications (1)

Publication Number Publication Date
TW582167B true TW582167B (en) 2004-04-01

Family

ID=32960459

Family Applications (1)

Application Number Title Priority Date Filing Date
TW89128381A TW582167B (en) 2000-12-30 2000-12-30 Compression method of icon in digital camera

Country Status (1)

Country Link
TW (1) TW582167B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI497441B (en) * 2012-12-21 2015-08-21 Evaluation method of three - dimensional cargo loading and its computer program products
TWI514270B (en) * 2011-12-30 2015-12-21 Intel Corp Efficient zero-based decompression

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514270B (en) * 2011-12-30 2015-12-21 Intel Corp Efficient zero-based decompression
US9575757B2 (en) 2011-12-30 2017-02-21 Intel Corporation Efficient zero-based decompression
US10540177B2 (en) 2011-12-30 2020-01-21 Intel Corporation Efficient zero-based decompression
TWI497441B (en) * 2012-12-21 2015-08-21 Evaluation method of three - dimensional cargo loading and its computer program products

Similar Documents

Publication Publication Date Title
US6298166B1 (en) Image transformations in the compressed domain
US7366319B2 (en) Embedding a multi-resolution compressed thumbnail image in a compressed image file
TW200305830A (en) System and method for progressively transforming and coding digital data
TWI672939B (en) Method, device and storage medium for processing image file
WO2011072620A1 (en) Method for storing and processing image sequence and method for compressing, storing and processing image sequence
WO2006080240A1 (en) Encoding device, encoding method, encoding program, and imaging device
WO1998041026A1 (en) Encoding method, encoder and recording medium, and decoding method, decoder and recording medium
US8306346B2 (en) Static image compression method and non-transitory computer readable medium having a file with a data structure
TW582167B (en) Compression method of icon in digital camera
US6940523B1 (en) On the fly data transfer between RGB and YCrCb color spaces for DCT interface
CN112991412B (en) Liquid crystal instrument sequence frame animation performance optimization method and liquid crystal instrument
US20140301641A1 (en) Tile-Based Compression and Decompression for Graphic Applications
WO2022247032A1 (en) Method and apparatus for storing video encoded data, and readable storage medium
US8428355B2 (en) Image file processing method
JPS5817763A (en) Picture information storage system
JPH0654196A (en) Image processor
US20110286663A1 (en) Method And Apparatus Of Color Image Rotation For Display And Recording Using JPEG
JPH0823474A (en) Moving picture index display device
WO2023185806A1 (en) Image coding method and apparatus, image decoding method and apparatus, and electronic device and storage medium
JPS5840989A (en) Coding processing method and transmission controlling method of picture information
CN102291576B (en) Method and device for displaying and recording colored image rotation
TWI227631B (en) Image processing method and system
JPS61281769A (en) Image data compression device
JPS61184974A (en) Picture data converting device
TW424208B (en) Real-time compression/decompression method for scanned image

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees