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 3210874
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:38:03+00:00 2026-05-17T14:38:03+00:00

Given image is N*M (R,G,B) pixels like: Algorithm should tall us how to find

  • 0

Given image is N*M (R,G,B) pixels like:

alt text

Algorithm should tall us how to find main image colors like: red and white here.

Aeries with relatively same colors means we search for (R,G,B) (222, 12, 10) giving for example such step (40, 20, 10 ) so that (199, 32, 5) will count like what we are searching for like:

alt text

Shapes should be defined by array of connected points (x, y) attached to pixels like:

alt text

Pseudo code will work for me as well as any readable code in OO language like Java or C++ (in this 2 I am especially interested)

What algorithm is fastest for getting relative to image shapes formed by aeries with relatively same colors on the given image?

  • 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-05-17T14:38:03+00:00Added an answer on May 17, 2026 at 2:38 pm

    Just a warning. You should be carefull with the wording: if you identify the three “main colors” of your image, you may get the following (code in Mahematica):

    alt text

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a 2D image randomly and sparsely scattered with pixels. given a point
Given a bitmap image with some blots of solid color on it, what algorithm
Is there some reasonably cross platform way to create a thumbnail image given a
Given a path and filename how can I get the Image object: Image image
I can't find the Html.Image method in new MVC RC version. Please somebody give
Given a specific DateTime value, how do I display relative time, like: 2 hours
So I have Image like this (source: de-viz.ru ) I want to get something
I'm trying to develop an image focusing algorithm for some test automation work. I've
I need the fastest sphere mapping algorithm. Something like Bresenham's line drawing one. Something
So I have Image like this (source: de-viz.ru ) I want to get something

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.