When I tried to compile the mex files as provided in the Readme I ran into an error saying that the number of arguments of the function call in L0_cut_pursuit_segmentation.cpp and L0_cut_pursuit.cpp did not match. I found out that the arguments cutoff and weight_decay were not set. I just changed that. Additionally, I had to fix the example in the readme and also provided more variables. I find this way more easy to understand the call than put in numbers. :) Please check this merge request.
Best Regrads
Fjedor
BTW: This is my first pull request so if something did not work as expected please contact me :)
When I tried to compile the mex files as provided in the Readme I ran into an error saying that the number of arguments of the function call in
L0_cut_pursuit_segmentation.cpp
andL0_cut_pursuit.cpp
did not match. I found out that the argumentscutoff
andweight_decay
were not set. I just changed that. Additionally, I had to fix the example in the readme and also provided more variables. I find this way more easy to understand the call than put in numbers. :) Please check this merge request.Best Regrads Fjedor
BTW: This is my first pull request so if something did not work as expected please contact me :)