// (0,0) Λࢦ͢ΞυϨε let address = CVPixelBufferGetBaseAddress(imageBuffer) // ઌ಄ͷϐΫηϧ͔Β ARGB ͷॱͰ৭ใ͕֨ೲ͞Ε͍ͯΔ let arbg = address!.assumingMemoryBound(to: UInt8.self) let a_0_0 = arbg[0] // A let r_0_0 = arbg[1] // R let g_0_0 = arbg[2] // G let b_0_0 = arbg[3] // B let a_1_0 = arbg[4] // A L$71JYFM'PSNBU5ZQF@"3(#ܗࣜͷ ը૾σʔλͷઌ಄ΞυϨεΛऔಘͯ͠ɺըૉʹΞΫηε͢Δ
W*NBHF https://developer.apple.com/documentation/accelerate/vimage vImage is particularly suited for: • Ef fi ciently processing large images • Real-time video processing software • Scienti fi c applications that require high-accuracy numerical calculations ެࣜΑΓҾ༻