image - Detecting a large square region of same color in a video -
imagine there video , in video there "pixelated" region region of 100×100 pixels occupied smaller 25×25 squares of same color. within video (which may contain of colors of edge squares, i.e. black, red, blue, etc background):
i need find individual regions (which square) outline entire region occupied these squares. full region not have square or of particular shape, there 5 "large-pixels" in cross shape.
i seeking algorithm that, preferably stand alone (without external libraries). have no preference of language (anything python java or lisp c++).
p.s. video can have dimensions, example 500×600 pixels or 1920×1080, size of single "large-pixel" relative size of video, in other words 500×600 may have 25-high , 1920×1080 may 100-high.
p.s.s. issue neighboring "large-pixels" may of same color , should detected individual squares.
Comments
Post a Comment