def f16(self): if self.ld1 and self.ld2: sav("./tmp/trr1.jpg",functions.op_binario(imgtmp,self.rt2,"not")) sav("./tmp/trr2.jpg",functions.op_binario(self.rt2,imgtmp,"not")) sav(imgtmp,functions.op_binario("./tmp/trr1.jpg","./tmp/trr2.jpg","or")) self.ids.imgt.reload() self.set_stat("Listo") elif self.ld1 or self.ld2: self.set_stat(ups2) else: self.set_stat(upsall)
def f14(self): if self.ld1 and self.ld2: sav(imgtmp,functions.op_binario(imgtmp,self.rt2,"xor")) self.ids.imgt.reload() self.set_stat("Listo") elif self.ld1 or self.ld2: self.set_stat(ups2) else: self.set_stat(upsall)