Find the significant outer boundary in image which is coloured

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (2)

jim peyton
jim peyton il 17 Set 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.

Image Analyst
Image Analyst il 17 Set 2017
Modificato: Image Analyst il 17 Set 2017

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by