gradient
이전 댓글 표시
how to calculate gradient of multichannels?
답변 (2개)
sreejini
2011년 8월 16일
0 개 추천
댓글 수: 3
Image Analyst
2011년 8월 16일
Again, what are multichannels?
Jan
2011년 8월 16일
We need something like: [1000 x 200] DOUBLE arrays, or an equivalent description of the data format. For the calculations it does not matter, if your are working on chromosomes or orbits of stars in the galaxy.
sreejini
2011년 8월 25일
Jan
2011년 8월 25일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Region and Image Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!