Skip to content

Fix resize memory use and image pixels#622

Merged
IRDonch merged 14 commits intodevelopfrom
zm/fix-resize
Jan 13, 2022
Merged

Fix resize memory use and image pixels#622
IRDonch merged 14 commits intodevelopfrom
zm/fix-resize

Conversation

@zhiltsov-max
Copy link
Copy Markdown
Contributor

@zhiltsov-max zhiltsov-max commented Jan 11, 2022

Summary

Closes #618
Closes #607
Closes #606

  • Resize is made lazy for images and masks
  • Fixed image pixels
  • Fixed output image extension - it is now the same as input, if provided
  • Added the ext kw-only parameter in Image ctor. It must not be used together with path.

How to test

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@zhiltsov-max zhiltsov-max requested a review from IRDonch January 11, 2022 18:32
@zhiltsov-max zhiltsov-max changed the title Fix resize memory use and image pixels [WIP] Fix resize memory use and image pixels Jan 11, 2022
@zhiltsov-max zhiltsov-max changed the title [WIP] Fix resize memory use and image pixels Fix resize memory use and image pixels Jan 11, 2022
@zhiltsov-max zhiltsov-max changed the title Fix resize memory use and image pixels [WIP] Fix resize memory use and image pixels Jan 12, 2022
@zhiltsov-max zhiltsov-max changed the title [WIP] Fix resize memory use and image pixels Fix resize memory use and image pixels Jan 12, 2022
Comment thread datumaro/plugins/transforms.py Outdated
Comment thread datumaro/components/media.py
@IRDonch IRDonch merged commit ba19f03 into develop Jan 13, 2022
@IRDonch IRDonch deleted the zm/fix-resize branch January 13, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants