📄 datastructures.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head> <title>Description of dataStructures</title> <meta name="keywords" content="dataStructures"> <meta name="description" content="dataStructures - lists the data structures used in the SaliencyToolbox."> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="m2html © 2003 Guillaume Flandin"> <meta name="robots" content="index, follow"> <link type="text/css" rel="stylesheet" href="../m2html.css"></head><body><a name="_top"></a><div><a href="../index.html">Home</a> > <a href="#">mfiles</a> > dataStructures.m</div><!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td><td align="right"><a href="index.html">Index for .\mfiles <img alt=">" border="0" src="../right.png"></a></td></tr></table>--><h1>dataStructures</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>dataStructures - lists the data structures used in the SaliencyToolbox.</strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>This is a script file. </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre class="comment"> dataStructures - lists the data structures used in the SaliencyToolbox. DATA STRUCTURES USED IN THE SALIENCYTOOLBOX Global variables IS_INITIALIZED: flag that initializeGlobal was called. IMG_EXTENSIONS: cell arrays with possible extensions for image files. DEBUG_FID: file identifier for debugMsg output. PD: path delimiter for your operating system. BASE_DIR: base directory for data and image locations. IMG_DIR: directory for images. DATA_DIR: directory for data. TMP_DIR: directory for temporary files. See also <a href="initializeGlobal.html" class="code" title="function initializeGlobal(varargin)">initializeGlobal</a>, <a href="declareGlobal.html" class="code" title="">declareGlobal</a>, <a href="debugMsg.html" class="code" title="function debugMsg(message,varargin)">debugMsg</a>. Image - stores information about an image. filename: the file name relative to IMG_DIR. data: the image data (UINT8 or double) Each image structure has to contain the filename or the data field. It can have both. type: some text label. size: the size of the image. dims: the number of dimensions of the image (2 or 3). date: time stamp. See also <a href="initializeImage.html" class="code" title="function [Img,err] = initializeImage(varargin);">initializeImage</a>. Map - 2d data structure with extra information. origImage: Image from which this map was computed. label: text label identying the map. data: 2d array with the map data. date: time stamp. parameters: parameters used for generating this map. See also <a href="displayMap.html" class="code" title="function displayMap(map,varargin)">displayMap</a>, <a href="displayMaps.html" class="code" title="function displayMaps(maps,varargin)">displayMaps</a>. Pyramid - a multi-resolution pyramid for a particular feature. origImage: the source image. label: text label denoting the feature. type: type of subsampling, one of: 'dyadic','sqrt2','TopDown'. levels: vector of maps containing the levels of this pyramid. date: time stamp. See also <a href="makeFeaturePyramids.html" class="code" title="function pyrs = makeFeaturePyramids(img,featureType,salParams,varargin)">makeFeaturePyramids</a>, <a href="displayPyramid.html" class="code" title="function displayPyramid(pyr,varargin)">displayPyramid</a>, <a href="runSaliency.html" class="code" title="function runSaliency(inputImage,varargin)">runSaliency</a>. SaliencyParams - set of parameters used for generating a saliency map. foaSize: size of the focus of attention for disk-IOR. pyramidType: 'dyadic' or 'sqrt2'. features: cell array of the features to be used for saliency computation possible values: 'Color', 'Intensities', 'Orientations', 'Skin','TopDown'. weights: vector of weights for each feature (same length as features) IORtype: type of inhibition of return, one of: 'shape','disk','None'. shapeMode: one of: 'None','shapeSM','shapeCM','shapeFM','shapePyr'. levelParams: structure with pyramid level parameters. normtype: Map normalization type, one of: 'None','LocalMax','Iterative'. numIter: Number of iterations for 'Iterative' normtype. useRandom: Use random jitter (1) or not (0) for converting coodinates. segmentComputeType: Method for shape segmentation, one of: 'Fast','LTU'. smOutputRange: saliency map output in Amperes (1e-9). noiseAmpl: amplitude of random noise (1e-17). noiseConst: amplitude of contant noise (1e-14). gaborParams: structure with parameters for Gabor orientation filters. oriAngles: vector with orientation angles (in degrees). visualizationStyle: style used for visualizing attended locations, one of: 'Contour', 'ContrastModulate', 'None'. See also <a href="diskIOR.html" class="code" title="function wta = diskIOR(oldWTA,winner,params)">diskIOR</a>, <a href="makeGaussianPyramid.html" class="code" title="function pyr = makeGaussianPyramid(map,type,varargin)">makeGaussianPyramid</a>, <a href="makeSaliencyMap.html" class="code" title="function [salmap, saliencyData] = makeSaliencyMap(img, salParams, varargin)">makeSaliencyMap</a>, <a href="applyIOR.html" class="code" title="function wta = applyIOR(oldWTA,winner,params,varargin)">applyIOR</a>, <a href="estimateShape.html" class="code" title="function shapeData = estimateShape(salmap,saliencyData,winner,params)">estimateShape</a>, <a href="centerSurround.html" class="code" title="function [featureMaps,csLevels] = centerSurround(pyr,params)">centerSurround</a>, <a href="maxNormalize.html" class="code" title="function result = maxNormalize(maps,params,varargin)">maxNormalize</a>, <a href="winnerToImgCoords.html" class="code" title="function winImgCo = winnerToImgCoords(winner,params)">winnerToImgCoords</a>, <a href="makeGaborFilter.html" class="code" title="function filter = makeGaborFilter(gaborParams, angle, varargin)">makeGaborFilter</a>, <a href="defaultGaborParams.html" class="code" title="function gaborParams = defaultGaborParams">defaultGaborParams</a>, <a href="defaultLevelParams.html" class="code" title="function levelParams = defaultLevelParams(pyramidType)">defaultLevelParams</a>, <a href="plotSalientLocation.html" class="code" title="function plotSalientLocation(winner,lastWinner,img,params,varargin)">plotSalientLocation</a>. levelParams - a structure with parameters for pyramid levels for center-surround operations minLevel: lowest pyramid level (starting at 1) for center-surround computations. maxLevel: highest pyramid level for center-surround. minDelta: minimum distance (levels) between center and surround. maxDelta: maximum distance (levels) between center and surround. mapLevel: pyramid level for all maps, including the saliency map. See also <a href="defaultLevelParams.html" class="code" title="function levelParams = defaultLevelParams(pyramidType)">defaultLevelParams</a>, <a href="centerSurround.html" class="code" title="function [featureMaps,csLevels] = centerSurround(pyr,params)">centerSurround</a>, <a href="winnerToImgCoords.html" class="code" title="function winImgCo = winnerToImgCoords(winner,params)">winnerToImgCoords</a>. gaborParams - a structure with parameters for Gabor orientation filters. filterPeriod: the period of the filter in pixels. elongation: the ratio of length versus width. filterSize: the size of the filter in pixels. stddev: the standard deviation of the <a href="gaussian.html" class="code" title="function kernel = gaussian(peak,sigma,maxhw,varargin)">Gaussian</a> envelope in pixels. phases: the phase angles to be used. See also <a href="defaultGaborParams.html" class="code" title="function gaborParams = defaultGaborParams">defaultGaborParams</a>, <a href="makeGaborFilter.html" class="code" title="function filter = makeGaborFilter(gaborParams, angle, varargin)">makeGaborFilter</a>, <a href="gaborFilterMap.html" class="code" title="function resultMap = gaborFilterMap(map,gaborParams,angle)">gaborFilterMap</a>, <a href="makeOrientationPyramid.html" class="code" title="function oriPyr = makeOrientationPyramid(intPyr,gaborParams,angle)">makeOrientationPyramid</a>. hueParams - describes 2d <a href="gaussian.html" class="code" title="function kernel = gaussian(peak,sigma,maxhw,varargin)">Gaussian</a> color distribution in CIE space. muR: mean value in the CR direction. sigR: standard deviation in the CR direction. muG: mean value in the CG direction. sigG: standard deviation in the CG direction. rho: correlation coefficient between CR and CG. See also <a href="hueDistance.html" class="code" title="function result = hueDistance(col_img,hueParams)">hueDistance</a>, <a href="makeHuePyramid.html" class="code" title="function huePyr = makeHuePyramid(image,type,hueParams,varargin)">makeHuePyramid</a>, <a href="skinHueParams.html" class="code" title="function params = skinHueParams">skinHueParams</a>. saliencyData - a vector of structures for each feature with additional information from computing the saliency map. origImage: Image structure of the input image. label: the feature name. pyr: a vector of pyramids for this feature. FM: a vector of feature maps. csLevels: the center and surround levels used to compute the feature maps from the pyramids. CM: the conspicuity map for this feature. date: time stamp. See also <a href="makeSaliencyMap.html" class="code" title="function [salmap, saliencyData] = makeSaliencyMap(img, salParams, varargin)">makeSaliencyMap</a>, <a href="estimateShape.html" class="code" title="function shapeData = estimateShape(salmap,saliencyData,winner,params)">estimateShape</a>, <a href="runSaliency.html" class="code" title="function runSaliency(inputImage,varargin)">runSaliency</a>. shapeData - information about the shape of the attended regions. origImage: the Image structure for the source image. winner: the winning location in saliency map coordinates. winningMap: the map for the most salient feature at the winner location. iorMask: the mask used for shape-based inhibition of return. binaryMap: a binary map of the attended region. segmentedMap: the winning map segmented by the binary map. shapeMap: a smoothed version of segmentedMap. date: time stamp. See also <a href="estimateShape.html" class="code" title="function shapeData = estimateShape(salmap,saliencyData,winner,params)">estimateShape</a>, <a href="shapeIOR.html" class="code" title="function wta = shapeIOR(wta,winner,params,shapeData)">shapeIOR</a>, <a href="applyIOR.html" class="code" title="function wta = applyIOR(oldWTA,winner,params,varargin)">applyIOR</a>, <a href="plotSalientLocation.html" class="code" title="function plotSalientLocation(winner,lastWinner,img,params,varargin)">plotSalientLocation</a>, <a href="runSaliency.html" class="code" title="function runSaliency(inputImage,varargin)">runSaliency</a>. WTA - a winner-take-all neural network. sm: LIF neuron field for input from the saliency map. exc: excitatory LIF neurons field. inhib: inhibitory inter-neuron. See also <a href="initializeWTA.html" class="code" title="function wta = initializeWTA(salmap,salParams)">initializeWTA</a>, <a href="evolveWTA.html" class="code" title="function [wta,winner] = evolveWTA(wta)">evolveWTA</a>. LIF - leaky integrate and fire neuron (field). timeStep: time step for integration (in sec). Eleak: leak potential (in V). Eexc: potential for excitatory channels (positive, in V). Einh: potential for inhibitory channels (negative, in V). Gleak: leak conductivity (in S). Gexc: conductivity of excitatory channels (in S). Ginh: conductivity of inhibitory channels (in S). GinhDecay: time constant for decay of inhibitory conductivity (in S). Ginput: input conductivity (in S). Vthresh: threshold potential for firing (in V). C: capacity (in F). time: current time (in sec). V: current membrane potential (in V) - can be an array for several neurons. I: current input current (in A) - can be an array for several neurons. DoesFire: neuron can (1) or cannot (0) fire. See also <a href="defaultLeakyIntFire.html" class="code" title="function LIF = defaultLeakyIntFire">defaultLeakyIntFire</a>, <a href="evolveLeakyIntFire.html" class="code" title="function [LIF,spikes] = evolveLeakyIntFire(LIF,t)">evolveLeakyIntFire</a>, <a href="initializeWTA.html" class="code" title="function wta = initializeWTA(salmap,salParams)">initializeWTA</a>. LTUnetwork - a network of N linear threshold units. connections: N x N weight matrix, a sparse matrix. thresholds: 1 x N vector with thresholds for the units. input_idx: the indices of all input units in the network. output_idx: the indices of all output units in the network. numCells: the number of units. label: a text label fo the network.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -