segmentation of dark lines when background is darker a bit.
Show older comments
Helloo, Can someone suggest me how I can do good segmentation of lines, I want to extract those darker lines. I tried normal thresholding but the background is too dark to give me a good result.
Accepted Answer
More Answers (2)
Guillaume
on 23 Mar 2016
im = rgb2gray(imread('test8.png'));
imshow(adapthisteq(im), []);
But there's so much you can do with a poor quality image. Better would be to improve your imaging setup to have better contrasted image (and a more uniform background).
4 Comments
Image Analyst
on 25 Mar 2016
Why can't you just keep the same contrast but integrate more photons with a longer camera exposure time? Also, it doesn't look like it started as a PNG. It looks like it started as a very very low quality JPG image because there are horrendous block artifacts. Can you post the original un-jpegged image? And, surprisingly, you ignored Guillaume's suggestion and evidently did not even try adapthisteq(), or at least you didn't show it in the above code. Why not?
newM
on 25 Mar 2016
newM
on 1 Apr 2016
newM
on 31 Mar 2016
0 votes
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!