LabKit MATLAB Workbench

reference

API ReferenceThermal Images

labkit.thermal.fileDialogFilter

Create a file-selection filter for thermal images.

Syntax

filterSpec = labkit.thermal.fileDialogFilter() filterSpec = labkit.thermal.fileDialogFilter("IncludeAll", true)

Description

Returns the pattern and description rows used by MATLAB file-selection dialogs and LabKit file panels. The thermal row includes .jpg, .jpeg, and .rjpg files. A matching extension does not prove that a JPEG contains radiometric data; use labkit.thermal.inspectFile to inspect its contents.

Name-Value Arguments

IncludeAll
Logical or numeric scalar. When true, adds an "All files" row after the thermal-image row. Default: false.

Outputs

filterSpec
One- or two-row cell array. Column 1 contains wildcard patterns and column 2 contains the text shown in the file dialog.

Errors

MATLAB inputParser errors are raised for an unknown name, a missing name-value partner, or an IncludeAll value that is not a logical or numeric scalar.

Example

filters = labkit.thermal.fileDialogFilter("IncludeAll", true);
assert(isequal(size(filters), [2 2]))

Source

This page is generated from the MATLAB help text in +labkit/+thermal/fileDialogFilter.m.