Skip to content

Add support for new augmentations in rocAL - Group 4#441

Merged
kiritigowda merged 112 commits into
ROCm:developfrom
SundarRajan28:new_augs_set1
Feb 11, 2026
Merged

Add support for new augmentations in rocAL - Group 4#441
kiritigowda merged 112 commits into
ROCm:developfrom
SundarRajan28:new_augs_set1

Conversation

@SundarRajan98
Copy link
Copy Markdown
Contributor

@SundarRajan98 SundarRajan98 commented Jan 9, 2026

Motivation

Integrates new RPP augmentations in rocAL:

  • GaussianNoise
  • ShotNoise
  • Spatter
  • Log
  • ColorJitter
  • Water

Corresponding MIVisionX PR - #1601

Technical Details

  • Added six new augmentation kernels with both fixed and parameterized variants
  • Implemented C++ node classes for each augmentation with proper initialization and update methods
  • Exposed Python bindings for all new augmentations

Test Plan

Test Result

Submission Checklist

Change copyright
Add unit tests for NonLinearBlend, Gaussian and Median filters
Dilate
Erode
Magnitude
Phase
Remove per-iter updation of perspective array
Add unit test for WarpPerspective
Remove ThresholdFixed
Modify params to accept vector
@kiritigowda kiritigowda self-assigned this Jan 20, 2026
@kiritigowda kiritigowda added enhancement New feature or request ci:precheckin labels Jan 20, 2026
@LakshmiKumar23 LakshmiKumar23 self-requested a review February 9, 2026 19:27
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 11, 2026

Codecov Report

❌ Patch coverage is 93.13305% with 32 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rocAL/source/api/rocal_api_augmentation.cpp 90.76% 22 Missing ⚠️
...ugmentations/arithmetic_augmentations/node_log.cpp 83.33% 2 Missing ⚠️
...ions/effects_augmentations/node_gaussian_noise.cpp 94.44% 2 Missing ⚠️
...ntations/effects_augmentations/node_shot_noise.cpp 93.55% 2 Missing ⚠️
...augmentations/effects_augmentations/node_water.cpp 96.43% 2 Missing ⚠️
...ntations/color_augmentations/node_color_jitter.cpp 97.78% 1 Missing ⚠️
...gmentations/effects_augmentations/node_spatter.cpp 97.87% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #441      +/-   ##
===========================================
+ Coverage    78.58%   78.98%   +0.40%     
===========================================
  Files          294      307      +13     
  Lines        23013    24146    +1133     
===========================================
+ Hits         18084    19071     +987     
- Misses        4929     5075     +146     
Files with missing lines Coverage Δ
.../augmentations/arithmetic_augmentations/node_log.h 100.00% <100.00%> (ø)
...ntations/color_augmentations/node_color_jitter.cpp 97.78% <97.78%> (ø)
...gmentations/effects_augmentations/node_spatter.cpp 97.87% <97.87%> (ø)
...ugmentations/arithmetic_augmentations/node_log.cpp 83.33% <83.33%> (ø)
...ions/effects_augmentations/node_gaussian_noise.cpp 94.44% <94.44%> (ø)
...ntations/effects_augmentations/node_shot_noise.cpp 93.55% <93.55%> (ø)
...augmentations/effects_augmentations/node_water.cpp 96.43% <96.43%> (ø)
rocAL/source/api/rocal_api_augmentation.cpp 84.87% <90.76%> (+0.82%) ⬆️

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kiritigowda kiritigowda merged commit c9dd8bd into ROCm:develop Feb 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:precheckin enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants