wats the unit for X,Y in touchlib ??? 
Posted: 25 April 2008 10:48 AM   [ Ignore ]
Avatar
RankRank
Joined  2008-01-28
Total Posts:  121
Jr. Member

Blob Detected X: 0.063366 Y : 0.008768 Area : -0.000095

wat are these deciaml point and -ve values ?? ... how do they specify the location of point and area covered by a touch ?? .... wats the unit ... and how can they be converted to pixels ???

(srry for a noob query .... )

Image Attachments
debug_window.png
 Signature 

..’m not the best..but ‘m not like the rest....

Profile
 
 
Posted: 25 April 2008 04:28 PM   [ Ignore ]   [ # 1 ]
Rank
Joined  2007-10-15
Total Posts:  24
New Member

X,Y ranges from 0-1. Multiply X by your screen resolution-x and Y with your screen resolution y. So for a 1024x768 resolution ... you should be doing x *= 1024; and y *=768;

Profile
 
 
Posted: 26 April 2008 02:42 AM   [ Ignore ]   [ # 2 ]
Avatar
RankRank
Joined  2008-01-28
Total Posts:  121
Jr. Member

ohhhk !! ... thnx smile

and wat bout the area then ?? ..... the values r in -ve !!

also, when u include the brightness/contrast filter and move the sliders, the corresponding values stored in config.xml are in decimal point and +ve or -ve ..... wats the conversion for tht ???

 Signature 

..’m not the best..but ‘m not like the rest....

Profile
 
 
Posted: 26 April 2008 12:09 PM   [ Ignore ]   [ # 3 ]
Rank
Joined  2007-10-15
Total Posts:  24
New Member

area values shouldn’t be negative. I think that isn’t fixed cause no one’s actually using it for their applications ? You should just use the absolute values and ignore the signs, that’s what i’m doing.

I dont think you should worry about the config.xml values too much. as long as once you calibrate your system and it works well. You shouldn’t have to bother about converting those values anyways.

Profile
 
 
Posted: 26 April 2008 12:20 PM   [ Ignore ]   [ # 4 ]
Avatar
RankRank
Joined  2008-01-28
Total Posts:  121
Jr. Member

ya ... its working alright ...
but the thing is, i need to know ..... plz if someone can ???

 Signature 

..’m not the best..but ‘m not like the rest....

Profile
 
 
Posted: 28 April 2008 02:28 PM   [ Ignore ]   [ # 5 ]
Rank
Joined  2008-02-11
Total Posts:  97
New Member
RGLoFMI - 25 April 2008 04:28 PM

X,Y ranges from 0-1. Multiply X by your screen resolution-x and Y with your screen resolution y. So for a 1024x768 resolution ... you should be doing x *= 1024; and y *=768;

Are you sure this is true? Should it not be compared to the camera-resolution rather than screen-resolution?

Profile
 
 
Posted: 28 April 2008 06:43 PM   [ Ignore ]   [ # 6 ]
RankRank
Joined  2007-06-06
Total Posts:  157
Jr. Member
entity - 28 April 2008 02:28 PM

RGLoFMI - 25 April 2008 04:28 PM
X,Y ranges from 0-1. Multiply X by your screen resolution-x and Y with your screen resolution y. So for a 1024x768 resolution ... you should be doing x *= 1024; and y *=768;

Are you sure this is true? Should it not be compared to the camera-resolution rather than screen-resolution?

It is the screen resolution

Profile
 
 
Posted: 29 April 2008 01:37 AM   [ Ignore ]   [ # 7 ]
Rank
Joined  2008-02-11
Total Posts:  97
New Member

then I must admit I’m a bit confused about a problem I have in my DI-setup. It’s like everything moves in a grid. Movement of objects - no matter how slow - only updates after the movement is 2-3 pixel compared to the screen resolution.

I’ve made a thread about it here…

http://nuigroup.com/forums/viewthread/1728/

Profile