File Exchange

image thumbnail


version (1.73 KB) by Duijnhouwer
Determine the level of fragmentation of a receptive field

1 Download

Updated 30 May 2018

View License

Fragmentation F is defined as one minus the combined area of the receptive field fragments divided by the area of their convex hull.
F = receptiveFieldFragmentation(M,THOLD,SHOW)

M is a pixel map containing the receptive field (fragments), THOLD a threshold intensity above which a pixel is counted as part of the receptive field.

Use optional Boolean argument SHOW to visualize the result as an image where blue is the background, teal the convex hull, and yellow the receptive field (default: false).

receptiveFieldFragmentation without any arguments shows a demo.

[~,BW,CH] = receptiveFieldFragmentation(__) returns the thresholded M (BW) and convex hull (CH) bit-maps.

Cite As

Duijnhouwer (2020). receptiveFieldFragmentation(M,thold,show) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


removed a line that displayed debugging info on the command line

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux