2.2.2.12 mroiprofile


Menu Information

Right-click on the ROI in the Matrix, select Intensity Profile

Brief Information

Profiling matrix data on ROI

Command Line Usage

mroiprofile -r 1 multi:=all trstats.n:=1 trstats.sum:=1;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
roi

Input/Output

MatrixLayer

0

The ROI added in the matrix.

Input Matrix ims

Input

MatrixLayer

<active>

Specifies the input matrix.

Profile on multi

Input

int

0

Specifies profiling on all ROIs on Matrix or active ROI.

Option list:

  • 0=all: All Objects
    Profile on active ROI
  • 1=active: Active Object Only
    Profile on all ROIs on Matrix
Data Layout layout

Input

int

0

When set Profile on all ROIs on Matrix, you can specify the data layout is Matrix Rowwise or ROI Rowise.

Option list:

  • 0=mat
    Matrix Rowwise
  • 1=roi
    ROI Rowwise
Statistics trstats

Input

TreeNode

<unassigned>

Specifies which quantity to be computed and output.

See more details in this page.

Weighted ROI weight

Input

int

0

This option is for tiny coordinates ROI. If this option is selected, each pixel is weighted by the area of the intersection of the pixel rectangle and the ROI polygon.

Option list:

  • 0=false
  • 1=true
Output rd

Output

ReportData

[<new>]

Specifies the output Worksheet.

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