Tag: matlab
matpy – call Python from MATLAB
Hello everyone! If you ever wanted to call Python from MATLAB, here goes something for you. Today I’d like to present matpy – a MATLAB extension for accessing Python. It is more or less an equivalent to pymat but the other way around. At the moment it’s for sure more […]
Lindenberg's watershed-based blob detection for MATLAB
Just something I needed recently and haven’t found any existing standalone implementation. Algorithm description can be found on Wikipedia. Usage is quite simple: % Where I is 1-, 2- or 3-dimensional image [~, index] = sort(reshape(I, numel(I), 1), 1, ‘descend’); blobs = ls_blob_detect(I, index);
Partial replacement for MATLAB's Image Processing Toolbox
I recently needed to replace the following functions from MATLAB’s Image Processing Toolbox: bwareaopen(), bwconncomp(), colfilt(), im2bw(), imclose(), imdilate(), imerode(), imfilter(), imopen() in order to remove it as a dependency of one of the new SPM toolboxes I’ve been working on. If you happen to be in a similar situation […]
Recent Comments