Hi!
I am on my way now to start making a simple image processing program which shall have function such as blurring, and ... well, other image manipulating functions. But I am not sure whether I shal use an array with unsigned ints to store the whole RGB value, or one array with signed ints for R, one for G and one for B. I believe that using one array for the whole RGB value will be faster, especially since if I use SDL I can write directly into the buffer and display it directly, but using one array for each layer will be much more precise. Do you think there will be visible losses in quality after a few manipulations if I choose to use the less precise type? Which of these methods do you think I should use? What does other raster graphics editors use, like Photoshop and GIMP?
I also intended to build a simple computer vision library with a few functions, maybe these are not as picky as a human.



LinkBack URL
About LinkBacks




No, I really think image recognition would be very hard, at least I haven't got a clue about how to do it. I thought more in the style of merging two images, maybe one wants to make a panoramic image from a few images. I'm also thinking if there is any way to make a 3d-model out of a bunch of images taken at the same object from different angles, that on the other hand, might be a little bit more difficult. :P
Thanks for the link by the way, a good article. I realized int32 may be a little hard to use, since whenever you want to do a simple multiplication with another integer > 1, you can't guarantee there won’t be an overflow.