Replacing scalar value with vector-value data
Mostrar comentarios más antiguos
Hi,
I came across an image segmentation paper that provides a function similar to,
w=exp(x), where x is the intensity difference between 2 pixels.
It's mentioned that, x can be modified to |x| to handle vector-valued such as colored data.
I am not quite sure about the integration of the vector-valued data into the function.
If I am not wrong, for instance, a RGB image, the vector of pixel-1 is ([r;g;b])[234;12;31], and pixel-2 is [233;10;30]
Therefore, to replace the x with |x|, does it simply mean, w=exp(xr+xg+xr) => w=exp(1+2+1) ?
Thanks in advance!
Respuesta aceptada
Más respuestas (1)
Lee ZY
el 21 de Jun. de 2013
0 votos
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!