"Extreme" Despeckling?
Moderator: peterZ
Re: "Extreme" Despeckling?
.. and this too please: http://diybookscanner.org/forum/viewtopic.php?f=8&t=697
Re: "Extreme" Despeckling?
With no C++ experience, have fun waiting. I'm still hacking around
Re: "Extreme" Despeckling?
Wow, that was amazingly simple!
Okay, so the "Bounding Box" picture zone option is actually working!
This is the image mask (white = don't make bitonal): I'll post a working patch soon (I'm still integrating it with the GUI).
Okay, so the "Bounding Box" picture zone option is actually working!
This is the image mask (white = don't make bitonal): I'll post a working patch soon (I'm still integrating it with the GUI).
Re: "Extreme" Despeckling?
@Tulon, how would I check for the state of a checkbox from within OutputGenerator.cpp? I saw there was a render params variable, but it was a bit hard to understand...
Re: "Extreme" Despeckling?
You can't access it directly, as OutputGenerator runs in a different thread. The way to go is to represent the checkbox in output::Settings, read it from output::Task::process() and pass it to OutputGenerator from there.Anonymous wrote:@Tulon, how would I check for the state of a checkbox from within OutputGenerator.cpp? I saw there was a render params variable, but it was a bit hard to understand...
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
Re: "Extreme" Despeckling?
Hmm, my lack of C++ knowledge is taking it's toll. I can't seem to get it to work. I'll probably play with it more tomorrow...Tulon wrote:You can't access it directly, as OutputGenerator runs in a different thread. The way to go is to represent the checkbox in output::Settings, read it from output::Task::process() and pass it to OutputGenerator from there.
Re: "Extreme" Despeckling?
Is that Bounding Box automatic, or manually created with mouse clicks on the corners?
Re: "Extreme" Despeckling?
It's automatic. That's what I was trying to do, but now I have to let the user turn it off
Re: "Extreme" Despeckling?
Cool!Anonymous wrote:It's automatic. ... but now I have to let the user turn it off
Re: "Extreme" Despeckling?
Aargh, I am still stuck with the UI stuff... Time to attempt to segment the image mask to allow multiple bounding boxes to be generated.