2.2.2.11 mroi2mat
Contents
Menu Information
Right-click on the ROI in the Matrix, select Create New
Brief Information
Create a new Matrix sheet with data copying from inside ROI.
Command Line Usage
1. mroi2mat quantity:=active;
2. mroi2mat -r 1 quantity:=stats trstats.n:=1;
Variables
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| roi |
Input/Output MatrixLayer |
|
The ROI added in the matrix. | |
| Input Matrix Book | imp |
Input MatrixPage |
|
Specifies the input matrix book. |
| Input Matrix Sheet | ims |
Input MatrixLayer |
|
Specifies the input matrix sheet. |
| Create For | quantity |
Input int |
|
Specifies the new matrix is created for. Option list:
|
| Statistics | trstats |
Input TreeNode |
|
Specifies which quantity to be computed and output. See more details in this page. |
| Output Matrix | oms |
Output MatrixObject |
|
Specifies the output matrix. See the syntax here. |
Description
You can use this X-Function to generate a new matrix from the ROI.
Related X-Functions
mdim, mexpand, mproperty, mreplace, mrotate90, msetvalue, mflip, mtranspose , msmooth
Keywords:new matrix