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;
Input/Output
MatrixLayer
The ROI added in the matrix.
Input
MatrixPage
Specifies the input matrix book.
Specifies the input matrix sheet.
int
Specifies the new matrix is created for.
Option list:
TreeNode
Specifies which quantity to be computed and output.
See more details in this page.
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