|
-
Sep 8th, 2011, 05:51 PM
#6
Re: Fitting an almost rectangular block to get the width
Instead of measuring the brightness of a pixel, measure the contrast between two pixels. Your graph will then have two peaks, and the distance between those peaks will be the width of the wire.
More specifically, instead of graphing Brightness(x), graph Abs(Brightness(x - c) - Brightness(x + c)). If nothing else, it might be easier to analyze.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|