QTrk
|
CPU implementation of the QueuedTracker interface. More...
#include <QueuedCPUTracker.h>
Classes | |
struct | Job |
Structure around LocalizationJob to link data and job. More... | |
struct | Thread |
Structure to facilitate the use of threads. More... | |
Public Member Functions | |
QueuedCPUTracker (const QTrkComputedConfig &cc) | |
Create a QueuedCPUTracker instance with specified configuration. More... | |
~QueuedCPUTracker () | |
Delete the instance and free related memory. More... | |
void | Start () |
Start up the threads and initiate their worker function. More... | |
void | Break (bool pause) |
Enable or disable handling of jobs. More... | |
void | GenerateTestImage (float *dst, float xp, float yp, float size, float SNratio) |
Generate a test image based on a the point spread function. More... | |
int | NumThreads () |
Get the used number of threads. More... | |
void | SetLocalizationMode (LocMode_t lt) override |
Select which algorithm is to be used. More... | |
void | SetRadialZLUT (float *data, int num_zluts, int planes) override |
Set the radial lookup tables to be used for z tracking. More... | |
void | GetRadialZLUT (float *zlut) override |
Get the radial lookup tables used for z tracking. More... | |
void | GetRadialZLUTSize (int &count, int &planes, int &rsteps) override |
Get the dimensions of the radial lookup table data. More... | |
void | SetRadialWeights (float *rweights) override |
Set radial weights used for comparing LUT profiles. More... | |
void | SetRadialWeights (std::vector< float > weights) |
Overload of SetRadialWeights to use a vector. More... | |
void | ScheduleLocalization (void *data, int pitch, QTRK_PixelDataType pdt, const LocalizationJob *jobInfo) override |
Add a job to the queue to be processed. A job entails running the required algorithms on a single region of interest. More... | |
void | EnableRadialZLUTCompareProfile (bool enabled) |
Set a flag to enable saving of error curves. More... | |
void | GetRadialZLUTCompareProfile (float *dst) |
Get saved error curve. More... | |
void | ZLUTSelfTest () |
Test the planes saved in the lookup table against itself. More... | |
void | BeginLUT (uint flags) |
Setup to begin building a lookup table. More... | |
void | BuildLUT (void *data, int pitch, QTRK_PixelDataType pdt, int plane, vector2f *known_pos=0) override |
Add a new lookup table plane. More... | |
void | FinalizeLUT () override |
Finalize the lookup tables in memory. More... | |
void | GetImageZLUTSize (int *dims) |
Get the dimensions of the image lookup table data. More... | |
void | GetImageZLUT (float *dst) |
Get the image lookup tables used. More... | |
bool | SetImageZLUT (float *dst, float *radial_zlut, int *dims) |
Set the image lookup tables to be used for z tracking. More... | |
void | SetPixelCalibrationImages (float *offset, float *gain) override |
Set the pixel calibration images. More... | |
void | SetPixelCalibrationFactors (float offsetFactor, float gainFactor) override |
Set the pixel calibration factors. More... | |
int | GetQueueLength (int *maxQueueLength=0) override |
Get the lengths of the queue of jobs to be handled. More... | |
int | FetchResults (LocalizationResult *dstResult, int maxResults) override |
Fetch available results. More... | |
void | ClearResults () override |
Clear results. More... | |
void | Flush () override |
Stop waiting for more jobs to do, and just process the current batch. More... | |
bool | IsIdle () override |
Test to see if the tracker is idle. More... | |
int | GetResultCount () override |
Get the number of finished localization jobs (=results) available in memory. More... | |
bool | GetDebugImage (int id, int *w, int *h, float **data) |
Get the debug image of a tracker. More... | |
ConfigValueMap | GetConfigValues () override |
Get the used additional configurations. More... | |
void | SetConfigValue (std::string name, std::string value) override |
Set an additional setting. More... | |
std::string | GetProfileReport () |
Get the output of performance profiling. More... | |
float * | GetZLUTByIndex (int index) |
Get a pointer to the starting pixel of the specified LUT. More... | |
![]() | |
QueuedTracker () | |
virtual | ~QueuedTracker () |
void | ScheduleImageData (ImageData *data, const LocalizationJob *jobInfo) |
Quick function to schedule a single ROI from an ImageData object. More... | |
virtual int | ScheduleFrame (void *imgptr, int pitch, int width, int height, ROIPosition *positions, int numROI, QTRK_PixelDataType pdt, const LocalizationJob *jobInfo) |
Schedule an entire frame at once, allowing for further optimizations. More... | |
virtual std::string | GetWarnings () |
Get a report of encountered errors. More... | |
ImageData | DebugImage (int ID) |
Get the debug image as an ImageData object. More... | |
void | ScheduleLocalization (uchar *data, int pitch, QTRK_PixelDataType pdt, uint frame, uint timestamp, vector3f *initial, uint zlutIndex) |
Add an image to the queue to be processed. Creates a job. More... | |
void | ComputeZBiasCorrection (int bias_planes, CImageData *result, int smpPerPixel, bool useSplineInterp) |
float | ZLUTBiasCorrection (float z, int zlut_planes, int bead) |
void | SetZLUTBiasCorrection (const CImageData &data) |
CImageData * | GetZLUTBiasCorrection () |
Private Member Functions | |
void | UpdateZLUTs () |
Update the ZLUTs for all threads. More... | |
int | ImageLUTNumBeads () |
Return the number of beads in the image LUT. More... | |
int | ImageLUTWidth () |
Return the height of the image LUT. More... | |
int | ImageLUTHeight () |
Return the width of the image LUT. More... | |
float * | GetImageLUTByIndex (int index, int plane=0) |
Get a specific image LUT or plane from an image LUT. More... | |
void | JobFinished (Job *j) |
Flag job memory for reuse. More... | |
Job * | GetNextJob () |
Get the next job in the queue. More... | |
Job * | AllocateJob () |
Allocate job memory. More... | |
void | AddJob (Job *j) |
Add a job to the queue. More... | |
void | ProcessJob (Thread *th, Job *j) |
Process a job. More... | |
void | SetTrackerImage (CPUTracker *trk, Job *job) |
Copy the ROI to the tracker's memory. More... | |
void | ApplyOffsetGain (CPUTracker *trk, int beadIndex) |
Calibrate an image. More... | |
Static Private Member Functions | |
static void | WorkerThreadMain (void *arg) |
The loop executed by the threads. More... | |
Private Attributes | |
LocMode_t | localizeMode |
Localization settings. More... | |
Threads::Mutex | jobs_mutex |
Mutex for the job queue. More... | |
Threads::Mutex | jobs_buffer_mutex |
Mutex for the job buffer. More... | |
Threads::Mutex | results_mutex |
Mutex for the results. More... | |
std::deque< Job * > | jobs |
Queue to hold the jobs. More... | |
int | jobCount |
Number of jobs in the queue. More... | |
std::vector< Job * > | jobs_buffer |
Stores memory. Enables reuse of allocated Job memory after a job has been completed. More... | |
std::deque< LocalizationResult > | results |
Queue to store the localization results. More... | |
int | resultCount |
Number of results available. More... | |
int | maxQueueSize |
Maximum number of jobs in the queue. More... | |
int | jobsInProgress |
Number of jobs currently being processed. More... | |
Threads::Mutex | gc_mutex |
Image calibration mutex. More... | |
float * | calib_gain |
Vector with gains used for pixel correction. More... | |
float * | calib_offset |
Vector with offsets used for pixel correction. More... | |
float | gc_gainFactor |
Factor by which to scale the gain. More... | |
float | gc_offsetFactor |
Factor by which to scale the pixel calibration offset. More... | |
int | downsampleWidth |
Width of ROIs after downsampling. More... | |
int | downsampleHeight |
Height of ROIs after downsampling. More... | |
std::vector< Thread > | threads |
Vector with active threads. More... | |
float * | zluts |
Pointer to the first pixel of the Z lookup tables. More... | |
float * | zlut_cmpprofiles |
Array in which to save errorcurves if enabled with EnableRadialZLUTCompareProfile. More... | |
bool | zlut_enablecmpprof |
Flag to save errorcurves. See EnableRadialZLUTCompareProfile. More... | |
int | zlut_count |
Number of ZLUTs (= number of beads). More... | |
int | zlut_planes |
Number of planes per ZLUT. More... | |
uint | zlut_buildflags |
ZLUT build flags, set through BeginLUT. More... | |
std::vector< float > | zcmp |
Scaling factors for the ZLUT algorithm. More... | |
std::vector< float > | qi_radialbinweights |
Scaling factors for the QI algorithm. More... | |
int | image_lut_dims [4] |
Image LUT dimensions, 4D. [numBeads][numPlanes][height][width]. More... | |
int | image_lut_nElem_per_bead |
Image LUT number of pixels in LUT per bead. Is Width * Height * Planes. More... | |
float * | image_lut |
Image LUT data pointer. More... | |
float * | image_lut_dz |
Image LUT first derivative. (???) More... | |
float * | image_lut_dz2 |
Image LUT second derivative. (???) More... | |
bool | quitWork |
Signal threads to stop their work. More... | |
bool | processJobs |
Flag for threads to continue processing jobs. More... | |
bool | dbgPrintResults |
Flag to enable easy printing of intermediate data. More... | |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, std::string > | ConfigValueMap |
Datastructure used to return additional settings in a string-string key-value pair mapping. More... | |
![]() | |
QTrkComputedConfig | cfg |
The settings used by this instance of QueuedTracker. More... | |
![]() | |
CImageData * | zlut_bias_correction |
CPU implementation of the QueuedTracker interface.
Creates and maintains multiple threads (one per available core by default) and schedules localizations over them. Each thread has its own CPUTracker instance which provides the actual calculations.
Definition at line 16 of file QueuedCPUTracker.h.
QueuedCPUTracker::QueuedCPUTracker | ( | const QTrkComputedConfig & | cc | ) |
Create a QueuedCPUTracker instance with specified configuration.
[in] | cc | Computed config to use. |
Copy the configuration.
If QTrkComputedConfig::numThreads is not specified (<0), select one thread per CPU.
Queue length is 250 per thread, min 500.
Calculate the radial profile weights from the amount of steps.
Initialize to only COM localizations.
Invoke the Start function.
Definition at line 96 of file QueuedCPUTracker.cpp.
QueuedCPUTracker::~QueuedCPUTracker | ( | ) |
Delete the instance and free related memory.
Definition at line 148 of file QueuedCPUTracker.cpp.
|
private |
Add a job to the queue.
[in] | j | The job to add. |
Definition at line 75 of file QueuedCPUTracker.cpp.
|
private |
Allocate job memory.
Tries to re-use memory of finished jobs before allocating new memory.
Definition at line 62 of file QueuedCPUTracker.cpp.
|
private |
Calibrate an image.
Calibrates the image set on a tracker through SetTrackerImage.
[in] | trk | The tracker whose image to calibrate. |
[in] | beadIndex | The bead this image belongs to. |
Definition at line 265 of file QueuedCPUTracker.cpp.
|
virtual |
Setup to begin building a lookup table.
Sets the flags by which the lookup table is built. Flags are defined in a uint bitmask format as:
Name | Value | Description |
---|---|---|
0 | Default, no special flags. | |
BUILDLUT_IMAGELUT | 1 (2^0) | Build an image LUT. An image LUT seems to be a work in progress to save ROIs rather than profiles in the LUT. |
BUILDLUT_FOURIER | 2 (2^1) | Build a fourier LUT. |
BUILDLUT_NORMALIZE | 4 (2^2) | Normalize radial profiles. Irrelevant, since FinalizeLUT always normalizes. |
BUILDLUT_BIASCORRECT | 8 (2^3) | Enable bias correction. Currently only partly implemented, don't use. |
[in] | flags | UINT interpreted as a series of bits to set settings. |
Implements QueuedTracker.
Definition at line 584 of file QueuedCPUTracker.cpp.
void QueuedCPUTracker::Break | ( | bool | pause | ) |
Enable or disable handling of jobs.
[in] | pause | True stops new jobs from being started. |
Definition at line 214 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Add a new lookup table plane.
Takes a stack of ROI images through data
. Determines and adds the profile for each ROI to its respective LUT.
[in] | data | Pointer to the start of an image stack. |
[in] | pitch | Width of the data in memory so offsets can be calculated. |
[in] | pdt | Pixel data type for the data. See QTRK_PixelDataType. |
[in] | plane | The plane number the ROIs are taken for. |
[in] | known_pos | Center position from which to start making the radial profile. A standard QI localization with applied settings is performed if 0 (default). |
Implements QueuedTracker.
Definition at line 589 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Clear results.
Implements QueuedTracker.
Definition at line 29 of file QueuedCPUTracker.cpp.
|
virtual |
Set a flag to enable saving of error curves.
Errors obtained by comparing a radial profile to a ZLUT will be kept in memory rather than destroyed. Only saves for one localization. Error curve can be retreived by GetRadialZLUTCompareProfile.
[in] | enabled | Flag (boolean) to save error curves. Default is false. |
Implements QueuedTracker.
Definition at line 544 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Fetch available results.
[in] | results | Array of pre-allocated LocalizationResult to which to add the results. |
[in] | maxResults | Maximum number of results to fetch. Corresponds to maximum size of dstResult . |
Implements QueuedTracker.
Definition at line 473 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Finalize the lookup tables in memory.
Normalizes the profiles for radial lookup tables and calculates derivates and adds boundary conditions for image LUTs.
Implements QueuedTracker.
Definition at line 656 of file QueuedCPUTracker.cpp.
|
inlineoverridevirtual |
Stop waiting for more jobs to do, and just process the current batch.
Implements QueuedTracker.
Definition at line 94 of file QueuedCPUTracker.h.
void QueuedCPUTracker::GenerateTestImage | ( | float * | dst, |
float | xp, | ||
float | yp, | ||
float | size, | ||
float | SNratio | ||
) |
Generate a test image based on a the point spread function.
Creates an ImageData object and calls GenerateTestImage. Automatically uses ROI size from QtrkComputedConfig::width and QtrkComputedConfig::height.
[out] | dst | Pre-allocated float array in which to save the image. |
[in] | xp | X coordinate of the PSF center. |
[in] | yp | Y coordinate of the PSF center. |
[in] | size | Spread of the PSF. Can't be zero. Higher size increases radius of created diffraction pattern. |
[in] | SNratio | Signal to noise ratio. |
Definition at line 486 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Get the used additional configurations.
Implements QueuedTracker.
Definition at line 510 of file QueuedCPUTracker.cpp.
|
virtual |
Get the debug image of a tracker.
[in] | id | ID of the tracker (= threadID). |
[out] | w | Reference to an int in which the image width will be stored. |
[out] | h | Reference to an int in which the image height will be stored. |
[out] | data | Pointer to a float array that will be filled with the image. |
Reimplemented from QueuedTracker.
Definition at line 492 of file QueuedCPUTracker.cpp.
|
inlineprivate |
Get a specific image LUT or plane from an image LUT.
[in] | index | The beadindex of the requested LUT. |
[in] | plane | Index of the requested plane. 0 by default. |
Definition at line 210 of file QueuedCPUTracker.h.
|
virtual |
Get the image lookup tables used.
[out] | dst | Pointer to the pre-allocated memory in which to save the data. |
Reimplemented from QueuedTracker.
Definition at line 537 of file QueuedCPUTracker.cpp.
|
virtual |
Get the dimensions of the image lookup table data.
[out] | dims | Reference to pre-allocated int array. Returns [ count, planes, height, width ]. |
Reimplemented from QueuedTracker.
Definition at line 530 of file QueuedCPUTracker.cpp.
|
private |
Get the next job in the queue.
Definition at line 48 of file QueuedCPUTracker.cpp.
|
inlinevirtual |
Get the output of performance profiling.
Reimplemented from QueuedTracker.
Definition at line 113 of file QueuedCPUTracker.h.
|
overridevirtual |
Get the lengths of the queue of jobs to be handled.
[out] | maxQueueLen | Pre-allocated integer that returns the maximum size of the queue if nonzero. |
Implements QueuedTracker.
Definition at line 83 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Get the radial lookup tables used for z tracking.
[out] | dst | Pointer to the pre-allocated memory in which to save the data. |
Implements QueuedTracker.
Definition at line 440 of file QueuedCPUTracker.cpp.
|
virtual |
Get saved error curve.
See EnableRadialZLUTCompareProfile.
[in] | dst | Pointer to the pre-allocated memory in which to save the error curve. Size is count * planes . |
Implements QueuedTracker.
Definition at line 550 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Get the dimensions of the radial lookup table data.
[out] | count | Reference to pre-allocated int. Returns number of lookup tables. |
[out] | planes | Reference to pre-allocated int. Returns number of planes per lookup table. |
[out] | radialsteps | Reference to pre-allocated int. Returns number of steps per plane. |
Implements QueuedTracker.
Definition at line 433 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Get the number of finished localization jobs (=results) available in memory.
Implements QueuedTracker.
Definition at line 21 of file QueuedCPUTracker.cpp.
|
inline |
Get a pointer to the starting pixel of the specified LUT.
LUTs are saved in one large contiguous memory region. This function returns a reference to a specific LUT.
[in] | index | Index of the requested LUT. |
Definition at line 123 of file QueuedCPUTracker.h.
|
inlineprivate |
Return the width of the image LUT.
Definition at line 198 of file QueuedCPUTracker.h.
|
inlineprivate |
Return the number of beads in the image LUT.
Definition at line 196 of file QueuedCPUTracker.h.
|
inlineprivate |
Return the height of the image LUT.
Definition at line 197 of file QueuedCPUTracker.h.
|
overridevirtual |
Test to see if the tracker is idle.
That is, GetQueueLength == 0.
Implements QueuedTracker.
Definition at line 16 of file QueuedCPUTracker.cpp.
|
private |
Flag job memory for reuse.
See jobs_buffer.
[in] | j | The job to free. |
Definition at line 37 of file QueuedCPUTracker.cpp.
|
inline |
Get the used number of threads.
Definition at line 54 of file QueuedCPUTracker.h.
|
private |
Process a job.
[in] | th | The thread on which to execute. |
[in] | j | The job to execute. |
Choose the CPUTracker instance based on the specified thread.
Set the tracker's image memory.
Calibrate the images if needed.
Always compute the COM.
Compute 1DXCor, QI or 2DGaussian based on settings.
Compute Z profile and Z position if Z localization is requested.
Add the results to the available results.
Definition at line 280 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Add a job to the queue to be processed. A job entails running the required algorithms on a single region of interest.
If a localization can not be added to the queue because it is full, the thread will be put to sleep and periodically try again.
[in] | data | Pointer to the data. Type specified by pdt . |
[in] | pitch | Distance in bytes between two successive rows of pixels (e.g. address of (0,0) - address of (0,1)). |
[in] | pdt | Type of data , specified by QTRK_PixelDataType. |
[in] | jobInfo | Structure with metadata for the ROI to be handled. See LocalizationJob. |
Implements QueuedTracker.
Definition at line 450 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Set an additional setting.
[in] | name | Name of the setting. |
[in] | value | Value of the setting. |
Implements QueuedTracker.
Definition at line 518 of file QueuedCPUTracker.cpp.
|
virtual |
Set the image lookup tables to be used for z tracking.
[in] | src | Pointer to the data for the image LUT. |
[in] | radial_zlut | Pointer to the data for the radial LUT. |
[in] | dims | Array of dimension sizes for the image LUT. See GetImageZLUTSize. |
Reimplemented from QueuedTracker.
Definition at line 558 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Select which algorithm is to be used.
[in] | locType | An integer used as a bitmask for settings based on LocalizeModeEnum. |
Implements QueuedTracker.
Definition at line 524 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Set the pixel calibration factors.
The factors can be used to increase or decrease the effects of the images supplied through SetPixelCalibrationImages for further finetuning. These only have an effect when an image is actually set through that function.
[in] | offsetFactor | Factor by which to scale the offset values. |
[in] | gainFactor | Factor by which to scale the gain values. |
Implements QueuedTracker.
Definition at line 205 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Set the pixel calibration images.
These images are used to scale the input image to get rid of background influences in the image. The values are per-pixel-per-ROI. Result = gain*(pixel+offset).
[in] | offset | Array with the offset values to use per pixel. Size and order is [width*height*numbeads]. |
[in] | gain | Array with gain values to use per pixel. Size and order is [width*height*numbeads]. |
Implements QueuedTracker.
Definition at line 172 of file QueuedCPUTracker.cpp.
|
overridevirtual |
Set radial weights used for comparing LUT profiles.
[in] | zcmp | Array of radial weights to use. zcmp has to have zlut_radialsteps elements. |
Implements QueuedTracker.
Definition at line 409 of file QueuedCPUTracker.cpp.
|
inline |
Overload of SetRadialWeights to use a vector.
[in] | weights | Float vector with the radial weights. |
Definition at line 67 of file QueuedCPUTracker.h.
|
overridevirtual |
Set the radial lookup tables to be used for z tracking.
Data
can be zero to allocate ZLUT data. LUTs should have been created before by BuildLUT, but not necessarily by the current instance as long as setting match.
[in] | data | Pointer to the start of the ZLUT data. |
[in] | count | Number of ZLUTs in the dataset. |
[in] | planes | Number of planes per ZLUT. |
Implements QueuedTracker.
Definition at line 380 of file QueuedCPUTracker.cpp.
|
private |
Copy the ROI to the tracker's memory.
[in] | trk | The tracker for which to set the image. |
[in] | job | The job this tracker will execute. Image data is taken from the job. |
Definition at line 736 of file QueuedCPUTracker.cpp.
void QueuedCPUTracker::Start | ( | ) |
Start up the threads and initiate their worker function.
Definition at line 220 of file QueuedCPUTracker.cpp.
|
private |
Update the ZLUTs for all threads.
Definition at line 424 of file QueuedCPUTracker.cpp.
|
staticprivate |
The loop executed by the threads.
Will start execution of a new job whenever available and allowed.
[in] | arg | Reference to the QueuedCPUTracker::Thread that will execute this loop. |
Definition at line 245 of file QueuedCPUTracker.cpp.
void QueuedCPUTracker::ZLUTSelfTest | ( | ) |
Test the planes saved in the lookup table against itself.
Implemented for testing purposes. Writes the output to a CSV file. Can be used to inspect ZLUT quality.
Definition at line 707 of file QueuedCPUTracker.cpp.
|
private |
Vector with gains used for pixel correction.
Definition at line 166 of file QueuedCPUTracker.h.
|
private |
Vector with offsets used for pixel correction.
Definition at line 167 of file QueuedCPUTracker.h.
|
private |
Flag to enable easy printing of intermediate data.
Definition at line 216 of file QueuedCPUTracker.h.
|
private |
Height of ROIs after downsampling.
Definition at line 172 of file QueuedCPUTracker.h.
|
private |
Width of ROIs after downsampling.
Definition at line 171 of file QueuedCPUTracker.h.
|
private |
Factor by which to scale the gain.
Definition at line 168 of file QueuedCPUTracker.h.
|
private |
Image calibration mutex.
Definition at line 165 of file QueuedCPUTracker.h.
|
private |
Factor by which to scale the pixel calibration offset.
Definition at line 169 of file QueuedCPUTracker.h.
|
private |
Image LUT data pointer.
Definition at line 199 of file QueuedCPUTracker.h.
|
private |
Image LUT dimensions, 4D. [numBeads][numPlanes][height][width].
Definition at line 194 of file QueuedCPUTracker.h.
|
private |
Image LUT first derivative. (???)
Definition at line 200 of file QueuedCPUTracker.h.
|
private |
Image LUT second derivative. (???)
Definition at line 201 of file QueuedCPUTracker.h.
|
private |
Image LUT number of pixels in LUT per bead. Is Width * Height * Planes.
Definition at line 195 of file QueuedCPUTracker.h.
|
private |
Number of jobs in the queue.
Definition at line 158 of file QueuedCPUTracker.h.
|
private |
Queue to hold the jobs.
Definition at line 152 of file QueuedCPUTracker.h.
|
private |
Stores memory. Enables reuse of allocated Job memory after a job has been completed.
Definition at line 159 of file QueuedCPUTracker.h.
|
private |
Mutex for the job buffer.
Definition at line 150 of file QueuedCPUTracker.h.
|
private |
Mutex for the job queue.
Definition at line 149 of file QueuedCPUTracker.h.
|
private |
Number of jobs currently being processed.
Definition at line 163 of file QueuedCPUTracker.h.
|
private |
Localization settings.
Definition at line 148 of file QueuedCPUTracker.h.
|
private |
Maximum number of jobs in the queue.
Definition at line 162 of file QueuedCPUTracker.h.
|
private |
Flag for threads to continue processing jobs.
Definition at line 215 of file QueuedCPUTracker.h.
|
private |
Scaling factors for the QI algorithm.
Definition at line 190 of file QueuedCPUTracker.h.
|
private |
Signal threads to stop their work.
Definition at line 214 of file QueuedCPUTracker.h.
|
private |
Number of results available.
Definition at line 161 of file QueuedCPUTracker.h.
|
private |
Queue to store the localization results.
Definition at line 160 of file QueuedCPUTracker.h.
|
private |
Mutex for the results.
Definition at line 151 of file QueuedCPUTracker.h.
|
private |
Vector with active threads.
Definition at line 174 of file QueuedCPUTracker.h.
|
private |
Scaling factors for the ZLUT algorithm.
Definition at line 189 of file QueuedCPUTracker.h.
|
private |
ZLUT build flags, set through BeginLUT.
Definition at line 187 of file QueuedCPUTracker.h.
|
private |
Array in which to save errorcurves if enabled with EnableRadialZLUTCompareProfile.
Definition at line 183 of file QueuedCPUTracker.h.
|
private |
Number of ZLUTs (= number of beads).
Definition at line 185 of file QueuedCPUTracker.h.
|
private |
Flag to save errorcurves. See EnableRadialZLUTCompareProfile.
Definition at line 184 of file QueuedCPUTracker.h.
|
private |
Number of planes per ZLUT.
Definition at line 186 of file QueuedCPUTracker.h.
|
private |
Pointer to the first pixel of the Z lookup tables.
All LUTs are saved in one big contiguous section of memory. Calculate specific LUTs or planes based on their indexes. Order is [beadIndex][plane][step]. See GetZLUTByIndex.
Definition at line 182 of file QueuedCPUTracker.h.