Skip to content

Image resizing program which reduces the pixel width of an image based on minimum cost vertical cuts

License

Notifications You must be signed in to change notification settings

B3W/ImageResizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Berg Weston weberg

Image Processing (Resizing) Based on Pixel Importance

The input to the program is an image represented in the form of a 2D matrix of pixels. The pixels
consist of RGB values. The program will then construct a graph of the pixel images with which the
image width can be reduced. The minimum cost vertical cut of the image gets removed each time the
image is reduced in width by one. This minimum cost cut is found using an implementation of
Djikstra's shortest path algorithm. Cost is based on the importance of pixels. Pixel importance is
based of the RGB values of the pixels surrounding it.

About

Image resizing program which reduces the pixel width of an image based on minimum cost vertical cuts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages