HobbyKing.com New Products Flash Sale
Reply
Thread Tools
This thread is privately moderated by Jack Crossfire, who may elect to delete unwanted replies.
Old Aug 28, 2012, 11:50 PM
Registered User
Jack Crossfire's Avatar
Calif*
Joined Sep 2006
2,120 Posts
Discussion
speed vs. resolution

As suspected, downsampling with maximum instead of lowpass filtering made the LED stand out more. The problem was resolution. 88x96 wasn't going to give useful distance data. A solidly lit LED with multiple frames blended might improve the accuracy.

Analyzing the data on the microcontroller without compressing it can get it up to 320x240 70fps. 640x480 still only goes at 20fps. That definitely made you wonder what the point was of not using a webcam. Only the simplest algorithm can go at 70fps & it still takes a lot of optimization.

Accessing heap variables has emerged as a real bottleneck for GCC. Temporaries on the stack greatly speed up processing but create spagetti code.

The microcontroller thresholds the luminance & compresses the 0's. Works fine, as long as only the aircraft light crosses the threshold. A large bright area would make it explode. Compressing the 1's would take too many clockcycles.

The leading flashing LED algorithm begins with blob detection. Blobs which come within a certain distance of another blob in a certain number of sequential frames are considered always on & discarded. The largest of the blobs which don't have anything appear within a certain area in every frame is considered the target.
Jack Crossfire is offline Find More Posts by Jack Crossfire
RCG Plus Member
Latest blog entry: Watching people get rich sucks
Reply With Quote
Sign up now
to remove ads between posts
Reply

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Sold Spektrum AR8000 dsmx 11ms 2048 resolution high speed receiver rx SPMAR8000 aquaanox Aircraft - General - Radio Equipment (FS/W) 0 Aug 15, 2012 12:18 PM
Discussion Thrust vs Speed, Propsize vs Pitch AliB Multirotor Talk 5 Apr 26, 2012 11:11 AM
Help! resolution: TVL vs. PAL vs. PC-capture reely340 FPV Talk 14 Feb 16, 2011 12:03 AM
Discussion Video Resolution/Color and TX frequency (900Mhz vs 1.3Ghz vs 2.4Ghz vs 5.8Ghz) mook FPV Talk 4 Apr 03, 2009 01:02 AM
Speed 400 6volt vs 7 volt vs. Speed 400 Race vs Rocket 400 motors erashby Electric Plane Talk 1 Sep 27, 2001 08:39 AM