Page 1 of 2

Deform Image: MLS

Posted: Wed Dec 20, 2017 2:45 am
by JHPJHP

Deform Image: MLS :: [ an OpenCV application ]

Posted: Wed Dec 20, 2017 2:45 am
by JHPJHP
A while ago, I released an older version of the program, but removed it after having trouble with my download site.
- a similar example can be found in PureBasic Interface to OpenCV: cv_MLS_deformation.pb

MLS Deformation: Based on script from here.

Demo JavaScript version provided by the original author: Warp Image.

Additional Information: Image Deformation Using Moving Least Squares.

Image

Image

Re: Deform Image: MLS :: [ an OpenCV application ]

Posted: Thu Dec 21, 2017 5:45 pm
by JHPJHP
Fred before and after a full day of working with PureBasic; feel the power :!:

Image Image

Re: Deform Image: MLS :: [ an OpenCV application ]

Posted: Thu Dec 21, 2017 7:00 pm
by djes
:lol:

Re: Deform Image: MLS :: [ an OpenCV application ]

Posted: Sat May 19, 2018 7:24 pm
by JHPJHP
Updated:
- binaries from OpenCV v2.4.13.3 to OpenCV v2.4.13.6
- added DPI awareness: SetProcessDpiAwarenessContext

Re: Deform Image: MLS

Posted: Sun Mar 10, 2019 10:38 am
by JHPJHP
Updated:
- added Control Window
- some minor improvements

Control Window
Includes all the same options available from the Context Menu.

Quick Demo:
1. Load (default) Points Files
2. Run Deformed Animation

Image

Re: Deform Image: MLS

Posted: Sun Mar 10, 2019 5:44 pm
by Kwai chang caine
Works fine here on W10 X64 / V5.70 X86
I have run "Run deformed animation" and it's really fun to see the works do alone :shock:
Thanks for sharing 8)

Re: Deform Image: MLS

Posted: Mon Mar 11, 2019 8:03 pm
by JHPJHP
Hi Kwai chang caine,

As always thank you for your comments and feedback.

------------------------------------------------

Updated:
- extended shortcut keys to Control Window
- squashed a couple bugs

------------------------------------------------

Updated:
- some minor improvements
- added a second example

Image Image

Re: Deform Image: MLS

Posted: Mon Mar 11, 2019 8:39 pm
by Little John
Hi JHPJHP,

if you'll find a way to remove wrinkles, you can sell it to thousands and millions of ladies and get rich fast. :D

Re: Deform Image: MLS

Posted: Tue Mar 12, 2019 6:44 pm
by JHPJHP
Hi Little John,
Little John wrote:if you'll find a way to remove wrinkles, you can sell it to thousands and millions of ladies and get rich fast.
You may be on to something, but the market for woman is already saturated with products; I was thinking...

Image

Re: Deform Image: MLS

Posted: Wed Mar 13, 2019 1:22 am
by Little John
:lol:

Re: Deform Image: MLS

Posted: Wed Mar 13, 2019 5:47 pm
by JHPJHP
Updated:
- added Output Animated GIF

Output Animated GIF
FFmpeg Windows binaries are used to create the animated GIF.

Quick Demo
1. Load (default) Points Files
2. Output Animated GIF

NB*: Download size has increased due to the FFmpeg Windows binaries.

Re: Deform Image: MLS

Posted: Fri Mar 15, 2019 8:45 pm
by JHPJHP
Updated:
- optimized Output Animated GIF
- updated the FFmpeg binaries

Output Animated GIF
Previously 32 images were used to create the GIF animation, this has been reduced to 16 images.

Image

Re: Deform Image: MLS

Posted: Fri Mar 15, 2019 8:57 pm
by Josh
OMG, I am curious what we can expect from KCC with this tool :mrgreen:

Re: Deform Image: MLS

Posted: Tue Mar 26, 2019 12:14 am
by JHPJHP
Hi Josh,
Josh wrote:OMG, I am curious what we can expect from KCC with this tool
I think I had Kwai chang caine in mind when I added the Output GIF option :)

--------------------------------------------

Updated:
- minor cosmetic and code improvements
- added ADS - Alternate Data Streams

ADS - Alternate Data Streams
Saves the Control Window and Help Tooltips state; only applies to the executable.

NB*: Reset Image & Settings will not affect the Control Window or Help Tooltips state; only applies to the executable.