Search⌘ K
AI Features

Smallest Rectangle Enclosing Black Pixels

Smallest Rectangle Enclosing Black Pixels gives a binary image and one known black pixel; return the area of the smallest axis-aligned rectangle containing the connected black region.

Statement

You are given an ...