The program can be used for detecting the cell membrane in microscopic images in which the cell membrane is stained. The user must provide the coordinates of a couple of seeds placed on the membrane. The program finds the maximum mean intensity path between the seeds using a modified version of Dijkstra's algorithm (https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm).
The package contains four files:
Determines the cell membrane in cells in an image.
imagedata - a 2D array of pixel intensities
vertices - a cell array in which each cell contains the coordinates of seeds placed on the membrane of a cell
allBorders - a cell array in which each cell contains the coordinates of membrane pixels of a cell
Determines the cell membrane of a single cell.
imageData- a 2D array of pixel intensities
allPointsXYForOneCell - a 2-column matrix with every row corresponding to the coordinates of a seed
bestPathXY - the XY coordinates of membrane pixels of a single cell
Determines the maximum mean intensity path between two points in an image.
imageData - a 2D array of pixel intensities
startXYorig , endXYorig - the X-Y coordinates of the two points between which the maximum mean intensity path is to be determined
bestPathXY - the XY coordinates of the maximum mean intensity path.
4. testdata.mat - containing an image and another file defining the seeds for two cells in the image.
The program can be tested with the following command using the data in testdata.mat:
A GUI-controlled version of the application is available at
Peter Nagy (2022). Image segmentation based on finding the maximum mean intensity path (https://www.mathworks.com/matlabcentral/fileexchange/60276-image-segmentation-based-on-finding-the-maximum-mean-intensity-path), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!