How to find the mean color value of superpixels (over-segmentation) for 3D label image ?

1 vue (au cours des 30 derniers jours)
MatlabUser
MatlabUser le 10 Déc 2021
Commenté : MatlabUser le 11 Déc 2021
If I have a labeled image resulting from an over-segmentation method similar as SLIC superpixels method for 2D image. However, I have a 3D image. Now my question is how to replace the label value by the mean color value in all 3D dimension? I found in MATLAB documentation how to apply it for 2D (https://www.mathworks.com/help/images/ref/superpixels.html) but when I apply each view independently the results are not consistent and may change across views. for that reason how can I replace the value of superpixels by the mean value of the image?

Réponses (1)

yanqi liu
yanqi liu le 11 Déc 2021
yes,sir,may be use for loop to split 3D image as 2D image list,and use mean2 on every image,finally rerange to 3D result output
  1 commentaire
MatlabUser
MatlabUser le 11 Déc 2021
I think this also will generate inconsistent results, I already figured it out thanks!

Connectez-vous pour commenter.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by