Hello, I am trying to write a script that I can execute from the command line. I want to use the TrackMate algorithm on a stack of images.
The first example on the Scripting TrackMate page actually does almost everything I want, and I have figured out how to modify the things I need (like parameters for detection and tracking). However, I cannot figure out how to open a series of images.
The example opens a single image usingimp = IJ.openImage('https://fiji.sc/samples/FakeTracks.tif')
I am trying to open a sequence of images located in the directory myDir
usingFile.openSequence("/Users/myName/Desktop/myDir/");
But when I run this, I get the errorNameError: name 'File' is not defined
What am I missing about why this won’t work? Can anyone please help me with a fix for this? Thank you in advance.