Project-MONAI / Project-MONAI/MONAI

Implementing Haar-Like 2D/3D Hand-crafted Features in MONAI

Open
#3,709 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request
Dominant language
Python
Stars
8.7k
Forks
1.6k
Avg merge
5d 1h
Merged PRs (30d)
20

Description

Is your feature request related to a problem? Please describe.
Sometimes machine learning problems require usage of hand-crafted features instead of learning these within the network.
This may be due to data constraints or cases where learning features may lead to degrading performance. Haar-Like features are one such category of hand-crafted features which have been widely used for object detection, e.g. face detection, organ detection/localization.

Describe the solution you'd like
An implementation of 2D and 3D Haar-Like features in PyTorch has been recently implementation that utilizes convolution layers within PyTorch to extract these hand-crafted features: https://github.com/masadcv/PyTorchHaarFeatures
Integrating these within MONAI will ensure wider applicability of this in other networks/techniques

Describe alternatives you've considered
Using the library directly (https://github.com/masadcv/PyTorchHaarFeatures) as additional install on top of MONAI

I can help draft a PR in coming days to add support for this in MONAI.

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 reviewing the linked PyTorchHaarFeatures implementation to understand its 2D and 3D behavior, then inspect MONAI's existing module and testing conventions. Done means MONAI includes an integrated implementation supporting both dimensionalities with coverage for the exposed behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.