0
$\begingroup$

For clarity, Nearly same colors of pixels belong to a category. Another nearly same colors of pixels belong to another category. The distinction depends on nearly same RGB values of pixels.

$\endgroup$
3
  • 1
    $\begingroup$ You need to give us more information (please edit your question). If you burrow down to the bottom of image segmentation, you get to a plain old detection problem: does this pixel belong in category A or category B? So what distinguishes your almost-same-color pixels from one another, that makes you think they belong in one category or another? $\endgroup$
    – TimWescott
    Jan 5 at 0:17
  • $\begingroup$ Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. $\endgroup$
    – Community Bot
    Jan 5 at 1:21
  • $\begingroup$ show us a picture? $\endgroup$ Jan 5 at 10:37

1 Answer 1

0
$\begingroup$

If the image is a GIF (or similar), you have large areas a single colour.
To find where these areas end, an edge detector is the logical choice.

In DSP terms, look at high pass filters to detect changes when you move between areas.

Note: jpeg and other picture formats can have areas where colour slowly changes. In this case, the edge between colours is not an easy choice.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.