python-pillow / python-pillow/Pillow

Better morphological operations

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

Nobody has claimed this yet.

Enhancement
Dominant language
Python
Stars
13.8k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
89

Description

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.

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.