squeez image

Started by
1 comment, last by darkpgn 17 years, 6 months ago
hi i am trying to write a program that will take a rectangle and squeez the image to the middle of the picture...so that it would look like this... original ------- |-----| |-----| ------- squeezed --___-- |-----| |-----| --```-- based on trig functions to calculate how much it should squeez it as it get closer to the middle...
Advertisement
so what's the question?
sorry i have been looking at this thing for like 3 weeks and have gotten no where...

im working with panoramas and im trying to make the image look like its on the inside of a cylinder. but i dont know how to do this...

we have had some crazy formulas and non of them have worked...we only have access to c# libraries we cant use opengl or anything like that so we basicaly have to go through pixel by pixel using lockbits.

the hardest part for us is getting the formual and then applying it so that we get the image to appear as though it is closer on the edges of the picture than in the middle...

This topic is closed to new replies.

Advertisement