Hi all,

I have a problem that I'm having difficulty in solving.

I have selected 4 points on an image. These points are a region/closed
polygon/etc that can't be defined as a rectangle. I then want to apply a
Photoshop style Distrot Transformation of these points to a defined
rectangle to effectively straighten the selected region.

Anyone have any thoughts on how to solve this?

Thanks,

Graeme

Re: Photoshop style Distort Transformation... by Deckarep

Deckarep
Sat Jan 20 21:33:00 CST 2007

You might have luck with this in the Paint.Net source code.

http://www.getpaint.net/index2.html

They have an Effects namespace of objects that all do different
effects. I can't say for sure but perhaps they've come up with a
solution.

Regards,

-Ralph


GraGra33 wrote:
> Hi all,
>
> I have a problem that I'm having difficulty in solving.
>
> I have selected 4 points on an image. These points are a region/closed
> polygon/etc that can't be defined as a rectangle. I then want to apply a
> Photoshop style Distrot Transformation of these points to a defined
> rectangle to effectively straighten the selected region.
>
> Anyone have any thoughts on how to solve this?
>
> Thanks,
>
> Graeme


Re: Photoshop style Distort Transformation... by GraGra33

GraGra33
Sat Jan 20 22:31:50 CST 2007

Hi Ralf,

Thanks for the response ...

Have try Paint.Net and Gimp ... Both have the standard transformations found
in the GDI+ library that work with perfect rectangular regions and that's as
far as they go ...

Graeme

"Deckarep" <deckarep@gmail.com> wrote in message
news:1169350380.157872.171450@m58g2000cwm.googlegroups.com...
> You might have luck with this in the Paint.Net source code.
>
> http://www.getpaint.net/index2.html
>
> They have an Effects namespace of objects that all do different
> effects. I can't say for sure but perhaps they've come up with a
> solution.
>
> Regards,
>
> -Ralph
>
>
> GraGra33 wrote:
>> Hi all,
>>
>> I have a problem that I'm having difficulty in solving.
>>
>> I have selected 4 points on an image. These points are a region/closed
>> polygon/etc that can't be defined as a rectangle. I then want to apply a
>> Photoshop style Distrot Transformation of these points to a defined
>> rectangle to effectively straighten the selected region.
>>
>> Anyone have any thoughts on how to solve this?
>>
>> Thanks,
>>
>> Graeme
>