Hi
I have a transparent black border panel on top of an imageview. I want to detect the area of the imageview the panel is on top of the detect of that part of the image is 80% composed of dark colors. If it is I want to change the border color of the panel to white so that the panel is visible.
i.e. for darker image parts inside the panel, change transparent panel border to white and if that part of the image is white the transparent panel border should be black.
Any advice please?
ps: I have attached the respective images herein for more clarity.
I have a transparent black border panel on top of an imageview. I want to detect the area of the imageview the panel is on top of the detect of that part of the image is 80% composed of dark colors. If it is I want to change the border color of the panel to white so that the panel is visible.
i.e. for darker image parts inside the panel, change transparent panel border to white and if that part of the image is white the transparent panel border should be black.
Any advice please?
ps: I have attached the respective images herein for more clarity.