def lineFit(self,image,order=1): """Return polynomial fits to the baseline and xline.""" xh,bl = lineproc.estimate_xheight(image) return array([bl]),array([bl-xh])
def lineParameters(self,image,order=1): """Assuming the line is horizontal, compute xheight and baseline, and all the other parameters.""" xh,bl = lineproc.estimate_xheight(image) return bl,bl-xh,array([bl]),array([bl-xh])
def lineParameters(self, image, order=1): """Assuming the line is horizontal, compute xheight and baseline, and all the other parameters.""" xh, bl = lineproc.estimate_xheight(image) return bl, bl - xh, array([bl]), array([bl - xh])
def lineFit(self,image,order=1): """Assuming the line is horizontal, compute xheight and baseline.""" xh,bl = lineproc.estimate_xheight(image) return array([bl]),array([bl-xh])
def lineFit(self, image, order=1): """Assuming the line is horizontal, compute xheight and baseline.""" xh, bl = lineproc.estimate_xheight(image) return array([bl]), array([bl - xh])