def offset(targets,yof,xof):
    """
    Offset targets(x,y) found in a sub-image
    """
    ret = []
    for t in targets:
        ofs = (t[0]+yof,t[1]+xof,t[2],t[3])
        ret.append(ofs)
    return ret