Calculate correlations between two channels within regions of interest. Returns Pearson's product-moment correlation coefficient for pixel values on two channels within each region of interest (ROI).
Expects arbitrary bit-depth images with at least 2 channels.
Type: Image File (imagej.data.Dataset)
Set of ROIs defining the regions for which correlations will be calculated.
Type: ROI Set (file) (imagej.data.overlay.AbstractOverlay[])
First channel on which to calculate correlations. Specified
using a 1-based index (1 ≤ x ≤ # of channels).
Type: Integer (int)
Second channel on which to calculate correlations. Specified
using a 1-based index (1 ≤ x ≤ # of channels).
Type: Integer (int)
One result row is produced for each ROI.
Correlation coefficient computed for pixel values on the selected two channels within the ROI.
∑[(Ai − mean(A)) × (Bi − mean(B))] ⁄ sqrt[(Ai − mean(A))2 × Bi − mean(B))2]
Ai, pixel value on first channel
Bi, pixel value on second channel
mean(A), mean value on first channel within the ROI
mean(B), mean value on second channel within the ROI
Type: Numeric (float)