Find the significant outer boundary in image which is coloured
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have some coloured high defination images but in those images,i have got outer white regions which are less significant.Now, I want to remove those white regions and stitch the images together to get a single coloured image.I would really appreciate the help especially regarding the removal of non-sigificant outer white region.
Réponses (2)
jim peyton
le 17 Sep 2017
Shamweel,
It sounds like the core of this task falls into the category of "image segmentation". The image processing toolbox provides segmentation tools. You might also be able to find example code or write your own simple binary thresholding function.
If the background is white, it seems like you could calculate the vector length from your three color channels sqrt(R^2+G^2+B^2) and set all values above a threshold to NaNs.
I'm not sure that I understand the part about stitching to offer much there. Good luck.
0 commentaires
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!