TWI790604B - image conversion method - Google Patents
image conversion method Download PDFInfo
- Publication number
- TWI790604B TWI790604B TW110114757A TW110114757A TWI790604B TW I790604 B TWI790604 B TW I790604B TW 110114757 A TW110114757 A TW 110114757A TW 110114757 A TW110114757 A TW 110114757A TW I790604 B TWI790604 B TW I790604B
- Authority
- TW
- Taiwan
- Prior art keywords
- equipment
- computer
- computer device
- image conversion
- conversion method
- Prior art date
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Television Systems (AREA)
Abstract
一種圖像轉換方法,藉由一電腦裝置來實施,並適用於將一電腦輔助設計圖轉換至該電腦裝置所提供之一網頁呈現,該電腦輔助設計圖包含多個分別代表多個設備的設備物件及該等設備物件於該電腦輔助設計圖之位置,該方法包含以下步驟:(A)在該網頁決定一轉換區域;(B)根據該電腦輔助設計圖之尺寸及該轉換區域之尺寸獲得一轉換比例;(C)對於每一設備物件,根據該設備物件於該電腦輔助設計圖之位置及該轉換比例,獲得該設備物件於該轉換區域的轉換位置;及(D)對於每一設備物件,在該網頁之轉換區域中對應該設備物件的轉換位置呈現一對應的設備標示。An image conversion method, implemented by a computer device, and suitable for converting a computer-aided design drawing to a web page presentation provided by the computer device, the computer-aided design drawing includes a plurality of devices representing a plurality of devices respectively Objects and the positions of the equipment objects on the computer-aided design drawing, the method includes the following steps: (A) determining a conversion area on the web page; (B) obtaining according to the size of the computer-aided design drawing and the size of the conversion area a transformation ratio; (C) for each equipment object, according to the position of the equipment object on the CAD drawing and the transformation ratio, obtain the transformation position of the equipment object in the transformation area; and (D) for each equipment object, and present a corresponding device mark corresponding to the conversion position of the device object in the conversion area of the web page.
Description
本發明是有關於一種圖像轉換方法,特別是指一種用於轉換電腦輔助設計圖的圖像轉換方法。The invention relates to an image conversion method, in particular to an image conversion method for converting computer-aided design drawings.
電腦輔助設計(英語:Computer Aided Design, CAD)是指運用電腦軟體製作並類比實物設計,展現新開發商品的外型、結構、色彩、質感等特色的過程,構建立體雛形除了是表達產品的意念之外,也可對產品進行實際製作前的分析評估。隨著技術的不斷發展電腦輔助設計不僅僅適用於工業,還被廣泛運用於平面印刷出版與室內設計等諸多領域。Computer Aided Design (English: Computer Aided Design, CAD) refers to the process of using computer software to make and compare physical design to show the appearance, structure, color, texture and other characteristics of newly developed products. Building a three-dimensional prototype is not only to express the idea of the product In addition, analysis and evaluation of products before actual production can also be carried out. With the continuous development of technology, computer-aided design is not only applicable to industry, but also widely used in many fields such as graphic printing, publishing and interior design.
用CAD圖來表示一環境中所裝設的設備固然方便,且可清楚表現出設備的裝設位置,但CAD圖僅能表現靜態的狀況,但若欲進一步了解環境中所裝設之設備的設備狀態,單由CAD圖並無法呈現隨時間變化的設備狀態,因此,勢必須尋求其他的表示方式來表示動態的狀況,但若要在新的表示方式上重新繪製設備的裝設位置,實屬不便。It is convenient to use CAD drawings to represent the equipment installed in an environment, and it can clearly show the installation location of the equipment, but the CAD drawing can only show the static situation, but if you want to know more about the equipment installed in the environment Equipment status, the CAD drawing alone cannot present the equipment status that changes over time. Therefore, it is necessary to find other representations to represent the dynamic situation, but if the installation position of the equipment is to be redrawn on the new representation It is an inconvenience.
因此,本發明的目的,即在提供一種將一電腦輔助設計圖轉換至該電腦裝置所提供之一網頁呈現,以自動轉換該電腦輔助設計圖至可呈現動態狀況之網頁的圖像轉換方法。Therefore, the object of the present invention is to provide an image conversion method for converting a computer-aided design drawing to a webpage provided by the computer device, so as to automatically convert the computer-aided design drawing to a webpage capable of presenting dynamic conditions.
於是,本發明圖像轉換方法,藉由一電腦裝置來實施,並適用於將一電腦輔助設計圖轉換至該電腦裝置所提供之一網頁呈現,該電腦輔助設計圖包含多個分別代表多個設備的設備物件及該等設備物件於該電腦輔助設計圖之位置,該等設備物件於該電腦輔助設計圖之位置代表該等設備的裝設位置,該圖像轉換方法包含以下步驟:Therefore, the image conversion method of the present invention is implemented by a computer device, and is suitable for converting a computer-aided design drawing to a web page presentation provided by the computer device. The computer-aided design drawing includes a plurality of The equipment objects of the equipment and the positions of the equipment objects on the computer-aided design drawing, the positions of the equipment objects on the computer-aided design drawing represent the installation locations of the equipment, and the image conversion method includes the following steps:
(A)藉由該電腦裝置在該網頁決定一轉換區域;(A) determine a conversion area on the web page by the computer device;
(B)藉由該電腦裝置根據該電腦輔助設計圖之尺寸,及該轉換區域之尺寸獲得一轉換比例;(B) Obtain a conversion ratio according to the size of the computer-aided design drawing and the size of the conversion area by the computer device;
(C)對於每一設備物件,藉由該電腦裝置根據該設備物件於該電腦輔助設計圖之位置及該轉換比例,獲得該設備物件於該轉換區域的轉換位置;及(C) for each equipment object, obtain the transformation position of the equipment object in the transformation area according to the position of the equipment object in the CAD drawing and the transformation ratio by the computer device; and
(D) 對於每一設備物件,藉由該電腦裝置,在該網頁之轉換區域中對應該設備物件的轉換位置呈現一對應該設備物件的設備標示。(D) For each equipment object, by means of the computer device, presenting a device label of the equipment object corresponding to the transition position of the equipment object in the transition area of the web page.
本發明的功效在於:藉由該電腦裝置換算該轉換比例,並獲得每一設備物件於該網頁之轉換區域的轉換位置,最後,在該網頁之轉換區域中對應該設備物件的轉換位置呈現對應該設備物件的該設備標示,藉此,以自動將該電腦輔助設計圖之設備物件轉換至可表示動態狀況的網頁呈現。The effect of the present invention is: convert the conversion ratio by the computer device, and obtain the conversion position of each equipment object in the conversion area of the web page, and finally, present the conversion position corresponding to the equipment object in the conversion area of the web page The device mark of the device object is used to automatically convert the device object of the computer-aided design diagram into a web page presentation that can represent a dynamic state.
參閱圖1,本發明圖像轉換方法,藉由一電腦裝置11來實施,並適用於將一電腦輔助設計圖轉換至該電腦裝置11所提供之一網頁呈現,該電腦輔助設計圖包含多個分別代表多個設備12的設備物件及該等設備物件於該電腦輔助設計圖之位置,該等設備物件於該電腦輔助設計圖之位置代表該等設備12的裝設位置。該電腦裝置11經由一通訊網路100與該等設備12連接,並與一資料庫13連接。Referring to Fig. 1, the image conversion method of the present invention is implemented by a
該電腦裝置11之實施態樣例如為一伺服器、一個人電腦或一筆記型電腦等。在本實施例中,該電腦裝置11係經由該通訊網路100與該資料庫13連接,然而,在本發明之其他實施例中,該資料庫13亦可內建於該電腦裝置11中,不以此為限。The implementation of the
每一設備12為一物聯網設備且具有一唯一的識別碼,並用於傳送一包含所對應之識別碼及設備狀態資料的設備資訊至該電腦裝置11。在本實施例中,每一設備12為一冷氣機,該設備資訊之設備狀態資料包含一開關狀態及一設定溫度,然而,在其他實施例中,每一設備12也可以是其他電器用品,不以此為限。Each
以下將藉由本發明圖像轉換方法之實施例來說明該電腦裝置11、該資料庫13及該等設備12中各元件之作動,該實施例包含一圖像轉換程序、一狀態呈現程序及一位置調整程序。The following will illustrate the
參閱圖1與圖2,該圖像轉換程序說明了如何將該電腦輔助設計圖轉換至該電腦裝置11所提供之該網頁呈現,並包含下列步驟。Referring to FIG. 1 and FIG. 2 , the image conversion program illustrates how to convert the computer-aided design drawing to the web page presentation provided by the
在步驟21中,該電腦裝置11在該網頁決定一轉換區域。In
在步驟22中,該電腦裝置11根據該電腦輔助設計圖之尺寸,及該轉換區域之尺寸獲得一轉換比例。In
在步驟23中,對於每一設備物件,該電腦裝置11根據該設備物件於該電腦輔助設計圖之位置及該轉換比例,獲得該設備物件於該轉換區域的轉換位置。In
在步驟24中,對於每一設備物件,該電腦裝置11在該網頁之轉換區域中對應該設備物件的轉換位置呈現一對應該設備物件的設備標示。在本實施例中,該設備標示為一冷氣機圖案,該電腦裝置11可預存該冷氣機圖案,以在該網頁之轉換區域中對應該設備物件的轉換位置呈現預存的該冷氣機圖案。In
在步驟25中,對於每一設備標示,藉由該電腦裝置11將該設備標示呈現於該轉換區域的一呈現位置儲存於該資料庫13中。In
值得一提的是,該電腦輔助設計圖的該等設備物件係對應不同種類的設備12,本發明圖像轉換方法亦可將該電腦輔助設計圖中不同種類的設備物件轉換至該網頁呈現。其中,該電腦輔助設計圖還須包含該等設備物件的物件名稱,對應同一種類的設備物件具有相同的物件名稱。該電腦裝置11還儲存有一物件名稱對設備標示的查找表,該查找表包含多個對應不同設備種類的物件名稱、及多種分別對應於該等物件名稱的設備標示,舉例來說,該等物件名稱例如為冷氣機、燈具及熱水器,該等設備標示例如為該冷氣機圖案、一燈具圖案及一熱水器圖案。而在步驟24中,對於每一設備物件,該電腦裝置11先根據該設備物件的物件名稱及該查找表獲得該設備物件之物件名稱所對應的設備標示,並在該網頁之轉換區域中對應該設備物件的轉換位置呈現對應該設備物件的該設備標示。It is worth mentioning that the equipment objects in the computer-aided design diagram correspond to different types of
參閱圖1與圖3,該狀態呈現程序說明了如何在該網頁上呈現該等設備12的狀態,並包含下列步驟。Referring to FIG. 1 and FIG. 3 , the status display program illustrates how to display the status of the
在步驟31中,對於每一設備物件,該電腦裝置11經由一使用者之一輸入操作,獲得對應該設備物件之設備12的識別碼,並將對應該設備物件之設備12的識別碼存入該資料庫13,其中,對應於該設備物件之設備12的識別碼與對應該設備物件之設備標示的呈現位置存在對應關係。In
在步驟32中,對於每一設備12,在該電腦裝置11接收到該設備12的設備資訊後,該電腦裝置11根據該設備資訊之識別碼自該資料庫13獲得該設備資訊之識別碼所對應之設備標示的呈現位置,並在該設備標示旁呈現該設備資訊之設備狀態資料。在本實施例中,該電腦裝置11係在該設備標示之呈現位置的一預定範圍內呈現該設備12的該開關狀態及該設定溫度。In
參閱圖1與圖4,該位置調整程序說明了如何調整該網頁上之設備標示的位置。Referring to Fig. 1 and Fig. 4, the position adjustment procedure illustrates how to adjust the position of the equipment mark on the webpage.
在步驟41中,該電腦裝置11經由該使用者之另一輸入操作,獲得一相關於該等設備標示之偏移量。In
在步驟42中,對於每一設備標示,該電腦裝置11根據該偏移量及該設備標示於該轉換區域的呈現位置,獲得一偏移位置。In
在步驟43中,對於每一設備標示,藉由該電腦裝置11將該設備標示呈現於該設備標示所對應的該偏移位置。In
在步驟44中,對於每一設備標示,藉由該電腦裝置11將該設備標示所對應的該偏移位置儲存於該資料庫13中,以作為該設備標示調整後之呈現於該轉換區域的呈現位置。In
值得一提的是,在未經位置調整程序前,該資料庫13所儲存之每一設備標示於該轉換區域的呈現位置係為所對應之設備物件於該轉換區域的轉換位置,在經位置調整程序後,該資料庫13所儲存之每一設備標示於該轉換區域的呈現位置係為該設備標示所對應的偏移位置。It is worth mentioning that, before the position adjustment process, the presentation position of each device marked in the conversion area stored in the
綜上所述,本發明圖像轉換方法,藉由該電腦裝置11換算該轉換比例,並獲得每一設備物件於該網頁之轉換區域的轉換位置,最後,在該網頁之轉換區域中對應該設備物件的轉換位置呈現對應該設備物件的該設備標示,藉此,以自動將該電腦輔助設計圖之設備物件轉換至可表示動態狀況的網頁呈現,此外,藉由該電腦裝置11在接收到該設備12的設備資訊後,將該設備資訊之設備狀態資料呈現在所對應之設備標示旁,以動態地呈現隨時間變化的設備狀態,故確實能達成本發明的目的。In summary, the image conversion method of the present invention uses the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。But the above-mentioned ones are only embodiments of the present invention, and should not limit the scope of the present invention. All simple equivalent changes and modifications made according to the patent scope of the present invention and the content of the patent specification are still within the scope of the present invention. Within the scope covered by the patent of the present invention.
11:電腦裝置
12:設備
13:資料庫
100:通訊網路
21~25:步驟
31~32:步驟
41~44:步驟
11:Computer device
12: Equipment
13: Database
100:
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明實施本發明圖像轉換方法之實施例的一電腦裝置經由一通訊網路與多個設備及一資料庫連接; 圖2是一流程圖,說明本發明圖像轉換方法之實施例的一圖像轉換程序; 圖3是一流程圖,說明本發明圖像轉換方法之實施例的一狀態呈現程序;及 圖4是一流程圖,說明本發明圖像轉換方法之實施例的一位置調整程序。 Other features and effects of the present invention will be clearly presented in the implementation manner with reference to the drawings, wherein: Fig. 1 is a block diagram illustrating that a computer device implementing an embodiment of the image conversion method of the present invention is connected to a plurality of devices and a database via a communication network; Fig. 2 is a flowchart illustrating an image conversion program of an embodiment of the image conversion method of the present invention; Fig. 3 is a flowchart illustrating a state presentation procedure of an embodiment of the image conversion method of the present invention; and FIG. 4 is a flow chart illustrating a position adjustment procedure of an embodiment of the image conversion method of the present invention.
21~25:步驟 21~25: Steps
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110114757A TWI790604B (en) | 2021-04-23 | 2021-04-23 | image conversion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110114757A TWI790604B (en) | 2021-04-23 | 2021-04-23 | image conversion method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202242696A TW202242696A (en) | 2022-11-01 |
TWI790604B true TWI790604B (en) | 2023-01-21 |
Family
ID=85793295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110114757A TWI790604B (en) | 2021-04-23 | 2021-04-23 | image conversion method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI790604B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107852425A (en) * | 2015-07-24 | 2018-03-27 | 三星电子株式会社 | Image display device and its operating method |
TWI628611B (en) * | 2015-11-13 | 2018-07-01 | 深圳市光峰光電技術有限公司 | A method for monitoring the state of the intelligent device on the same screen, a projection device and a user terminal |
TWI687782B (en) * | 2019-01-08 | 2020-03-11 | 緯創資通股份有限公司 | Equipment monitoring management method and system |
TWM594771U (en) * | 2020-02-13 | 2020-05-01 | 國立虎尾科技大學 | Many-to-many state identification system for Internet of Things broadcast equipment name |
-
2021
- 2021-04-23 TW TW110114757A patent/TWI790604B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107852425A (en) * | 2015-07-24 | 2018-03-27 | 三星电子株式会社 | Image display device and its operating method |
TWI628611B (en) * | 2015-11-13 | 2018-07-01 | 深圳市光峰光電技術有限公司 | A method for monitoring the state of the intelligent device on the same screen, a projection device and a user terminal |
TWI687782B (en) * | 2019-01-08 | 2020-03-11 | 緯創資通股份有限公司 | Equipment monitoring management method and system |
TWM594771U (en) * | 2020-02-13 | 2020-05-01 | 國立虎尾科技大學 | Many-to-many state identification system for Internet of Things broadcast equipment name |
Also Published As
Publication number | Publication date |
---|---|
TW202242696A (en) | 2022-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7499839B2 (en) | Method and apparatus for importing data into program code | |
US20040223002A1 (en) | Graphic display control apparatus and program | |
TWI661210B (en) | Method and apparatus for establishing coordinate system and data structure product | |
US20070285424A1 (en) | Generating annotation graphics in 2D form to model 3D elements | |
GB2533572A (en) | Haptic output methods and devices | |
US11182905B2 (en) | Algorithmic approach to finding correspondence between graphical elements | |
CN112381923A (en) | Three-dimensional visual management method and device for data center and electronic equipment | |
JP2010257286A (en) | System and method for displaying advertisement | |
JP2015521773A (en) | Web page display method and apparatus used for portable information terminal | |
TWI790604B (en) | image conversion method | |
TWI687782B (en) | Equipment monitoring management method and system | |
WO2019018812A1 (en) | Highly custom and scalable design system and method for articles of manufacture | |
CN108345687A (en) | A kind of 3D web page display method and apparatus | |
JP2019200720A (en) | Design support device and design support model learning device | |
Kensek et al. | Augmented reality: An application for architecture | |
CN113297641A (en) | Stamp processing method, content element processing method, device, equipment and medium | |
JP2011076445A (en) | Retrieval device, retrieval method and retrieval system | |
US20160034605A1 (en) | Method and apparatus for importing data into program code | |
WO2020135586A1 (en) | Customized emergency map symbol template webgis-based display method and device | |
CN108846883B (en) | Quick drawing method and system for fractal graph, user equipment and storage medium | |
JP2018179473A (en) | Set value change device and method | |
WO2019067628A1 (en) | Highly custom and scalable design system and method for articles of manufacture | |
CN101236492A (en) | Method and system for controlling grid lines in a user interface | |
US11016647B2 (en) | Web-based client-server geometric design methods | |
CN112283892A (en) | Visualization method for temperature of air conditioner, air conditioner and storage medium |