-
Notifications
You must be signed in to change notification settings - Fork 42
Cone Mosaic Hex
Brian Wandell edited this page Nov 28, 2016
·
11 revisions
The hexagonal cone mosaic is a subclass of the coneMosaic. To implement the hexagonal sampling, coneMosaicHex.pattern slot represents a high resolution sampling pattern in which most elements are null(K) cones, and the non-null LMS cones are positioned at the nodes of a hex grid. In a coneMosaicHex the patternSampleSize value describes the spacing of the high resolution sampling array, not the LMS cone spacing.
To create a hexagonal cone mosaic use
resamplingFactor = 6; varyingDensity = false;
cmosaic = coneMosaicHex(resamplingFactor, varyingDensity, ... % Required
'name', 'the hex mosaic', ...
'size', [32 32], ...
'noiseFlag', 0, ...
'spatialDensity', [0 0.6 0.3 0.1]);
The base class routines should generally work the same. We will be shocked, shocked I tell you, to discover that there might be bugs.
cmosaic.window;