There is an imhistmatch() function to match the histograms of two images. Give that a try.
Grayscale Image Contrast Enhancement
2 次查看(过去 30 天)
显示 更早的评论
Dear all, I have a bunch of grayscale images of cross sectional views of an artery. The contrast of images is variable (Image A and B). I am trying to detect the vessel borders as shown in attached image (Image C and D) using "Edge" command in Matlab; however, because my images have variable contrasts, I need to use a different threshold for each image to detect the borders.
I wonder if there is a command in Matlab which brings all images to a similar contrast level, especially on the borders, so that I can use a unique threshold for all images. Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149182/image.jpeg)
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!