Radial Thresholding in AS3 (Webcam)
Perhaps one of the things I would like to do before NS - build a radial threshold filter.
Conventional threshold filters are constant throughout. This is means that if let's say the image threshold value is 170, then that threshold value is applied to the WHOLE image. That is pretty bad for some cameras.
Back when I was working on my DSI project, I suggested implementing a radial threshold. Bah, not enough time then. This time, modular approach, OOP-based, voila.
My aim is to implement a radial threshold with a 2D-based function. In some webcams, the distribution of light may not be even, even though it IS even. It's just picked up with bias. For example, let's say we want the threshold to be a logarithmic function. Then we would use y = ln (x) or something (sometimes this works especially if you want the threshold to level out sooner than later.
All we have to do is then input this expression into the code, then by doing per-pixel iteration, we would be able to map that certain value for the specific pixel with the corresponding threshold value onto the image. Now, in this case we will be plotting 2 graphs: one of the image and another of threshold versus the length of the line from the origin (centre of circle).
See the pic for more info
Hopefully I can make an implementation fast enough to be used for video manipulation in AS3 =D
FLaser
Hi,
Been busy the past few days trying to do a Ver. 2.0 of my Science Fair project. So original name from "STUDY OF LUMINOUS INTENSITY AND ITS APPLICATIONS IN LASER-AIDED VIRTUAL ON-SCREEN IMAGE INTERACTION SYSTEMS", changed it to FLaser. (Obviously, FL being Flash). xD
Managed to get clearance from my mentor @ A* STAR DSI to further develop it. You can read more of it here:
- http://temasek.wetpaint.com/page/DSI:+Creation+of+LASER-aided+virtual+on-screen+image+interaction+systems
- http://www.science.edu.sg/ssc/ssef-ats/publicview.jsp
Apparently, IHPC is doing something similar for the Mac called Lightdraw. Will see if I can port / improve some of the algos and source code in their project. Link here:
And something I stumbled upon for augmented reality in Flash (FLAR):
Pretty cool huh? =D
Cheers,
Joel Tong
