how to extract features from a satellite image will all feature matrices having same size?
1 次查看(过去 30 天)
显示 更早的评论
i want to classify a satellite image based on its NDVI values. i have to classify the image in three classes: wheat, fodder and others. when i extract wheat (ndvi>0.5), fodder(ndvi<=0.5 and >0.3) and others(ndvi<=0.3) pixels from image, the three column matrices have different sizes due to which i cant apply patternnet to it. plz help me by telling some efficient way of feature extraction. plz also tell me if it is possible to train the neural network first for a sample of the image and then use it to classify the whole image? i would really b obliged if any one answer. badly need a quick response
0 个评论
采纳的回答
Greg Heath
2014-3-30
Since each pixel has a different classification, the rxc image is columninzed and transposed to an Nx1 row.
input = image(:)';
The corresponding Nx3 target matrix contains 3-dimensional columns fro the 3-dimensional unit matrix eye(3).
Hope this helps.
Thank you for formally accepting my answer
Greg
3 个评论
Greg Heath
2014-3-30
sizes already given
help ind2vec
help vec2ind
For examples search using
greg ind2vec vec2ind
更多回答(1 个)
ashish bha
2015-8-12
respected sir , i am working on satellite image classification using BBO with CS algorithm with Urban , vegetation, barren , water , rocky , can you pl help me image classification of its satellite image if you can pl : ashish88bhardwaj@gmail.com Thanking you.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!