Effacer les filtres
Effacer les filtres

How do I track the displacement of a particle captured in a stack of tiff images?

4 vues (au cours des 30 derniers jours)
I have generated a stack of tiff images that have a circle at different location and I want to track the location of the circle in each frame. This is a simulation and eventually, I will get actual tiff stacks, which will have the displacement of a particle. Please I really need help, this is my senior year project

Réponse acceptée

Walter Roberson
Walter Roberson le 27 Fév 2013
This is essentially the same as http://www.mathworks.co.uk/matlabcentral/answers/64079-for-object-tracking-of-many-objects with just a different method of getting the input.
  6 commentaires
EngStudent
EngStudent le 27 Fév 2013
Modifié(e) : Walter Roberson le 27 Fév 2013
for the function obj = setupSystemObjects(), I used the code below instead of the videofilereader
file_name = 'stack.tif'; %TIFF Stack
image_info = imfinfo(file_name);
numImg = length(image_info); %Number of images in stack
for i=1:numImg %Read Each Frame
fImg=imread(file_name,i, 'Info',image_info);
BWimg = 1 - im2bw(fImg,0.5); %Convert Image to Black-and
end
I wanted your opinion on the code
EngStudent
EngStudent le 27 Fév 2013
Also what do use in place of a video mask player

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by