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

Use same Crop for RGB image and depth map #133

Open
Victorlouisdg opened this issue Feb 22, 2024 · 0 comments
Open

Use same Crop for RGB image and depth map #133

Victorlouisdg opened this issue Feb 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Victorlouisdg
Copy link
Contributor

Describe the feature you'd like
Currently, you have to a separate Crop for each different input image shape you want to use. E.g:

crop_rgb_left = Crop(observation.image_left.shape, x=x, y=y, w=width, h=height) # 3 channels
crop_depth = Crop(observation.depth_map.shape, x=x, y=y, w=width, h=height)  # 1 channel

However, the amount of channels does not matter for the crop operation, so we could probably handle this internally.

@Victorlouisdg Victorlouisdg added the enhancement New feature or request label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant