Generate the adjacency matrix from a superpixel matrix

8 ビュー (過去 30 日間)
Mourchid
Mourchid 2015 年 11 月 17 日
編集済み: Walter Roberson 2015 年 11 月 17 日
Hi friends,
i have an image matrix, after i apply my algorithm of superpixel to oubtain the labeled matrix and i want to generate the adjacency matrix from this labeled image, my code is like that:
I=imread(myimage);
SP=superpixelalgo(I);
How i can generate the adjacency matrix from SP, i want somthing like that:

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by