Find the significant outer boundary in image which is coloured
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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.
Respuestas (2)
jim peyton
el 17 de Sept. de 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 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!