Need to get the pixel values based on the directions(North, South,East,West) in to four arrays
1 次查看(过去 30 天)
显示 更早的评论
I need to get the circled values into 4 arrays(considering the four directions). note : I obtained the pixel values in image which is attached herewith, by multiplying the mask value and original image pixels. Could you please help me.
0 个评论
回答(1 个)
Chad Greene
2017-2-18
Your question is not very clear. If I am interpreting your question correctly,
Awest = A(3:8,4);
Anorth = A(3,5:8);
Aeast = A(4:7,8);
Asouth = A(8,5:8);
2 个评论
Image Analyst
2017-2-19
I was going to say the same thing. Given what he's told us, this is a perfectly reasonable answer. If not, he needs to say why not and what is needed to make it more general or whatever.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!