I want to get input from mouse for as image. I am working on OCR. imfreehand get input from mouse but at the end it turns out to be a polygon. I couldnot get the desired output. Please help

 채택된 답변

KSSV
KSSV 2016년 8월 30일

0 개 추천

use
imfreehand('Closed',false)
to avoid the polygon..

댓글 수: 1

Aravin
Aravin 2016년 8월 30일
Thank you sir. This is exactly what i want. May I request if you tell me how to increase the width of the line. As it is too thin now.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

KSSV
KSSV 2016년 8월 30일

0 개 추천

You may follow the below link:
https://in.mathworks.com/matlabcentral/answers/91818-how-can-i-control-the-thickness-of-the-lines-in-imcrop-and-imfreehand-in-image-processing-toolbox-6
Way of thanking in mathworks is accepting the answer.

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2016년 8월 30일

답변:

2016년 8월 30일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by