TWI722729B - Stone image analysis method based on stone processing - Google Patents
Stone image analysis method based on stone processing Download PDFInfo
- Publication number
- TWI722729B TWI722729B TW108147174A TW108147174A TWI722729B TW I722729 B TWI722729 B TW I722729B TW 108147174 A TW108147174 A TW 108147174A TW 108147174 A TW108147174 A TW 108147174A TW I722729 B TWI722729 B TW I722729B
- Authority
- TW
- Taiwan
- Prior art keywords
- stone
- image
- position information
- processing
- image analysis
- Prior art date
Links
Images
Abstract
一種基於石材加工的石材影像分析方法,由一影像分析系統執行,該影像分析系統包括一拍攝單元,該方法適用於分析一由該拍攝單元拍攝一待加工石材的一待加工石材影像,並包含以下步驟:(A)根據該待加工石材影像獲得至少一拍攝設定資料;(B) 根據該至少一拍攝設定資料拍攝該待加工石材,以獲得至少一對應該至少一拍攝設定資料的目標影像;(C)將該至少一目標影像進行灰階化以及二值化轉換,以獲得至少一轉換後影像;及(D)分析該至少一轉換後影像以產生一包括一相關於該待加工石材的邊緣位置的邊緣位置資訊的分析資料。A stone image analysis method based on stone processing is executed by an image analysis system. The image analysis system includes a shooting unit. The method is suitable for analyzing an image of a stone to be processed taken by the shooting unit, and includes The following steps: (A) Obtain at least one shooting setting data according to the image of the stone to be processed; (B) Shoot the stone to be processed according to the at least one shooting setting data to obtain at least one pair of target images that should be at least one shooting setting data; (C) Perform gray-scale and binarization conversion on the at least one target image to obtain at least one converted image; and (D) analyze the at least one converted image to generate an image including an image related to the stone to be processed The analysis data of the edge position information of the edge position.
Description
本發明是有關於一種影像分析方法,特別是指一種基於石材加工的石材影像分析方法。The invention relates to an image analysis method, in particular to a stone image analysis method based on stone processing.
在石材加工的產業中,業者在加工石材前,必須先量測石材的形狀大小,才能進行加工。現有的量測方式,是以人工利用尺規量測石材,以獲得石材的形狀大小。In the stone processing industry, the industry must measure the shape and size of the stone before processing the stone. The existing measurement method is to manually measure the stone with a ruler to obtain the shape and size of the stone.
然而,以人工的量測石材的形狀大小非常的耗時,再者,因石材形狀變化甚多,如遇不規則的複雜形狀的石材量測起來更為耗時耗力。However, it is very time-consuming to measure the shape and size of the stone manually. Moreover, because the shape of the stone changes a lot, it is more time-consuming and labor-intensive to measure the irregular and complex shape of the stone.
有鑑於此,故如何提供一種能提高量測石材效率的方法,即為本創作所欲解決之首要課題。In view of this, how to provide a method that can improve the efficiency of measuring stone is the primary subject of this creation.
因此,本發明的目的,即在提供一種能提高量測石材效率的基於石材加工的石材影像分析方法。Therefore, the purpose of the present invention is to provide a stone image analysis method based on stone processing that can improve the efficiency of measuring stone.
於是,本發明基於石材加工的石材影像分析方法,由一影像分析系統執行,該影像分析系統包括一拍攝單元,該方法適用於分析一由該拍攝單元拍攝一待加工石材的一待加工石材影像,並包含一步驟(A)、一步驟(B)、一步驟(C),及一步驟(D)。Therefore, the stone image analysis method based on stone processing of the present invention is executed by an image analysis system. The image analysis system includes a photographing unit. The method is suitable for analyzing an image of a stone to be processed taken by the photographing unit of a stone to be processed. , And includes one step (A), one step (B), one step (C), and one step (D).
在該步驟(A)中,該影像分析系統根據該待加工石材影像獲得至少一拍攝設定資料。In the step (A), the image analysis system obtains at least one shooting setting data according to the image of the stone to be processed.
在該步驟(B)中,該影像分析系統根據該至少一拍攝設定資料拍攝該待加工石材,以獲得至少一對應該至少一拍攝設定資料的目標影像。In the step (B), the image analysis system photographs the stone to be processed according to the at least one photographing setting data to obtain at least one target image corresponding to the at least one photographing setting data.
在該步驟(C)中,該影像分析系統將該至少一目標影像進行灰階化以及二值化轉換,以獲得至少一轉換後影像。In the step (C), the image analysis system performs gray-scale and binarization conversion on the at least one target image to obtain at least one converted image.
在該步驟(D)中,該影像分析系統分析該至少一轉換後影像以產生一包括一相關於該待加工石材的邊緣位置的邊緣位置資訊的分析資料。In the step (D), the image analysis system analyzes the at least one converted image to generate an analysis data including edge position information related to the edge position of the stone to be processed.
本發明之功效在於:藉由該影像分析系統分析該至少一轉換後影像後,產生包括該邊緣位置資訊的該分析資料,以快速獲得該待加工石材的形狀大小。The effect of the present invention is that after analyzing the at least one converted image by the image analysis system, the analysis data including the edge position information is generated to quickly obtain the shape and size of the stone to be processed.
在本發明被詳細描述前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented by the same numbers.
參閱圖1,本發明基於石材加工的石材影像分析方法的一實施例,由一影像分析系統1,該影像分析系統1包含一儲存單元11、一拍攝單元12,及一電連接該儲存單元11及該拍攝單元12的處理單元13,本發明基於石材加工的石材影像分析方法的該實施例適用於分析一由該拍攝單元12拍攝一待加工石材的一待加工石材影像(如圖2所示)。Referring to FIG. 1, an embodiment of the stone image analysis method based on stone processing of the present invention consists of an
該儲存單元11儲存一加工參數資料,該加工參數資料包括一切割形狀,及一相關於該切割形狀的切割尺寸,該切割形狀例如為矩形、圓形、三角形、橢圓等任意形狀。The
該拍攝單元12包括一場域光源裝置及一電荷耦合裝置(Charge-coupled Device, CCD)。值得注意的是,在本實施例中,使用者可根據需求控制該場域光源裝置,以致該場域光源裝置給予最佳光源。The photographing
參閱圖1及圖3,說明該影像分析系統1如何執行本發明基於石材加工的石材影像分析方法之該實施例。以下詳細說明該實施例所包含的步驟。1 and 3, it is explained how the
在步驟21中,該處理單元13根據該待加工石材影像獲得至少一拍攝設定資料,每一拍攝設定資料包括相關於該影像拍攝單元12的一快門速度及一光圈值之其中至少一者。值得注意的是,在本實施例中,該處理單元13係根據該待加工石材影像獲得一第一拍攝設定資料及一第二拍攝設定資料,在其他實施方式中,該處理單元13亦可根據該待加工石材影像僅獲得一拍攝設定資料,不以此為限。In step 21, the
在步驟22中,該處理單元13控制該拍攝單元12根據該至少一拍攝設定資料拍攝該待加工石材,以獲得至少一對應該至少一拍攝設定資料的目標影像。值得注意的是,在本實施例中,該處理單元13係控制該拍攝單元12根據該第一拍攝設定資料及該第二拍攝設定資料拍攝該待加工石材,以獲得一對應該第一拍攝設定資料的第一目標影像及一對應該第二拍攝設定資料的第二目標影像,在其他實施方式中,該處理單元13亦可僅根據該拍攝設定資料獲得一目標影像,不以此為限。In
在步驟23中,該處理單元13將該至少一目標影像進行灰階化以及二值化轉換,以獲得至少一轉換後影像。值得注意的是,在本實施例中,該處理單元13係將該第一目標影像及該第二目標影像進行灰階化以及二值化,以獲得一對應該第一目標影像的第一轉換後影像(如圖4所示)及一對應該第二目標影像的第二轉換後影像(如圖5所示),在其他實施方式中,該處理單元13亦可僅根據該目標影像獲得一轉換後影像,不以此為限。In
在步驟24中,該處理單元13分析該至少一轉換後影像以產生一分析資料,該分析資料包括一相關於該待加工石材的邊緣位置的邊緣位置資訊,及一相關於至少一瑕疵圖形之位置的瑕疵位置資訊。值得注意的是,在本實施例中,該處理單元13係分析該第一轉換後影像獲得該邊緣位置資訊,及分析該第二轉換後影像獲得該瑕疵位置資訊,在其他實施方式中,該處理單元13亦可根據該轉換後影像以產生僅包括邊緣位置資訊的分析資料,不以此為限。In
值得一提的是,由於本發明之特徵並不在於熟知此技藝者所已知的將該至少一轉換後影像中的該待加工石材的該邊緣位置及該至少一瑕疵圖形之位置換算成實際上該待加工石材的相對位置的換算方法,為了簡潔,故在此省略了他們的細節。It is worth mentioning that the feature of the present invention does not lie in converting the edge position of the stone to be processed in the at least one converted image and the position of the at least one defect pattern into actual The above conversion method of the relative position of the stone to be processed is for the sake of brevity, so their details are omitted here.
在步驟25中,該處理單元13根據該分析資料該加工參數資料,產生一相關於一加工路徑的加工路徑位置資訊,該加工路徑位置資訊所相關的該加工路徑相關於該加工參數資料的該切割形狀。In
搭配參閱圖6,步驟25包括以下子步驟。Refer to FIG. 6 in conjunction,
在步驟251中,該處理單元13根據該分析資料的該邊緣位置資訊及該瑕疵位置資訊,獲得一相關於該待加工石材內的一最大內接矩形(如圖7所示)之位置的矩形位置資訊,其中該最大內接矩形內不包括該至少一瑕疵圖形。要特別注意的是,在本實施例中,該處理單元13是利用遍歷中心擴散法(traversal center diffusion method)或旋轉直方圖法(rotation histogram method)獲得該最大內接矩形。值得注意的是,在其他實施方式中,該處理單元13亦可僅根據該分析資料的該邊緣位置資訊獲得該矩形位置資訊,不以此為限。In
在步驟252中,該處理單元13根據該加工參數資料及該矩形位置資訊,產生該加工路徑位置資訊,其中,該加工路徑在該最大內接矩形內。In
綜上所述,本發明基於石材加工的石材影像分析方法,藉由該處理單元13分析該至少一轉換後影像後,產生該分析資料,以根據該分析資料的該邊緣位置資訊,快速獲得該待加工石材的形狀大小,再根據該分析資料的該瑕疵位置資訊獲得該矩形位置資訊,最後,根據該加工參數資料及該矩形位置資訊,自動產生該加工路徑位置資訊,故確實能達成本發明的目的。In summary, the stone image analysis method of the present invention is based on stone processing. After the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to Within the scope of the patent of the present invention.
1:影像分析系統1: Image analysis system
11:儲存單元11: storage unit
12:拍攝單元12: Shooting unit
13:處理單元13: processing unit
21~25:步驟21~25: Step
251、252:步驟251, 252: Steps
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:
圖1是一方塊圖,說明用來實施本發明基於石材加工的石材影像分析方法的一實施例的一影像分析系統;
圖2是一示意圖,說明一待加工石材影像;
圖3是一流程圖,說明本發明基於石材加工的石材影像分析方法的該實施例;
圖4是一示意圖,說明一第一轉換後影像;
圖5是一示意圖,說明一第二轉換後影像;
圖6是一流程圖,輔助說明圖3步驟25之子步驟;及
圖7是一示意圖,說明一待加工石材內的一最大內接矩形。
Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which:
FIG. 1 is a block diagram illustrating an image analysis system used to implement an embodiment of the stone image analysis method based on stone processing of the present invention;
Figure 2 is a schematic diagram illustrating an image of a stone to be processed;
Figure 3 is a flowchart illustrating the embodiment of the stone image analysis method based on stone processing of the present invention;
Figure 4 is a schematic diagram illustrating a first converted image;
Figure 5 is a schematic diagram illustrating a second converted image;
Fig. 6 is a flowchart to assist in explaining the sub-steps of
21~25:步驟 21~25: Step
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108147174A TWI722729B (en) | 2019-12-23 | 2019-12-23 | Stone image analysis method based on stone processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108147174A TWI722729B (en) | 2019-12-23 | 2019-12-23 | Stone image analysis method based on stone processing |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI722729B true TWI722729B (en) | 2021-03-21 |
TW202124913A TW202124913A (en) | 2021-07-01 |
Family
ID=76036158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108147174A TWI722729B (en) | 2019-12-23 | 2019-12-23 | Stone image analysis method based on stone processing |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI722729B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5436736A (en) * | 1991-03-15 | 1995-07-25 | Canon Kabushiki Kaisha | Image processing apparatus |
US6134343A (en) * | 1996-09-24 | 2000-10-17 | Cognex Corporation | System or method for detecting defect within a semi-opaque enclosure |
TWI593503B (en) * | 2016-12-26 | 2017-08-01 | Tool image measurement methods | |
TWI659390B (en) * | 2017-08-23 | 2019-05-11 | 國立彰化師範大學 | Data fusion method for camera and laser rangefinder applied to object detection |
-
2019
- 2019-12-23 TW TW108147174A patent/TWI722729B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5436736A (en) * | 1991-03-15 | 1995-07-25 | Canon Kabushiki Kaisha | Image processing apparatus |
US6134343A (en) * | 1996-09-24 | 2000-10-17 | Cognex Corporation | System or method for detecting defect within a semi-opaque enclosure |
TWI593503B (en) * | 2016-12-26 | 2017-08-01 | Tool image measurement methods | |
TWI659390B (en) * | 2017-08-23 | 2019-05-11 | 國立彰化師範大學 | Data fusion method for camera and laser rangefinder applied to object detection |
Also Published As
Publication number | Publication date |
---|---|
TW202124913A (en) | 2021-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI383142B (en) | Wood section of the probe method and device and computer can read the recording media | |
IES20070820A2 (en) | Method for improved red eye detection in ISO images | |
JP2017198671A (en) | Image processor and image processing method | |
PT1430710E (en) | Image processing to remove red-eye features | |
CN116309409A (en) | Weld defect detection method, system and storage medium | |
CN110915193B (en) | Image processing system, server device, image processing method, and recording medium | |
JP2014057303A (en) | System and method for utilizing enhanced scene detection in depth estimation procedure | |
JP5538573B2 (en) | Composition-based exposure measurement method and apparatus for automatic image correction | |
JP6659098B2 (en) | Image processing method, image processing apparatus, program, and recording medium | |
WO2017071406A1 (en) | Method and system for detecting pin of gold needle element | |
US8498453B1 (en) | Evaluating digital images using head points | |
TWI512284B (en) | Bubble inspection system for glass | |
Larsen et al. | Empirical evaluation of the reliability of photogrammetry software in the recovery of three‐dimensional footwear impressions | |
TWI722729B (en) | Stone image analysis method based on stone processing | |
JP7387261B2 (en) | Information processing device, information processing method and program | |
WO2015115499A1 (en) | Tool inspection method and tool inspection device | |
WO2019129041A1 (en) | Brightness adjustment method, apparatus, terminal, and computer readable storage medium | |
JP6436664B2 (en) | Substrate inspection apparatus and substrate inspection method | |
TWI697846B (en) | Objective identification method and device thereof | |
JP4210995B2 (en) | Bright spot detection method and bright spot detection program | |
JP2014016239A (en) | X-ray inspection method and x-ray inspection device | |
JP6373725B2 (en) | Evaluation method and apparatus for joint surface treatment | |
TWI510776B (en) | Bubble inspection processing method for glass | |
JP2005252451A (en) | Image quality inspection method and image quality inspection apparatus | |
CN113313664A (en) | Stone image analysis method based on stone processing |