---
description: This page describes  how to analyze the scan data in the Scan tab of MCC.
---

# Analyzing Scans in MCC

The [MCC User Manual](https://mapir.gitbook.io/mapir-camera-control-mcc/interface-tabs/scan-tab) is the best place to read about how to view and process DAQ-M measurements.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FHBoq6bTX5iffrF86PQQL%2FRecording%20%2378.gif?alt=media&#x26;token=0950389e-0019-4adb-9d35-542d28537c49" alt="" width="563"><figcaption></figcaption></figure>

Here is a quick example workflow:

## Opening Measurement Data

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2F1p7qvE3rPGsAKVbhy0Au%2Fimage.png?alt=media&#x26;token=69b9c0f5-ca44-44b0-9670-ffae90c075b1" alt=""><figcaption></figcaption></figure>

Select an input folder containing csv files from the DAQ-M. You can provide any number of csv files, either unedited irradiance (raw) or processed measurements containing irradiance + reflectance data.&#x20;

When the data is finished loading the first measurement is displayed on the graph.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FOQ8NKFBY3nLtEIJkmo6S%2Fimage.png?alt=media&#x26;token=b2818736-7bd0-4f33-b011-f16cae40d777" alt="" width="563"><figcaption></figcaption></figure>

Click the Layers stacked button to open the Scan Graph Layers window. You can enter in a graph title, add/remove layers, edit layer types, select measurements and adjust each layer's configuration.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FZ07l73x8Yr9Bw76WdsUv%2Fimage.png?alt=media&#x26;token=fd9c8fb5-0ceb-4768-9dfe-c7e3c1d57e70" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FT93f9Szz8jAbi9gSPrme%2FRecording%20%2378.gif?alt=media&#x26;token=7f8e90a7-37ee-4a72-8a9c-566344daaaba" alt="" width="563"><figcaption></figcaption></figure>

The lower region of the window shows the current layers that exist, each represented by a row of buttons and drop-down options.

For each layer, the Layer Configuration window allows you to select a custom plotted line color.&#x20;

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2Fy5rzZ5lKPtDDK2A0Fl2Y%2Fimage.png?alt=media&#x26;token=37004a96-309e-422b-af78-7012aae6cbb8" alt="" width="375"><figcaption></figcaption></figure>

The light bulb is a button to turn on an off the application of converting the irradiance scan data to percent reflectance. Turn it on (green) to convert your irradiance measurements to reflectance.

When looking to build a library of reflectance signatures for object identification you need to scan a reference target, in this case a target which has known percent reflectance. MAPIR's white [reflectance calibration targets](https://www.mapir.camera/collections/multispectral-reflectance-reference-calibration-targets) support this calibration for DAQ-M measurements in MCC.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FgOkME0KGEbPtv64RQPXj%2Fdaq-m_measuring_ref_w.jpg?alt=media&#x26;token=b0c0b649-ee4e-4d63-b560-fa6d6d2056ee" alt="" width="375"><figcaption></figcaption></figure>

The first drop-down in the Layer Configuration Window allows you to select the reflectance target you used. The second drop-down allows you to select the name of the scan for the target reference you want to use for this irradiance to reflectance conversion.

On the main graph window, toggle the Reflectance Mode light bulb button from grey (disabled) to green (reflectance on, enabled) to red (reflectance off, disabled). When reflectance mode is off, the default irradiance mode is enabled.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2F0Pg6S5GmPRRnv8SzVhID%2FRecording%20%2377.gif?alt=media&#x26;token=a011bcb3-b0e9-4be3-bc9d-ad225e5db385" alt="" width="563"><figcaption></figcaption></figure>

Once data is plotted on the graph you can zoom in and out and the graph axis and the view will adjust accordingly. Once zoomed in you can use the left/right arrows to shift the graph from side to side.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FV7HGSDFmYZ7bhSPHZdk6%2FRecording%20%2376.gif?alt=media&#x26;token=e4811e52-9281-4245-a72c-57cb11f57c27" alt="" width="563"><figcaption></figcaption></figure>

The line marker button places dots on every plotted scan line. The dots are located within each of the Survey3 filter transmission bands, where the camera sensor is sensitive to light. Each dot represents the weighted average peak of the filter's transmission of light in that region of the spectrum. These marker locations more closely represent the average pixel intensity (irradiance/reflectance) of each image channel.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2Fdr8UJrRdBXsLZuamzCwJ%2FRecording%20%2375.gif?alt=media&#x26;token=fbefc05b-ccbe-4afa-8e6c-266f493c3623" alt="" width="563"><figcaption></figcaption></figure>

When the main graph's [reflectance mode](#reflectance-mode) is on, any visible measurement that has its own reflectance applied will also show up in the Scan Index table.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FmQQfAdvBLbX1nHxnJCKQ%2FRecording%20%2379.gif?alt=media&#x26;token=1d829bed-4f73-403f-ac06-46328cbcb81a" alt="" width="563"><figcaption></figcaption></figure>

The Index Table processes each measurement scan at the weighted average locations shown by the [line markers](#line-markers). The marker data points are used in [24 index formulas](https://mapir.gitbook.io/mapir-camera-control-mcc/multispectral-index-formulas) and the computed values are shown in the table.&#x20;

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FRK5JIAUxYhdmF8eS10yg%2Fimage.png?alt=media&#x26;token=8ed43387-2909-48ac-9609-917f6b53d583" alt=""><figcaption></figcaption></figure>

The "\_1" and "\_2" in the index formula names reference the NIR1 and NIR2 camera filters, meaning those NIR channels were used in that formula. "\_1" for NIR1 and "\_2" for NIR2.

### The computed index values should closely match the results you would obtain when using a [Survey3 multispectral camera](https://www.mapir.camera/pages/survey3-cameras) for reflectance measurements.

Before saving your displayed data check that you have added a descriptive title to the graph.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2F8lAyniGbiPVsOiRH4C1M%2Fimage.png?alt=media&#x26;token=655675df-d723-44b2-8044-9c8076d431c8" alt="" width="563"><figcaption></figcaption></figure>

All visible data will be exported when the save button is pressed. If a layer has reflectance turned on then the exported data will include the reflectance data. The reflectance data will also be used to produce new values in the exports. The current graph plot and index table will also be saved. All files are named based on the graph title entered.

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2F3pyuyADaoU2eJjVvwaYf%2Fimage.png?alt=media&#x26;token=a0d3ad37-acb5-4d67-84c4-14451fc63ada" alt=""><figcaption></figcaption></figure>

### Exported Saved Scan Data CSV:

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FL3GEyjS9KLlN2XVTnsIR%2Fimage.png?alt=media&#x26;token=3e5f147b-880a-42cc-9a2b-7861a20616d4" alt=""><figcaption></figcaption></figure>

### Exported Saved Scan Graph PNG:

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2FkpxY1fZKNJOCdnNoEMpJ%2FPlant_Comparison_May_2025_saved_scan_graph.png?alt=media&#x26;token=e7b03c48-9abf-414a-a6cd-4bc40c0b7442" alt=""><figcaption></figcaption></figure>

### Exported Scan Index Table CSV:

<figure><img src="https://385441496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkhnbM2shh9Z3FNqxObzO%2Fuploads%2F4EHm37qAhL03nT4tgjfs%2Fimage.png?alt=media&#x26;token=fed51fc6-7533-4d74-9b3b-1d445bd809c6" alt=""><figcaption></figcaption></figure>
