Custom Filters
Posted: 09 July 2008 09:28 AM   [ Ignore ]
Rank
Joined  2008-07-07
Total Posts:  1
New Member

I’ve found an easy way to use image processing filters not found in touchlib. Using a program called roborealm (http://www.roborealm.com/index.php) you can easily add and play around with different filters and send the output to Touchlib using the virtual camera driver (http://www.roborealm.com/help/Virtual_Camera_Driver.php) as well as an updated “DSVL_config” file:

<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2005 rel3 U (http://www.altova.com)-->
<dsvl_input xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="DsVideoLib.xsd">

  <
camera input_device="roborealm" frame_width="640" frame_height="480" frame_rate="30.0" show_format_dialog="true">
  
    <
pixel_format>
        <
RGB24/>    
        </
pixel_format>
    </
camera>

</
dsvl_input>

It works very well.

However the project I’m working on requires another filter to be written from scratch to perform the Radon Transform of a pre filtered video source to help detect fingers and a peak detection algorithm to detect finger tips. In order to integrate a new filter into touchlib what do I have to add to the source file of my custom filter and what other source files do I need to modify?

Image Attachments
Touchlib_roborealm.JPG
Profile
 
 
Posted: 11 July 2008 02:37 AM   [ Ignore ]   [ # 1 ]
Avatar
Rank
Joined  2008-05-07
Total Posts:  74
New Member

Very cool… Have you noticed any and effect on the system performance with it? It would be great to see a side by side blob comparison with and without the additional image processing.

But I’m definitely going to try this out. Let me know how your project turns out with it.

 Signature 

chris szadkowski
interactive design + technology + creative direction

[Motion Gesture Navigation with Depth Sensors (Complete)]
[24” FTIR Projection-Based Multi-Touch Installation (Final Stages)]

Follow me on Twitter
My Vimeo Videos

Profile
 
 
Posted: 15 August 2008 06:52 AM   [ Ignore ]   [ # 2 ]
Rank
Joined  2008-02-11
Total Posts:  97
New Member

Wow, cool find - I’m gonna try it. Have you experienced any degradation in performance?

Sorry, can’t help you with your request though…

Profile