Add possibility to save text file for further histogram analysis
Add a function to convert a 3D image to a stack of slices