I want to be able to draw a single line with a higher sampling resolution and collect the path intensity for different segments of the sampling geometry. Update AdjustImprofile().
Detailed version:
To date, the ROIManager has been used for defining regions of interest in order to sample the pixel intensity of an image stack. For the FWHM technique, a 2D path is required (Line, Spline) and the sampling profile within the path is defined with ProfileGeometry(). Once the sampling grid is defined, AdjustedImprofile() is used to create the ROIProfile() which is an intensity vector where the width of the path is averaged down to the path's center line and the profile intensity is found.
The issue with this is that for measuring a series of ROIs, you have to draw multiple ROIs (obviously). However, this was particularly true in the previous version of ROIManager where the sampling profile was fixed. This is no longer the case. Since the sampling profile is saved as a property in the ROIManager (not the profile intensity), we can subsequently define the intensity profiles in multiple orientations. I.E. average along the cross-sectional axis or average along the longitudinal axis.
Updating AdjustImprofile() to have a switch case where it either averages the longitudinal or transverse samples or does not average should be sufficient.
I want to be able to draw a single line with a higher sampling resolution and collect the path intensity for different segments of the sampling geometry. Update AdjustImprofile().
Detailed version:
To date, the ROIManager has been used for defining regions of interest in order to sample the pixel intensity of an image stack. For the FWHM technique, a 2D path is required (Line, Spline) and the sampling profile within the path is defined with ProfileGeometry(). Once the sampling grid is defined, AdjustedImprofile() is used to create the ROIProfile() which is an intensity vector where the width of the path is averaged down to the path's center line and the profile intensity is found.
The issue with this is that for measuring a series of ROIs, you have to draw multiple ROIs (obviously). However, this was particularly true in the previous version of ROIManager where the sampling profile was fixed. This is no longer the case. Since the sampling profile is saved as a property in the ROIManager (not the profile intensity), we can subsequently define the intensity profiles in multiple orientations. I.E. average along the cross-sectional axis or average along the longitudinal axis.
Updating AdjustImprofile() to have a switch case where it either averages the longitudinal or transverse samples or does not average should be sufficient.