gradient
5 views (last 30 days)
Show older comments
how to calculate gradient of multichannels?
Answers (2)
Jan
on 25 Aug 2011
If you implement an algorithm in MATLAB (or any other programming language), the meaning of the values does not matter: chromosomes, dollars or pixel colors - all are just numbers. Explaining the meaning of your value repeatedly wastes time.
We do not have any chance to know, how your "dataset" is represented. Even "image" is not clear enough: An "image" can be a [M x N x 3] DOUBLE RGB array, or a [M x N] UINT8 greyscale matrix, or it can be a print-out and you are searching for a method to scan this. If you need an answer, you have to provide the necessary details of the question. But you ignore our questions.
Let me guess, that you have a [M x N x 5] DOUBLE array containing the greyscale values for 5 different wavelength. Then a "gradient" can be calculated between the different channels, or it can be the direction of the largest or average change of intensity, or a lot of other values.
So please delete your new question and edit the original one. Add all necessary details about the available input and the wanted output, and remove all unneeded details.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!