Skip to content

JakubOchnik/CUDAimageProcessor

Folders and files

NameName
Last commit message
Last commit date
Feb 23, 2021
May 13, 2022
May 13, 2022
May 8, 2022
May 12, 2022
May 12, 2022
Mar 3, 2022
May 13, 2022
May 13, 2022

Repository files navigation

GPU-accelerated image processor

Screenshot A simple GPU-accelerated command-line image processor. Image processing features are implemented on a GPU using CUDA, which can significantly speed-up hi-res image processing.

External libraries used:

  • NVIDIA CUDA (a capable GPU is required)
  • OpenCV
  • Boost

Features:

  • Command-line UI
  • Edit history (with undo and redo functions)
  • NVIDIA GPU driver detection and CUDA availability checking on Windows and Linux
  • Basic image processing operations

In development:

  • Histogram
  • Applying custom LUTs
  • Batch image processing
  • GUI
  • And more!

Currently available commands:

General functions:
- quit - Exits the program
- load [file_path] - Loads the image from the selected path
- save [file_path] - Saves the edited image to the selected path
- undo - Reverts the latest change
- redo - Performs the latest reverted action
- show [~scale] - Opens the image preview window. If the custom scale (in percentage, i.e. 75% -> scale = 75) is not specified, the window will be automatically scaled to fit 80% of main screen's vertical resolution.
- history - Shows the history of changes
- clear - Clears the notification area
- help - Shows the help screen

Actions:
- brightness [value] - Changes brightness of the image by specified value (it can be either negative or positive number)
- contrast [value] - Changes contrast of the image by specified value (range: <-255,255>)
- equalize - Performs histogram equalization (automatic global contrast correction)
- invert - Inverts colors of the image
- crop [x] [y] [width] [height] - Trims the image from the coordinates (x,y) to (x+width, y+height). Constraints: x+width < full width; y+height < full height.
- resize [width] [height] - Resizes the image to the specified size

(~ - optional)

About

A simple GPU-accelerated command line image processor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published