Forums › BB Series Discussions › RealTime image frame
- This topic has 1 reply, 2 voices, and was last updated 6 years, 1 month ago by Andrew.
- AuthorPosts
AnonymousInactiveHello
In previously API returned frame consist values from 0 to 1.
Values close to one meant constant pixel activity and I transformed frame values to colors to have spectrum histogram.
But in new API function bbFetchRealTimeFrame got another one parametr alphaFrame and I, as was shown in the example, ignored this parameter by setting it to 0. But in frame values I found values much less than one(even on the noise track) and my image frame became one-color.
Is this a bug in the new implementation?
Can you give pseudocode using frame and alphaframe to get the image?Thank you
AndrewModeratorThe scaling was changed to be more representative of the actual contribution to that bin. We had arbitrary scaling which was not consistent across all of our devices, so we changed it so that the scaling factor is ‘correct’, IE divide the number of hits in that bin by the total number of possible hits for that bin.
In general this resulted in a decrease of absolute values but will still plot the same if you increase the sensitivity of your coloring algorithm. That is what the slider does in Spike, it changes what is considered ‘full scale’.
I hope this helps,
Regards,
Andrew- AuthorPosts
You must be logged in to reply to this topic.