Nice work ! I used this function as an alternative to bwlabel. The only required modification in my code was to take into account the syntax difference : label puts 0 binary values into a connected object. As per the author's 'Important remark', zeros should be replaced by NaNs in this use case.
Solve my problem puzzled me for a long time, because I can't print *.jpeg files as the figures, and I used to copy *.fig files to another Windows computer to finish printing wanted picutres.
When I get this function, Matlab under Linux is becoming more amazing!
Thank you very much!
I realized that comment in the function is not possible to extract by this filter even with "%>"
And function output parameter does not reveal in the documents also, if using a "..." for line break in the function name, the filter cannot parse it correctly.
06 Mar 2014
Exports figures nicely to a number of vector & bitmap formats.