Skip to content

Cherlyonok/funny-filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funny-filters

HSE C++ project - several image filters

To use run the program from command line for instructions

Processor takes BMP24 images as inputs.

Arguments:

{program name} {input image path} {output image path} [-{1 filter name} [1 parameter] [2 parameter] ...] [-{2 filter name} [1 parameter] [2 parameter] ...] ...

FILTERS (with my picture 💅💅💅):

me - #NO FILTERS

CROP

crops the image by given width and height

pics/me.bmp pics/crop.bmp -crop 1000 1000

me - crop

GRAYSCALE

turns image into b/w

pics/me.bmp pics/gs.bmp -gs

me - gs

NEGATIVE

turns image into negative

pics/me.bmp pics/neg.bmp -neg

me - neg

SHARPENING

makes image sharper

pics/me.bmp pics/sharp.bmp -sharp

me - sharp

EDGE DETECTION

turns image into only borders - USES THRESHOLD (around 0.1 is good)

pics/me.bmp pics/edge.bmp -edge 0.03

me - edge

GAUSSIAN BLUR

blurs image using Gaussian Blur (DON'T USE SIGMA PARAMETER MORE THAN 6)

pics/me.bmp pics/blur.bmp -blur 5

me - blur

GRADIENT

turns image into gradient (r g b available only)

pics/me.bmp pics/custom-r.bmp -custom r

me - r

pics/me.bmp pics/custom-g.bmp -custom g

me - g

pics/me.bmp pics/custom-b.bmp -custom b

me - b

COMBO

u can also combine different filters

pics/me.bmp pics/combo.bmp -blur 5 -custom r

me - combo

About

HSE C++ project - several image filters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published