Equivalent to OpenCV's remap #1312
-
Hi everyone, Sorry if this is a RTFM question, but I couldn't see anything - does ImageSharp have an arbitrary (x,y) -> (x', y') transformation method similar to OpenCV's remap? In other words, apply a general transformation from the target image back to the source, interpolating values as appropriate? I could do the interpolation myself, but it seems like something which should already exist. Cheers! M |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Or, if it doesn't have a drop-in equivalent to remap, is there just a fractional interpolation mechanism? i.e., so requesting a pixel at non-integer coordinates results in an appropriately interpolated value? |
Beta Was this translation helpful? Give feedback.
-
@nullpainter we only support Affine and Projective matrix transforms out of the box, but it has interpolation and resampling. If I understand it correctly remap would mean an arbitrary transformation defined by a function or some sort of pixel map array right? |
Beta Was this translation helpful? Give feedback.
@nullpainter we only support Affine and Projective matrix transforms out of the box, but it has interpolation and resampling.
If I understand it correctly remap would mean an arbitrary transformation defined by a function or some sort of pixel map array right?