reference
labkit.image.fileDialogFilter
Return a file-chooser-compatible image filter.
Syntax
filterSpec = labkit.image.fileDialogFilter()
filterSpec = labkit.image.fileDialogFilter("IncludeAll", true)Description
Builds the two-column filter specification used by MATLAB file-selection dialogs and LabKit file panels. The first row contains every extension returned by labkit.image.supportedExtensions. By default, files outside that set are hidden from the chooser.
Inputs
None.
Name-Value Arguments
IncludeAll- Logical scalar. true appends an "All files (*.*)" row after the image filter. The default is false. Numeric scalars are converted to logical values.
Outputs
filterSpec- One- or two-row cell array. Column 1 contains wildcard patterns and column 2 contains user-visible descriptions.
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
filterSpec = labkit.image.fileDialogFilter("IncludeAll", true);Related APIs
labkit.image.supportedExtensions— Return extensions supported by LabKit image file inputs.labkit.image.isSupportedPath— Return true when a path has a supported image extension.labkit.image.adjustBrightnessContrast— Apply simple brightness and contrast adjustment.labkit.image.adjustHueSaturation— Apply HSV hue and saturation adjustment.labkit.image.assertSupportedPaths— Throw when any path has an unsupported image extension.labkit.image.displayName— Return a short image-file display name.labkit.image.ensureRgb— Return image data with exactly three color channels.labkit.image.grayWorldWhiteBalance— Apply generic gray-world white balance.
Source
This page is generated from the MATLAB help text in +labkit/+image/fileDialogFilter.m.