Following are my IP codes written in C++ using OpenCV…for my IP Lab. They are working. some of them may not be as efficient as they should be.
Also we needed to go for the ‘C++’ codes from scratch. So i have not used any OpenCV library functions except for Displaying, Saving & Loading images.
Click here to get the codes.
Exp1. Reading and Display an image
Exp2. Spatial Filters
Exp3. Image Enhancement
Exp4. Image Segmentation
Exp5. Image Transforms -1
Image Transforms(pure DFT) -2
Exp6. Image Rotation (using DFT) //Avoids use of Interpolation
Exp7. Morphological Operations
Exp8. Image Restoration by Inverse filtering
Image Restoration by Iterative Method
Exp9. Image Restoration using Weiner Filter
Exp10. Stereo Imaging – Calculating Depth information from two Stereo images