1

I have an input cylinder image. That image I have to scale in a particular way. That is I have to scale the image in the middle part only. My input image is enter image description here

I want output image as

enter image description here

I am trying to achieve this using Opencv and C++. What kind of transformation do I have to use to achieve this result.

Neeraj
  • 1,612
  • 7
  • 29
  • 47
  • do you want to preserve the straight vertical bright highlight on the cylinder (as in your example) or is it ok to transform it, too (so it would be bulged, too)? – Micka May 03 '16 at 15:26
  • @Micka No need to preserve that. That can be bulged too... Since I created the output image using photoshop, it came like that... Thats all... – Neeraj May 04 '16 at 04:32
  • Are you looking for something like this: https://stackoverflow.com/questions/2589851/how-can-i-implement-a-fisheye-lens-effect-barrel-transformation-in-matlab ? – akamath May 05 '16 at 21:01
  • @akamath Not fish eye effect – Neeraj May 06 '16 at 07:13

0 Answers0