Release Notes Version 7 5 and Building an Image Y-block for X-block selection: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Scott
 
imported>Benjamin
(Undo revision 9002 by Benjamin (talk))
 
Line 1: Line 1:
==New Features in Solo and PLS_Toolbox==
== Building an Image Y-block for X-block for selection ==


===[[Modelselectorgui | Model Selector Interface]]===
This section demonstrates how to create a Y-block image for variable selection using an already loaded image(s) in the X-block in the PLS analysis window. This can be useful for quickly selecting regions of interest in an image.
* Graphical Interface to build [[Modelselector | Model Selector]] models.
* Drag and drop models from the Model Cache.
* Graphically add decisions to each node.


===[[Modeloptimizergui | Model Optimizer]]===
* Added ability to [[Modeloptimizergui#Survey_Preprocessing | survey]] preprocessing for a given snapshot.
* Additional models added (ANN).


===New/Improved Importers===
=== Creating a new Y-block ===
* [[gwscanreadr|Guided Wave Scan and Autoscan]] importer added
* ...............
* Improved memory and speed performance for text parsing


===New/Improved Preprocessing Methods===
*In the Analysis Window select:
* [[EMSC_Toolbox_Manual|EMSC]] is now out of patent and included with PLS_Toolbox.


===Analysis===
    File -> New Data -> Calibration/Y-Block
* Completely revamped [[Optionseditor|options window]] allows easier saving and restoring of options.
* ANN added to methods list.


===Plot Controls===
*Set the values for the Y-block (0, NaN, rand…) and click OK.


[[Image:IYB_01.png|300px|||]]


==New Command-line Features and Functions==


===Command-line Tool Changes===
=== Folding the Y-block ===


This will require to open the Edit Data window for Editing the Y-block data, this can be done in two ways:


===Misc New Functions===
    1) Edit -> Calibration -> Y-block Data
[[ann]] - Artificial Neural Network regression models.
    OR
[[emscorr]] - Extended Multiplicative Scatter Correction (EMSC).
    2) Right click on the Y-block and select ‘Edit Data’
[[importtool]] - GUI for designating column/row data types.
 
[[modelselectorgui]] - Graphical Interface to built ModelSelector models
*With the Edit Data window open, make sure the ‘Data’ tab is selected and then click:
[[preprocessiterator]]- Create array of preprocessing combinations.
 
[[sammon]] - Computes Sammon projection for data or map.
    Transform -> Convert to/from Image
[[textreadr]] - Reads an ASCII or .XLS file in as a DataSet Object (formally xclreadr).
 
*You will be prompted, select the type of image you wish to unfold it into, select ‘Unfolded Image’.
 
[[Image:IYB_02.png|400px|||]]
 
*A small entry box will appear, enter the image sizes.
Hint: Check the X-block’s dimension to selecting the appropriate dimension sizes for folding the Y-block.
 
[[Image:IYB_03.png|300px|||]]
 
*Press ‘OK’ and the Y-block will be folded to the specified dimensions.
 
 
=== Adding values in the Y-block for select X-block regions===
 
Open plot windows on both the X-block and Y-block datasets. This can be done by one of two ways:
 
    1) Edit -> Calibration -> Plot X-block Data
    AND   
    2) Edit -> Calibration -> Plot Y-block Data
   
    OR   
   
    1) Right click on the X-block and select ‘Plot Data’
    AND   
    2) Right click on the Y-block and select ‘Plot Data’
 
Note: Make sure in the Plot Controls window, that also pops up, that X is set to 'Samples'.
 
[[Image:IYB_04.png|800px|||]]
 
*If you make a selection of pixels using any one of the selection tools in one of the plots, the selection should also appear in the other. If not, see 'Manual selection of corresponding variables' below.
 
[[Image:IYB_05.png|800px|||]]
 
*With variables selected, open the Dataset Editor for the Y-block, (right click the Y-block in the analysis window and select ‘Edit Data’), then choose:
 
    Edit -> Fill with value
 
[[Image:IYB_06.png|800px|||]]
 
*Set the values of the selected Y-block pixels as appropriate in the textbox and press ‘OK’.
 
You may repeat this process for all regions in the image where you wish to specify the Y values.
 
 
=== Manual selection of corresponding variables===
 
If selecting a region in the X-block doesn’t show up in the Y-block plot automatically, you can set them manually by using the following steps:
 
*After selecting a region in the plotted X-block (using the ‘Make Selection’ tool), right click on the image and choose ‘Info on Selection’.
 
[[Image:IYB_07.png|400px|||]]
 
*An information window will appear, the last row is labeled ‘Index: Pixel: ’,  right click on it and choose ‘Copy’.
 
[[Image:IYB_08.png|400px|||]]
 
*Next, go to the plotted Y-block window, select  ‘Choose Selection Tool/Select Classes’ (the hammer & wrench button) and choose ‘Search Bar…’ from the menu. A search bar will appear below.
 
[[Image:IYB_09.png|400px|||]]
 
*A search bar will appear in the lower right corner, click on it and press <tt> ‘ctrl + v’ </tt> to paste select the indexes into it.
 
*All the corresponding indexes will be highlighted, except one. To fix this, click on the search bar and press ‘Home’on the keyboard (this will move the cursor to the beginning of the list) and delete the text “Index: Pixel:”. This will allow the first selected index to be read correctly and the entire region will be selected.
 
[[Image:IYB_10.png|400px|||]]

Revision as of 15:35, 20 May 2016

Building an Image Y-block for X-block for selection

This section demonstrates how to create a Y-block image for variable selection using an already loaded image(s) in the X-block in the PLS analysis window. This can be useful for quickly selecting regions of interest in an image.


Creating a new Y-block

  • In the Analysis Window select:
   File -> New Data -> Calibration/Y-Block
  • Set the values for the Y-block (0, NaN, rand…) and click OK.

IYB 01.png


Folding the Y-block

This will require to open the Edit Data window for Editing the Y-block data, this can be done in two ways:

   1) Edit -> Calibration -> Y-block Data
   OR
   2) Right click on the Y-block and select ‘Edit Data’
  • With the Edit Data window open, make sure the ‘Data’ tab is selected and then click:
   Transform -> Convert to/from Image
  • You will be prompted, select the type of image you wish to unfold it into, select ‘Unfolded Image’.

IYB 02.png

  • A small entry box will appear, enter the image sizes.

Hint: Check the X-block’s dimension to selecting the appropriate dimension sizes for folding the Y-block.

IYB 03.png

  • Press ‘OK’ and the Y-block will be folded to the specified dimensions.


Adding values in the Y-block for select X-block regions

Open plot windows on both the X-block and Y-block datasets. This can be done by one of two ways:

   1) Edit -> Calibration -> Plot X-block Data
   AND    
   2) Edit -> Calibration -> Plot Y-block Data
   
   OR    
   
   1) Right click on the X-block and select ‘Plot Data’
   AND    
   2) Right click on the Y-block and select ‘Plot Data’

Note: Make sure in the Plot Controls window, that also pops up, that X is set to 'Samples'.

IYB 04.png

  • If you make a selection of pixels using any one of the selection tools in one of the plots, the selection should also appear in the other. If not, see 'Manual selection of corresponding variables' below.

IYB 05.png

  • With variables selected, open the Dataset Editor for the Y-block, (right click the Y-block in the analysis window and select ‘Edit Data’), then choose:
   Edit -> Fill with value

IYB 06.png

  • Set the values of the selected Y-block pixels as appropriate in the textbox and press ‘OK’.

You may repeat this process for all regions in the image where you wish to specify the Y values.


Manual selection of corresponding variables

If selecting a region in the X-block doesn’t show up in the Y-block plot automatically, you can set them manually by using the following steps:

  • After selecting a region in the plotted X-block (using the ‘Make Selection’ tool), right click on the image and choose ‘Info on Selection’.

IYB 07.png

  • An information window will appear, the last row is labeled ‘Index: Pixel: ’, right click on it and choose ‘Copy’.

IYB 08.png

  • Next, go to the plotted Y-block window, select ‘Choose Selection Tool/Select Classes’ (the hammer & wrench button) and choose ‘Search Bar…’ from the menu. A search bar will appear below.

IYB 09.png

  • A search bar will appear in the lower right corner, click on it and press ‘ctrl + v’ to paste select the indexes into it.
  • All the corresponding indexes will be highlighted, except one. To fix this, click on the search bar and press ‘Home’on the keyboard (this will move the cursor to the beginning of the list) and delete the text “Index: Pixel:”. This will allow the first selected index to be read correctly and the entire region will be selected.

IYB 10.png