Hey all,
I'm using IM4Java to use imagemagick for document image processing. Of the features I'm using, deskew is probably the most used.
Question - is there a good way/example through im4java, or maybe jmagick, to get a metric of how much was deskewed? I'm interested in keeping track of each page's deskew change value and use that as a way to show how many images were 'off over 5%' or similar example (which would really help show how much value people 'automatically' get by using Imagemagick/im4java without knowing it :-)
thanky!
-D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you just want to measure change, you could use IMs compare-command (btw: this command is not yet supported by im4java). But I think the amout of change really is irrelevant for your needs. A small change could mean that the original wans't skewed much or that the original was heavily skewed but the deskewing failed.
You are probably more interested in a measure of quality of -deskew. And that is impossible without a second algorithm which you trust more.
Maybe you post your question to the IM-mailing list, since this is more an image-processing issue and less an issue of using im4java/jmagick.
Bernhard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey all,
I'm using IM4Java to use imagemagick for document image processing. Of the features I'm using, deskew is probably the most used.
Question - is there a good way/example through im4java, or maybe jmagick, to get a metric of how much was deskewed? I'm interested in keeping track of each page's deskew change value and use that as a way to show how many images were 'off over 5%' or similar example (which would really help show how much value people 'automatically' get by using Imagemagick/im4java without knowing it :-)
thanky!
-D
Also, similar metrics for despeckle/median filtering would also help! :-)
-D
If you just want to measure change, you could use IMs compare-command (btw: this command is not yet supported by im4java). But I think the amout of change really is irrelevant for your needs. A small change could mean that the original wans't skewed much or that the original was heavily skewed but the deskewing failed.
You are probably more interested in a measure of quality of -deskew. And that is impossible without a second algorithm which you trust more.
Maybe you post your question to the IM-mailing list, since this is more an image-processing issue and less an issue of using im4java/jmagick.
Bernhard