Skip to content

Multi file image differ, with the intent of producing art rather than being technically useful

License

Notifications You must be signed in to change notification settings

okiyama/pixel-matcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixel-matcher

Multi file image differ, with the intent of producing art rather than being technically useful. I'll write up how the algorithm works later.

Here's an example.

Example.

It is corrupting this image:

Parent image

TODO:

  • Command line argument for manual image dimensions - or a % of parent image, to do test runs on smaller images
  • Facial detection to line up a bunch of portraits
  • Rather than all or nothing on each pixel, have the pixel show the relative frequency through it's alpha value.
  • Average the pixel values or choose median pixel
  • Use HSV values instead, could give interesting effects from the color wheel
  • Performance improvements, it's still really slow
  • For GIF creation, track created files and delete after the run is done. Safer than just deleting the output folder.
  • Look into matrix-izing distance calculations. I think I could just hand in the parent and child matrices and get out the diff map. Not a huge deal though, most of time is spent comparing diff map to current pixel values.
  • Rather than using child images to corrupt, just move towards the opposite side of 3D RGB space in steps
  • Add a GUI - it would just take each parameter, but would help a lot for user friendliness
  • Add webcam support where your webcam is the parent image

DONE:

  • Paralellization would work well. Would need to break up into discrete processes that can be called with command line parameters. This honestly would improve the quality of the program though
  • Generate gifs of the output with different thresholds
  • Let closer pixel trump further
  • Save to .gifv rather than .gif
  • Fix images having to be square
  • Automatically resize child images to match parent

About

Multi file image differ, with the intent of producing art rather than being technically useful

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published