RealTime image frame

Forums BB Series Discussions RealTime image frame

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #163399
    Anonymous
    Inactive

    Hello

    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

    #163402
    AndrewAndrew
    Moderator

    The 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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.