//Load Molostack //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// path_molo = File.openDialog("Select a Molographic File"); //get total file path --> open image Sequence //print("Filepath:", path_molo); parent_molo = File.getParent(path_molo); //get folder directory where the selected file is //print("Directory:", parent_molo); folder_molo = File.getName(parent_molo); //get folder name --> stack name (needed for stack combination) //print("Foldername:", folder_molo); run("Image Sequence...", "open="+path_molo+" sort"); //Image Sequence of all Images //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// run("Stack to Images"); //Einzelne Bilder aus Stack machen openImages = nImages(); //Anzahl der offenen Bilder //print(openImages); i = 0; //Schleife fuer alle Bilder while (i