def log(self,image,label="NOLABEL",ext='png',**kwargs):
        if kwargs.has_key('format'):
            sys.stderr.write("WARNING: the format option to ImageLog.plot is no longer supported. Please use 'ext'")
            ext = kwargs['format']
            del kwargs[format]
        if len(kwargs) > 0:
            raise ValueError("Unsupported keyword arguments: %s"(kwargs.keys(),))
        image.asAnnotated().save(self.dir+'/%06d_%s.%s'%(self.count,label,ext),quality=95)
        self.count += 1
        #print message
Save a pyvision image to the log.
dataset/ETHPy150Open bolme/pyvision/src/pyvision/analysis/ImageLog.py/ImageLog.log