Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
Forum membership is Free! Click
Join
to sign-up
Username:
Password:
Save Password
Forgot your Password?
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
How do I get the bar width?
New Topic
Reply to Topic
Author
Topic
save0804
Korea
20 Posts
Posted - Dec 02 2020 : 18:24:09
How do I get the 4 bar width?
xequte
38611 Posts
Posted - Dec 03 2020 : 01:09:23
Hi
1. Convert it to B+W:
https://www.imageen.com/help/TImageEnProc.ConvertToBWThreshold.html
2. Iterate over the scanlines, working from right to left until you find the first black pixel:
https://www.imageen.com/help/TIEBitmap.ScanLine.html
Alternatively, if you have IEVision you might find a good solution using Hough Lines:
https://www.imageen.com/help/TIEVisionImage.houghLinesP.html
Try the demo:
\Demos\Testing\IEVision\LinesDetect\LinesDetect.dpr
Nigel
Xequte Software
www.imageen.com
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page