CONVOL: Incompatible dimensions for Array and Kernel.

症状

idlでconvolができない。

解決策

convolutionしたい画像の大きさがだめ。
cmgc(*,*)=convol(image1,image2,/edge_truncate,/nan)
だったらimage1>image2になるように直す。

This problem occurs when the size of image2 is larger than image1.
You need to make image2 smaller than image1.

コメント

このブログの人気の投稿

TypeError: ufunc 'bitwise_xor' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

overleafで画像が表示されない!

エラー: ""C:\U" で始まる文字列の中で 8 進文字なしに '\U' が使われています