Dlp Spectrum Library Decode Scan Results Workflow; Dlp Spectrum Library Compute Reference Workflow; Dlp Spectrum Library Compute And Display Reflectance Workflow - Texas Instruments DLP NIRscan User Manual

Table of Contents

Advertisement

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.
white input box denotes USB scan data, while the blue input box denotes Bluetooth scan data.
Scan Data
Buffer Size
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.
The white input box denotes USB reference data, while the blue input box denotes Bluetooth reference
calibration data.
Scan Results struct
(sample scan)
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.
scanResults struct
(reference)
Intensity
Intensity
scanResults struct
(sample scan)
Figure 5-5. DLP Spectrum Library Compute and Display Reflectance Workflow
38
DLP NIRscan Nano Software
Figure 5-3
Allocate scanResults
struct pointer
dlpspec_scan_interpret()
Figure 5-4
Allocate scanResults
struct pointer
dlpspec_scan_interpReference()
Figure 5-5
shows the typical workflow to compute the reflectance.
client specific.
Reflectance = sample / reference
Copyright © 2015, Texas Instruments Incorporated
shows the typical workflow to decode scan data. The
scanResults struct
(sample scan)
shows the typical workflow to compute the reference.
Reflectance
Wavelength
DLPU030B – June 2015 – Revised July 2015
www.ti.com
Access properties directly, could
display raw intensity if desired
scanResults struct
(reference)
Plot Reflectance
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents