Tuesday, November 16, 2010

How to programme the changing round of pixels in an image?

for example we give to the pixel which corrdinates are (i,j) the colour of the pixel which coordinates are (i',j') and we give the colour of origin of (i,j) to another pixel etc..

how to do this programm?How to programme the changing round of pixels in an image?
Since you are doing this at the pixel level, you need to set up a temporary storage location with the same form as the pixels and then do A to Temp, B to A, Temp to B, which swaps the two. If you just want to shift things around, copy all the intermediate pixels and then go Temp to Last

No comments:

Post a Comment