i want to segment image to get harizontal projection on image...... how can i do it ?

1 次查看(过去 30 天)
img_00691.bmp
this is my original image
and i want det vertical projections curves by pairing each rising left edge and declining right edge...
how can i do it..?
like output image is...Capture.PNG

采纳的回答

Image Analyst
Image Analyst 2019-4-6
I have no idea exactly what you're doing or why it would be useful. It kind of looks like you're just thresholding the image to find bright blobs and adding an offset to any columns where there are pixels above the threshold. Kind of like
binaryImage = grayImage > someValue;
columns = any(binaryImage, 1);
grayImage(:, columns) = grayImage(:, columns) + 50; % or whatever.
but I don't know why you'd want that.
  1 个评论
krishna kotha
krishna kotha 2019-4-6
编辑:krishna kotha 2019-4-6
i want to use vertical and horizontal projections to detect the pedestrains(Brighter pixels) using bounding boxes, i.e. i want to creat a candidate ROIs to get pedestrains...so i need vertical and horizontal projections....!! i want to do two-level intensity oriented projections for images...!!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by