Calculating 3D centroids in tiff image stack

Hello!
I am trying to calculate the centroids of multiple spheres that change position as you scroll through the image stack. The goal is to get x,y, and z coordinates from these centroids. I can find and track the centroids when I read the file as a 2D image, but I have been unsucessful when trying to calculate the centroids when I read the full file in its entirety (512x512x96). Any advice would be greatly appreciated!

Answers (0)

Asked:

on 7 Jul 2020

Commented:

on 8 Jul 2020

Community Treasure Hunt

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

Start Hunting!