Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Manipulation Experiments #10

Open
3 tasks
sambux1 opened this issue Apr 4, 2024 · 0 comments
Open
3 tasks

Image Manipulation Experiments #10

sambux1 opened this issue Apr 4, 2024 · 0 comments
Assignees

Comments

@sambux1
Copy link
Owner

sambux1 commented Apr 4, 2024

We need a way of determining which parameters to use for the perceptual hashing layer in the perceptographic hash function. To do so, we need to be able to manipulate images to see how the perceptual hashes change for each of the perceptual hash functions we support.

For each type of manipulation, we want to be able to manipulate some image by some quantifiable amount and see how it affects the perceptual hashes. That is, we want to have a function that takes as input an image and some "manipulation factor" and output a modified image.

For example, one type of manipulation is compression, so we want to be able to compress images by some factor (e.g. 10%, 50%...).

The first step of this is to simply define one function per type of manipulation to actually manipulate an image. Each should have a signature of the form

manipulation(image, factor) -> modified_image

I'm assigning this step to @ahmedh409. After this step, we can work together on writing a class to use the manipulation functions to actually get data about the perceptual hash functions and their parameters.

An incomplete list of the types of manipulations we want are below. Feel free to add to this.

  • compression
  • gaussian blurring
  • white noise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants