Extract columns from an image

4 次查看(过去 30 天)
Sara
Sara 2021-6-21
评论: Sara 2021-7-14
Hi,
I work in image analysis, and the program that I work on is doing the following 2D / 3D image profile. I could do that, but I need to scatter one column in the image or one row in the image I mean by scattering is scattering the intensiy maximum only in either the column or row . So I want to extract one column or one row.
One of the suggestions that I worked on is using ginput to select the column intensities then scattering, which is works but is not an accurate method.
Another method that I worked on is using the result of find peaks function from the plot of image profile of the column or row but that does not help :)
Last mothed is using imregionalmax and manually reading all the pixels then scattering the result. It is time-consuming.
Any suggestions that may help
Thank you,
  2 个评论
Sara
Sara 2021-7-14
Hi,
I have solved the issue.
I did thresholding to the image, crop the columns or rows that I want, then threshold the cropped image, then scatter the result.
It is not a perfect answer, but it does the job. If anyone has other answers, please post them here for the public.
Thank you,

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by