diff --git a/Cellan/tools.py b/Cellan/tools.py index c39594c..c3d3322 100644 --- a/Cellan/tools.py +++ b/Cellan/tools.py @@ -30,4 +30,4 @@ def extract_images(path_to_file,out_folder,fov_div): image=np.array(file.get_frame(z=0,t=0,c=c)) fov=np.uint8(exposure.rescale_intensity(image[h*fov_height:(h+1)*fov_height,w*fov_width:(w+1)*fov_width],out_range=(0,255))) - cv2.imwrite(os.path.join(out_folder,os.path.splitext(os.path.basename(path_to_file))[0],'_'+str(w)+str(h)+'_c'+str(c)+'.png'),fov) \ No newline at end of file + cv2.imwrite(os.path.join(out_folder,os.path.splitext(os.path.basename(path_to_file))[0]+'_'+str(w)+str(h)+'_c'+str(c)+'.png'),fov) \ No newline at end of file