local laplacian pyramid using opencv's basic Image APIs