Skip to content

[Feature request/question] Partial interpolation / cut-outs + batching transformations #5

@choltz95

Description

@choltz95

Hi, Thank you so much for this!

I was having trouble following the interpolation functionality. I am interested in interpolating/blending two images, but restricting the blending only to certain (maybe randomly selected) regions.

Given a specified volume/area, is it possible to generate a mask with the position of the "unmasked" region chosen randomly? Kind of similar in spirit to random_crop.

A simplified use-case is doing cut-outs for augmentation.

Is this in the scope of this project / possible to do currently?

Separately, is there an example or easy way to apply a sequence of [random] transformations - e.g. on to batches of inputs.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions