selecting color from block
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
I have divided an image into blocks ,now i want to extract color from each block ,can u tell which method to apply,can i find average of pixels for this,and i want to show blocks of image,i.e 64 blocks in image,(like grid)
9 comentarios
Walter Roberson
el 14 de En. de 2012
What does it mean to you to "extract color from each block" ?
Pat
el 14 de En. de 2012
Walter Roberson
el 14 de En. de 2012
You mean the part that says,
"After the image partitioning stage, a single representative color is selected from
each block. Any method to select the representative color can be applied, but
the standard recommends the use of the average of the pixel colors in a block
as the corresponding representative color, since it is simpler and the description
accuracy is sufficient in general."
If so, then like it says, ANY method to select the representative color can be applied. Pick a pixel at random if you like.
Pat
el 14 de En. de 2012
Pat
el 14 de En. de 2012
Walter Roberson
el 14 de En. de 2012
Is that a call to blkproc() or to blockproc() ? The arguments are different between the two.
Walter Roberson
el 14 de En. de 2012
function P = myFunction(X)
R = randperm(numel(X));
P = X(R(1));
end
Pat
el 14 de En. de 2012
Pat
el 14 de En. de 2012
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!