how to label text using connected component and then find the horizontal and vertical projection and then segment the text from the image using otsu threshold and morphological operation in matlab.
1 view (last 30 days)
Show older comments
fistly, I applied canny to detect edges and i want to find connected components and label them in rectangular boxes. After that i want to get horizontal and vertical histogram and apply horizontal and vertical projection profile. For segmenting the text from the the background i want to apply otsu threshold and morphological operation in matlab. I tired this but doesnot get the exact result. Can someone give the exact code for that.
1 Comment
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!