Skip to content

Add Moiré transform#9638

Open
ApaarRaina wants to merge 16 commits into
python-pillow:mainfrom
ApaarRaina:master
Open

Add Moiré transform#9638
ApaarRaina wants to merge 16 commits into
python-pillow:mainfrom
ApaarRaina:master

Conversation

@ApaarRaina
Copy link
Copy Markdown

Feature Addition #3484

This PR adds a moire function to ImageOps that simulates Moiré patterns by replicating the 10-step display-camera capture pipeline:

@radarhere radarhere changed the title add moire transform Add moire transform May 26, 2026
Comment thread Tests/test_moire_synthesis.py Outdated
Comment thread Tests/test_moire_synthesis.py Outdated
Comment thread Tests/test_moire_synthesis.py Outdated
Comment thread src/PIL/ImageOps.py Outdated
@hugovk hugovk changed the title Add moire transform Add Moiré transform May 27, 2026
@ApaarRaina
Copy link
Copy Markdown
Author

Hey I resolved the issues you marked and updated my PR can you take a look?

Copy link
Copy Markdown

@71494126927sy-lgtm 71494126927sy-lgtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0

@radarhere
Copy link
Copy Markdown
Member

Can you provide links to anything that you used as a reference for the Moiré algorithm?

@ApaarRaina
Copy link
Copy Markdown
Author

I used the paper that was recommended by mkowen1 in the original feature addition request

https://arxiv.org/pdf/1804.03809.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants