Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Open discussion - image processing, Computer vision, Deep CNN and etc

views
     
TSweisinx7
post Feb 20 2020, 12:50 PM, updated 6y ago

Getting Started
**
Junior Member
213 posts

Joined: Oct 2019
Hi,

If anyone of you need someone to discuss on your image processing, or computer vision related problem, i'm interested to hear from you and discuss further as well.

Thanks
TSweisinx7
post Feb 24 2020, 09:35 AM

Getting Started
**
Junior Member
213 posts

Joined: Oct 2019
QUOTE(Palindrome @ Feb 23 2020, 02:06 AM)
I don't have experience in Artificial Intelligence and tools related to computer vision.

In the old days, I worked with 256-color down to 16-color depth processing using Pascal.

I am not sure if this is related to your topic of discussion, but how would one pick the color accent from a image?

Presumably a greenish tent in a dark night, the black color is dominant, but why is green color the right theme or accent color?

I hope not to derail your thread.  sweat.gif
*
Hi,

Actually i'm not so understand on your question, but please correct me if i'm wrong.

So do you mean in dark night, why the green colour is the correct accent colour?

And what do you mean by pick the color accent from an image? Is it picking the correct colour accent from the images?

Do you mind to elaborate further?



TSweisinx7
post Feb 24 2020, 12:06 PM

Getting Started
**
Junior Member
213 posts

Joined: Oct 2019
i see, actually that would depend on their algorithm. If green colour is the accent colour, probably they choose based on the highest contrast compared to the background, in this case, black is the background, while there are a few contrasted colour:

user posted image

I might be wrong, but this is just my thought
TSweisinx7
post Feb 24 2020, 02:13 PM

Getting Started
**
Junior Member
213 posts

Joined: Oct 2019
QUOTE(angch @ Feb 24 2020, 01:56 PM)
https://gist.github.com/angch/e0772b9b3e3be...99bbad6f13528e7

CODE
% go run main.go
Copy paste this to browser:
data:text/html,<html%20contenteditable> <div style='background:#000000;'>Accent</div><div style='background:#30471f;'>Accent</div><div style='background:#608e3e;'>Accent</div><div style='background:#93c271;'>Accent</div><div style='background:#c9e1b8;'>Accent</div> </html>


Dang, works on Safari only. Fixing.
*
Hi,

Mind to explain the higher level concept?

I'm not a go programmer but from what i can see, you find the brightest colour and use it as accent colour?

For me, i maybe will try steps below:

1. Perform gaussian filter on the image for smoothing purpose
2. Thresholding and separate blobs in image
3. From eachblob, perform analysis (find highest intensity, area and etc)
4. From the analyzed valued in the blob (maybe blob with highest intensity, contrast and etc), determine the accent colour

 

Change to:
| Lo-Fi Version
0.0189sec    1.02    7 queries    GZIP Disabled
Time is now: 12th December 2025 - 07:28 AM