Sign in to follow this  
Followers 0
dpy

Perspective Effect (v2.0 update 03/05/'10)

29 posts in this topic

Hi ,

Perspective Effect was completed!

The perspective effect of this plugin is the same as it of photoshop as far as I tested this plugin .

Of course you can use the conventional trapezoid transformation, too.

If you find bug , please tell me.

I will add this version to a set pack two weeks later.

MENU

Effects->Distort->Perspective

Interface

33885058_org.v1267792527.png

Ratio1-3

transform to perspective or trapezoid by three adjustment.

scale 0.01-16.0

Vertical/Horizontal and Perspective/Trapezoid

33885068_org.v1267792527.png

select vertical or horizontal.

26309251_org.v1253182906.png

Example of Vertical:Normal how to use

26239081.v1253024168.jpg

Example of Horizontal:

26239092.v1253024174.png

Linked Ratio1 and Ratio2

Ratio2 is ignored.

High Quality

Please uncheck if you feels work is slow. Please check it after finishing resize.

Download 

This is made by "Code Lab".

Thank you , BoltBait.

ver2.0 add perspective transform (03/05/'10)

ver1.1 take Antialiasing(02/16/'10)

ver beta only trapezoid transform (09/16/'09)

Edited by dpy
0

Share this post


Link to post
Share on other sites

Wow! :shock:

This must be one of the best things since like...ever! :D

Edit: And it's fast! Even with a 2000x1500 px image! :shock:

0

Share this post


Link to post
Share on other sites

Very nice, you made a resizing algorithm and you managed to apply it, a thing I still have on my To-Do list. :lol:

0

Share this post


Link to post
Share on other sites

Very nice plugin! Thank you for sharing it!

0

Share this post


Link to post
Share on other sites

Thank you for comment.

I am not a programmer and I do not know C # well .

However , Thanks to "CodeLab" , I can create plugin which is necessary for me, and I am glad that you like my plugin. :D

To Boude

Thank you for Lesson of the other day . :wink:

0

Share this post


Link to post
Share on other sites

Think of the effect as squashing or stretching the height or width of the image.

See the first image posted? The buildings look like they're leaning inwards at the top. The second image has corrected this by stretching the top of the image slightly.

0

Share this post


Link to post
Share on other sites

thank you , EER .

BTW , I found my big mistake.

This is not perspective! :lol: :oops:

26310299.v1253184813.png

0

Share this post


Link to post
Share on other sites

Thank You very much !!!

Have been hoping to find something like this.

Thanks Again!!

Kart

:D

0

Share this post


Link to post
Share on other sites

To kartracer , Goonfella

I'm glad you like this plug-in. :D

0

Share this post


Link to post
Share on other sites

I have some of your effects now and love them, gonna try this one as well

don't worry about your bad english, guess with your contribution to our creativity we all forgive you :D

0

Share this post


Link to post
Share on other sites

This is great dpy, thanks!

It seems like you could add a real skew effect as well, thanks to the difference between "perspective" and "dpy perspective" that you mentioned above. That would be fantastic. There's already an effect that does this (called "octagonal/quad reshape/matte"), but it can be tricky to get the shape right every time. I always have to load up Paint when I need to do it.

0

Share this post


Link to post
Share on other sites

To Whizzy,Neil Cassidy

you are welcome.

although a fake perspective. :D

0

Share this post


Link to post
Share on other sites

Oh yeah - following that PSD TUT from a while ago- hah

This plugin is made for it :P

I always wanted to try that one out - I like your result :)

0

Share this post


Link to post
Share on other sites

Thanks for the Perspective (Beta) I've been looking for that distortion since I installed Paint.NET.

Although I would prefer a graphic interface where the corners of a bounding box are moved to effectuate the perspective distortion I realize that such a plugin is an entirely different (and more difficult) development.

This works just great!

I do have corrections to the language and some other suggestions if you would like, (see image)33303_3c5767a2f2a09aade3c6c419d8cc6a8c

Thanks again!

/Gregors

0

Share this post


Link to post
Share on other sites

Lance and gregors

Thank you for suggestions.

I'd like to do so , but I can't do , because I'm Beginner of programing.

About anti-aliasing

pyjo's Basic Antialiasis so good.

When I was creating Perspective Effect , I tried to add it .

but , I could not work it :oops:

About UI

All my plugins were created by code Lab.

To change UI , I must study Visual C# .But I have no time to study it now. :oops:

However ,  I'd like to do update , someday :D

0

Share this post


Link to post
Share on other sites

@dpy: anti-aliasing is controlled blurring, and blurring is quite easy, it's mixing colours. So an average blur with a radius of 1 might look something like this:

CurrentPixel.R=(src[x+1,y+1].R+src[x,y+1].R+src[x-1,y+1].R+src[x+1,y].R+src[x,y].R+src[x-1,y].R+src[x+1,y-1].R+src[x,y-1].R+src[x-1,y-1].R)/9; //repeat for Green, Blue and Alpha

A more complicated blur would consider pixel further away as less important, so a your CurrentPixel would have less information from src[x+5,y+5] then src[x+1,y]. For a more controlled blur you could use the alpha value to search for edges, for example:

if (Math.Abs(src[x,y]-src[x-1,y])>100) //Math.Abs() is a method to make sure your value is positive, it convert negative numbers to positive numbers, which in this case comes in handy.
{
//Blur code
}

0

Share this post


Link to post
Share on other sites
@dpy: anti-aliasing is controlled blurring, and blurring is quite easy, it's mixing colours.

Wow ! it seems to be easy and simple !Thank you , Boude :D

But , i am so busy now :( I'll try it later.

Boude , Can I ask you to update for anti-aliasing?

If you are OK , change UI too.

What do you think?

0

Share this post


Link to post
Share on other sites

Thanks, I would be honoured. I already have a simple blur working so I guess this should be do-able.

0

Share this post


Link to post
Share on other sites
Thanks, I would be honoured. I already have a simple blur working so I guess this should be do-able.

I am looking forward to up date by you :)

0

Share this post


Link to post
Share on other sites

up date.

I added anti-aliasing by bilinear.

please test.

33004248_org.v1266057832.png

Boude , always thank you.

this time , I don't use your idea ,

but , I used your idea to create other plugin . :wink:

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0