Skip to content
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

Transcoding From Python to Industry standard C++ #101

Merged
merged 20 commits into from
Mar 29, 2023

Conversation

amanchhaparia
Copy link
Collaborator

This Pull Request Ports following contents to C++:

  • Convolution and filtering
  • Playing with image arrays
  • OpenCV overview
  • Morphological transformation
  • Blob Detection
  • Masking

Also it adds the following new content:

  • C++ basic concepts
  • Build Systems (Makefile)
  • Image Storing Formats
  • Interpolation
  • New assignments w.r.t C++

SuperChamp234 and others added 20 commits February 19, 2023 14:11
* Removed all python files, and added basic cpp files and refined file structure

* Removed all python files, and added basic cpp files and refined file structure

* Refined file structure according to SRA-VJTI#48

* Fixed OS detection for debain and arch

* Added all file structure files
* Removed all python files, and added basic cpp files and refined file structure

* Removed all python files, and added basic cpp files and refined file structure

* Refined file structure according to SRA-VJTI#48

* Fixed OS detection for debain and arch

* Added all file structure files

* Suggested changes in PR SRA-VJTI#64 made

- Added `1_cpp_basics` folder.
- Added readme for makefile.
- Renamed all directories as per directory structure.

* Adding documentation for build systems and compiler

* Added Makefile full explanation

* Renamed files for uniform structure

* Fixed issue with makefile

* Making the suggested changes in 2_build_systems.md

* Resolving typo error

* Using appropriate flags for generating an object file

* Correcting the placement of semicolon

---------

Co-authored-by: PritK99 <pritpjk@gmail.com>
Co-authored-by: Prit Kanadiya <103832825+PritK99@users.noreply.github.com>
* Convolution using for loops

* Convolution Folder added

* adapted file structure

* Working naive convolution

* Add drafted README.md to Convolutions and Filtering.

* Add naive convolution demo.

* Fix math typesetting in README.md

Minor fix makes math render as math instead of as a heading.

* Alter file structure and add separable kernels demonstration.

* Improved Documentation, Removed unwanted function, added more references

* README math errors corrected

* added padding on image, removed kernel flipping to match the output of filter2D function, Minor Improvements: Added functionality of windows being resizable

* added naive approach for seperable convolution with benchmarking

* Resizing is now universal

* removed readme.md

* made formatting changes

* made formatting changes SRA-VJTI#2

* better formatting

* removed unnecessary executable

* Update main.cpp

* Update Makefile

* Update convolution.cpp

* Update convolution.hpp

* Resolve MathJax related issues and polish README

* removed isContinuous from convolution.cpp as it had no functional importance in the code

* added Convolution.cpp to src folder

---------

Co-authored-by: virajbshah <shahvirajbiren@gmail.com>
Co-authored-by: Viraj Shah <42321347+virajbshah@users.noreply.github.com>
Co-authored-by: Alqama Shaikh <proto@pop-os.localdomain>
* 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>
…I#88)

* Added content for image storing formats

includes : 
- cpp file containing the code to read from bitmap image and then store it to display, using sdl2 library
- images
- readme file explaining the theory

* Delete Image_storing_formats directory

* changed name convention according to the file structure

* fixed errors

* Solve display bug in image_representation

* Update Makefile to remove redundant "SDL2_image" linker flag
* Add proper implementation of SDL2 library to display correct
  size of image

* Solve the inverted image display bug

* This commit resolves the bug wherein image was displayed inverted.
* Two seperate struct "BitMapFileHeader" and "BitMapInfoHeader" is
  created to store the file type data and image information data.
* README.md has been modified to include more info about the different
  blocks in the bitmap image namely file data type, image information
  data , color pallete and raw raster data.

* Correct formating in the README.md

* Correct compiling commands in README.md

* modified readme format

Changes made :
- Removed the unnecessary linebreak wherever required.
- Seperated types of images from "some important terminologies" topic

* modified file structure

* updated readme

- Added proper path to asset images
- added correct command for run without make

* Delete assets/1_image_representation directory

---------

Co-authored-by: gautam-dev-maker <gautamnagrawal@gmail.com>
* Removed all python files, and added basic cpp files and refined file structure

* Removed all python files, and added basic cpp files and refined file structure

* Refined file structure according to SRA-VJTI#48

* Fixed OS detection for debain and arch

* Added all file structure files

* Suggested changes in PR SRA-VJTI#64 made

- Added `1_cpp_basics` folder.
- Added readme for makefile.
- Renamed all directories as per directory structure.

* Adding documentation for build systems and compiler

* Added Makefile full explanation

* Renamed files for uniform structure

* Fixed issue with makefile

* Making the suggested changes in 2_build_systems.md

* Resolving typo error

* Using appropriate flags for generating an object file

* Correcting the placement of semicolon

* Merging both the readme into a single readme

* Adding table of contents

* make install target edited

to support image representation content

* Improving Table of Contents

* Updated Structure and Table of contents

* Rename readme.md to README.md

* Updated makefile and readme

---------

Co-authored-by: SuperChamp234 <beingzainsv@gmail.com>
* Adding Basics of C++

* Documentation of Basics of C++

* Updated Readme of C++

* code files updated

* Updated Readme of C++ with fun,class,templates

* Updated Readme of C++ with control_loops

* Final changes

* Updated Readme of C++ with comments

* Final changes

* Changed the readme name to README

* Updated Readme of C++ with comments

* Updated Readme of C++ with changes in output,images

* Adding assets folder

* Adding Image to readme

* Removing redundant files

* Final changes

* Corrected the formatting

* Changed naming format

---------

Co-authored-by: VanshPanchal0308 <vansh5chal0308@gmail.com>
* Makefile changes and File Structure changes

Removed folder 2_color_spaces_conversion
Added apt update in makefile for avoiding package not found errors

* Renamed folder

* Changed Content Flow

* Restructured Files
* Added Masking implementation in C++ and Sample image

* Added Makefile for file specific usage and Readme

* Updated code with functions for ease-of-use

* Fixed image filename error

* Updated file naming convention

* Delete 5_Masking_Basics.cpp

Fixed file structure

* Added Masking theory

* Updated readme for better readability

* Update readme with examples

* Update with added TOC and rename to README.md

* Delete 5_masking.hpp

* Update README with illustrations and fix minor errors

* Update file structure, documentation, improve makefile and remove hpp dependency

* minor fixes

* remove unused assets

---------

Co-authored-by: Lakshaya Singhal <singhallakshaya@gmail.com>
Co-authored-by: “Advait <“advaitdhamorikar@gmail.com”>
* opencv overview

* Fixed issue with Makefile

* Made changes as instructed

* Made Makefile for the current folder

* Added Morphological operations

* Adding function descriptions and expected output for morphology

Signed-off-by: vrnimje <vedantnimjed@gmail.com>

* Restructure the Readme

* Added comments

* Removed blob detection notebook

* Made changes

* Renamed folders

* Removed Makefile

* Updated readme

* Removed redundant images

* Removed redundant images

---------

Signed-off-by: vrnimje <vedantnimjed@gmail.com>
Co-authored-by: vrnimje <vedantnimjed@gmail.com>
* Adding code and readme for blob detection

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* changes in makefile

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Changes in code structure and readme

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Renamed files

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Updated readme

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Updated readme and file structure

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Making windows resizable

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Updated Makefile

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Changed window size

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Updated readme and makefile

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Resized window

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* minor change

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* Renaming the files

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>

* corrected folder numbering in readme

---------

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
Co-authored-by: Aman Chhaparia <64468582+amanchhaparia@users.noreply.github.com>
* Added Assignment 1

* made changes to assignment

* changes made to th assignment

* final commit
* Added code,Assets,Makefile for Interpolation

* Added README.md

* Added requested changes

* Fixed Image Paths in README.md

* Renamed 8_Interpolation to 3_interpolation
* Added Assignments

* Renamed readme
* modified .gitignore according to the new .cpp based OpenCV implementations

* Updated Root README
* resolved issues raised

* removed object files

* removed pixel_seminar object
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.