Open ivo--t opened 8 years ago
It seems that alternative implementations, such as this, exist, but we don't have a way of verifying how close it is in mimicking the output from the toolbox implementation.
This one does match the bwlabel
output on simple problems
I checked and indeed the detect.m function reproduces the functionality of bwlabel. I will change the underlying processor in order to get rid of the dependency on the image processing toolbox. But the function is only able to replicate the 4-component functionality, not the 8-component which we are actually using to detect onset and offset fronts.
In 'onsetMapProc.m' the function
detectOnsetsOffsets
is called, which usesbwlabel
of the Image Processing Toolbox. Can this be solved differently? Image Processing Toolbox shouldn't be a prerequisite. @hagenw, @Hardcorehobel, @kashefy