image thumbnail

updated 3 months ago

mpoly2mask - converts multiple polygons to a mask by Sven

Converts an object with multiple boundary contours to a logical mask (poly2mask, bwboundaries, polygon)

mpoly2mask(XY, varargin)

image thumbnail

updated 5 months ago

LOGICALEXPAND by Jos (10584)

expand (or shrink) series in a logical vector (v2.0, feb 2014) (logical, find, shrink)

logicalexpand(TF,N)

image thumbnail

updated 1 year ago

Fast morphological reconstruction of large logical masks. by Sven

MATLAB's imreconstruct is slow for large 3D logical masks. bwreconstruct is a faster replacement. (imreconstruct, bwselect, logical)

bwreconstruct(marker, mask, conn)

image thumbnail

updated 3 years ago

bwclearborder by Sean de

Same thing as IMCLEARBORDER, but faster for 2 and 3-dimensional binary images. (imclearborder, binary, logical)

bwclearborder(bw,conn)

image thumbnail

updated 4 years ago

TRUTH TABLE by Abhishek Chakraborty

Creates a Logical Truth Table Matrix for 'N' Input Variables. (logical, boolean, mathematics)

TruthTable(N)

image thumbnail

updated almost 5 years ago

mexSparseLogical0Diag by Guy

Change all the elements on the main diagonal of a logical sparse matrix to 0. (mex, sparse, logical)

mexLogicalSparse0Diag(A)

image thumbnail

updated 5 years ago

logical2cellstr, cellstr2logical by Richie Cotton

Convert from a logical array to a cell array of 'true'/'false' strings and back again. (utility, conversion, logical)

cellstr2logical(c, casesensitive)

logical2cellstr(tf)

image thumbnail

updated 6 years ago

Fortran mxCreateLogicalSparseMatrix by James Tursa

The Fortran version of the mxCreateSparseLogicalMatrix function for mex and engine apps (external interface, mex, logical)

image thumbnail

updated almost 8 years ago

NTRUE by Jos (10584)

Logical array with a specific number of true values (matrices, rand, true)

ntrue(N,varargin)

image thumbnail

updated 9 years ago

Pack/Unpack Logicals by James Alaly

Compress large logical variables to one bit per element, instead of the usual 8. (optimization, logical, mask)

isPackedLogical(input)

packLogicals(logicals)

unpackLogicals(packedData)

image thumbnail

updated 11 years ago

mep: a pedestrian vector index list creator by us

Creates epochs (0|1) in a logical array according to a list of indices (begin:end). (matrices, index, indexing)

vix=mep(v,varargin)

Contact us