Texture

From Eigenvector Research Documentation Wiki
Revision as of 16:03, 29 September 2009 by imported>Scott (New page: ===Purpose=== Run texture analysis on an image or group of images. ===Synopsis=== :[y,varargout]= texture(img, method, options, varargin) ===Description=== TEXTURE will perform an analy...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Run texture analysis on an image or group of images.

Synopsis

[y,varargout]= texture(img, method, options, varargin)

Description

TEXTURE will perform an analysis on any 2 dimensional (m x n pixels) % layer of an image or group of images. It loops through input 'img' where % mode 3 is considered the variables (slabs of an image) mode and mode 4 % is considered the images mode. Any additional inputs to the chosen % 'method' must be added after the options input. Outputs are 'y' a dataset % with each row corresponding to an image and varargout containing any % secondary output from the selected method. % % Outputs for a 'method' must be designated by the user with % options.numout. Outputs will be appended together forming one row vector % per image. E.G. for 'anglemt' if options.numout = [2 1] then the y{2} % and y{1} outputs of 'anglemt' will be concatenated to form the row. Only % the first output of a function is used. If there is a second output of a % function it is assigned to varargout. % % Aggregation can be performed across variables (slabs/layers) and % or across images. For example, setting options.varmode = 'sum' will sum % the layer of an image into one layer.

Inputs

  • first = first input is this.

Optional Inputs

  • second = optional second input is this.

Outputs

  • firstout = first output is this.

Options

options = a structure array with the following fields:

  • plots: [ {'none'} | 'final' ] governs plotting of results, and
  • order: positive integer for polynomial order {default = 1}.

Example

>>This is an example
Error: does not exist

See Also

baselinew, deresolv