TWOEARS / auditory-front-end

Two!Ears Auditory Model - Auditory front-end module
http://docs.twoears.eu/en/latest/afe/
GNU General Public License v2.0
16 stars 10 forks source link

Binary Onset-Offset-Map AFE processor needs Image Processing Toolbox #10

Open ivo--t opened 8 years ago

ivo--t commented 8 years ago

In 'onsetMapProc.m' the function detectOnsetsOffsets is called, which uses bwlabel of the Image Processing Toolbox. Can this be solved differently? Image Processing Toolbox shouldn't be a prerequisite. @hagenw, @Hardcorehobel, @kashefy

kashefy commented 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.

pmeier82-zz commented 8 years ago

This one does match the bwlabel output on simple problems

Hardcorehobel commented 7 years ago

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.