RGB Color Space Image Segmentation
Mostrar comentarios más antiguos

Hello All.
I have been trying to replace the original R, G and B components of an RGB image by applying the attached equations in MATLAB.
I don't know the functions to use. I have tried applying different filters but the results I get are inaccurate.
8 comentarios
Image Analyst
el 14 de Abr. de 2020
There is nothing attached so we don't know the functions to use either. In the meantime, here's a snippet that might get you started:
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
% Now do your math on the separate channels, then...
% Recombine separate color channels into a single, true color RGB image.
rgbImage = cat(3, redChannel, greenChannel, blueChannel);
Muftahu Kabir
el 14 de Abr. de 2020
Muftahu Kabir
el 15 de Abr. de 2020
Image Analyst
el 15 de Abr. de 2020
The equations say to set all pixel values to (0,0,0) which is the RGB for pure black. They'll never eve get (255,255,255) because I'' is never anything but (0,0,0) as you can see from equation (5). I think these equations were written down incorrectly. It does not do segmentation when you simply set everything to zero.
Muftahu Kabir
el 22 de Abr. de 2020
Image Analyst
el 22 de Abr. de 2020
Everything is zero except I hat if I hat if I'' is more than 0. But from equation (5), I'' is never anything but zero. Hence I hat will never be anything but zero either. I suggest you contact the author for the correct formulas, or look into imgradient().
Mrutyunjaya Hiremath
el 24 de Abr. de 2020
There is a problem in given equations
Here is the reults, after some assumptions for intitial values, like Idash ... sigma ...

Muftahu Kabir
el 24 de Abr. de 2020
Editada: Muftahu Kabir
el 24 de Abr. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Computer Vision Toolbox 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!