Skip to content

[Bug] AffineImage operator ignores user parameters — translation values are hardcoded #300

@ajithhraj

Description

@ajithhraj

Describe the bug
The AffineImage operator has hardcoded translation values (tx=50, ty=100) and never reads from self.params. Users cannot configure the transformation at all — every run produces the same fixed translation.

To Reproduce

  1. Add an AffineImage operator to the pipeline
  2. Set any custom translation or transform parameters
  3. Run the pipeline — output always applies tx=50, ty=100 regardless of input

Expected behavior
The operator should read configurable parameters (tx, ty, angle, scale) from self.params instead of using hardcoded values.

Screenshots
N/A

Environment

  • Python version: 3.12

Additional context
Relevant code in app/operators/geometric/affine_image.py:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions