
scanResults struct
(reference)
scanResults struct
(sample scan)
client specific.
Reflectance = sample / reference
Reflectance
Plot Reflectance
Wavelength
Intensity
Intensity
Scan Results struct
(sample scan)
Reference
Calibration Data
dlpspec_scan_interpReference()
scanResults struct
(reference)
Allocate scanResults
struct pointer
Scan Data
Allocate scanResults
struct pointer
dlpspec_scan_interpret()
scanResults struct
(sample scan)
Access properties directly, could
display raw intensity if desired
Scan Data
Buffer Size
Overview
5.1.7.2
Decode Scan Workflow
The DLP Spectrum Library routine to interpret scan data is
dlp_scan_interpret()
. This routine takes as
input the serialized scan data transferred through USB or Bluetooth and deserializes and extracts the
intensities of each wavelength in a scan.
shows the typical workflow to decode scan data. The
white input box denotes USB scan data, while the blue input box denotes Bluetooth scan data.
Figure 5-3. DLP Spectrum Library Decode Scan Results Workflow
5.1.7.3
Compute Reference Workflow
The DLP Spectrum Library routine to compute reference is
dlp_scan_interpReference()
. This routine
takes as input the serialized reference calibration data stored on the DLP NIRscan Nano and transmitted
through Bluetooth or the stored reference on the PC transmitted through USB and computes the reference
intensities for each wavelength in a scan.
shows the typical workflow to compute the reference.
The white input box denotes USB reference data, while the blue input box denotes Bluetooth reference
calibration data.
Figure 5-4. DLP Spectrum Library Compute Reference Workflow
5.1.7.4
Compute and Display Reflectance Workflow
The DLP Spectrum Library computes the reflectance of a scan based on the scan intensities divided by
the reference scan.
shows the typical workflow to compute the reflectance.
Figure 5-5. DLP Spectrum Library Compute and Display Reflectance Workflow
38
DLP NIRscan Nano Software
DLPU030B – June 2015 – Revised July 2015
Copyright © 2015, Texas Instruments Incorporated