Skip to content

SamarthPyati/seam-carving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seam Carving

Seam Carving is an implementation of content-aware image resizing algorithm that selectively removes or inserts seam of pixels in an image to change its dimensions while preserving important visual content in the image without any application of extensive machine learning algorithms.

Demo

Original Image

Original Image

Seam Carved Image

Seam Carved Image

Features

  • Content-aware image resizing
  • Efficient implementation in C
  • Parellel Processing with OpenMP

How to Run

  1. Clone the repository:
    git clone https://github.com/SamarthPyati/seam-carving.git
  2. Navigate to the project directory:
    cd seam-carving
  3. Compile the program:
    cc nob.c -o nob
    cc nob.c -o nob
    ./nob
  4. Run the program:
    ./build/main <image_file_path> <seam_to_remove>

Acknowledgements

Seam Carving Paper: Seam carving for content-aware image resizing Seam Carving Paper: Seam carving for content-aware image resizing

Contributing

Feel free to fork this repository and submit pull requests.

About

Content-aware image resizing algorithm which preserves important visual content without ML.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages