use dijkstra algorithm to segment images
1 回表示 (過去 30 日間)
古いコメントを表示
I would like to use graph cut to segment hundreds of large images using Dijkstra's algorithm, in a fully automated fashion,and using custom weights, so the MATLAB function grabcut is not suitable. Using the Image Segmenter App is also not an option. Segmentation must be fully automated, and I already know how to specify the endpoints.
What I am struggling is in constructing the adjacency array in an efficient manner and the best way to efficienlty fill the sparse matrix.
Does anyone know an efficient implementation of this algorithm? Everything I have seen online is for small images, does not involve sparse matrices, and so does not seem efficient at all. I have also seen FEX implementations of Dijkstra's algorithm, but I am not sure if they work with sparse matrices or large arrays.
2 件のコメント
Walter Roberson
2024 年 12 月 18 日
It is not clear to me exactly what is sparse? Are the images themselves somehow sparse?
I am having difficulty figuring out how Dijkstra's algorithm fits into the situation. It sounds as if bwdistgeodesic would be more suitable.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dijkstra algorithm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!