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개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by