Skip to content

Extend image-processing functionality (histogram & thresholding tools) #3

@uxabix

Description

@uxabix

Description

Add several new image-processing features commonly used in educational and real-world environments.
The goal is to expand the toolkit while maintaining the structure and style of existing filters.


New functionality to add

1. Histogram-based operations

  • Histogram stretching (contrast stretching)
  • Histogram equalization
  • Optional: per-channel vs grayscale implementations

2. Binarization / Thresholding

  • Manual thresholding (user-defined cutoff)
  • Percentage thresholding (percentile-based)
  • Otsu thresholding (automatic)

Requirements

Each new operation must:

  • support both grayscale and RGB (using the existing decorator),
  • avoid clipping artifacts,
  • return a valid uint8 image,
  • be integrated into the examples generation script (examples.py),
  • include tests if applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions