[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Problem with KisAbstractColorspace::difference
From:       Cyrille Berger <cberger () cberger ! net>
Date:       2006-01-26 14:40:18
Message-ID: 200601261540.18909.cberger () cberger ! net
[Download RAW message or body]

Hello,

I have to problem with the current implementation of 
KisAbstractColorspace::difference :

1) he doesn't work at all in CMYK, try do draw a circle, and then to fill it, 
whatever threshold you choose you fill the entire image

2) I am a little bit confuse, in RGB I expect White and Black to be the two 
most differenct color, and so I expect difference(White, Black) to return 
255, but it return only 100, while difference(Blue, Yellow) return 255, which 
I find normal (it's even worse in Grayscale as you don't have blue vs 
yellow).

-- 
--- Cyrille Berger ---
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic