2021-10-14 Kotlin OpenCVのMat操作 val buffer = mat.createBuffer<IntBuffer>()でBufferを取得して一次元配列としてアクセス(IntBuffer部分は元のmatの型に合わせる)