receptiveFieldFragm​entation(M,thold,sh​ow)

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

19 Downloads

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 (2022). receptiveFieldFragmentation(M,thold,show) (https://www.mathworks.com/matlabcentral/fileexchange/67552-receptivefieldfragmentation-m-thold-show), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!