Thinning handwritten characters in MATLAB

前端 未结 2 1984
长发绾君心
长发绾君心 2020-12-06 03:13

I want to thin handwritten characters like shown below:

\"enter

Code below giv

相关标签:
2条回答
  • 2020-12-06 03:40

    Yes.‏‏‏ ‏‏ ‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

    0 讨论(0)
  • 2020-12-06 03:54

    The consensus is that your code is ok. However, to give Shai some mileage on his points, I add a minor comment:

    The use of imcomplement may not be necessary, see the documentation.

    In particular:

    Tip If IM is a grayscale or RGB image of class double, you can use the expression 1-IM instead of this function.

    If IM is a binary image, you can use the expression ~IM instead of this function.

    0 讨论(0)
提交回复
热议问题