Skip to content

Just playing around with convolution/kernels and Netpbm file formats. Only able to apply convolution to the Portable Pixmap Format (PPM), otherwise known by its magic number P3 or P6 for binary.

Notifications You must be signed in to change notification settings

Ygor-J/Conv_Img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Como requerido pelo Professor Lehilton Pedrosa do IC, alunos da UNICAMP estão expressamente proibidos de copiar ou modificar qualquer trecho deste código para uso em suas disciplinas e tarefas. Especialmente, não é permitido utilizá-lo nas disciplinas MC102 e MC202. Se precisam de ajudam com suas tarefas, procurem monitores ou peçam ajuda ao respectivo professor.
As requested by Professor Lehilton from the Institute of Computing, UNICAMP students are not allowed to copy or modify any part of this code for use on academic disciplines. Especially, MC102 and MC202. If you need help, ask your professors or upperclasmen.

Just playing around with convolution/kernels and Netpbm file formats.
Only able to apply convolution to the Portable Pixmap Format (PPM), otherwise known by its magic number P3 or P6 for binary.
Support for kernel of any size. ** Sets black borders

Img - No Filter
Img - No Filter
Img - Blur Filter
Img - Emboss Filter

blur_filter = [
    [0.04, 0.04, 0.04, 0.04, 0.04], 
    [0.04, 0.04, 0.04, 0.04, 0.04], 
    [0.04, 0.04, 0.04, 0.04, 0.04], 
    [0.04, 0.04, 0.04, 0.04, 0.04], 
    [0.04, 0.04, 0.04, 0.04, 0.04]
 ]
You can use ImageMagick to convert images from formats such as PNG, JPG and JPEG to PPM.

About

Just playing around with convolution/kernels and Netpbm file formats. Only able to apply convolution to the Portable Pixmap Format (PPM), otherwise known by its magic number P3 or P6 for binary.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published