I am working on a project for my dissertation and have encountered an image processing barrier. I would like to track the “center of mass” or “centroid” of some illuminated dye moving through a porous medium.
A short background:
I have 447 total frames (the image above is a single frame) taken at 2 frames/second. The dye flows downward (frame top to frame bottom) on the left-hand side of the frames and upward on the right-hand side of the frames. It does this because there is a solid divider located approximately in the center of all the frames and different water depths were maintained on each side of the divider. This divider was masked out of all frames as it was not of importance in tracking the dye movement. I’ve tracked the “front” of the dye successfully, but now, I am trying to track the dye plume’s “center of mass”/“centroid”.
Here is the problem:
In the image above, any sort of “center of mass” or “centroid” tracking features (at least in FIJI) locate the center of mass/centroid around the red dot. This is a problem because it does not lie along the central flow path of my dye (blue line). I would like to somehow locate the center of mass/centroid of my entire dye plume within each frame, where the center of mass/centroid is located along the central flow path (blue line).
Any tips/suggestions? I have a feeling this may require writing a fairly intricate macro. I have been using FIJI & Matlab to process all my images and data, but I am open to suggestions for other freeware.
Thanks in advance,