I'm trying to use the imregionalmax function to find a regoinal maximum but it behave diffrent than what expected!!
1 次查看(过去 30 天)
显示 更早的评论
I'm trying to find a regional maximum within my data however using the function imregionalmax didn't help where I'm getting my data from a csv file and say a column have 5.2 ,5.6 and 5.3 and surounded by low values copared to these the thing that the imregionalmax does is it labels all of the three as 1 (since its using logical ) and hence doesn't give the maximum between these 3 so I thought if there is a way that I could scan the whole grid to check for all the neighboring cells to each cell and compare it to them if it was bigger than the surroundings that would be a local maximum .. thanks in advance
0 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!