publiclab / Leaflet.DistortableImage

A Leaflet extension to distort or "rubber sheet" images
https://publiclab.github.io/Leaflet.DistortableImage/examples/
BSD 2-Clause "Simplified" License
271 stars 283 forks source link

2D Grid image warping #107

Open ChrisLowe-Takor opened 6 years ago

ChrisLowe-Takor commented 6 years ago

Details of image morphing here: http://davis.wpi.edu/~matt/courses/morph/2d.htm

The rationale is as follows. Aerial imagery taken from drones or planes have a much wider field of vision compared to satellite which is effectively zero. As such you can end up with an image that perfectly aligns at the edges but is internally inconsistent with the underlying features. Corner distortion can only go so far when you want very high accuracy.

I'm suggesting a grid base image morph similar to photoshops warp. When the user selects the warp the image will have a grid drawn on top. The user can drag individual verticies or grid lines which warp the image without changing the position.

jywarren commented 6 years ago

:-) this'd be really cool. i've wanted this for a long time! Some things to consider:

On Mon, Aug 27, 2018 at 10:17 PM Chris Lowe notifications@github.com wrote:

Details of image morphing here: http://davis.wpi.edu/~matt/courses/morph/2d.htm

The rationale is as follows. Aerial imagery taken from drones or planes have a much wider field of vision compared to satellite which is effectively zero. As such you can end up with an image that perfectly aligns at the edges but is internally inconsistent with the underlying features. Corner distortion can only go so far when you want very high accuracy.

I'm suggesting a grid base image morph similar to photoshops warp. When the user selects the warp the image will have a grid drawn on top. The user can drag individual verticies or grid lines which warp the image without changing the position.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/Leaflet.DistortableImage/issues/107, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJx40cCET4KH-HvBzeGL-Ijausqyxks5uVKgngaJpZM4WOy3V .