Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warp Perspective CPU Impl #5829

Merged
merged 3 commits into from
Feb 26, 2025
Merged

Warp Perspective CPU Impl #5829

merged 3 commits into from
Feb 26, 2025

Conversation

5had3z
Copy link
Contributor

@5had3z 5had3z commented Feb 23, 2025

Category:

New feature (non-breaking change which adds functionality)

Description:

CPU Implementation was missing from fn.experimental.warp_perspective. This PR plugs that hole, using cv::warpPerspective, with the same API as the CV-CUDA impl.

Additional information:

Affected modules and functionalities:

fn.experimental.warp_perspective

Key points relevant for the review:

I'm not sure how to properly share the same class template between the two implementations, WarpPerspecive inherits from nvcvop::NVCVSequenceOperator which sets GPUBackend. Maybe there is a nicer way to combine the two of them.

Tests:

  • Existing tests apply
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

Signed-off-by: Bryce Ferenczi <[email protected]>
@klecki
Copy link
Contributor

klecki commented Feb 25, 2025

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [24531891]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [24531891]: BUILD PASSED

@klecki klecki merged commit ac181b6 into NVIDIA:main Feb 26, 2025
7 checks passed
@klecki
Copy link
Contributor

klecki commented Feb 26, 2025

@5had3z thanks for the contribution!

@5had3z 5had3z deleted the cpu-warp-perspective branch February 26, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants