// CHW形式に変換 floatData[pixelIndex] = r_normalized; floatData[W * H + pixelIndex] = g_normalized; floatData[2 * W * H + pixelIndex] = b_normalized;