© 2026 AEML, NTUST · CT5812701 材料物化性分析 Physical and Chemical Analysis on Materials
重要公告 (Announcement)
Saturday, October 31, 2026
Friday, October 23, 2026
[測試][工具] 細粒料篩分析 Fine Aggregate Sieve Analysis
Fine Aggregate Sieve Analysis Tool
拍照範圍建議 / Shooting range planner
| 9.5 mm (3/8 in.) | g |
| 4.75 mm (No. 4) | g |
| 2.36 mm (No. 8) | g |
| 1.18 mm (No. 16) | g |
| 600 µm (No. 30) | g |
| 300 µm (No. 50) | g |
| 150 µm (No. 100) | g |
| 75 µm (No. 200) | g |
| g |
開發人員分析 / Developer analysis
使用說明書 / User Manual
1. 工具用途
本工具以一張俯拍的粒料照片(照片中放置一枚圓形標準物,預設為新台幣 10 元硬幣),由影像量測各顆粒的尺寸,依 CNS 486 / ASTM C136 的篩號由大至小「虛擬套篩」,計算停留量、停留百分率、累積停留百分率、累積通過百分率、細度模數 (FM) 與標稱最大粒徑,並依 CNS 1240 / ASTM C33 的級配界限判定。也可改用「手動輸入」直接輸入實際篩分析的各篩停留重量(g)。
2. 原理
- 比例尺:實際像素尺寸 μm/px = 標準物直徑 (mm) × 1000 ÷ 硬幣直徑 (px)。修改標準物尺寸時立即重算,不需重新上傳。
- 面積與質量:照片量到的是投影面積(∝ d²),篩分析用的是質量(∝ 體積 ∝ d³)。若直接用面積當停留量(面積法),粗顆粒會被低估、細顆粒高估,FM 會系統性偏低。可改用「估算體積 V ≈ A × 短軸寬」或「V ∝ A1.5(等效橢球)」以修正。所有方法均假設顆粒比重一致。
- 通過判定(方格網,預設):將邊長等於篩孔的方格網覆蓋於顆粒上,若顆粒輪廓(凸包)在方格網兩個方向上的投影寬度都 ≤ 篩孔邊長,代表顆粒可移動到某一方格內完全落入,判定通過。為模擬搖晃,每一篩以 0°、30°、45° 三個方向判定;顆粒停留機率 = 停留的角度數 ÷ 3,以該權重計入本篩,其餘權重帶到下一篩繼續判定(每一篩三個角度平均後才往下傳)。
- 通過判定(最小 Feret 寬度):以顆粒輪廓的凸包,從 0° 到 175° 每 5° 旋轉一次(共 36 個角度)量測卡尺寬度,取最小值;最小寬度 ≤ 篩孔邊長即通過。動畫中每一篩會以間距等於篩孔的平行線(卡尺)逐 5° 旋轉:仍為篩色的顆粒表示到目前角度都還卡住,變為白色表示已在某個角度通過;轉完 175° 時剩下的篩色顆粒即停留在該篩。
- 可信的最小篩號:由硬幣邊緣 10–90% 亮度上升距離估算影像模糊量 σ (px),N = max(8, ⌈2·max(0.5, σ)/0.2⌉)。篩孔換算像素 ≥ N 的篩為可信。預設所有篩號(9.5 mm 至 75 µm 及底盤)都照常計算,低於解析度的篩在報告中以「⚠ 解析度不足」標示、僅供參考;也可選擇「併入底盤」。低於解析度的極細顆粒可能未被偵測,pan 的量可能偏低。使用者可自訂 N。v1.1 起 σ 只在硬幣邊緣最陡處 ±6 px 內量測並取 25 百分位,避免把硬幣邊緣的斜面、浮雕與陰影誤當成模糊。
- 接觸顆粒:預設以距離轉換 + watershed 分離相接觸的顆粒(鞍點高於較低峰值 70% 者合併,以避免長條顆粒被過度切割)。也可選「凹點分割」:追蹤輪廓、找出低於凸包的凹點,在兩凹點形成的頸部切開,較不易切斷長條顆粒。
- 二值化方法:Otsu 全域閾值(預設);Sauvola 局部閾值(依局部平均與標準差,可應付照明不均);多級 Otsu(分成暗、中、亮 3 類,背景為邊框最多的類別,深色與淺色顆粒分開計算,適合深淺顆粒混合);色彩分群(以灰階與色度做 k-means 分 3 群)。閾值自設與閾值掃描只適用於 Otsu。
- 梯度式 watershed(不需閾值):以平滑後的亮度梯度找出低梯度標記,用分水嶺擴張到邊緣,再合併邊界微弱且亮度相近的相鄰區域,保留「邊界明顯強於內部」的區域為顆粒。適合顆粒緊靠、沒有明確背景的照片,但紋理粗糙的大顆粒仍可能被切成數塊。
- 二值化:預設 Otsu 法自動決定閾值,背景明暗由影像邊框自動判斷,也可自設閾值與顆粒亮暗。小於影像面積一定比例的內部孔洞會被填補(顆粒反光)。
3. 計算與捨入規則
- 停留百分率、累積停留百分率、累積通過百分率報到整數;累積停留百分率以各篩整數停留百分率累加(同範例表)。
- 底盤 = 100 − 其他各篩整數之和;若有 No.200 數據,底盤與 No.200 通過率以未捨入值計算並報到 0.1%(No.200 通過率 ≥ 10% 時報整數)。
- 細度模數 = (No.4、No.8、No.16、No.30、No.50、No.100 累積停留百分率之和) ÷ 100,報到 0.01;若 9.5 mm 篩上有停留,依定義一併計入。
- 標稱最大粒徑 = 累積停留百分率 ≤ 10% 的最小篩號。
- 報告判定:各篩累積通過百分率是否在 CNS 1240 / ASTM C33 界限內(9.5 mm:100;4.75 mm:95–100;2.36 mm:80–100;1.18 mm:50–85;600 μm:25–60;300 μm:5–30;150 μm:0–10)、4.75 mm 至 150 μm 間相鄰兩篩之間的停留量 ≤ 45%、FM 在 2.3–3.1 之間。
- 手動輸入時,欄位留空表示該篩未使用(不列入表格,其材料視為落到下一個有填的篩或底盤);填 0 表示有使用但停留量為 0(仍列入表格)。比最大使用篩更大的篩視為 100% 通過並畫在圖上。
4. 拍攝與鋪樣建議
- 本工具分析的是單層鋪開的小樣本,不是 CNS 486 / ASTM C136 規定的 500 g 全量試樣,結果代表性受取樣影響。
- 背景:最建議使用背光燈板(A4 LED 描圖燈板,上面可放一片透明壓克力或玻璃),所有顆粒都會變成黑色剪影,不受顆粒顏色深淺影響,並開啟「背光照片模式」。沒有燈板時,用與多數顆粒對比最大的單色無紋理背景;顆粒同時有深色與淺色時,會有一部分顆粒漏測。不要拍砂堆表面。
- 顆粒單層、不重疊,盡量互不接觸;建議至少數百顆(愈多愈好),鋪樣面積約為 A4 的一部分即可,但需確保細顆粒在照片中仍有足夠像素。
- 相機垂直俯拍、對焦清晰、光線均勻;硬幣放在畫面中央附近,以減少鏡頭邊緣變形;硬幣邊緣不要被顆粒遮住。
- 欲評估到 150 μm (No.100),像素尺寸需約 ≤ 15–19 μm/px(視 N 而定),一般需以微距或近拍分區拍攝。資訊面板會顯示可信的最小篩號。
- 支援 JPG、PNG 與 iPhone 的 HEIC/HEIF:Safari 可直接讀取;其他瀏覽器會自動以 heic-to 1.6.6(支援新款 iPhone HEIC;失敗時改用 heic2any 0.0.4,皆由 jsDelivr CDN 載入)在瀏覽器端轉檔;可直接把 HEIC 檔拖進工具任何位置。照片以原始解析度處理(最長邊至 6000 px),影像只在瀏覽器端處理,不會上傳伺服器。
5. 拍攝比例示意圖:分辨 75 µm (No. 200) 的最低要求
以 iPhone 17 Pro 輸出圖檔 5712 × 4284 px 為例。75 µm 篩孔在影像上至少要有 N = 8 個像素(模糊量 σ ≤ 0.8 px 時的最小值),所以像素尺寸必須 ≤ 75 ÷ 8 = 9.38 µm/px;也就是整張照片的實際範圍不得大於 53.6 × 40.2 mm,10 元硬幣(Ø 26.0 mm)在照片上至少要有 2773 px,約佔畫面寬度的一半。一般手機照片 σ 約 1 px(N = 10),建議再拍近一點,範圍約 42.8 × 32.1 mm(7.50 µm/px)。
| 欲分辨的最小篩號 | N = 8:µm/px | 最大拍攝範圍 (mm) | 硬幣直徑 (px) | 硬幣佔畫面寬 | N = 10:µm/px | 拍攝範圍 (mm) | 硬幣直徑 (px) |
|---|---|---|---|---|---|---|---|
| 75 µm (No. 200) | 9.38 | 53.6 × 40.2 | 2773 | 48.6 % | 7.50 | 42.8 × 32.1 | 3467 |
| 150 µm (No. 100) | 18.75 | 107.1 × 80.3 | 1387 | 24.3 % | 15.0 | 85.7 × 64.3 | 1733 |
| 300 µm (No. 50) | 37.5 | 214.2 × 160.7 | 693 | 12.1 % | 30.0 | 171.4 × 128.5 | 867 |
| 600 µm (No. 30) | 75.0 | 428.4 × 321.3 | 347 | 6.1 % | 60.0 | 342.7 × 257.0 | 433 |
- 這個倍率需使用 iPhone 的微距模式近拍(鏡頭距離數公分),並確認對焦清晰;照片要用原始解析度(5712 × 4284),不可裁切後放大,也不要用「縮小檔案」的分享方式。
- 此範圍內扣除硬幣後可鋪樣的面積有限,適合只拍細顆粒部分;若同時要量 4.75 mm 的粗顆粒,請注意粗顆粒數量會太少。
- 工具在電腦瀏覽器上以原始解析度(最長邊至 6000 px、約 25 MP)處理;iPhone / iPad 的 Safari 受畫布 16 MP 限制,會縮小約 0.81 倍,此時需再拍近約 20%(建議用電腦分析)。
- 實際可信的最小篩號仍以工具量到的 σ 與 N 為準(資訊面板會顯示)。
提示:可展開上方「拍照範圍建議」,依自己的相機、標準物與欲分辨的篩號計算拍攝範圍,並列印實際尺寸取景卡。
6. 拍照範圍建議與實際尺寸取景卡
- 展開「拍照範圍建議」,選擇標準物、相機像素、欲分辨的最小篩號與 N,即可算出建議拍攝範圍、像素尺寸,以及硬幣在照片中所占的像素與比例。按「套用標準物到影像分析」可把同一個標準物設定帶回影像分析。
- 「列印實際尺寸取景卡」:列印時請選「實際大小 / 100%」,並用卡片下方的 50 mm 比例尺確認。硬幣圓圈一律以 1:1 實際大小列印(例如 10 元硬幣 Ø 26.0 mm),不會因為所選的篩號而改變。
- 拍攝範圍放得進 A4 時,外框與硬幣都是 1:1:把硬幣放在虛線圓內、樣本鋪在外框內即可。
- 拍攝範圍大於 A4 時,外框會縮小,左上角與下方比例尺標示縮小比例(例如 1 : 3.51),框內灰色小圓表示硬幣的位置(同比例縮小);旁邊綠框內的硬幣圓並標示「1:1」,是實際大小,可直接放上硬幣核對列印比例。
7. 操作步驟
- 「基本設定」第一列的「語言介面」有三個按鈕:中文、中/英(中英兩行並列)、English,按一下即可切換,報告、圖表與 PDF 一併更新。
- 選擇適用標準、計算假設與判定準則;選擇標準物尺寸。
- 上傳照片。工具會自動偵測硬幣(Hough circle),可拖曳圓框內部移動、拖曳圓周調整大小,或按「重新圈選標準物」自行拖曳指定(由圓心拖到邊緣)。
- 檢查「分類結果」圖層:顆粒依停留篩著色,灰色為被排除的邊界顆粒。可切換「二值化」圖層檢查閾值。
- 開啟「動畫」可逐篩、逐角度觀看判定過程(可暫停)。
- 按影像上方「✂ 裁切」後在影像上拖曳矩形,可只分析選定範圍(例如排除托盤邊緣);按「↺ 取消裁切」恢復全圖。
- 動畫可播放、暫停、往前/往後格放,並調整每步速率,方便上課展示。
- 標題下方「⛶ 全螢幕顯示」讓整個工具佈滿螢幕;影像工具列的「⛶ 全螢幕」只放大影像(Esc 或再按一次結束)。
- 使用背光燈板拍攝時,開啟「背光照片模式」:顆粒自動視為暗色剪影、背景為亮色,會先把燈板亮度不均的情形平坦化,再以剪影亮暗兩峰的中點作為閾值(模糊邊緣的 50% 位置),量到的輪廓最準。半透明顆粒中央的亮點會被自動填補。
- 若照片中顆粒佔分析面積超過 40%,或出現寬度大於 9.5 mm 的連成一片的區塊,工具會判定為「砂堆照片」,並提醒「照片中顆粒互相堆疊、沒有背景,結果不可信」。
- 查看報告並輸出 PDF。級配曲線與粒徑分布直方圖下方各有「⬇ 下載 PNG」(高解析度,可直接放入投影片或報告)。
- 「匯出 Excel」產生兩個工作表:Grading(基本資料、計算假設與級配表)與 Particles(每顆顆粒的位置、面積、最小 Feret 寬度、方格網寬度、停留篩號與各篩停留比例);「匯出 CSV」為同樣內容的單一 CSV 檔(UTF-8)。Excel 需由 cdnjs 載入 SheetJS 0.18.5,失敗時自動改存 CSV。
- 「儲存設定」把所有選項、手動輸入值、標準物位置、裁切範圍與結果摘要存成 JSON 檔;「載入設定」可還原,若照片尺寸相同,會自動套用標準物與裁切範圍,方便重現結果或批改作業。
- 影像分析在背景執行緒(Web Worker)進行,處理時畫面不會凍結,並顯示進度;瀏覽器不支援時自動改在主執行緒執行。
- 工具以硬幣邊緣配適橢圓檢查俯拍角度:長短軸比 > 1.02(相機傾斜約 11° 以上)時會警告。
- 電腦版瀏覽器可直接以原始解析度處理 6000 萬像素以上的照片(最長邊 16384 px、上限約 1.2 億像素),約每 1000 萬像素需 0.2 GB 記憶體;手機 Safari 受畫布限制仍會縮小至約 1600 萬像素。
- 「繪圖方式」預設為 WebGPU 硬體加速,用於影像的縮放、平移與動畫顯示,大型照片會更流暢;瀏覽器不支援時自動改用軟體繪圖。繪圖方式只影響顯示,不影響分析結果。
- 按基本設定最下方的「⟲ 重新開始」會清除影像、裁切範圍與所有計算結果(設定保留)。
8. 光度立體(多光源照片,實驗性)
- 原理:相機與樣本固定不動,只改變光源方向拍 3–4 張照片。對漫射(Lambertian)表面,像素亮度 = 反照率 × (表面法向量 · 光源方向);已知光源方向即可用最小平方法解出每個像素的反照率與法向量(4 張時捨棄每個像素最暗的一張,以排除陰影)。
- 由法向量可得表面傾角與高度梯度;兩顆相互接觸的顆粒之間是一條「凹線」(高度的 Laplacian 為正)。工具會把離平坦背景 4 px 以上的凹線推回背景亮度,畫成分隔線,而顆粒外輪廓不受影響,因此不會讓顆粒變小。
- 拍攝:相機以腳架垂直俯拍、拍攝期間不可移動;關掉其他燈,只用一盞小燈依序放在照片的上、右、下、左四個方向,仰角約 30°–50°(預設 45°),距離至少為拍攝範圍寬度的 3–5 倍;固定曝光、不開閃光燈或 HDR。卡片中附有俯視與側視示意圖。
- 操作:勾選「啟用光度立體分析」→ 把照片放入 ①–④ 四個格子(可拖曳,或「一次選取多張」依檔名順序放入)→ 確認光源仰角 → 按「合成並分析」。合成影像會直接送入一般的分析流程(硬幣偵測、分割、虛擬篩分),也可下載 PNG。
- 分析用合成影像:「自動:反照率+接觸線」(建議);「僅反照率」只去除陰影;「最大值合成」取各張的最大亮度,最簡單但仍有部分陰影。「接觸線強化」調整分隔線的強度(預設 100%)。
- 「自動對齊照片」預設關閉:不同光源方向會讓邊緣看起來位移,容易誤判;只有在相機或樣本確實晃動時才開啟。
- 預覽圖:合成影像、表面傾角、接觸凹線(紅色)與相對高度(定性,由法向量積分而得,不可當作實際厚度)。
- 以本研究室的模擬影像(112 顆、兩兩接觸)測試:不分割時偵測到的顆粒由 58 顆(單張平均光照)增加到 78 顆;搭配 watershed 時由 92 顆(僅反照率)增加到 101 顆。實際照片的效果取決於光源是否均勻、顆粒表面是否接近漫射。
- 限制:發亮、半透明或顏色很深的顆粒不符合漫射假設;光源太近會使畫面各處光源方向不一致;電腦版最多以約 2400 萬像素計算(手機約 1200 萬像素)。
9. 細料修正
- 照片無法看到小於 75 µm 的細料(甚至 150 µm 以下也常低於解析度),細料漏掉後總量變小,各篩累積停留百分率被高估,FM 會系統性偏高。以本研究室一組實測為例:實驗 FM = 2.57,No.200 通過率 11.3%;若影像完美但看不到小於 75 µm 的細料,FM 會變成 2.89。
- 開啟「細料修正」並輸入水洗試驗(CNS 491 / ASTM C117)的 No.200 通過率 P(%),工具會令底盤 = 其他各篩影像量總和 × P / (100 − P),使底盤占總量 P%,其餘各篩維持影像比例。開啟時,低於解析度的篩一律照常計算(不併入底盤),以免被取代。
- 修正只補回小於 75 µm 的部分;75–150 µm 若低於解析度,仍會偏少。
10. AI 實例分割(StarDist,實驗性)
- 「分割 / 接觸顆粒分離」選「AI:StarDist」時,工具在瀏覽器內以 onnxruntime-web 1.29.0(WebGPU,不支援時改用 WASM)執行 StarDist 2D_versatile_fluo 預訓練模型,逐塊推論(1024 px、重疊 160 px),以星狀凸多邊形描述每顆顆粒,再以非極大值抑制(NMS 0.3)去除重複,最後以原始解析度描繪顆粒輪廓。影像仍只在瀏覽器處理,不會上傳。
- 模型檔(約 5.7 MB)需由網址(建議放在 GitHub,經 jsDelivr 提供)或本機檔案載入。模型原為螢光細胞核訓練,未針對細粒料訓練;顆粒清楚、互相接觸的情況效果良好,但紋理粗糙的大顆粒與細料基質常會漏測。長條或稜角明顯的顆粒會被近似為星狀凸多邊形。
- 推論縮放「自動」會把影像縮到約 24 µm/px(模型擅長約 10–40 px 大小的物件);低於此尺度的細顆粒無法偵測。
- StarDist © Uwe Schmidt, Martin Weigert 等,BSD-3-Clause 授權(Schmidt et al., MICCAI 2018; Weigert et al., WACV 2020)。
11. AI:SAM 自動分割與合併(實驗性)
- 「AI:SAM 自動分割」使用 Segment Anything 系列模型(預設 MobileSAM,可改用 SAM 2),在每個 1024 px 小塊上撒 n × n 個提示點,每點產生 3 個候選遮罩,保留預測品質(IoU)與穩定度都高於閾值者,以框重疊 0.7 去除重複,再以原始解析度描繪輪廓(小顆粒優先,與既有顆粒重疊超過 30% 者捨棄)。SAM 能完整抓到紋理粗糙的大顆粒與稜角輪廓,但小顆粒較少。
- 「AI:StarDist + SAM 合併」:粒徑大於設定值(預設 1.0 mm)的顆粒採用 SAM,其餘以 StarDist 為主,最後以 SAM 補足空隙。
- SAM 模型包由 manifest.json 與分割檔組成(每檔小於 20 MB,以便由 GitHub / jsDelivr 提供),也可一次選取全部檔案由本機載入。「SAM 模型」選單:MobileSAM(v1,預設,較快)、SAM 2.1 tiny(v2,較準,建議使用 GPU),或「自訂網址/本機檔」。SAM 計算量大,在一般電腦上每張照片可能需要數分鐘;建議使用支援 WebGPU 的瀏覽器。
- MobileSAM © Chaoning Zhang 等(Apache-2.0);SAM 2 © Meta Platforms(Apache-2.0)。
12. PDF 輸出
- jsPDF + html2canvas:把報告畫面轉成圖片再放進 PDF,中文不需嵌入字型,但PDF 內文字無法選取。函式庫由 CDN 載入(jsPDF 2.5.1、html2canvas 1.4.1,cdnjs)。
- 列印 (window.print):使用瀏覽器的列印功能,可選「另存為 PDF」,文字可選取。
- 自動:優先使用 jsPDF + html2canvas,CDN 載入失敗時改用列印。
13. 限制
- 影像只能量到二維投影,無法得知顆粒厚度;扁平或長條顆粒的通過判定與體積估算有誤差。
- 低於解析度的極細顆粒可能未被偵測,底盤的量可能偏低;顆粒重疊、陰影、反光或背景不均會影響分割結果。
- 本工具為影像估算,不能取代 CNS 486 / ASTM C136 實際試驗。
1. Purpose
This tool takes a top-down photograph of a fine-aggregate sample with a circular reference object (default: a NT$10 coin), measures every particle, "virtually sieves" them through the CNS 486 / ASTM C136 sieve stack from coarse to fine, and reports the amount retained, percentages retained, cumulative percentages retained and passing, fineness modulus (FM) and nominal maximum size, checked against the CNS 1240 / ASTM C33 grading limits. A "manual input" mode accepts measured masses (g) retained on each sieve.
2. Principle
- Scale: pixel size (µm/px) = reference diameter (mm) × 1000 ÷ coin diameter (px). Changing the reference size recalculates immediately; no re-upload is needed.
- Area vs. mass: a photo measures projected area (∝ d²), whereas a sieve analysis uses mass (∝ volume ∝ d³). Using area as the retained amount (area method) under-weights coarse particles and over-weights fine ones, so the FM is systematically low. "Estimated volume V ≈ A × minor width" or "V ∝ A1.5 (equivalent ellipsoid)" compensate for this. All methods assume a uniform specific gravity.
- Passing criterion – square grid (default): a grid with the sieve opening as its cell size is laid over the particle; if the projected widths of the particle outline (convex hull) along both grid directions are ≤ the opening, the particle can be moved to fall completely within one cell and passes. To simulate shaking, each sieve is evaluated at 0°, 30° and 45°; the retention probability equals the number of retaining angles ÷ 3. That weight is retained on the sieve and the remainder is passed to the next sieve (angles are averaged before passing material down).
- Passing criterion – minimum Feret width: the caliper width of the particle outline (convex hull) is measured every 5° from 0° to 175° (36 angles) and the minimum is taken; the particle passes if it is ≤ the opening. In the animation, parallel caliper lines spaced at the opening rotate in 5° steps for each sieve: particles still in the sieve colour are blocked at every angle so far, white ones have already passed at some angle; those still coloured after 175° are retained.
- Smallest trusted sieve: the image blur σ (px) is estimated from the 10–90 % intensity rise across the coin rim, N = max(8, ⌈2·max(0.5, σ)/0.2⌉). Sieves whose opening is ≥ N px are trusted. By default all sieves (9.5 mm to 75 µm and the pan) are evaluated; sieves below the resolution are marked "⚠ low resolution" in the report (for reference only). Alternatively their material can be merged into the pan. Very fine particles below the resolution may be missed, so the pan may be under-estimated. N can be set by the user. Since v1.1, σ is measured only within ±6 px of the steepest point of the coin rim and the 25th percentile is used, so the bevel, relief and shadow of a real coin are not mistaken for blur.
- Touching particles: separated by default with a distance-transform watershed (peaks whose saddle exceeds 70 % of the lower peak are merged to avoid over-splitting elongated grains). "Concave-point splitting" traces the outline, finds points lying deep below the convex hull and cuts across the neck between two of them; it splits elongated grains less often.
- Binarization: Otsu global threshold (default); Sauvola local threshold (local mean and standard deviation, robust to uneven lighting); multi-level Otsu (dark / mid / bright classes; the background is the class most common on the border, dark and light grains are kept apart – for mixed-colour sands); colour clustering (k-means with 3 clusters on grey level and chroma). User thresholds and the threshold sweep apply to Otsu only.
- Gradient watershed (no threshold): low-gradient markers of the smoothed image are flooded up to the edges; neighbouring regions with weak shared boundaries and similar brightness are merged, and regions whose boundary is clearly stronger than their interior are kept as particles. Suited to tightly packed grains without a clear background, although large textured grains may still be split.
- Binarization: Otsu threshold by default; the background polarity is detected from the image border. Threshold and particle polarity can be set manually. Small interior holes (specular highlights) are filled.
3. Calculation and rounding
- Percentages are reported to the nearest whole number; cumulative retained percentages are the running sum of the rounded individual percentages (as in the worked example).
- Pan = 100 − sum of the rounded values of the other sieves; when No.200 data exist, the pan and the No.200 passing are computed from unrounded values and reported to 0.1 % (to the whole number if the No.200 passing is ≥ 10 %).
- FM = (sum of cumulative % retained on No.4, No.8, No.16, No.30, No.50, No.100) ÷ 100, reported to 0.01; the 9.5-mm sieve is added by definition only if material is retained on it.
- Nominal maximum size = the smallest sieve with cumulative retained ≤ 10 %.
- Judgment: cumulative passing within the CNS 1240 / ASTM C33 limits (9.5 mm: 100; 4.75 mm: 95–100; 2.36 mm: 80–100; 1.18 mm: 50–85; 600 µm: 25–60; 300 µm: 5–30; 150 µm: 0–10); not more than 45 % retained between any two consecutive sieves from 4.75 mm to 150 µm; FM within 2.3–3.1.
- Manual input: a blank field means the sieve was not used (not listed; its material is counted on the next filled sieve or pan); 0 means the sieve was used with nothing retained (listed). Sieves larger than the largest sieve used are plotted as 100 % passing.
4. Photography and sample spreading
- The tool analyses a small single-layer sample, not the 500-g test portion required by CNS 486 / ASTM C136; representativeness depends on sampling.
- Background: a light box is strongly recommended (A4 LED tracing pad, optionally with a clear acrylic or glass sheet on top) – every particle becomes a dark silhouette regardless of its colour; enable "Backlit photo". Without a light box, use a uniform background with the best contrast to most particles; with mixed dark and light grains some will be missed. Do not photograph the surface of a pile.
- Spread particles in a single, non-overlapping layer, ideally not touching; use at least several hundred particles, while keeping enough pixels for the fine fractions.
- Shoot perpendicular to the surface, in focus, with even lighting; place the coin near the centre of the frame to minimise lens distortion, and keep its rim unobstructed.
- To evaluate down to 150 µm (No.100) the pixel size must be about ≤ 15–19 µm/px (depending on N), which usually requires close-up or macro photos. The information panel shows the smallest trusted sieve.
- JPG, PNG and iPhone HEIC/HEIF are supported: Safari decodes HEIC natively; other browsers convert it in the browser with heic-to 1.6.6 (supports recent iPhone HEIC; heic2any 0.0.4 as fallback, both from jsDelivr CDN). Files can be dropped anywhere on the tool. Photos are processed at original resolution (up to 6000 px on the long side) and never uploaded.
5. Framing diagram: minimum requirement to resolve 75 µm (No. 200)
Example: iPhone 17 Pro output image of 5712 × 4284 px. A 75-µm opening must span at least N = 8 pixels (the minimum, valid when the blur σ ≤ 0.8 px), so the pixel size must be ≤ 75 ÷ 8 = 9.38 µm/px. The whole photo may therefore cover no more than 53.6 × 40.2 mm, and the NT$10 coin (Ø 26.0 mm) must measure at least 2773 px — about half the frame width. Phone photos typically have σ ≈ 1 px (N = 10), so shooting slightly closer (≈ 42.8 × 32.1 mm, 7.50 µm/px) is recommended.
| Smallest sieve to resolve | N = 8: µm/px | Max. field of view (mm) | Coin diameter (px) | Coin / frame width | N = 10: µm/px | Field of view (mm) | Coin diameter (px) |
|---|---|---|---|---|---|---|---|
| 75 µm (No. 200) | 9.38 | 53.6 × 40.2 | 2773 | 48.6 % | 7.50 | 42.8 × 32.1 | 3467 |
| 150 µm (No. 100) | 18.75 | 107.1 × 80.3 | 1387 | 24.3 % | 15.0 | 85.7 × 64.3 | 1733 |
| 300 µm (No. 50) | 37.5 | 214.2 × 160.7 | 693 | 12.1 % | 30.0 | 171.4 × 128.5 | 867 |
| 600 µm (No. 30) | 75.0 | 428.4 × 321.3 | 347 | 6.1 % | 60.0 | 342.7 × 257.0 | 433 |
- This magnification requires the iPhone macro mode (a few cm from the sample) with sharp focus. Use the original resolution (5712 × 4284); do not crop and enlarge, and do not share a reduced-size copy.
- After the coin, little area is left for particles, so this framing suits the fine fraction; coarse 4.75-mm particles will be too few in such a small field.
- Desktop browsers process the photo at full resolution (up to 6000 px on the long side, ~25 MP). Safari on iPhone / iPad is limited to 16 MP canvases and scales the image by ~0.81, so shoot ~20 % closer there (a computer is recommended).
- The actual smallest trusted sieve is still determined from the measured σ and N (shown in the information panel).
Tip: expand the "Shooting range planner" above to compute the field of view for your own camera, reference and target sieve, and to print a true-scale framing card.
6. Shooting range planner and true-scale framing card
- Open "Shooting range planner" and choose the reference, camera resolution, smallest sieve to resolve and N to get the recommended field, pixel size and the size of the coin in pixels and as a share of the picture. "Apply reference to image analysis" copies the reference to the image analysis.
- "Print true-scale framing card": print at "Actual size / 100 %" and check the 50 mm scale bar. The coin circle is always printed at true size (1:1) (e.g. NT$10 coin Ø 26.0 mm), whatever sieve is selected.
- When the field fits on A4, the frame and the coin are both 1:1: put the coin in the dashed circle and spread the sample inside the frame.
- When the field is larger than A4, the frame is scaled down and its scale is marked in the corner and on its own scale bar (e.g. 1 : 3.51); the grey circle in the frame shows where the coin goes (same scale). The coin circle in the green box beside it is labelled "1:1" and is true size, so the coin can be placed on it to check the print.
7. Steps
- "Language" (first row of the General panel) has three buttons: 中文, 中/英 (Chinese and English on two lines) and English; one click switches the report, charts and PDF as well.
- Choose the standard, calculation assumption, passing criterion and reference size.
- Upload the photo. The coin is detected automatically (Hough circle). Drag inside the circle to move it, drag its rim to resize, or press "Redraw reference" and drag from the centre to the rim.
- Check the "Classified" layer: particles are coloured by the sieve on which they are retained; grey particles are excluded (touching the border). Use the "Binary" layer to check the threshold.
- Enable "Animation" to watch the sieve-by-sieve, angle-by-angle evaluation (can be paused).
- Press "✂ Crop" above the image and drag a rectangle to analyse only that region (e.g. to exclude a tray edge); "↺ Reset crop" restores the full image.
- The animation can be played, paused, stepped backward / forward, and its speed per step adjusted for teaching.
- "⛶ Full screen (whole tool)" below the title fills the screen with the whole tool; "⛶ Full screen" in the image toolbar enlarges only the image (Esc or press again to exit).
- With a light box, enable "Backlit photo": particles are treated as dark silhouettes on a bright background, uneven light-box brightness is flattened, and the threshold is set at the midpoint of the silhouette and background peaks (the 50 % position of a blurred edge) for accurate outlines. Bright spots inside translucent grains are filled.
- If particles cover more than 40 % of the analysed area, or merged blobs wider than 9.5 mm appear, the photo is flagged as a pile: "Particles are piled up with no visible background; the results are not reliable."
- Review the report and export a PDF. The grading curve and the size histogram each have "⬇ Download PNG" (high resolution, for slides or reports).
- "Export Excel" creates two sheets: Grading (metadata, assumptions and the grading table) and Particles (position, area, min. Feret width, grid widths, retaining sieve and fractions per sieve for every particle); "Export CSV" writes the same content to one UTF-8 CSV file. Excel uses SheetJS 0.18.5 from cdnjs and falls back to CSV.
- "Save settings" stores all options, manual inputs, reference circle, crop and a result summary as JSON; "Load settings" restores them and re-applies the reference and crop when the photo size matches, so results can be reproduced or checked.
- Image analysis runs in a background thread (Web Worker) with a progress bar, so the page does not freeze; it falls back to the main thread when Workers are unavailable.
- The coin rim is fitted with an ellipse to check the camera angle: an axis ratio > 1.02 (tilt ≳ 11°) raises a warning.
- Desktop browsers process photos of 60 MP and more at full resolution (up to 16384 px on the long side, ~120 MP), needing about 0.2 GB of memory per 10 MP; mobile Safari is still limited to ~16 MP by its canvas size.
- "Rendering" defaults to WebGPU hardware acceleration for zooming, panning and animation, which is smoother for large photos; it falls back to software rendering when unsupported. Rendering affects display only, not the results.
- "⟲ Start over" at the bottom of the General panel clears the image, crop and all results (settings are kept).
8. Photometric stereo (multi-light photos, experimental)
- Principle: the camera and sample stay still while 3–4 photos are taken with the light from different directions. For a diffuse (Lambertian) surface, pixel brightness = albedo × (surface normal · light direction); with known light directions the albedo and normal of every pixel follow from least squares (with 4 photos the darkest one at each pixel is ignored to suppress shadows).
- The normals give the surface tilt and height gradient; between two touching grains there is a concave "valley" (positive Laplacian of the height). Valleys more than 4 px away from the flat background are pushed to the background level and act as separation lines, while the outer outlines are left untouched so the grains do not shrink.
- Shooting: camera on a tripod, straight down, not moved between shots; other lights off, one small lamp placed at the top, right, bottom and left of the picture in turn, elevation about 30°–50° (default 45°), at least 3–5 × the field width away; locked exposure, no flash or HDR. The card shows top and side view diagrams.
- Use: tick "Enable photometric stereo" → put the photos into slots ①–④ (drag and drop, or "Select several at once" in file-name order) → check the light elevation → "Build composite and analyse". The composite goes straight into the normal analysis (coin detection, segmentation, virtual sieving) and can be downloaded as PNG.
- Composite: "Auto: albedo + contact lines" (recommended); "Albedo only" removes shadows only; "Maximum composite" takes the brightest value of the photos – simplest, but some shadows remain. "Contact-line strength" sets how strongly the lines are drawn (default 100 %).
- "Align the photos automatically" is off by default: different light directions make edges appear shifted and can mislead the alignment; switch it on only if the camera or sample actually moved.
- Previews: composite, surface tilt, concave contact lines (red) and relative height (qualitative, integrated from the normals – not a real thickness).
- On our synthetic test images (112 grains in touching pairs), the grains found without separation rose from 58 (single average-light photo) to 78, and with watershed from 92 (albedo only) to 101. On real photos the benefit depends on even lighting and on how diffuse the grain surfaces are.
- Limitations: shiny, translucent or very dark grains break the diffuse assumption; a lamp too close makes the light direction vary across the picture; computation is limited to about 24 MP on desktops (about 12 MP on phones).
9. Fines correction
- Photos cannot see material finer than 75 µm (and often not below 150 µm). Missing fines shrink the total, inflate the cumulative % retained and bias the FM high. Example from our laboratory: lab FM = 2.57 with 11.3 % passing No. 200; a perfect image analysis that cannot see the < 75 µm fraction would give FM = 2.89.
- Enable "Fines correction" and enter the % passing No. 200, P, from washing (CNS 491 / ASTM C117). The pan becomes (sum of the image amounts on all sieves) × P / (100 − P), so that the pan is P % of the total; the other sieves keep the image proportions. While enabled, sieves below the resolution are always evaluated (not merged into the pan).
- Only the < 75 µm fraction is restored; the 75–150 µm fraction is still under-estimated when it is below the resolution.
10. AI instance segmentation (StarDist, experimental)
- With "AI: StarDist" the StarDist 2D_versatile_fluo pretrained model runs in the browser with onnxruntime-web 1.29.0 (WebGPU, or WASM when unavailable) in 1024-px tiles with 160-px overlap; each particle is described by a star-convex polygon, duplicates are removed by non-maximum suppression (0.3) and outlines are rendered at full resolution. Images never leave the browser.
- The model file (~5.7 MB) is loaded from a URL (GitHub via jsDelivr recommended) or a local file. It was trained on fluorescent nuclei, not aggregates: distinct touching grains are separated well, but large textured grains and the fine matrix are often missed, and elongated or angular grains are approximated by star-convex shapes.
- "Auto" scale resizes the image to about 24 µm/px (the model prefers objects of about 10–40 px); finer grains cannot be detected.
- StarDist © Uwe Schmidt, Martin Weigert et al., BSD-3-Clause (Schmidt et al., MICCAI 2018; Weigert et al., WACV 2020).
11. AI: SAM automatic masks and fusion (experimental)
- "AI: SAM automatic masks" uses a Segment Anything model (MobileSAM by default, SAM 2 optional). Each 1024-px tile is prompted with an n × n point grid; each point yields 3 candidate masks, which are kept when the predicted IoU and the stability exceed the thresholds, de-duplicated by box overlap (0.7) and rendered at full resolution (small first; masks overlapping existing particles by more than 30 % are dropped). SAM captures large textured grains and angular outlines well but finds fewer small grains.
- "AI: StarDist + SAM fusion": particles larger than the set size (default 1.0 mm) come from SAM; the rest mainly from StarDist, with SAM filling remaining gaps.
- A SAM model pack consists of manifest.json and part files (each < 20 MB so that GitHub / jsDelivr can serve them); all files can also be selected locally at once. The "SAM model" menu offers MobileSAM (v1, default, faster), SAM 2.1 tiny (v2, more accurate, GPU advised) or "Custom URL / local file". SAM is computationally heavy and may take minutes per photo on an ordinary computer; a WebGPU-capable browser is recommended.
- MobileSAM © Chaoning Zhang et al. (Apache-2.0); SAM 2 © Meta Platforms (Apache-2.0).
12. PDF export
- jsPDF + html2canvas: the report is rendered as an image inside the PDF, so Chinese text needs no embedded font, but the text in the PDF is not selectable. Libraries are loaded from CDN (jsPDF 2.5.1, html2canvas 1.4.1, cdnjs).
- Print (window.print): uses the browser print dialog (choose "Save as PDF"); text remains selectable.
- Auto: jsPDF + html2canvas first, falling back to print if the CDN cannot be loaded.
13. Limitations
- Only 2-D projections are measured; particle thickness is unknown, so flat or elongated particles introduce errors in passing decisions and volume estimates.
- Very fine particles below the resolution may be missed, so the pan may be under-estimated; overlaps, shadows, glare or uneven backgrounds affect segmentation.
- This is an image-based estimate and does not replace an actual CNS 486 / ASTM C136 test.
Advanced Engineering Materials Laboratory (AEML), Department of Civil and Construction Engineering, National Taiwan University of Science and Technology (NTUST)
混凝土細粒料篩分析工具Fine Aggregate Sieve Analysis Tool
影像式篩分析:以硬幣為比例尺,計算級配、細度模數與標稱最大粒徑(v1.1)Image-based sieve analysis using a coin as scale: grading, fineness modulus and nominal maximum size (v1.1)
適用標準:CNS 486(篩分析)· CNS 386-1(試驗篩)· CNS 1240(混凝土粒料)Standards: CNS 486 (sieve analysis) · CNS 386-1 (test sieves) · CNS 1240 (concrete aggregates)
適用標準:ASTM C136(篩分析)· ASTM E11(試驗篩)· ASTM C33(混凝土粒料)Standards: ASTM C136 (sieve analysis) · ASTM E11 (test sieves) · ASTM C33 (concrete aggregates)
基本設定General
影像分析設定Image analysis
報告與輸出Report & output
上傳粒料照片Upload aggregate photo
手動輸入各篩停留重量 (g)Manual input: mass retained on each sieve (g)
影像資訊與解析度Image info & resolution
語言介面Language
適用標準Standard
輸入方式Input mode
影像分析Image analysis
手動輸入(實測重量)Manual input (measured mass)
計算假設Calculation assumption
面積法Area method
估算體積 V ≈ A × 短軸寬Estimated volume V ≈ A × minor width
估算體積 V ∝ A^1.5(等效橢球)Estimated volume V ∝ A^1.5 (ellipsoid)
短軸寬定義Minor width definition
最小 Feret 寬度Minimum Feret width
等效橢圓短軸Equivalent-ellipse minor axis
通過篩孔判定準則Passing criterion
方格網覆蓋(0°/30°/45°)Square grid (0°/30°/45°)
最小 Feret 寬度 ≤ 篩孔Min. Feret width ≤ opening
標準物尺寸Reference object
1 元(20.0 mm)NT$1 (20.0 mm)
5 元(22.0 mm)NT$5 (22.0 mm)
10 元(26.0 mm)NT$10 (26.0 mm)
50 元(28.0 mm)NT$50 (28.0 mm)
自訂Custom
直徑Diameter
標準物偵測Reference detection
自動 + 手動修正Auto + manual correction
自動(Hough circle)Automatic (Hough circle)
手動拖曳圓框Manual (drag a circle)
二值化閾值Binarization threshold
Otsu 法(自動)Otsu (automatic)
自設User-defined
閾值Threshold
顆粒亮暗Particle polarity
自動(依邊框背景)Auto (from border)
顆粒較亮Particles brighter
顆粒較暗Particles darker
分割 / 接觸顆粒分離Segmentation / touching particles
距離轉換 watershedDistance-transform watershed
不分離No separation
碰到影像邊界的顆粒Particles touching the border
排除Exclude
保留Keep
可信最小篩號 NTrusted-sieve threshold N
自動(由硬幣邊緣模糊估算)Auto (from coin-edge blur)
自訂User-defined
N(篩孔最少像素)N (min. pixels per opening)
開啟動畫Animation
顯示篩分析報告Show sieve analysis report
顯示細度模數計算報告Show fineness modulus report
報告判定Compliance check
PDF 輸出方式PDF method
自動Auto
jsPDF + html2canvasjsPDF + html2canvas
列印 (window.print)Print (window.print)
輸出 PDF 報告Export PDF report
計算Calculate
載入範例(500 g)Load example (500 g)
清除Clear
留空 = 該篩未使用(不列入表格);填 0 = 有使用但停留量為 0。Blank = sieve not used (not listed); 0 = sieve used, nothing retained.
留空 = 未使用blank = not used
點此選擇或拖曳照片至此(JPG / PNG / HEIC)
照片需含一枚圓形標準物(預設新台幣 10 元硬幣);影像僅在瀏覽器端處理,不會上傳。Click to choose or drop a photo here (JPG / PNG / HEIC)
The photo must contain a circular reference (default NT$10 coin). Images are processed in your browser only.
⛶ 全螢幕⛶ Full screen
✕ 結束全螢幕✕ Exit full screen
⛶ 全螢幕顯示(整個工具)⛶ Full screen (whole tool)
✕ 結束全螢幕✕ Exit full screen
✂ 裁切✂ Crop
✂ 裁切中:拖曳選取範圍(再按取消)✂ Cropping: drag a box (click to cancel)
↺ 取消裁切(全圖)↺ Reset crop (full image)
請在影像上拖曳出要分析的矩形範圍;範圍外的顆粒不列入計算,碰到範圍邊界的顆粒依「邊界顆粒」設定處理。標準物可在範圍外。Drag a rectangle on the image to set the analysis region. Particles outside are ignored; particles touching its edge follow the border-particle setting. The reference may lie outside.
已設定分析範圍 {0} × {1} px,重新分析中。Analysis region set to {0} × {1} px; re-analysing.
已取消裁切,改為分析全圖。Crop removed; analysing the full image.
請先上傳照片。Upload a photo first.
分析範圍:使用者裁切 {0} × {1} px(左上角 x = {2}, y = {3});碰到範圍邊界的顆粒視同邊界顆粒。Analysis region: user crop {0} × {1} px (top-left x = {2}, y = {3}); particles touching its edge are treated as border particles.
分析範圍(裁切)Analysis region (crop)
⏮ 往前格放⏮ Previous step
往後格放 ⏭Next step ⏭
每步Per step
繪圖方式Rendering
WebGPU 硬體加速WebGPU (hardware)
軟體(Canvas 2D)Software (Canvas 2D)
軟體(Canvas 2D)Software (Canvas 2D)
此瀏覽器或裝置不支援 WebGPUWebGPU not available on this browser / device
繪圖方式Rendering
此瀏覽器或裝置無法使用 WebGPU,已自動改用軟體繪圖;分析結果不受影響。WebGPU is not available here; software rendering is used. Results are not affected.
⟲ 重新開始⟲ Start over
確定要清除目前的影像與計算結果,重新開始嗎?(設定會保留)Clear the current image and results and start over? (Settings are kept)
已清除影像與計算結果,請上傳新照片或輸入資料。Image and results cleared. Upload a new photo or enter data.
背光照片模式(燈板剪影)Backlit photo (light-box silhouettes)
剪影亮暗峰中點silhouette mid-level
背光照片模式:顆粒視為暗色剪影、背景為亮色;燈板亮度不均已平坦化。Backlit mode: particles are dark silhouettes on a bright background; uneven light-box brightness is flattened.
二值化閾值:剪影亮暗兩峰中點 = {0}(邊緣 50% 位置)。Threshold: mid-level between silhouette and background peaks = {0} (50 % edge position).
顆粒佔分析面積Particle area fraction
⚠ 照片中顆粒互相堆疊、沒有背景,結果不可信。請取少量樣本單層攤開(最好使用背光燈板)後重拍。⚠ Particles are piled up with no visible background; the results are not reliable. Spread a small sample in a single layer (preferably on a light box) and retake the photo.
判定依據:顆粒佔分析面積 {0}%(單層攤開通常 < 40%);寬度大於 9.5 mm 的連成一片區塊 {1} 個。Criteria: particles cover {0} % of the analysed area (a single layer is usually < 40 %); {1} merged blob(s) wider than 9.5 mm.
分析完成({0} 顆,FM = {1}),但照片中顆粒互相堆疊、沒有背景,結果不可信。Done ({0} particles, FM = {1}), but particles are piled up with no background; results are not reliable.
自動偵測標準物的信心較低,請確認黃色圓框是否正好框住硬幣;若不正確,請按「重新圈選標準物」。Low confidence in the automatic reference detection; check that the yellow circle matches the coin, or press "Redraw reference".
已偵測到可能的標準物(直徑 {0} px),但信心較低,請確認黃色圓框是否正確。A possible reference was found (diameter {0} px) with low confidence; please check the yellow circle.
轉換灰階Converting to grey
平滑化Smoothing
偵測標準物Detecting reference
二值化Thresholding
填補孔洞Filling holes
標記顆粒Labelling particles
watershed 分離Watershed
量測顆粒形狀Measuring particles
記憶體不足,無法處理這張照片。請改用電腦版 Chrome / Edge、關閉其他分頁,或先裁切/縮小照片。Out of memory. Use desktop Chrome / Edge, close other tabs, or crop / downsize the photo.
大型影像 {0} MP,以原始解析度處理,約需 {1} GB 記憶體;建議使用電腦版 Chrome / Edge。Large image ({0} MP) processed at full resolution; about {1} GB of memory is needed. Desktop Chrome / Edge recommended.
運算方式Processing
背景執行緒(Web Worker)Background thread (Web Worker)
主執行緒(瀏覽器不支援 Worker)Main thread (Worker unavailable)
硬幣長短軸比Coin axis ratio
相機傾斜約 {0}°camera tilt ≈ {0}°
硬幣呈橢圓(長短軸比 > 1.02),相機可能未垂直俯拍,比例尺在畫面各處不一致。請將相機平行於樣本平面後重拍。The coin appears elliptical (axis ratio > 1.02); the camera may not be perpendicular, so the scale varies across the image. Hold the camera parallel to the sample plane and retake.
⬇ 下載 PNG⬇ Download PNG
PNG 已下載。PNG downloaded.
粒徑分布直方圖Particle size distribution
以最小 Feret 寬度、每 1/4 倍頻(2^0.25)分組;長條為顆粒數,依該粒徑會停留的篩號著色;紅線為各組停留量占總量百分比(依目前計算假設)。灰色區域低於可信解析度。Grouped by minimum Feret width in quarter-octave bins (2^0.25); bars are particle counts coloured by the sieve that would retain that size; the red line is each bin's share of the total amount (current assumption). The grey zone is below the trusted resolution.
低於解析度Below resolution
最小 Feret 寬度 (mm)Minimum Feret width (mm)
顆粒數Number of particles
停留量占比 (%)Share of amount (%)
顆粒數(依篩號著色)Particle count (by sieve)
停留量占比Share of amount
匯出 ExcelExport Excel
匯出 CSVExport CSV
💾 儲存設定💾 Save settings
📂 載入設定📂 Load settings
CSV 已下載(UTF-8,可直接用 Excel 開啟)。CSV downloaded (UTF-8, opens in Excel).
產生 Excel 檔中(首次需下載 SheetJS)…Creating Excel file (downloading SheetJS the first time)…
Excel 已下載(工作表:Grading 級配、Particles 顆粒資料)。Excel downloaded (sheets: Grading, Particles).
無法載入 SheetJS(CDN),已改為下載 CSV。SheetJS could not be loaded from the CDN; a CSV was downloaded instead.
設定已儲存(JSON 檔,含標準物、裁切範圍與結果摘要)。Settings saved (JSON with reference, crop and result summary).
設定已載入。Settings loaded.
設定已載入,並套用到目前照片的標準物與裁切範圍,重新分析中。Settings loaded and applied to the current photo's reference and crop; re-analysing.
設定已載入;請上傳原照片({0}),會自動套用標準物與裁切範圍。Settings loaded; upload the original photo ({0}) to apply the reference and crop automatically.
設定已載入,但目前照片尺寸與存檔時({0})不同,標準物與裁切範圍未套用。Settings loaded, but the current photo size differs from the saved one ({0}); reference and crop were not applied.
無法讀取:這不是本工具的設定檔。Cannot read: not a settings file of this tool.
檔名File
停留百分率(未捨入)% retained (unrounded)
備註Note
編號ID
中心 x (mm)Centre x (mm)
中心 y (mm)Centre y (mm)
投影面積 (mm²)Projected area (mm²)
等面積圓直徑 (mm)Equivalent circle diameter (mm)
最小 Feret 寬度 (mm)Min. Feret width (mm)
等效橢圓短軸 (mm)Equivalent-ellipse minor axis (mm)
方格網 0° 寬度 (mm)Grid width 0° (mm)
方格網 30° 寬度 (mm)Grid width 30° (mm)
方格網 45° 寬度 (mm)Grid width 45° (mm)
停留量權重Weight
主要停留篩號Main retaining sieve
排除原因Excluded
停留比例Fraction on
碰到邊界touches border
碰到標準物touches reference
📐 拍照範圍建議(點擊展開)📐 Shooting range planner (click to expand)
欲分辨的最小篩號Smallest sieve to resolve
相機解析度Camera resolution
600 萬畫素6 MP
1200 萬畫素12 MP
1800 萬畫素18 MP
2400 萬畫素24 MP
3600 萬畫素36 MP
4800 萬畫素48 MP
6000 萬畫素60 MP
自訂寬 × 高Custom width × height
寬 × 高Width × height
長寬比Aspect ratio
預期清晰度 NExpected sharpness N
清晰(N = 8)Sharp (N = 8)
一般手機(N = 10)Typical phone (N = 10)
較模糊(N = 14)Softer (N = 14)
N 為篩孔最少需佔的像素數:N = max(8, ⌈2·max(0.5, σ)/0.2⌉)。實際值以上傳照片後,由硬幣邊緣量到的模糊量 σ 為準。N is the minimum number of pixels across a sieve opening: N = max(8, ⌈2·max(0.5, σ)/0.2⌉). The actual value comes from the blur σ measured on the coin rim after upload.
套用標準物到影像分析Apply reference to image analysis
已將標準物 {0} mm 套用到影像分析設定。Reference {0} mm applied to the image analysis settings.
換算影像尺寸:{0} px({1} MP)Image size: {0} px ({1} MP)
超過此裝置的處理上限(約 {1} MP),將以 {0} px 處理,以下數值已依此計算。Exceeds this device's processing limit (~{1} MP); the photo will be processed at {0} px and the figures below use that size.
建議拍攝範圍Recommended field of view
最大 {0} mm(N = 8)max. {0} mm (N = 8)
像素尺寸Pixel size
上限 {0} µm/px(N = 8)limit {0} µm/px (N = 8)
硬幣直徑 · 佔畫面寬度Coin diameter · share of frame width
至少 {0} px · {1} %(N = 8)at least {0} px · {1} % (N = 8)
取景提示:讓硬幣約佔畫面寬度的 {0}%(約 {1}),並以此距離或更近拍攝。Framing tip: make the coin about {0} % of the frame width (about {1}) – shoot at this distance or closer.
標準物太大,畫面放不下(硬幣直徑超過畫面短邊 90%)。建議改用較小的標準物、分兩段拍(先用 No.30 篩分粗細),或使用平台掃描器。The reference does not fit in the frame (coin wider than 90 % of the short side). Use a smaller reference, shoot coarse and fine fractions separately (split on No. 30), or use a flatbed scanner.
此範圍內粗顆粒(4.75 mm)數量不足,代表性差(畫面短邊小於 10 × 4.75 mm)。建議分兩段拍:粗料用較大範圍、細料用此範圍。Too few coarse (4.75 mm) particles fit in this field (short side < 10 × 4.75 mm). Shoot in two stages: coarse fraction at a larger field, fine fraction at this one.
4800 萬畫素以上的手機多為四合一感光元件,實際清晰度可能只相當於 N = 12–14,建議 N 選「較模糊」再評估。Phones with 48 MP or more usually use quad-pixel sensors; real sharpness may correspond to N = 12–14, so evaluate with "Softer".
像素尺寸 (µm/px)
N = {0}Pixel size (µm/px)
N = {0}
拍攝範圍 (mm)Field of view (mm)
硬幣直徑 (px)Coin diameter (px)
硬幣佔畫面寬Coin / frame width
標準物放不下reference does not fit
標準物佔畫面短邊 60% 以上,可鋪樣面積很小,顆粒數可能不足。建議改用較小的標準物(例如 1 元 20 mm),或分兩段拍。The reference takes more than 60 % of the short side, leaving little room for particles. Use a smaller reference (e.g. NT$1, 20 mm) or shoot in two stages.
標準物佔畫面過大reference takes most of the frame
粗顆粒不足too few coarse particles
分辨 {0} 所需拍攝範圍({1} px,依實際比例繪製)Field of view to resolve {0} ({1} px, drawn to scale)
(佔畫面寬 {0}%)({0} % of frame width)
最大拍攝範圍(N = 8):{0} µm/pxLargest field (N = 8): {0} µm/px
建議範圍(N = {0}):{1} × {2} mm,{3} µm/pxRecommended (N = {0}): {1} × {2} mm, {3} µm/px
放大:{0} 篩孔Zoom: {0} opening
1 格 = 1 像素 = {0} µm1 cell = 1 pixel = {0} µm
紅框:{0} = {1} pxRed: {0} = {1} px
條件:Requirement:
篩孔像素 ≥ Nopening ≥ N pixels
相機垂直俯拍,硬幣置於畫面中央shoot straight down, coin at the centre
顆粒比例尺(與上圖同比例,mm):Grain scale (same scale, mm):
藍框:最大拍攝範圍(N = 8);黃虛線:建議範圍(所選 N);硬幣與顆粒依實際比例繪製。Blue: largest field (N = 8); yellow dashed: recommended field (selected N); coin and grains drawn to scale.
🖨 列印實際尺寸取景卡🖨 Print true-scale framing card
光度立體(多光源照片)分析 — 實驗性Photometric stereo (multi-light photos) — experimental
啟用光度立體分析Enable photometric stereo
相機與樣本固定不動,只改變光源方向拍 3–4 張照片。由各張的明暗變化可算出顆粒表面的傾斜(法向量),去除陰影並找出顆粒之間的接觸凹線,有助於分開相互接觸的顆粒。Keep the camera and sample still and take 3–4 photos with the light coming from different directions. From the shading changes the tool computes the surface tilt (normals), removes cast shadows and finds the concave contact lines between grains, which helps to separate touching grains.
相機以腳架固定、垂直俯拍;拍攝期間不可移動相機、樣本或硬幣(建議用遙控或定時快門)。Fix the camera on a tripod, pointing straight down; do not move the camera, sample or coin between shots (use a remote or self-timer).
關掉室內其他燈,只用一盞小燈(手電筒、LED 燈)。依序放在照片的「上、右、下、左」四個方向各拍一張。Switch off other room lights and use one small lamp (torch, LED). Take one photo with it at the top, right, bottom and left of the picture in turn.
燈的仰角約 30°–50°(預設 45°),與樣本中心的距離至少為拍攝範圍寬度的 3–5 倍,讓整個畫面光線均勻。Light elevation about 30°–50° (default 45°), at a distance of at least 3–5 × the field width from the sample centre so that the light is even over the picture.
固定曝光(手動或鎖定 AE/AF),不要開閃光燈或 HDR;四張照片解析度必須相同。Lock the exposure (manual or AE/AF lock); no flash or HDR; all photos must have the same resolution.
至少需要 3 張(任 3 個方向);4 張時會自動捨棄每個像素最暗的一張,以排除陰影。At least 3 photos (any 3 directions) are needed; with 4 photos the darkest one at each pixel is ignored to suppress shadows.
① 光從上方① Light from top
② 光從右方② Light from right
③ 光從下方③ Light from bottom
④ 光從左方④ Light from left
點選或拖曳照片click or drop a photo
一次選取多張(依檔名順序:上、右、下、左)Select several at once (file-name order: top, right, bottom, left)
清除Clear
光源仰角Light elevation
自動對齊照片(僅在相機或樣本有晃動時使用)Align the photos automatically (only if the camera or sample moved)
分析用合成影像Composite used for analysis
自動:反照率+接觸線(建議)Auto: albedo + contact lines (recommended)
僅反照率(去除陰影)Albedo only (shadow-free)
最大值合成(最簡單)Maximum composite (simplest)
接觸線強化Contact-line strength
合成並分析Build composite and analyse
下載合成影像 PNGDownload composite PNG
請至少放入 3 張照片(3 個不同光源方向)。Add at least 3 photos (3 different light directions).
照片解析度不一致({0} 與 {1}),請使用同一台相機、同一設定拍攝。The photos differ in resolution ({0} vs {1}); use the same camera and settings.
照片之間有位移(最大 {0} px),已自動對齊;位移大表示相機或樣本有移動,結果可能不可靠(光源方向不同也可能造成誤判,若相機確定未動,請關閉自動對齊)。The photos are shifted (up to {0} px) and were aligned automatically; a large shift means the camera or sample moved and the result may be unreliable (different light directions can also mislead the alignment – switch it off if the camera surely did not move).
光度立體:{0} 張照片,{1} × {2} px,仰角 {3}°,對齊位移 {4} px,平坦背景比例 {5}%,用時 {6} s。合成影像已送入分析。Photometric stereo: {0} photos, {1} × {2} px, elevation {3}°, alignment shift {4} px, flat background {5} %, {6} s. The composite has been sent to the analysis.
平坦背景比例偏低:可能光源仰角設定不符、曝光不一致或照片順序(方向)放錯。Little flat background was found: the light elevation, exposure or the photo order (directions) may be wrong.
合成影像(分析用)Composite (analysed)
表面傾角Surface tilt
接觸凹線(紅)Concave contact lines (red)
相對高度(定性)Relative height (qualitative)
光度立體合成photometric-stereo composite
光度立體計算中…Photometric stereo…
光度立體Photometric stereo
讀取照片Reading photos
俯視圖:燈依序放在 ①–④Top view: lamp at ① – ④ in turn
側視圖Side view
相機(腳架固定)Camera (tripod)
燈Lamp
仰角 30°–50°elevation 30°–50°
距離 ≥ 3–5 × 拍攝範圍寬distance ≥ 3–5 × field width
樣本+硬幣sample + coin
照片上緣top of photo
實際尺寸取景卡True-scale framing card
條件:分辨 {0},相機 {1} px,N = {2},標準物 {3} mm → 拍攝範圍 {4} mm,像素尺寸 {5} µm/pxConditions: resolve {0}, camera {1} px, N = {2}, reference {3} mm → field {4} mm, pixel size {5} µm/px
本卡為實際尺寸(1:1)。This card is at true scale (1:1).
拍攝範圍大於 A4:外框已縮小({0}),請依比例放大鋪樣範圍;右側綠框內的硬幣圓為實際大小(1:1)。The field is larger than A4: the frame is scaled ({0}) – enlarge the spreading area accordingly; the coin circle in the green box on the right is true size (1:1).
縮小 {0}scaled {0}
{0} mm(外框比例 {1}){0} mm (frame scale {1})
實際大小
標準物 Ø {0} mmTrue size
reference Ø {0} mm
外框 = 建議拍攝範圍 {0} mm(縮小 {1});框內灰色圓 = 硬幣位置(同比例縮小);綠框 = 硬幣實際大小 Ø {2} mm(1:1)Outer frame = recommended field {0} mm (scaled {1}); grey circle in the frame = coin position (same scale); green box = coin at true size Ø {2} mm (1:1)
50 mm(1:1,用來確認列印比例)50 mm (1:1, to check the print scale)
先把硬幣放在綠框的 1:1 圓上確認列印比例;實際拍攝時硬幣放在鋪樣範圍中央附近,樣本單層鋪開、不重疊(建議使用背光燈板)。Check the print scale by placing the coin on the 1:1 circle; when shooting, put the coin near the centre of the spreading area and spread the sample in one layer without overlaps (a light box is recommended).
(已轉 90° 以放入 A4)(rotated 90° to fit A4)
外框 = 建議拍攝範圍 {0} mm;虛線圓 = 標準物 Ø {1} mmOuter frame = recommended field {0} mm; dashed circle = reference Ø {1} mm
列印時請選「實際大小 / 100%」,不要選「符合頁面」。印出後用尺量下方比例尺,應為 50 mm。Print at "Actual size / 100 %", not "Fit to page". Check that the scale bar measures 50 mm.
把硬幣放在虛線圓內,樣本單層鋪在外框內,顆粒不重疊(建議使用背光燈板)。Place the coin in the dashed circle and spread the sample in one layer inside the frame, without overlaps (a light box is recommended).
相機垂直俯拍,讓外框剛好填滿畫面(或略小於畫面),即符合建議範圍。Shoot straight down so the frame just fills (or is slightly inside) the picture.
上傳後以工具量到的 σ、N 與可信的最小篩號為準。After upload, the measured σ, N and smallest trusted sieve are authoritative.
🔧 開發人員分析(點擊展開)🔧 Developer analysis (click to expand)
計算細度模數與二值化閾值的關係Fineness modulus vs. binarization threshold
閾值範圍(0–255)Threshold range (0–255)
Otsu ± 40Otsu ± 40
全範圍 0–255Full 0–255
閾值間距(1–10)Step (1–10)
實驗篩分析 FM(選填)Laboratory FM (optional)
選填optional
▶ 開始分析▶ Run
■ 停止■ Stop
請先上傳照片並完成影像分析。Upload a photo and complete the image analysis first.
範圍或間距不正確(閾值 0–255、間距 1–10)。Invalid range or step (threshold 0–255, step 1–10).
共 {0} 個閾值,預估約 {1} 秒(依上次分割耗時 {2} ms)。其他設定沿用目前設定;顆粒亮暗固定為主分析所判定的結果。{0} thresholds, about {1} s (last segmentation took {2} ms). All other settings are kept; particle polarity is fixed to that of the main analysis.
已完成 {0} / {1}(閾值 {2}){0} / {1} done (threshold {2})
完成:{0} 個閾值,耗時 {1} 秒。Done: {0} thresholds in {1} s.
已停止:完成 {0} 個閾值,耗時 {1} 秒。Stopped: {0} thresholds in {1} s.
細度模數 vs. 二值化閾值Fineness modulus vs. threshold
二值化閾值Threshold
細度模數 FMFineness modulus FM
顆粒數(灰色虛線)Particles (grey dashed)
V ≈ A × 短軸寬V ≈ A × minor
V ∝ A^1.5V ∝ A^1.5
方格網grid
最小 Feretmin. Feret
實驗 FMLab FM
閾值 {0}Threshold {0}
顆粒數 {0}Particles {0}
顆粒佔面積 {0}%Particle area {0} %
⚠ 砂堆照片警告⚠ pile warning
點擊套用此閾值Click to apply this threshold
已將閾值 {0} 套用到主分析(閾值改為「自設」),重新分析中。Threshold {0} applied to the main analysis (user-defined); re-analysing.
穩定區間({6},相鄰點 |ΔFM| ≤ 0.05):閾值 {0}–{1}(寬 {2}),平均 FM = {3}({4}–{5})。Stable interval ({6}, |ΔFM| ≤ 0.05 between neighbours): threshold {0}–{1} (width {2}), mean FM = {3} ({4}–{5}).
找不到穩定區間({0}):FM 對閾值非常敏感,結果不可信。No stable interval ({0}): FM is very sensitive to the threshold; results are unreliable.
判讀:FM 隨閾值大幅變化,代表顆粒與背景對比不足(常見於砂堆照片或顏色深淺不一的顆粒),結果不可信;背光照片通常有很寬的穩定區間。建議在穩定區間內選閾值,或以實驗 FM 校正。圖例可點擊切換曲線;★ 為目前使用的組合(粗線);綠底為穩定區間,藍帶為 FM 允許範圍 2.3–3.1,紫色虛線為 Otsu 值,黃色虛線為目前閾值,X 軸下方紅色記號為觸發砂堆照片警告的閾值。Interpretation: a large change of FM with the threshold means poor particle/background contrast (typical of pile photos or mixed dark/light grains) and unreliable results; backlit photos usually show a wide stable interval. Choose a threshold inside the stable interval or calibrate against a laboratory FM. Click legend items to toggle curves; ★ marks the current combination (bold); green = stable interval, blue band = allowed FM 2.3–3.1, purple dashed = Otsu, yellow dashed = current threshold, red ticks below the axis = pile warning.
明細表Details table
納入顆粒數Particles included
砂堆照片警告Pile warning
是yes
二值化方法Binarization method
Otsu 全域閾值Otsu (global)
Sauvola 局部閾值Sauvola (local)
多級 Otsu(3 類)Multi-level Otsu (3 classes)
色彩分群(k-means)Colour clustering (k-means)
梯度式 watershed(不需閾值)Gradient watershed (no threshold)
凹點分割Concave-point splitting
梯度式 watershed(不需閾值)Gradient watershed (no threshold)
分割方法Segmentation
不使用閾值(標記 {0},保留顆粒 {1})no threshold ({0} markers, {1} particles kept)
局部閾值(視窗 {0} px,k = {1})local threshold (window {0} px, k = {1})
背景 = 第 {0} 類background = class {0}
k = 3 色彩分群,背景 = 第 {0} 群k = 3 colour clusters, background = cluster {0}
二值化方法:{0}。Binarization: {0}.
接觸顆粒:凹點分割(在輪廓凹點之間切開)。Touching particles: concave-point splitting.
分割:梯度式 watershed(以亮度邊緣分界、不使用閾值,並合併邊界微弱的相鄰區域)。Segmentation: gradient watershed (boundaries from intensity edges, no threshold; neighbouring regions with weak shared boundaries are merged).
比較所有分割方法Compare segmentation methods
以目前其他設定(標準物、裁切、邊界顆粒、背光模式),依序執行 9 種方法(4 種二值化 × 2 種分離,加上梯度式 watershed),並與上方輸入的實驗 FM 比較。最接近實驗值者以黃色標示。Runs 9 methods (4 binarizations × 2 splitting methods, plus gradient watershed) with the other current settings and compares them with the laboratory FM entered above; the closest is highlighted.
▶ 比較所有方法▶ Compare all methods
執行中 {0} / {1}:{2}Running {0} / {1}: {2}
方法Method
與實驗 FM 差vs. lab FM
各分割方法的細度模數({0})Fineness modulus by segmentation method ({0})
細度模數 FMFineness modulus FM
橘色 = 觸發砂堆照片警告orange = pile warning
細料修正(已知 No.200 通過率)Fines correction (known % passing No. 200)
No.200 通過率(水洗試驗 CNS 491 / ASTM C117)% passing No. 200 (washing, CNS 491 / ASTM C117)
細料修正:小於 75 µm 之細料由水洗試驗得 {0}%(影像無法偵測),以此取代影像的底盤量,使底盤占總量 {0}%。Fines correction: material finer than 75 µm = {0} % from washing (not visible in the image); it replaces the image pan so that the pan is {0} % of the total.
已套用細料修正:底盤(< 75 µm)採用水洗試驗值,其餘各篩依影像比例分配。Fines correction applied: the pan (< 75 µm) uses the washing-test value; the other sieves keep the image proportions.
已開啟細料修正,但尚未輸入有效的 No.200 通過率(0–100%),未套用修正。Fines correction is on but no valid % passing No. 200 (0–100 %) has been entered; no correction applied.
AI:StarDist(實驗性)AI: StarDist (experimental)
AI 推論縮放AI inference scale
自動(約 24 µm/px)Auto (≈ 24 µm/px)
AI 機率閾值AI probability threshold
AI 輸入反相AI input inversion
自動(背光模式時反相)Auto (invert in backlit mode)
不反相not inverted
反相inverted
AI 共同設定Common AI settings
StarDist(擅長小顆粒)StarDist (good at small grains)
SAM(擅長大顆粒、紋理粗糙顆粒)SAM (good at large, textured grains)
合併規則Fusion rule
StarDist 模型StarDist model
SAM 模型SAM model
StarDist(v1)StarDist (v1)
MobileSAM(v1,快)MobileSAM (v1, fast)
SAM 2.1(v2,準,需 GPU)SAM 2.1 (v2, accurate, GPU)
自訂/本機檔…Custom / local…
自訂模型網址(.onnx)Custom model URL (.onnx)
由網址載入Load from URL
載入本機模型檔Load local file
載入 AI 模型中(首次需下載 onnxruntime-web)…Loading AI model (first time downloads onnxruntime-web)…
模型已載入:{0}({1},{2} MB)Model loaded: {0} ({1}, {2} MB)
模型尚未載入(分析時會自動由網址下載)。Model not loaded yet (downloaded from the URL when analysing).
尚未設定模型網址:請輸入 GitHub / jsDelivr 上的 .onnx 網址,或載入本機模型檔。No model URL: enter the .onnx URL on GitHub / jsDelivr, or load a local model file.
AI 模型已載入。AI model loaded.
AI 模型載入失敗:{0}AI model failed to load: {0}
AI 偵測 {0} 顆(縮放 {1},{2},{3} s)AI found {0} objects (scale {1}, {2}, {3} s)
機率閾值 {0},輸入{1}probability {0}, input {1}
分割:AI 實例分割 StarDist 2D_versatile_fluo(Schmidt et al. 2018; Weigert et al. 2020,BSD-3-Clause),預訓練模型未經細粒料訓練;推論縮放 {0},機率閾值 {1},NMS 0.3。Segmentation: AI instance segmentation with StarDist 2D_versatile_fluo (Schmidt et al. 2018; Weigert et al. 2020, BSD-3-Clause); pretrained model not trained on aggregates; inference scale {0}, probability threshold {1}, NMS 0.3.
AI 推論AI inference
AI 後處理(NMS)AI post-processing (NMS)
計算梯度Computing gradient
建立標記Markers
分水嶺擴張Flooding
區域合併與分類Merging regions
AI:SAM 自動分割(實驗性)AI: SAM automatic masks (experimental)
AI:StarDist + SAM 合併(實驗性)AI: StarDist + SAM fusion (experimental)
SAM 提示點格點(每塊)SAM point grid (per tile)
SAM 預測品質閾值(IoU)SAM predicted-IoU threshold
SAM 穩定度閾值SAM stability threshold
合併:SAM 負責的最小粒徑Fusion: min. size taken from SAM
自訂模型包網址(manifest.json)Custom pack URL (manifest.json)
載入本機模型包(全選)Load local pack (select all files)
載入 SAM 模型中(約 45 MB 以上,首次需較久)…Loading the SAM model (45 MB or more; the first time takes longer)…
請同時選取 manifest.json 與所有模型分割檔(.part*)。Select manifest.json together with all model part files (.part*).
缺少模型分割檔:{0}Missing model part: {0}
AI 偵測 {0} 顆(SAM {1}、StarDist {2};縮放 {3},{4},{5} s)AI found {0} objects (SAM {1}, StarDist {2}; scale {3}, {4}, {5} s)
分割:AI 自動遮罩 SAM(模型:{0};每塊 {1} × {1} 提示點,預測品質 ≥ {2},穩定度 ≥ {3};Kirillov et al. 2023,Apache-2.0),未經細粒料訓練。Segmentation: SAM automatic masks (model {0}; {1} × {1} points per tile, predicted IoU ≥ {2}, stability ≥ {3}; Kirillov et al. 2023, Apache-2.0), not trained on aggregates.
分割:AI 合併 — 粒徑 ≥ {4} mm 採用 SAM({0}),其餘以 StarDist 為主、SAM 補足(重疊 < 30% 者才加入)。Segmentation: AI fusion — particles ≥ {4} mm from SAM ({0}); the rest mainly StarDist, completed by SAM (added only when overlap < 30 %).
SAM 自動遮罩SAM automatic masks
放大Zoom in
縮小Zoom out
全圖Fit
平移Pan
分類結果Classified
二值化Binary
原圖Original
重新圈選標準物Redraw reference
尚未上傳照片No photo loaded
滑鼠滾輪縮放、拖曳平移;拖曳黃色圓框內部可移動、拖曳圓周可調整大小。Wheel to zoom, drag to pan; drag inside the yellow circle to move it, drag its rim to resize.
▶ 播放▶ Play
❚❚ 暫停❚❚ Pause
■ 停止■ Stop
最小 Feret 寬度旋轉min. Feret sweep
方格網每 {0} 格畫一條線grid drawn every {0} cells
使用說明書User manual
請上傳照片,或切換為「手動輸入」。Upload a photo, or switch to manual input.
處理中…Working…
讀取影像中…Loading image…
偵測標準物中…Detecting reference…
影像分割與顆粒量測中…Segmenting and measuring particles…
無法讀取此檔案,請選擇影像檔(JPG / PNG)。Cannot read this file; please choose an image (JPG / PNG).
處理失敗:{0}Processing failed: {0}
請在影像上由硬幣圓心拖曳到邊緣,以圈選標準物。Drag from the coin centre to its rim to mark the reference.
可拖曳圓框修正標準物位置與大小。Drag the circle to correct the reference.
已自動偵測標準物(直徑 {0} px)。Reference detected automatically (diameter {0} px).
已自動偵測標準物(直徑 {0} px),如有偏差可拖曳圓框修正。Reference detected (diameter {0} px); drag the circle to correct it if needed.
無法自動偵測標準物,請由硬幣圓心拖曳到邊緣以手動圈選。Reference not found; drag from the coin centre to its rim to mark it.
無法自動偵測標準物。請將「標準物偵測」改為「自動 + 手動修正」或「手動」。Reference not found. Switch reference detection to "Auto + manual" or "Manual".
標準物已設定(直徑 {0} px),重新分析中。Reference set (diameter {0} px); re-analysing.
分析完成:納入 {0} 顆顆粒,FM = {1}。Done: {0} particles included, FM = {1}.
沒有任何可信的篩號(影像解析度不足),請以更近的距離拍攝。No trusted sieve (insufficient resolution); take a closer photo.
輸入值必須為 ≥ 0 的數字(紅框欄位)。Inputs must be numbers ≥ 0 (red fields).
請輸入各篩停留重量,或按「載入範例」。Enter the mass retained on each sieve, or load the example.
計算完成(實測重量),FM = {0}。Calculated (measured mass), FM = {0}.
產生 PDF 中…Generating PDF…
PDF 已下載。PDF downloaded.
無法載入 jsPDF / html2canvas(CDN),請改用「列印」。Cannot load jsPDF / html2canvas from CDN; please use "Print".
CDN 載入失敗,改用瀏覽器列印(可選「另存為 PDF」)。CDN unavailable; using browser print (choose "Save as PDF").
上傳照片後顯示像素尺寸、模糊量與可信的最小篩號。Pixel size, blur and the smallest trusted sieve appear after a photo is loaded.
分析影像Analysed image
標準物Reference
實際像素尺寸Pixel size
邊緣模糊 σEdge blur σ
無法量測,假設 1 pxnot measurable, 1 px assumed
N(篩孔最少像素)N (min. px per opening)
自訂user
可信最小篩孔Smallest reliable opening
可信的最小篩號Smallest trusted sieve
無none
二值化閾值Threshold
顆粒較亮particles brighter
顆粒較暗particles darker
顆粒數Particles
共 {0};納入 {1};排除 {2}{0} total; {1} included; {2} excluded
分割耗時Segmentation time
底盤Pan
底盤Bottom tray
合計Total
硬幣直徑小於 100 px,比例尺誤差較大,請靠近拍攝。Coin diameter < 100 px; the scale is uncertain. Take a closer photo.
無法由硬幣邊緣量測模糊量,以 σ = 1 px 估算 N。Coin-edge blur could not be measured; σ = 1 px assumed for N.
低於解析度的篩,其停留量已併入底盤。低於解析度的極細顆粒可能未被偵測,pan 的量可能偏低。Material on sieves below the image resolution has been merged into the pan. Very fine particles below the resolution may be missed, so the pan may be under-estimated.
沒有任何篩孔達到解析度要求。No sieve opening meets the resolution requirement.
納入的顆粒少於 200 顆,結果代表性不足,建議至少數百顆。Fewer than 200 particles included; use at least several hundred particles.
部分計算 FM 的篩未使用或不可信,以上一篩的累積停留百分率代入(FM 為下限值,僅供參考)。Some FM sieves are missing or untrusted; the cumulative value of the next larger sieve was used (FM is a lower bound, for reference only).
gg
mm²mm²
mm³(估算)mm³ (est.)
mm³(∝ A^1.5)mm³ (∝ A^1.5)
——
合格Pass
不合格Fail
未使用,視為 100% 通過not used, taken as 100 % passing
細粒料篩分析報告Sieve Analysis Report – Fine Aggregate
日期Date
標準Standard
輸入方式Input
尚無結果。請上傳照片並完成標準物設定,或使用手動輸入。No results yet. Upload a photo and set the reference, or use manual input.
分析影像(顆粒依停留篩著色;灰色為排除顆粒;黃色虛線為標準物)Analysed image (particles coloured by retaining sieve; grey = excluded; yellow dashed = reference)
非原版:本頁的版權標示或浮水印已被移除或修改。原版工具由 AEML, NTUST 提供(www.concrete.tw)。Unofficial copy: the credit block or watermark of this page has been removed or altered. The original tool is by AEML, NTUST (www.concrete.tw).
計算假設Calculation assumptions
警告Warnings
篩分析結果Sieve analysis
細度模數計算Fineness modulus calculation
報告判定Compliance check
試驗標準:{0}Standards: {0}
計算假設:實測重量(各篩停留重量由使用者輸入)。Calculation basis: measured mass (mass retained on each sieve entered by the user).
假設所有顆粒比重一致,停留量比例等於質量比例。All particles are assumed to have the same specific gravity, so amount ratios equal mass ratios.
計算假設:面積法(體積比例 = 投影面積比例)。注意:面積法會使 FM 系統性偏低。Assumption: area method (volume ratio = projected-area ratio). Note: the area method biases FM low.
計算假設:估算體積 V ≈ A × 短軸寬Assumption: estimated volume V ≈ A × minor width
計算假設:估算體積 V ∝ A^1.5(等效橢球)Assumption: estimated volume V ∝ A^1.5 (equivalent ellipsoid)
通過判定:方格網覆蓋(顆粒可完全落入單一方格者通過),0°、30°、45° 三個方向的停留機率平均後再往下一篩傳遞。Passing criterion: square grid (passes if the particle fits completely in one cell); retention probabilities at 0°, 30° and 45° are averaged before passing material to the next sieve.
通過判定:最小 Feret 寬度(每 5° 旋轉)≤ 篩孔邊長者通過。Passing criterion: minimum Feret width (5° steps) ≤ sieve opening.
接觸顆粒:watershed 分離。Touching particles: separated by watershed.
接觸顆粒:不分離。Touching particles: not separated.
二值化閾值:Otsu 法 = {0}。Threshold: Otsu = {0}.
二值化閾值:自設 = {0}。Threshold: user-defined = {0}.
碰到影像邊界或標準物的顆粒:排除。Particles touching the image border or the reference: excluded.
碰到影像邊界的顆粒:保留。Particles touching the image border: kept.
標準物直徑 {0} mm({1});總樣本量為扣除標準物後的總量。Reference diameter {0} mm ({1}); the total excludes the reference object.
實際像素尺寸 {0} μm/px;N = {1} px;可信的最小篩號:{2}。Pixel size {0} µm/px; N = {1} px; smallest trusted sieve: {2}.
本結果為單層鋪開之小樣本的影像估算,非 500 g 全量試樣。Results are an image-based estimate of a small single-layer sample, not a 500-g test portion.
篩號Sieve
停留量Retained
顆粒數(加權)Particles (weighted)
停留百分率 (%)% Retained
累積停留百分率 (%)Cumulative % retained
過篩百分率 (%)
100 − 停留100 − % retained
累積通過百分率 (%)Cumulative % passing
規範界限 (%)Limits (%)
判定Result
低於影像解析度,停留量併入底盤Below image resolution; merged into pan
百分率報到整數;累積停留百分率以各篩整數累加;底盤 = 100 − 其他各篩整數之和(有 No.200 時底盤與 No.200 通過率以未捨入值報到 0.1%)。Percentages to the nearest whole number; cumulative values are running sums of the rounded values; pan = 100 − sum of the others (with No.200, the pan and No.200 passing are unrounded, reported to 0.1 %).
細度模數允許範圍:2.3–3.1(CNS 1240 與 ASTM C33 相同)。Allowable fineness modulus: 2.3–3.1 (same in CNS 1240 and ASTM C33).
篩號Sieve Size
停留量Weight Retained
停留百分率
(wt. %)Amount Retained (wt. %)
累積停留百分率 (%)Cumulative Amount Retained (%)
累積通過百分率 (%)Cumulative Amount Passing (%)
只加總六個篩(No.4、No.8、No.16、No.30、No.50、No.100)的累積停留百分率。Only sum up those on six sieves (No. 4, No. 8, No. 16, No. 30, No. 50, No. 100).
細度模數 FMFineness modulus
標稱最大粒徑Nominal maximum size
項目Item
結果Value
規定Requirement
級配界限({0})— 累積通過百分率Grading limits ({0}) — cumulative % passing
相鄰兩篩間停留量 ≤ 45%(4.75 mm 至 150 μm)Retained between consecutive sieves ≤ 45 % (4.75 mm to 150 µm)
細度模數Fineness modulus
判定結果:全部合格Result: all requirements met
判定結果:已檢查項目均合格,但部分篩未使用或低於解析度,無法完整判定Result: all checked items pass, but some sieves are missing or untrusted
判定結果:不合格Result: does not comply
免責聲明:本工具為影像估算,不能取代 CNS 486 / ASTM C136 實際試驗。Disclaimer: this tool provides an image-based estimate and does not replace an actual CNS 486 / ASTM C136 test.
先進工程材料研究室(AEML),國立台灣科技大學營建工程系 · www.concrete.tw · www.concrete.support · v1.1 · © 2026 AEML, NTUST. All rights reserved. 免費供教學與非商業使用。Advanced Engineering Materials Laboratory (AEML), Dept. of Civil and Construction Engineering, NTUST · www.concrete.tw · www.concrete.support · v1.1 · © 2026 AEML, NTUST. All rights reserved. Free for teaching and non-commercial use.
級配曲線Grading curve
粒徑 (mm)Aggregate size (mm)
累積通過百分率 (%)Percent passing (%)
規範上下限({0})Specification limits ({0})
試驗值Test result
未使用的篩(視為 100% 通過)Unused sieve (100 % passing)
FM = {0}(允許 2.3–3.1)FM = {0} (allowed 2.3–3.1)
低於解析度的篩Sieves below resolution
照常計算並標示(全部篩號)Evaluate and flag (all sieves)
併入底盤Merge into pan
⚠ 解析度不足⚠ low res.
低於解析度(僅供參考)Below resolution (reference only)
許多顆粒被判定大於 9.5 mm 或接近硬幣大小,標準物可能偵測錯誤(圈到顆粒)。請檢查黃色圓框是否正好框住 10 元硬幣,必要時按「重新圈選標準物」。Many particles appear larger than 9.5 mm or close to the coin size; the reference may be mis-detected. Check that the yellow circle matches the coin, or press "Redraw reference".
標示「⚠ 解析度不足」的篩,篩孔小於可信解析度 N,仍照常計算但僅供參考;低於解析度的極細顆粒可能未被偵測,pan 的量可能偏低。Sieves marked "⚠ low res." are smaller than the trusted resolution N; they are still evaluated but are for reference only. Very fine particles below the resolution may be missed, so the pan may be under-estimated.
所有篩孔都低於可信解析度,全部結果僅供參考,請靠近拍攝。All sieve openings are below the trusted resolution; all results are for reference only. Take a closer photo.
低於解析度的篩:照常計算並標示(僅供參考)。Sieves below resolution: evaluated and flagged (reference only).
低於解析度的篩:停留量併入底盤。Sieves below resolution: material merged into the pan.
轉換 HEIC 照片中(首次需下載轉檔程式,約 3 MB)…Converting HEIC photo (first time downloads a ~3 MB decoder)…
無法讀取 HEIC 檔({0})。請確認網路可連到 cdn.jsdelivr.net,或改用 Safari 開啟,或在 iPhone「設定 › 相機 › 格式」選「最相容」後重拍。Cannot read the HEIC file ({0}). Check that cdn.jsdelivr.net is reachable, use Safari, or set iPhone Settings › Camera › Formats to "Most Compatible".