Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Warp / transform image along path
#5
(12-21-2017, 08:17 AM)Ofnuts Wrote: So you have two paths, a straight one and a wavy one, and you delete the image between the two paths (it becomes transparent?  filled with color?) and you shift/rotate the image so that the straight path ends up somewhere (but how this is determined isn't clear).

It's a straight translation, straight as in vertical, no rotation. A pixel with a location of x1,y1 gets shifted to x1,y2 where y2 is related to the distance between the values of y on the warped edge and the straight reference line. Something like this, if the green & yellow cells are the image and the black are the reference line. The pixels between are overwritten.

https://www.dropbox.com/s/7xeawntv7z3cp5...1.png?dl=0

Thanks for looking at this.

Matt
Reply


Messages In This Thread
Warp / transform image along path - by asdthy - 12-20-2017, 11:13 PM
RE: Warp / transform image along path - by Ofnuts - 12-20-2017, 11:42 PM
RE: Warp / transform image along path - by asdthy - 12-21-2017, 01:09 AM
RE: Warp / transform image along path - by Ofnuts - 12-21-2017, 08:17 AM
RE: Warp / transform image along path - by asdthy - 12-21-2017, 09:26 AM
RE: Warp / transform image along path - by asdthy - 12-21-2017, 12:13 PM

Forum Jump: