Qurak

ConstantImage

可用

Create a constant image filled with a specified color or gray level.

ConstantImage[val, size]
ConstantImage[val, size, "type"]
ImageQ[ConstantImage[0.5, {5, 5}]] → TrueConstantImage[0.5, {2, 0}] → ConstantImage::bddim: The specified dimensions {2, 0} should be a positive integer or a list of positive integers for every spatial dimension. ConstantImage[0.5, {2, 0}]

主題

相關

全部 6300 個函式 · 從 MCP 用戶端使用這個