FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kFpgaSpot2i_ConvertFrom ( kFpgaSpot2i outSpots,
kSpot const *  inSpots,
kSize  count = 1 
)

Populate kFpgaSpot2i(s) from kSpot(s)

If kSpot->centre == k32U_NULL OR kSpot->slice == k16U_NULL the kFpgaSpot2i patch bit is set and all fields are set to 0

Moving average Intensity is written to kSpot->strength Moving average Detection is written to kSpot->width The values are copied over exactly, no scaling is performed.

Parameters
outSpotskFpgaSpot2i(s) to be populated
inSpotskSpot(s) from which to populate outSpots
countCount of spots. Default value of 1 can be used to convert single spot.
Returns
kStatus