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

Determine the level of fragmentation of a receptive field
20 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 (2024). 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
Categories
Find more on Mesoscale and Multiscale in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

removed a line that displayed debugging info on the command line