Better morphological operations

Open
#4,762 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by locating the ImageMorph class and reviewing how its current 3x3 kernels and operations are implemented. Map the requested kernel flexibility and non-binary image support against the existing behavior before proposing scope. Done should mean the class supports arbitrary kernels and non-binary images without losing the current operations.

Written by the indexing model from the issue text.

Description

Enhancement

As far as I understand, right now we're limited to only use 3x3 kernels and the set of operations is pretty limited.
I'd really want a more powerful ImageMorph class with ability to set any kernel and ability to work with non-binary images.

Dominant language
Python
Stars
14k
Forks
2.6k
Avg merge
1d 1h
Merged PRs (30d)
205

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-pillow/Pillow

All issues in python-pillow/Pillow

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.