Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8457629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:51:25+00:00 2026-06-10T12:51:25+00:00

I am just processing an image, looking at things such as colour and contrast.

  • 0

I am just processing an image, looking at things such as colour and contrast. How ever my issue is analysing the complementary colours in the image and trying to do this efficiently.

Firstly I have got the pixel rgb. I have then converted to HSV and increase the hue and return to rgb, hence obtaining the complementary colour. I am then looking at its closet neighbours to see if any of these are complementary colours. How ever given these are pixels, it is rare one would find the central pixel to be a complementary – hence I do not feel this is very efficient.

Or another idea… to segment the image in accordance to colour regions and work out the distance from one region to another if there is a region with the complementary colours.

Any ideas and any ideas on how to efficiently code this?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:51:27+00:00Added an answer on June 10, 2026 at 12:51 pm

    So I eventually worked out roughly how to do this, either by a very slow way or a slightly faster way:

    1. segment image into colour regions
    2. calculate complementary of colour region by adding 0.5 to the hue of the colour
    3. look at closest neighbours to complementary aswell, as we may not have exact complementary colour present
    4. calculate euclidean distance from the segment to the complementary segment (if this exits) and calculate 1/ED – this will be 1 if close and nearer to zero if far away, so acts like a weight.
    5. calculate proportions in segment to weight pairing of complementary colours accordingly.

    Otherwise

    1. As opposed to segments do this for each pixel to every other pixel
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just wondering: I'm trying to set up an adaptive image handler in Coldfusion8, which
I am just doing some research into image processing and would appreciate it if
I have a small image processing application which does multiple things at once using
I am creating an image processing application in C# and trying to take advantage
I am a complete novice to image processing, and I am guessing this is
I am new to image processing and matlab. I am trying to extract the
I'm working on some image processing and for debug I'm overlaying colours on the
Looking for a bunch of optimized image processing utility functions. Like: Resize with Cubic
But I'm looking to install freetype, libjpeg, PIL build to add image processing to
I'm new to image processing and got to do corner detection for this image:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.