Piece-wise spatial invariant model of ultrasonic image formatio