![]() |
Understanding blob size
Code:
case RECEIVING_T_PACKET:I'd like to understand how it determains the blob size given in the terminal so I can also use it in autonomous mode(T_Packet_Data.pixels = packet_buffer[6];, what happens in that code line). |
Re: Understanding blob size
Quote:
-Kevin |
Re: Understanding blob size
Where's the calculation area?(not sure if it's important for me, especialy when it's after midnight here, but I'd like to know anyway)
|
Re: Understanding blob size
Quote:
I'm curious to know why you're focusing on this, and how you expect to use the information you're asking for. |
Re: Understanding blob size
Well, I'm hoping to find a certain blob size range(as I saw in the CMU demo clip, the blob size is not soo stable, so I want to find that limit of the instabilaty)when in a certain range so I can create a certain (I think that's the word -) algorithim that will check if the size of the blob in certain distance from the light(that is diffrenet from the distance of the defined blob size) equals the same size of the defined blob(meaning, when both distances come range 0 with the light, the light will be the same size). That way I will be able to distinguish between 1 light in view in a close distance from the camera and 2 lights in view in a far range from the camera.
|
Re: Understanding blob size
The blob size is calculated as:
"the number of pixels (of green in our case) in the tracked region, scaled and capped at 255: (pixels+4)/8" You'll find this information in the CMUCam2 User's Guide where it gives a brief description of the T packet (p.60) |
| All times are GMT -5. The time now is 12:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi