Horizontal + vertical lines in rectangular image