Talk:Bitmap/Histogram: Difference between revisions

It is not about the number of colors
(It is not about the number of colors)
Line 26:
:::: Histogram calculation is an individual function that performs an operation. It is not a type or a class. And it definitely does not belong in the definition of image storage. But if you think it belongs to image storage, the why is it not there? It is ''here''. Similarely, conversion to 1 bit/pixel B/W image is an etirely separate task, unrelated to histogram calculation, so it should not be here in the histogram task. (But that conversion is so simple that there is probably no deed to create a task for it.)
:::: --[[User:PauliKL|PauliKL]] 21:30, 16 January 2009 (UTC)
 
:::::OK, if you think that black and white images deserve a separate task, you can create it. But this task was to use histogram in order to create black and white art image, which is still a grayscale one. I could use three clusters instead of two, or N clusters, but I felt it overstretched to add local maximum/minimum search or other methods of clustering. Would that be a three-color image task then? The number of result colors is irrelevant in the task. --[[User:Dmitry-kazakov|Dmitry-kazakov]] 15:49, 17 January 2009 (UTC)