Right-click on the ROI in the Matrix, select Create New
Create a new Matrix sheet with data copying from inside ROI.
1. mroi2mat quantity:=active;
2. mroi2mat -r 1 quantity:=stats trstats.n:=1;
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. |
You can use this X-Function to generate a new matrix from the ROI.
mdim, mexpand, mproperty, mreplace, mrotate90, msetvalue, mflip, mtranspose , msmooth
Keywords:new matrix