import time import sys import os sys.path.append(os.environ['POLONATOR_PATH']+'/polonator') import numpy as np # from PIL import Image import Image # for later versions of PIL import polonator.image.findObjects as FO from polonator.illum.mapping import MappingFunctions from polonator.motion.maestro import MaestroFunctions import polonator.camera.asPhoenix as PC import polonator.illum.D4000 as PI MapFunc = MappingFunctions() MapFunc.read_mapping_file() MaestroF = MaestroFunctions() #my_color = "spare" my_color = "cy3" LEN = 1000000 data_size = LEN#+4 MAX_BEADS_PERFRAME = 1000000 img_array = np.empty(data_size, dtype=np.uint16) img_array2 = np.empty(data_size, dtype=np.uint16) beadpos_xcol = np.empty(MAX_BEADS_PERFRAME, dtype=np.uint16) beadpos_yrow = np.empty(MAX_BEADS_PERFRAME, dtype=np.uint16) segmask_image = np.empty(data_size, dtype=np.uint16)
import time import sys import os sys.path.append(os.environ['POLONATOR_PATH']+'/polonator') import numpy as np # from PIL import Image import Image # for later versions of PIL import polonator.image.findObjects as FO from polonator.illum.mapping import MappingFunctions from polonator.motion.maestro import MaestroFunctions import polonator.camera.asPhoenix as PC import polonator.image.imgTools as IT # assumes we've alreay created a mapping file MapFunc = MappingFunctions() MapFunc.readMappingFile() MaestroF = MaestroFunctions() #my_color = "spare" #my_color = "txred" #my_color_ind = 2 my_color = "cy3" my_color_ind = 0 no_color = "none" color0 = "cy3" color1 = "cy5" color2 = "txred" color3 = "fam"
import time import sys import os sys.path.append(os.environ['POLONATOR_PATH'] + '/polonator') import numpy as np # from PIL import Image import Image # for later versions of PIL import polonator.image.findObjects as FO from polonator.illum.mapping import MappingFunctions from polonator.motion.maestro import MaestroFunctions import polonator.camera.asPhoenix as PC import polonator.image.imgTools as IT # assumes we've alreay created a mapping file MapFunc = MappingFunctions() MapFunc.readMappingFile(useDefault=True) MaestroF = MaestroFunctions() #my_color = "spare" #my_color = "txr" #my_color_ind = 2 my_color = "cy3" my_color_ind = 0 no_color = "none" color0 = "cy3" color1 = "cy5" color2 = "txr" color3 = "fam"