Spatial filter and Loading Data Quick Start: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Neal
 
imported>Scott
No edit summary
 
Line 1: Line 1:
===Purpose===
==1. Import Menu==


Image filtering based on convolution
Data can be readily loaded with the use of the Workspace browser.  The browser can be launched by typing '''"browse"''' at the Matlab command line.  If you are using Solo, the browser appears after the application is launched.


===Synopsis===
In this example we'll import an Excel file included with PLS_Toolbox and Solo. Using the '''File''' menu, select '''Import Data...''', and then select'''Excel File (XLS...'''.


:xf = spatial_filter(x,win,options)
<br>
[[Image:BrowseImportMenu.png||300px|(Click to Enlarge)]]


===Description===
<br style="clear: both" />


==2. Import the Data==
[[Image:ImportDialogBoxes.png|right|300px|upright|(Click to Enlarge)]]
Use the resulting dialog boxes to select your file then choose a sheet. The file is located in the "dems" folder.


====Inputs====
<br style="clear: both" />
* '''x''' = image data class 'double' or 'dataset'. If 'dataset' it must x.type=='image'. If 'double' it must be ''M''x''N''x''P'' (''P'' can = 1).
* '''win''' = a 1 or 2 element vector of odd integers corresponding to the window width of the box filter. If scalar, (win) is set to win = [win win].


====Outputs====
==3. Open Data==
* '''xf''' = Filtered image class 'dataset'.
[[Image:NewDataMenu.png|right|300px|(Click to Enlarge)]]
The data will be imported into the workspace as a [[DataSet_Object|DataSet Object]] and appear in the '''Workspace Browser'''. You can right-click on the data to open the [[DataSet_Editor|DataSet Editor]] by selecting '''Edit''' or by double-clicking the object. You can also start an [[Building_Models_Quick_Start|Analysis]]of the data using the Analysis fly-out menu or dragging and dropping the data onto an analysis icon in the Analysis Tools pane (left).


===Options===
<br style="clear: both" />


options =  a structure array with the following fields:


* '''algorithm''': [ {'gaussian'} | 'box'] Point source function for filtering.
[[Building Models Quick Start | Next Topic: Building Models]]
::'gaussian' - (win) corresponds to the std in the Gaussian distribution.
::'box' - (win) is the number of x- and y- channels.
 
===See Also===
 
[[box_filter]], [[linear_filter]]

Revision as of 09:01, 22 September 2011

1. Import Menu

Data can be readily loaded with the use of the Workspace browser. The browser can be launched by typing "browse" at the Matlab command line. If you are using Solo, the browser appears after the application is launched.

In this example we'll import an Excel file included with PLS_Toolbox and Solo. Using the File menu, select Import Data..., and then selectExcel File (XLS....


(Click to Enlarge)


2. Import the Data

(Click to Enlarge)

Use the resulting dialog boxes to select your file then choose a sheet. The file is located in the "dems" folder.


3. Open Data

(Click to Enlarge)

The data will be imported into the workspace as a DataSet Object and appear in the Workspace Browser. You can right-click on the data to open the DataSet Editor by selecting Edit or by double-clicking the object. You can also start an Analysisof the data using the Analysis fly-out menu or dragging and dropping the data onto an analysis icon in the Analysis Tools pane (left).



Next Topic: Building Models