Skip to content

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

Answered by claudiofantacci
choltz95 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @choltz95, sorry for the delay in getting back to you, this has somewhat fallen under my radar 🙃

Let's go in order:

  • re interpolation/blending: the interpolation function that pix provides follows scipy.map_coordinates (but it's more friendly on accelerators in JAX-world). This means that it is not really though-out for blending to images out of the box (a la cv.addWeighted). If all you want is blending, that should be quite easy to implement as also described in the above OpenCV function description. Otherwise, am I missing something?
  • re mask position/coordinates: I might again miss the point here, but random mask at image coordinates can be generated drawing random numbers in a way t…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@CloudyDory
Comment options

@claudiofantacci
Comment options

Answer selected by claudiofantacci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #5 on September 08, 2021 08:23.