-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to C++: Morphological Operations #76
Conversation
Please use a proper naming convention for all files eg: algorithm.hpp and algo.cpp instead of using main.cpp and helper.hpp for every algorithm. |
* Rename main.cpp to relevenat 'algo'.cpp * Modify Makefile accordingly
Renamed main.cpp to 'algo'.cpp |
Use a single helper.hpp then instead of multiple copies of the same file |
1] Generalised modules for any size kernel 2] Modified file structure 3] Added module for padding of images
Kindly review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Break the paragraphs in readme.md
. And avoid putting theory paragraphs continuously.
- Break long paragraphs in smaller sections.
- Add comments
Rename Readme.md -> README.md
- made separate src and include folder
- helper.cpp -> morphology.cpp - helper.hpp -> morphology.hpp
* added code for erosion and dilation * added code for opening, closing and gradient * added readme * removed template files * added assets folder * changed path for images * Change naming scheme * Rename main.cpp to relevenat 'algo'.cpp * Modify Makefile accordingly * Major changes 1] Generalised modules for any size kernel 2] Modified file structure 3] Added module for padding of images * Add new image to assets folder * Add dependencies to Makefiles * Take image path as commandline argument * Remove redundant files * - Add table of contents - Break long paragraphs in smaller sections. * - Remove redundant function from helper.hpp - Add comments * Rename Assets->assets Rename Readme.md -> README.md * Revert Makefile changes * Change format of helper.hpp - made separate src and include folder * Modify Makefile * Change path of include file * Rename files - helper.cpp -> morphology.cpp - helper.hpp -> morphology.hpp * Change image path * Change helper -> morphology --------- Co-authored-by: Smit1603 <smuffinboy16@gmail.com>
* added code for erosion and dilation * added code for opening, closing and gradient * added readme * removed template files * added assets folder * changed path for images * Change naming scheme * Rename main.cpp to relevenat 'algo'.cpp * Modify Makefile accordingly * Major changes 1] Generalised modules for any size kernel 2] Modified file structure 3] Added module for padding of images * Add new image to assets folder * Add dependencies to Makefiles * Take image path as commandline argument * Remove redundant files * - Add table of contents - Break long paragraphs in smaller sections. * - Remove redundant function from helper.hpp - Add comments * Rename Assets->assets Rename Readme.md -> README.md * Revert Makefile changes * Change format of helper.hpp - made separate src and include folder * Modify Makefile * Change path of include file * Rename files - helper.cpp -> morphology.cpp - helper.hpp -> morphology.hpp * Change image path * Change helper -> morphology --------- Co-authored-by: Smit1603 <smuffinboy16@gmail.com>
Can you add usage instructions to the morphology readme? |
In reference to issue #50
Added examples
1. erosion
2. dilation
3. opening
4. closing
5. gradient
Added helper functions
Added readme similar to previous year's morphology.