Find the significant outer boundary in image which is coloured

1 次查看(过去 30 天)
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.

回答(2 个)

jim peyton
jim peyton 2017-9-17
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 2017-9-17
编辑:Image Analyst 2017-9-17

类别

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