Resize and rotate image using OpenCV in C++
This project is a demo project for resize and rotate image using nearest neighbor search, bilinear interpolation and bicubic interpolation
git clone https://github.com/hailiang194/resize-rotate-image.git
Execution file is in nearest_neibor/build/
folder
To execute type
./ResizeImage <image-path> <resize-ratio> [G]
Add G
if you want gray scale image, otherwise it is going to color image
Execution file is in bilinear/build/
folder
To execute type
./ResizeImage <image-path> <resize-ratio> [G]
Add G
if you want gray scale image, otherwise it is going to color image
Execution file is in bicubic/build/
folder
To execute type
./ResizeImage <image-path> <resize-ratio> [G]
Add G
if you want gray scale image, otherwise it is going to color image
Execution file is in rotate-bilinear/build/
folder
To execute type
./RotateImage <image-path> <resize-ratio> [G]
Add G
if you want gray scale image, otherwise it is going to color image
Go to build/
folder of each project
Type
cmake ../