Segmenting using X-Y co-ordinate axis
古いコメントを表示
Hey guys !
I want to know how to segment an image using the X-Y co-ordinate axis. I am trying to make an Optical Braille Recognition software and I want to use X-Y frame to segment individual Braille characters. I know the exact dimensions of a standard Braille character on the co-ordinate frame. How do I go about it ?
採用された回答
その他の回答 (1 件)
Brett Shoelson
2011 年 2 月 23 日
XY coordinates are non-standard (in MATLAB) for displaying images. But non-standard doesn't mean "not doable." Using the AXIS XY command will set the coordinate system origin to be in the lower left corner. The x-axis will be horizontal with values increasing from left to right, and the y-axis will be vertical with values increasing from bottom to top. However, this will also flip your image, so you may have to account for that:
img = imread('cameraman.tif');
img = flipud(img);
imshow(img)
axis xy
impixelinfo
Cheers,
Brett
2 件のコメント
Siddharth Mallya
2011 年 2 月 24 日
Brett Shoelson
2011 年 3 月 5 日
Welcome to MATLAB, Sid! Take a look at the different options for AXIS in our doc. Then display an image and see what happens when you apply those options.
Cheers,
Brett
カテゴリ
ヘルプ センター および File Exchange で Text Detection and Recognition についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!