how to remove four black frame of image
Mostrar comentarios más antiguos
Hi All,
I have an image and I want to remove four black frame of its corners without to remain any black pixel(i.e skin only ) in the image,please could any one explain to me using Matlab code how to do that without cropping ,using masking? thanks in advance.
2 comentarios
hamed abdulaziz
el 13 de En. de 2014
Movida: DGM
el 13 de Feb. de 2023
hamed abdulaziz
el 13 de En. de 2014
Movida: DGM
el 13 de Feb. de 2023
Respuestas (1)
Image Analyst
el 13 de En. de 2014
0 votos
If you take an image of a white scene, then you can divide your image by that to reduced or eliminate the vignetting.
14 comentarios
hamed abdulaziz
el 13 de En. de 2014
hamed abdulaziz
el 13 de En. de 2014
Image Analyst
el 13 de En. de 2014
Can you just take the blue channel and threshold it? Or, use the delta E app in my File Exchange. Or run a texture filter on it like stdfilt() or entropyfilt() and then threshold. Or else look for published algorithms here: http://iris.usc.edu/Vision-Notes/bibliography/contents.html
hamed abdulaziz
el 13 de En. de 2014
Editada: hamed abdulaziz
el 13 de En. de 2014
hamed abdulaziz
el 13 de En. de 2014
Movida: DGM
el 13 de Feb. de 2023
hamed abdulaziz
el 13 de En. de 2014
Editada: hamed abdulaziz
el 13 de En. de 2014
hamed abdulaziz
el 13 de En. de 2014
Movida: DGM
el 13 de Feb. de 2023
hamed abdulaziz
el 13 de En. de 2014
Image Analyst
el 13 de En. de 2014
Editada: Image Analyst
el 13 de En. de 2014
I'm at work, doing my real job. I'm not a paid Mathworker who helps people in this forum all day. And I'm sure it's going to be a lot more complicated than just some 3-line piece of code.
hamed abdulaziz
el 13 de En. de 2014
Image Analyst
el 13 de En. de 2014
Editada: Image Analyst
el 13 de En. de 2014
Try inverting the binary image, then do a hole fill, then extract the biggest blob (see my code for that attached). You might also try activecontour() - a demo for activecontour is also attached.
hamed abdulaziz
el 14 de En. de 2014
Movida: DGM
el 13 de Feb. de 2023
Image Analyst
el 14 de En. de 2014
Movida: DGM
el 13 de Feb. de 2023
See my attached code.

hamed abdulaziz
el 16 de En. de 2014
Movida: DGM
el 13 de Feb. de 2023
Categorías
Más información sobre Image Segmentation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


