![]() |
Microscopy Image Browser 2.91
MIB
|
calculate image intensity profile for line ROI based on code by Damien in comments of http://se.mathworks.com/matlabcentral/fileexchange/11568-extract-integrated-intensity-profiles-from-image More...
Functions | |
| function [ ProfileOut , profileLength , samplePntsX , samplePntsY ] = | mibImageProfileIntegrate (img, x1, y1, x2, y2, profileWidth, debug) |
| calculate image intensity profile for line ROI based on code by Damien in comments of http://se.mathworks.com/matlabcentral/fileexchange/11568-extract-integrated-intensity-profiles-from-image | |
calculate image intensity profile for line ROI based on code by Damien in comments of http://se.mathworks.com/matlabcentral/fileexchange/11568-extract-integrated-intensity-profiles-from-image
| function [ ProfileOut , profileLength , samplePntsX , samplePntsY ] = mibImageProfileIntegrate | ( | img, | |
| x1, | |||
| y1, | |||
| x2, | |||
| y2, | |||
| profileWidth, | |||
| debug ) |
calculate image intensity profile for line ROI based on code by Damien in comments of http://se.mathworks.com/matlabcentral/fileexchange/11568-extract-integrated-intensity-profiles-from-image
| img | an image to be used for intensity calculations ([height, width, colors]) |
| x1 | x1 coordinate for the line |
| y1 | y1 coordinate for the line |
| x2 | x2 coordinate for the line |
| y2 | y2 coordinate for the line |
| profileWidth | a number that defines the width of the intensity profile |
| debug | [optional] - a switch to show debug plots |
| ProfileOut | matrix with intensity profiles for all color channels [colChannel, 1:points] |
| profileLength | length of the intensity profile in pixels |
| samplePntsX | x coordinates of the X sample points as (widthIndex, Xcoordinate] |
| samplePntsY | y coordinates of the Y sample points as (widthIndex, Ycoordinate] |
Referenced by mibMeasure.DistanceFun(), and mibMeasureToolController.previewIntensityProfile().
