Update on createSegmentatedImages
Updated script

Saves image information