Search found 7 matches

by Crane
2017-03-24T13:55:43-07:00
Forum: Users
Topic: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.
Replies: 14
Views: 7417

Re: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.

I can't, I'm afraid. I don't know enough bash command syntax to have any idea what half of the code you provided means. Last try: can someone just provide me with a .bat file that does what I originally asked for? I'm sorry, but I don't have enough background knowledge to employ the solutions you're ...
by Crane
2017-03-24T11:45:28-07:00
Forum: Users
Topic: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.
Replies: 14
Views: 7417

Re: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.

Right, okay.
I can't even persuade ImageMagick to work at all under Cygwin.
Thank you very much for trying, but I'm done with this.
by Crane
2017-03-24T11:20:58-07:00
Forum: Users
Topic: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.
Replies: 14
Views: 7417

Re: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.

I can't get the -region command to work, no matter what I try. This is part of why I came here asking for advice.
by Crane
2017-03-24T10:37:59-07:00
Forum: Users
Topic: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.
Replies: 14
Views: 7417

Re: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.

I did try running a subimage compare, and it appeared to just hang. When I looked it up, I found that this apparently takes a very long time? I've got hundreds of pages I want to run through this, so I'd prefer something quicker...
by Crane
2017-03-24T10:14:54-07:00
Forum: Users
Topic: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.
Replies: 14
Views: 7417

Re: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.

Yes, modulo the usual imprecisions of scanning.
It's also always in the same location relative to the actual panels too, though of course this doesn't mean exactly the same X/Y coordinates on each image.
by Crane
2017-03-24T06:21:56-07:00
Forum: Users
Topic: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.
Replies: 14
Views: 7417

Re: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.

The top part of an image with the marker in question: http://i.imgur.com/R2rmWqk.jpg I can't simply blindly crop the whole top margin, because some pages have art going all the way to the edge. My hope is that if I could simply define the region which contains the mark, check whether or not it has a ...
by Crane
2017-03-24T04:00:09-07:00
Forum: Users
Topic: Erasing a region of an image only if it contains more than a certain proportion of a specified colour.
Replies: 14
Views: 7417

Erasing a region of an image only if it contains more than a certain proportion of a specified colour.

Using: ImageMagick 7.0.5-3 Q16 x64 2017-03-18 On Windows 7, via the CMD prompt. I have some manga pages I have scanned, and I want to be able to crop them as a batch. However, at the top corner of some pages is a "read this way" marker (in case you're not used to those wacky foreigners and their ...