Page 1 of 1

Images: Remove background?

Posted: Thu Nov 27, 2014 10:55 am
by DevBoyLars
Hello,
is it possible with LiveCode to take a photo with the camera and remove the background of an object? I mean an object on a rich contrast background.

Thank you :)

Re: Images: Remove background?

Posted: Thu Nov 27, 2014 12:07 pm
by LCNeil
Hi DevBoyLars,

All forms of Image manipulation are quite complex in their nature so although it should be possible to achieve a remove image background effect, I can see it involving quite a bit of scripting. The following lesson set might be able to give you some leads with manipulating images in LiveCode-

http://lessons.runrev.com/m/4071/c/16770

The lessons I would focus on are blur, threshold, grayscale and edge detect.

Keep us posted on how you get on.


Kind Regards, 

Neil Roger 
-- 
LiveCode Support Team ~ http://www.livecode.com 
--

Re: Images: Remove background?

Posted: Sat Nov 29, 2014 12:55 am
by capellan
Here you could find ideas to implement the algorithm:

http://stackoverflow.com/questions/2126 ... n-an-image

Al