Image Analyst: Segmentation (Extraction) of area between two red line
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I 'm woriking on Segmentation of Historical documents, so far i have identified the text lines in the historical documents using seam carving method and result image is attached, i wnat to extract or segment those identified lines, which is saperated by red line.

0 commentaires
Réponses (1)
Image Analyst
le 7 Déc 2018
Use poly2mask() to create a mask image. Then mask the image
% Mask the image using bsxfun() function to multiply the mask by each channel individually.
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask, 'like', rgbImage));
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!