Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,511,455
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-02-24 08:42 AM
Guest: Register | Login

0 users currently in Modern Art | 3 guests

Main - Modern Art - Best software for resizing up pictures? [(56/k)] New thread | New reply


Traffic Light
Posted on 02-08-10 03:46 PM Link | Quote | ID: 126806


Level: 64

Posts: 644/939
EXP: 2211495
Next: 2602

Since: 02-29-08

Last post: 4614 days
Last view: 1708 days
This problem has been bugging me since forever, I already have solutions for high quality x2 resizing (fractal interpolation or hq2x), but now that I wanted something x4 as big everything gave poor results.

Here's the source:



At x4 it should be a 1024x768 picture, after a LOT of work (including Reshade, ImAnalyzer, Corel Photo Paint, Irfanview...) I managed to go from this:



(usually what you'd get with Bicubic interpolation/wiener filter, etc.)

To this:



The challenge seems hard since for every pixel of the picture 15 new pixels have to be created.

Still not satisfactory, since details that are clearly there in the original picture are gone, what seems to be happening is that in the original picture the tree looks natural and good, while in the resized image it looks like one painted by some artist.

I refuse to believe that this is state of the art resizing, any help is appreciated.

____________________

bcelmo
Posted on 02-13-10 01:41 AM (rev. 2 of 02-13-10 01:42 AM) Link | Quote | ID: 127021

Newcomer
Level: 3

Posts: 1/1
EXP: 72
Next: 56

Since: 02-13-10

Last post: 5192 days
Last view: 5192 days
http://img709.imageshack.us/img709/4949/treeregular2.png

paulguy
Posted on 02-13-10 01:50 AM Link | Quote | ID: 127022


Flurry
Level: 37

Posts: 217/258
EXP: 327134
Next: 11119

Since: 04-10-07
From: Buffalo, NY

Last post: 5034 days
Last view: 4574 days

There really isn't a whole lot you can do. You're not going to get more details out of an image through interpolation. There needs to be more information about the shape of the original object. The best these algorithms can do is guess.

Some algorithms might do better than others based entirely on the different objects; where one works well with one object, it may get a different object entirely wrong.

So basically, do some research, look around, and try different things for different images. It'll never be perfect, but some may look kinda OK, at least for low scale factors like 2x.

____________________
"In other news, Scientists theoretize that CHEESECAKE CHEESECAKE CHEESECAKE." --Blackhole89

Naulahauta
Posted on 02-18-10 07:35 AM Link | Quote | ID: 127243


Red Paragoomba
Level: 19

Posts: 5/56
EXP: 30510
Next: 5267

Since: 10-27-09

Last post: 3710 days
Last view: 491 days
There's really no way around it.
However, whenever you want a higher-resolution version of an image, you should try TinEye. It's a different kind of image search: You give it an image which it analyzes and then it scours through the intertubes to find other iterations of the image.
You can also use the service to find cleaner versions of fussy JPEGs or something.

Sadly, your image showed 0 results.

____________________
oh

Traffic Light
Posted on 02-18-10 04:51 PM (rev. 3 of 02-18-10 04:54 PM) Link | Quote | ID: 127257


Level: 64

Posts: 665/939
EXP: 2211495
Next: 2602

Since: 02-29-08

Last post: 4614 days
Last view: 1708 days
Thanks for the tip. The source comes from a 1024x768 wallpaper where the tree is the highlight of it but it's very small, and I wanted just the tree at full size, that's what began it all

I managed to find the original source, that wallpaper at a 1600x1200 resolution (there are 1900xsomething resolutions but are obviously stretched), which allows for a slightly bigger source:



Which surprisingly allows for a much better result after some research as paulguy suggested.

However, I still have problems with color correction (my method requires the image to be split into three images with the YCbCr color space, scaling them with different methods and merging them, which produces an "orangish" result), but once I manage to solve that I'll post the result. Thanks everyone.

____________________

GreyMaria
Posted on 02-18-10 05:37 PM Link | Quote | ID: 127261

>implying even the Japanese understand the Japanese
Level: 105

Posts: 1868/2851
EXP: 11926550
Next: 335710

Since: 07-13-07

Last post: 4503 days
Last view: 4473 days
Posted by Naulahauta
you should try TinEye. It's a different kind of image search: You give it an image which it analyzes and then it scours through the intertubes to find other iterations of the image.


Duly noted for a time about a year and seven months from now. I have my own nefarious needs for this tool. Sounds so useful... would be nice to get some full size versions of some, uh, images.


Traffic Light: I can't think of any reason why you would do that in that manner. Either I'm tired or there's some genius reasoning behind it.

____________________
we're currently experiencing some technical difficulties

Traffic Light
Posted on 02-18-10 06:22 PM Link | Quote | ID: 127264


Level: 64

Posts: 667/939
EXP: 2211495
Next: 2602

Since: 02-29-08

Last post: 4614 days
Last view: 1708 days
Posted by GreyMario
Traffic Light: I can't think of any reason why you would do that in that manner. Either I'm tired or there's some genius reasoning behind it.


There are two ways of resizing (besides interpolation that makes the ugly first resize of the first post, great for resizing down, though, and beside giant pixels):

1: Add details: So what you like to see just isn't in the picture, the details aren't there, so what this does is invent them! The image is examined and new details are added, when this process is good it gives the illusion of high quality, problem is that it's too noisy at x4 due to all the fake details.

2: Get rid of details: This is amazingly good for simple pictures, think of the filters used in emulators to soften the picture, getting rid of all the noise gives the illusion that the original size of the picture is what you are seeing. The problem is that all realism is lost, and the picture pretty much looks like an artistic drawing.

3: So what you are looking for is a perfect balance of 2 and 3, with a bit of tweaking this is achievable, the problem is that it's applied to the whole picture, so some detailed parts are too softened and other soft parts still have more fake details than necessary.

The solution? Split the image in channels! RGB didn't do much, but YCbCr worked just nicely, I just applied the first method of enlargement to the black and white image that you get, it retains the added details, while the other two got a tweaked method of 2, because we don't care about the details of the picture colors. I merged the images and the result is an image with strange illumination, so I had to apply color correction to it, which gives this, an acceptable result considering it's x3.4 enlargement, but I still need to work on it so the original colors are matched.

____________________

paulguy
Posted on 02-18-10 06:28 PM Link | Quote | ID: 127265


Flurry
Level: 37

Posts: 219/258
EXP: 327134
Next: 11119

Since: 04-10-07
From: Buffalo, NY

Last post: 5034 days
Last view: 4574 days

Kinda reminiscent of a VHS tape, if it was that high resolution. :p Your method causes a LOT of bleed, and some weird blocky artifacts.

____________________
"In other news, Scientists theoretize that CHEESECAKE CHEESECAKE CHEESECAKE." --Blackhole89

Traffic Light
Posted on 02-18-10 06:47 PM Link | Quote | ID: 127267


Level: 64

Posts: 668/939
EXP: 2211495
Next: 2602

Since: 02-29-08

Last post: 4614 days
Last view: 1708 days
Yeah, huh, I'm about to give up, I'd just like to see how other people's methods looks like, for comparison.

Here are the methods separately:





So, my idea was to get something in the middle of both results, which kept me thinking inside the box, a fresh view to the problem would be appreciated.

____________________

blackhole89
Posted on 02-18-10 10:20 PM Link | Quote | ID: 127275


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 2900/4196
EXP: 21543074
Next: 293527

Since: 02-19-07
From: Ithaca, NY, US

Last post: 477 days
Last view: 90 days



If you want to get something in the middle of the two, why don't you just do a 50% blend between them?

Sounds like a bit of a crackpot idea, but it might just work if you actually want "some of the grainy detail and some of the quality-looking smoothness".

____________________



Traffic Light
Posted on 03-02-10 10:18 AM (rev. 2 of 03-02-10 10:20 AM) Link | Quote | ID: 127923


Level: 64

Posts: 706/939
EXP: 2211495
Next: 2602

Since: 02-29-08

Last post: 4614 days
Last view: 1708 days
Here's blackhole's idea:



The best result yet, since the colors aren't messed up.

There's still some bleeding, but I think the source has it too, by looking at its red channel we see:



The bright red parts cause it.

Thanks for the idea blackhole89.

____________________

Ailure
Posted on 03-24-10 01:19 PM (rev. 2 of 03-24-10 01:20 PM) Link | Quote | ID: 128712

Hats
Steam Board2 group
Level: 121

Posts: 3500/3965
EXP: 19788420
Next: 268276

Since: 02-19-07
From: Sweden, Skåne

Last post: 3307 days
Last view: 2058 days
Slight bump, but I actually played with some resizing algorithms of my own. I should probably post about it sometime soon, it was for reducing image size while making them look somewhat sharp.

At least you got a good result without using those odd vector-based resizing algorithms. Those always wind up looking... weird and "fat" with most pictures.

____________________
AIM: gamefreak1337, MSN: Emil_sim@spray.se, XMPP: ailure@xmpp.kafuka.org


Traffic Light
Posted on 03-24-10 09:51 PM Link | Quote | ID: 128819


Level: 64

Posts: 739/939
EXP: 2211495
Next: 2602

Since: 02-29-08

Last post: 4614 days
Last view: 1708 days
Posted by Ailure
At least you got a good result without using those odd vector-based resizing algorithms.


Method 2 "Get rid of details" is vector based, so the best result was a mix of vector based, and fractal interpolation.

Anyway, does someone know a program that emulates what a (crappy?) TV does when enlarging pictures? This tree looks gorgeous on my 27° TV at a much bigger scale, so a program emulating the TV's blurring would be interesting to try.

____________________

Main - Modern Art - Best software for resizing up pictures? [(56/k)] New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.067 seconds. (321KB of memory used)
MySQL - queries: 52, rows: 73/74, time: 0.046 seconds.