Image rotation and nearest neighbour lossiness levels.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 09 September 2008   #1
Image rotation and nearest neighbour lossiness levels.

Just working on some image rotation stuff whereby I set the corners, bresenham the edges and designate ST co-ords per pixel then go leftmost to rightmost pixel to draw (not actually scanline).

Trying to find any literature on this kind of thing is a pain and I'm not entirely happy with the results, I'm using an image with different colours for each edge and corner to check for loss at the edges and while just an outline draws these fine (now) the full draw tends to double the thickness of some edges while often almost eliminating whichever is the bottom line at the time.

I suspect I know why this is but I'm hoping someone's got an elegant solution (or at least a best solution) before I throw in some poorly thought out hack. Of course, if the only solution is over-sampling or bilinear interpolation, so be it. Otherwise, if anyone can point me in the direction of something relevant to good nearest neighbour transformation I'll be a happy man.
__________________
SEVENTYMILLION.org: a project to find, map and connect Irish people worldwide.
 
Old 09 September 2008   #2
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:54 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.