[4eyes] Optimization problem

Cha Lee chalee21 at cs.ucsb.edu
Tue Jun 19 19:58:38 PDT 2012


Hey folks,

I've got a code bottleneck that I could use some help on. For
compatibly reasons, I need to copy an N*M image to a S*S image. The
first image is a rectangular image but the second is a power of two
image. What I'm doing now is going pixel by pixel on the second image,
find the correct pixel coordinate on the first image, and copying over
the color information. Basically pixel by pixel copy. This is
obviously killing my performance.

Any suggestions?


-- 
Regards,

Cha Lee
PhD Candidate
University of California, Santa Barbara


More information about the Ilab-users mailing list