Results 1 to 4 of 4

Thread: Any settings for edge detection effect?

  1. #1
    IV Newbie
    Join Date
    Sep 2018
    Posts
    2
    OS
    64-bit Win 10

    Question Any settings for edge detection effect?

    Hi,

    I'm looking for increasing the readability of a photographed text. Specifically also, I'm looking for smoothing the edge detection effect by increasing the detected edge width or to increase the width of the new replacement edge. The effect which I'm looking for can be well reproduced on my BB Z30, see below. It removes the (non-white and non-uniform) background and keeps the letters in "one piece" by detecting edges. It's almost like a scanned image on our company printer

    Original snippet of a photo:
    Click image for larger version. 

Name:	IMG_20180904_091702 original.jpg 
Views:	28 
Size:	17.1 KB 
ID:	5374

    The whiteboard effect on a BB Z30 (auto-adjust + whiteboard):
    Click image for larger version. 

Name:	IMG_20180904_091702 whiteboard (BB Z30).jpg 
Views:	25 
Size:	29.4 KB 
ID:	5373

    The best I came close with IrfanView using edge detection effect, converting all channels and auto-adjusting colours:
    Click image for larger version. 

Name:	IMG_20180904_091702 edge + convert + auto-adjust (IrfanView).jpg 
Views:	23 
Size:	20.3 KB 
ID:	5375

    Here is another test, which increases readability of the text, but does not remove the background grey (auto-adjust colours and sharpen image):
    Click image for larger version. 

Name:	IMG_20180904_091702 auto-adjust + sharpen.jpg 
Views:	22 
Size:	21.5 KB 
ID:	5372

    Any other ideas, how to increase readability of a photographed text, please?

  2. #2
    Moderator Enterprise User Bhikkhu Pesala's Avatar
    Join Date
    May 2007
    Location
    East London
    Posts
    5,764
    Version
    IrfanView 4.51
    OS
    64-bit Win 10
    CPU Cores
    1

    Default

    IMO applying a Gamma Correction (Shift G) of 4-5 is the easiest method.

    Click image for larger version. 

Name:	Gamma Correction.png 
Views:	23 
Size:	75.2 KB 
ID:	5376

  3. #3
    Multiple User Jacal's Avatar
    Join Date
    Jun 2013
    Posts
    305
    Version
    IrfanView 4.51
    OS
    64-bit Win 10
    CPU Cores
    4

    Default

    Decreasing colour depth to 2 (black/white) also gives a kind of readable result.

    Click image for larger version. 

Name:	IMG_20180904_091702_j_bw.png 
Views:	19 
Size:	2.7 KB 
ID:	5377

    Using SmartCurve 8BF plugin, better:

    Click image for larger version. 

Name:	IMG_20180904_091702_j_curve.png 
Views:	26 
Size:	23.6 KB 
ID:	5378

    The curve can be something like this:

    Click image for larger version. 

Name:	curve.png 
Views:	24 
Size:	32.6 KB 
ID:	5379
    Last edited by Jacal; 10.09.2018 at 12:33 PM.

  4. #4
    IV Newbie
    Join Date
    Sep 2018
    Posts
    2
    OS
    64-bit Win 10

    Default

    Thank you! The SmartCurve 8BF plugin seems to give me the best results. Thank you for all the suggestions, I learned something new

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •