Learning image processing by using opencv
Using MFC to build UI
Open a new window to show the image (dog.bmp) Show the height and width of the image in console mode
Exchange 3 channels of the image BGR to RBG
Flip the image (dog.bmp) and open a new window to show the result.
Combine two images (dog.bmp and the its flip image) and Use Trackbar to change the weights and show the result in the new window.
Show the result after applying global threshold.(Threshold value is 80)
Show the result after applying local threshold.(blockSize = 19, offset = -1)
rotate, scale and translate the small squared image with parameters entering in GUI
Click 4 points showed in console window. (start from top-left corner of the original image, and then click clock-wise) Warp the original image to the location (20,20), (20,450), (450,450), (450,20). Open second window to show the result.
Convert the RGB image to grayscale image and then smooth the grayscale image by using 3x3 Gaussian smoothing filter and show the result.
Sobel edge detection to detect vertical edge
Sobel edge detection to detect horizon edge
Use result(sobel x and sobel y) to calculate the magnitude and show.