Turn Image into a threshold map

Hi,


I am looking for ways to create an application which would capture an image, set a threshold to it and then use it as a map for playing sounds.

Please see a link to (some gif) concept sketch below.

http://68.media.tumblr.com/cb7aad23f3ed2ce6167fc23e04c56e90/tumblr_oab4p2YGGv1th73nko1_1280.gif


I am new to swift and I am excited for this to be a challenge, but I'd really like to get some thoughts on where to start with.
I have found a somewhat similar application done with Python where using imageProcessing, an image of a skyline is converted to a threshold map and then a vector line is extracted which is then used for amplitude envelope.


(This) - 'Turning Skylines into Sound'


Let me know what you think!


Thanks,
Lukas
valiaugalukas.lt

Try taking a look at Core Image filters:


developer.apple.com/library/content/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro/ci_intro.html

Turn Image into a threshold map
 
 
Q