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

[Feature request] Add apply_to_images to RandomRotate90 #2467

Open
ternaus opened this issue Mar 11, 2025 · 2 comments
Open

[Feature request] Add apply_to_images to RandomRotate90 #2467

ternaus opened this issue Mar 11, 2025 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ternaus
Copy link
Collaborator

ternaus commented Mar 11, 2025

No description provided.

@ternaus ternaus added enhancement New feature or request good first issue Good for newcomers labels Mar 11, 2025
@Riddhikshah21
Copy link

Hi @ternaus, could you assign this issue to me?

@ternaus
Copy link
Collaborator Author

ternaus commented Mar 11, 2025

@Riddhikshah21 Go ahead.

This one should be quite straitforward.

You will need to extend: https://github.com/albumentations-team/albumentations/blob/main/albumentations/augmentations/geometric/functional.py#L1183

to accept argument axis in the same way np.rot90 does.

And apply_to_image and apply_to_images will be different only by what axis do you pass to the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants