各バンドの各ピクセルの周囲のグレイレベル同時生起行列からテクスチャ指標を計算します。GLCM は、画像内でピクセルの明るさの値(グレイレベル)のさまざまな組み合わせが発生する頻度をまとめた表です。特定の方向と距離で、値 X のピクセルが値 Y のピクセルの隣に位置する回数をカウントし、この表から統計を導出します。
詳細については、Haralick et. al, 'Textural Features for Image Classification', https://doi.org/10.1109/TSMC.1973.4309314 と Conners, et al, 'Segmentation of a high-resolution urban scene using texture operators', https://doi.org/10.1016/0734-189X(84)90197-X の 2 つの論文をご覧ください。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2026-04-20 UTC。"],[],["This content describes the computation of texture metrics using the Gray Level Co-occurrence Matrix (GLCM). It calculates 18 metrics, including Angular Second Moment, Contrast, Correlation, and Entropy, among others. The GLCM tabulates pixel brightness combinations within an image, considering direction and distance. Input images must be integer-valued. The `Image.glcmTexture` function takes `size`, `kernel` (pixel offsets), and `average` (directional averaging) as parameters. Output is 18 bands per input band, either averaged or per directional pair in the kernel.\n"]]