Link to convert source code to macro video tutorial:
[ Ссылка ]
Macro source code:
Please replace the (angle bracket) with a "less than symbol angle bracket" at line 11 of the code. Angle brackets are not allowed in the YouTube description.
// Initialize Area and Mean Intensity measurement variables
{
//Manually run("8-bit")
//Manually setThreshold
// Save current settings
saveSettings;
// Enable "Stack position" option
setOption("Stack position", true);
Slice = nSlices;
// Loop through all slices and measure
for (n = 1; n(angle bracket)=nSlices; n++) {
setSlice(n);
//Measure the Area and Mean Intensity
run("Measure");
}
// Restore previous settings
restoreSettings;
Ещё видео!