Qurak

Colorize connected components in complex structures

範例 共 2 個步驟,在同一個工作階段中依序執行。每一步都在引擎上實際執行過,下方的輸出就是它產生的結果。

步驟 1
Colorize[MorphologicalComponents[CellularAutomaton[30, {{1}, 0}, 101], CornerNeighbors -> False]]//Magnify
輸出
Magnify[-Image-]
步驟 2
Colorize[MorphologicalComponents[CellularAutomaton[30, {{1}, 0}, 10 ^ 3], CornerNeighbors -> False]]
輸出
-Image-

使用到的函式

相關的操作範例

所有操作範例 · 函式參考 · 從 MCP 用戶端使用這個