Code

Interface functions

The interface functions are the primary functions that will be called when using SALR particle clustering.

Below is a listing of the core functions along with a short description and an example of how to call the function. For details about each function, use the Matlab help command.
Ex: help computeObjectSeedPoints

computeNucleiCenters():
Find the nuclei centers in a binary image of nuclei.
[seedPoints, Info] = computeNucleiCenters(BW, options)
[seedPoints, Info] = computeNucleiCenters(BW, options, 'Minimum_Hole_Size', mhs, 'Object_Of_Interest', OoI)
computeObjectSeedPoints():
Compute the seed-points of an object.
[seedPoints, Info] = computeObjectSeedPoints(binned_data, options)
[seedPoints, Info] = computeObjectSeedPoints(binned_data, options, 'data_limits',dl,'r0set',r0,'modifier',m,'useCentroid',uc,'objNumber',on)
seedPointOptions():
Set options needed for computing seed-point locations.
options = seedPointOptions()
setup():
Add required files to the path and try to compile .c functions for increased speed.
setup()