Page 1 of 1
Pillow with curved lines
Posted: 2015-12-27T10:01:21-07:00
by astroanalyst
I am not a programmer but rather helping my programmer solve this problem.
He currently wrapped an image on a pillow but the image does not follow the contour.
I want it to look like this
https://society6.com/product/vertical-l ... 193&18=126
Notice the lines on the edges bend in but the line in the middle stays straight.
Can anyone give me a clue how what to do so I can inform my programmer?
Thanks.
Re: Pillow with curved lines
Posted: 2015-12-27T11:57:21-07:00
by fmw42
How about you first identify your IM version and platform and then provide your input images. You can post them to some free hosting service such as dropbox.com and put the URL here. Please review
viewtopic.php?f=1&t=9620
Re: Pillow with curved lines
Posted: 2015-12-27T12:13:19-07:00
by astroanalyst
Ok I will do that.
For the sake of simplicity... the input images are straight vertical lines.
I'll have to get the IM version.
Re: Pillow with curved lines
Posted: 2015-12-27T14:38:24-07:00
by fmw42
astroanalyst wrote:Ok I will do that.
For the sake of simplicity... the input images are straight vertical lines.
I'll have to get the IM version.
I need to see the exact input image of the pillow and of the pattern you want to put onto the pillow.
Please see my PM to you on this forum.
Re: Pillow with curved lines
Posted: 2015-12-30T09:54:23-07:00
by snibgo
This sounds as if you want pincushion distortion, which is the opposite of barrel distortion, eg:
Code: Select all
convert pincin.png -distort Barrel 0,0,-0.4 pincout.png
Tweaking the three parameters may give a closer approximation.
Re: Pillow with curved lines
Posted: 2016-01-03T13:36:53-07:00
by astroanalyst
That looks pretty good however the boxes on the outside are larger than the boxes on the inside.
If this were a pillow the bulge would be in the middle and that box would appear bigger.
It would be fine if the whole grid had the same size boxes but were slightly bent like you show it.
Re: Pillow with curved lines
Posted: 2016-01-03T13:41:42-07:00
by fmw42
Please see my PM to you on this forum.
Re: Pillow with curved lines
Posted: 2016-01-03T16:09:56-07:00
by astroanalyst
My programmer figured it out... he added more distortion points the edges then bent them.
He will add a total of 20.
Re: Pillow with curved lines
Posted: 2016-01-05T00:15:55-07:00
by fmw42
Please see my new PM to you on this forum.