Clear Filters
Clear Filters

Find the significant outer boundary in image which is coloured

2 views (last 30 days)
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.

Answers (2)

jim peyton
jim peyton on 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.

Image Analyst
Image Analyst on 17 Sep 2017
Edited: Image Analyst on 17 Sep 2017

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!