/* TZPs ANALYZER ¯¯¯¯¯¯¯¯¯¯¯¯¯ TZPs Analyzer is a macro/plugin that compute basic morphological measurements on a batch of region of interest (ROI) zip files and associated images. The images should be Tiffs with the same name as the corresponding zip file. The zip files contain ROIs for every transzonal projection (TZP). Some measurements are also done on the zona pelucida (ZP) itself and the ooplasm. TZPs must be freeline type while ZP and ooplasm are freehand type. It's possible to have 0, 1, 2 or 3 freehand elements. Biological knowledge: TZPs are structure in the oocyte zona pellucia that form channels linking the oocyte to the surrounding cumulus cells. They are generally stained with an actin marker. TO DO: Entire oocyte (area, roundness, center) Zona Pellucida (area, roundness, intensity, mean thickness) Ooplasm (area, roundness, intensity) Transzonal Projections (angle with center, distance inner, distance outter) AUTHOR : Alexandre Bastien, Copyright (c) 2020 EMAIL : alexandre.bastien@fsaa.ulaval.ca LICENSE : Licensed under MIT License, see file LICENSE */ dir = getDirectory("Choose input directory"); filelist = getFileList(dir); setBatchMode(true); names = newArray(0); for (jj=0; jj