4lex4 / scantailor-advanced

ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
GNU General Public License v3.0
1.15k stars 128 forks source link

Parameters for the automatic useful area selection function. #139

Open d4fe opened 4 years ago

d4fe commented 4 years ago

I think we should make the parameters for the function of automatic selection of the useful area. Since for low quality images, there is often an error in capturing an extra empty area due to some point. Correcting such errors manually is very time-consuming, so I think it would be rational to direct part of the developer's efforts here. Parameters can be, for example: The selection of the useful area is performed depending on the type of image (which is set by the user):

  1. If it is text, then the border stops moving when it bumps into multiple objects at the same time (hitting the edge of the text), as well as objects (stopping the border of the area) should not be too small.
  2. If it is a black and white drawing, then the border can be stopped at a fierce point (even a small one).
  3. If this is a tonal image, then the border stops at the beginning of the tonal region. (Machine translate). 111
jeremydmoore commented 4 years ago

Are you referring to the Select Content areas from Step 4?

Or the picture zone areas from a Mixed output image in Step 6?

On Sat, Jul 25, 2020 at 2:50 AM d4fe notifications@github.com wrote:

I think we should make the parameters for the function of automatic selection of the useful area. Since for scans of low quality, there is often an error in capturing an extra empty area due to some point. Correcting such errors manually is very time-consuming, so I think it would be rational to direct part of the developer's efforts here. Parameters can be, for example: The selection of the useful area is performed depending on the type of image (which is set by the user):

  1. If it is text, then the border stops moving when it bumps into multiple objects at the same time (hitting the edge of the text), as well as objects (stopping the border of the area) should not be too small.
  2. If it is a black and white drawing, then the border can be stopped at a fierce point (even a small one).
  3. If it is a tone pattern, then the border stops at the beginning of the tone region. (Machine translate).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/4lex4/scantailor-advanced/issues/139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHFAM6JJTIDYEGCW4V6YADR5J6B5ANCNFSM4PHKCBUA .

d4fe commented 4 years ago

I'm talking about step 4.