Jump to content

Grotty Image Advice


Recommended Posts

I felt like a challenge, so I made a plugin that you can use to (kind of) improve the image ... here are the results:

grotty.jpg

Before using the plugin, you need to scale the image by half, since the original is made up of 2x2 blocks. Use Image > Resize with a value of 50%. Make sure you set the resampling method to Nearest neighbor so no grey values are introduced; the plugin expects only black and white images.

Then run the plugin twice in a row; the second time, untick the box called "First pass".

The result still isn't all that perfect, since there is a kind of checkered effect in places that makes it hard to distinguish the background from the letters -- but I hope this is still helpful!

The plugin appears in the Effects > Noise > Fix Scan menu.

Download: FixScan.zip

There are instructions for installing plugins here: http://boltbait.com/...lingEffects.asp

David

Edited by davidf
  • Upvote 1
Link to comment
Share on other sites

@davidf - are you going to release this plugin more formally?

(you should be thinking about compiling your plugins into a plugin pack - with it's own thread ;) )

Link to comment
Share on other sites

@davidf - are you going to release this plugin more formally?

It's pretty specialised at the moment, and the results aren't all that great, so probably not ... though I might have a try at something more general one day.

Doing this has given me a fresh appreciation of how good humans are at text recognition! There are some subtle things that are hard to detect with a computer program.

Link to comment
Share on other sites

I'm not sure how you're coding this effect, but have you met GetBilinearSample? I'm sure you would find it useful for this plugin.

See http://forums.getpaint.net/index.php?/topic/8419-displacement/#entry131337

Link to comment
Share on other sites

I'm not sure how you're coding this effect, but have you met GetBilinearSample?

Lots of special cases -- I'm looking for patterns of pixels and then inverting some of them.

Does bilinear sampling introduce new colours (grey levels)? In this plugin I'm sticking to black & white ...

Edited by davidf
Link to comment
Share on other sites

To be honest I'm not absolutely sure.

As far as I understand it, it takes two (more ?) samples instead one (usually src[x,y] ). Whether it averages RGB or returns greyscale I'm not exactly sure.

Having got myself in over my head - perhaps I'll leave function of GetBilinearSample to someone who knows more about it! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...