I have a few images of the following nature (showing only 2 to exemplify; these are 2 separate images):
From these, I want to extract the central black image (the E or the Cross) and overlay it on other blank surfaces, like:
I cannot just extract the black pixels and overlay it, since the boundaries are also black. The size of all the images is same, 400x400x3, so, if I can get the exact pixels for the central black image (the E and the Cross), then I can just convert the corresponding pixels to black for the empty surfaces. So, is there an easy way of getting those pixels? Any help will be appreciated!
Best Answer