mlampros / SuperpixelImageSegmentation

Image Segmentation using Superpixels, Affinity Propagation and Kmeans Clustering
https://mlampros.github.io/SuperpixelImageSegmentation/
18 stars 6 forks source link

What affinity propagation implementation do you use? #2

Closed pdiffley closed 4 years ago

pdiffley commented 4 years ago

Could you provide a link to a doc page for the AP implementation you use in this package? I tried comparing ClusterR's AP function to the AP function called in "superPx_AP_Kmeans_Segment.cpp", but the argument lists do not match up.

mlampros commented 4 years ago

Hi @pdiffley,

the 'SuperpixelImageSegmentation' package uses the ClusterR Rcpp header files directly. That means it calls both the ClusterRHeader.h and the affinity_propagation.h Rcpp header files of the ClusterR package. I explained it in the README.md file of the ClusterR package how this can be done in detail when someone intends to utilize the Rcpp code of one R package to another R package. I didn't modify the AP algorithm of the ClusterR package. The AP algorithm is a re-implementation of the Matlab code in Rcpp. Hopefully, I understand your question correctly.

pdiffley commented 4 years ago

That answers my question. Thank you!

stale[bot] commented 4 years ago

This is Robo-lampros because the Human-lampros is lazy. This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs. Feel free to re-open a closed issue and the Human-lampros will respond.