Hi, I have multiple movies that need to use the same mask during PIV analysis. I've created a mask file using the PIVlab GUI and saved it, but I don't see how to use that file in the command line version of PIVlab.
I see the instructions in the comment in the command line that say "If needed, generate via: imagesc(image); [temp,Mask{1,1},Mask{1,2}]=roipoly;" but I don't quite understand this.
What should I be setting s{4,2} to be equal to? My list of points that will be connected with roipoly? Or something else?
I've tried to investigate the GUI code, but I don't really understand how to debug and track things in the GUI code, so I can't find what is going on with the mask there. I see the sections with maskiererx and maskierery but other than copying those bits of code into the command line version, I'm not sure how to proceed.
Thanks much!