Talk:Bitmap/Histogram: Difference between revisions

(Restructuring?)
Line 22:
 
::: It already is [[grayscale image|see here]]. "Bitmap storage" is a task, which was intended, as I understand it, to define types and/or other language objects necessary to deal with images. Histogram type/class, call it is as you wish, logically belongs there. It extends that package. If you want to restructure it, I think you should discuss it there, or ask [[User:ShinTakezou]], who created it. --[[User:Dmitry-kazakov|Dmitry-kazakov]] 16:55, 16 January 2009 (UTC)
 
:::: No, no, no and no. The link you gave is '''not''' B/W image, it is grayscale image. I am talking about the B/W conversion that is specified in '''this''' task. And it should '''not''' be in this task. It is an entirely separate function from histogram calculation. The idea of Rosetta Code is to have separate simple programming tasks impemented in different languages. There is no point putting multiple unrelated tasks into a single task definition.
:::: 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)
Anonymous user