๐๐ป2. About Mat
Contents
2-1 : image, video
- Image read, video read
- ์์, ๋น๋์ค ์ฝ๊ธฐ
OpenCV Lecture - 2. AboutMat (1/9) : image, video load and show
2-2 : Mat basic functions
- Mat copy, copyto, clone, range or region copy
- LUT, LookUpTable, apply Color Map
- Mat ์์ Mat์ผ๋ก ๋ณต์ฌํ๋ ์ฌ๋ฌ๊ฐ์ง ๋ฐฉ๋ฒ ์๊ฐ
OpenCV Lecture - 2. AboutMat (2/9) : Mat Basic functions(copy, copyTo, clone, range and region copy)
๐ก cvtColor, FastLUT, copy, copyTo, clone, range, region
2-3 : pixel RGB structure
- Image data structure
- Index computing the desired x, y position in a one-dimensional array(B/W and color case)
- ์์ ๋ฐ์ดํฐ ๊ตฌ์กฐ์ ๋ํ ๊ธฐ๋ณธ ๊ฐ๋ ์ค๋ช
- ์์์์ ๋ด๊ฐ ์ํ๋ ์์น์ ํฝ์ ๊ฐ์ ์ด๋ป๊ฒ ๊ฐ์ ธ์ค๋?
OpenCV Lecture - 2. AboutMat (3/9) : pixel rgb structure in image
2-4 : pixel access
- How to access pixel data in Mat (using data, at operator)
- Mat ๋ฐ์ดํฐ ์ ๊ทผ ๋ฐฉ๋ฒ (data, at์ ์ด์ฉํ๋ ๋ฐฉ๋ฒ)
OpenCV Lecture - 2. AboutMat (4/9) : pixel access using data, at operator
2-5 : pixel access
- How to access pixel data in Mat (using ptr, iterator operator)
- Assignment #1
- Mat ๋ฐ์ดํฐ ์ ๊ทผ ๋ฐฉ๋ฒ (data, at์ ์ด์ฉํ๋ ๋ฐฉ๋ฒ)
- ๊ณผ์ 2-1 !!
OpenCV Lecture - 2. AboutMat (5/9) : pixel access using ptr, iterator operator
๐ก ptr, iterator, data, at
2-6 : mat write
- Image, video write
- ์์, ๋น๋์ค ์ฐ๊ธฐ(์ ์ฅ)
OpenCV Lecture - 2. AboutMat (6/9) : mat write to imge file
2-7 : linear algebra operation
- Matrix, Vector operation
- Matrix, Vector ์ฐ์ฐ ์ดํด๋ณด์
- inner product, cross product, vector, inverse, trace, determinant
OpenCV Lecture - 2. AboutMat (7/9) : linear algebra(inner/cross, inverse, trace, determinant)
2-8 : linear algebra operation
- Matrix, Solve non-homogeneous equations
- Matrix, eigenvalue, eigenvector
- Matrix, SVD(Sigular Value Decomposition)
- ๋น๋์ฐจ ๋ฐฉ์ ์ ํด ๊ตฌํ๊ธฐ
- Matrix, ๊ณ ์ ๊ฐ, ๊ณ ์ ๋ฒกํฐ ๊ตฌํ๊ธฐ
- Matrix, SVD ๊ตฌํ๊ธฐ
OpenCV Lecture - 2. AboutMat (8/9) : linear algebra operation( solver, eigen value, vector, SVD)
2-9 : gpuMat example
- Understanding CPU and GPU differences
- Studying GpuMat, Practice with Coding
- Assignment 2-2, Bonus Challenge b-1 (difficult problem)
- CPU, GPU ์ฐจ์ด ์๊ธฐ
- GpuMat ๊ณต๋ถํ๊ธฐ, ์ฝ๋ฉ์ผ๋ก ์ค์ต
- ๊ณผ์ 2-2!, ๋ณด๋์ค ๊ณผ์ b-1 (์ด๋ ค์ด ๋ฌธ์ )
OpenCV Lecture - 2. AboutMat (9/9) : gpuMat example
Mat example source code
- Video play(๋น๋์ค ์ฌ์): http://study.marearts.com/2013/09/opencv-video-file-load-and-display.html
- Key Code example : http://study.marearts.com/2016/11/keycode-and-ascii-code.html
- copyTo, Clone, ROI example : http://study.marearts.com/2016/06/opencv-mat-copyto-clone-roi-example-code.html
- Mat data access : http://study.marearts.com/2016/06/opencv-pixel-access-at-ptr-data.html
Linear Algebra Example source code
- inhomogeneous linear system solver example(๋น๋์ฐจ ๋ฐฉ์ ์ ์๋ฒ) : http://study.marearts.com/2016/12/inhomogeneous-linear-system-solver-in.html
- Eigen Vector, Eigen Value example(๊ณ ์ ๊ฐ ๊ณ ์ ๋ฒกํฐ ๊ตฌํ๊ธฐ) : http://study.marearts.com/2016/12/eigen-analysisof-symmetric-matrix-in.html
- singular value decomposition(SVD ํน์ด๊ฐ ๋ถํด) : http://study.marearts.com/2016/12/svd-singular-value-decomposition.html
GpuMat Example source code
- Speep Measurement(์๋ ์ธก์ ) : http://study.marearts.com/2013/10/window-function-gettickcount-opencv.html
- GpuMat example 1 : http://study.marearts.com/2016/12/gpu-mat-cpu-mat-example-code-1.html
- GpuMat example 2: http://study.marearts.com/2016/12/gpu-mat-cpu-mat-example-2.html
๐๐ป Thank you!
๐ Source code, Material(pdf) and example images ๐
https://www.marearts.com/products/opencv-lecture-materials-1