3d Patch intensity
Afficher commentaires plus anciens
I have divided 3D image size of 240x240x240 by k=4. Thus, I have a total of 60x60x60 patches and each patch have a size of 4x4x4. I would like to find the mean intensity of R G B respectively for each patch (4x4x4) and store it as the voxel value. May I know how do I proceed to do it?
For 2d image, i can use R = image(:,:,1), G = image(:,:,2) and B = image(:,:,3). However, i am not sure how do i do this for a 4x4x4 patch. Can i use the same way to do it?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Polygons dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!