hi, I am trying to find the local minima value of image's histogram, I am filtering image from 1*3 filter and then finding minima, waiting for your suggestions
I = imread('eight.tif');I=I(:)';I=double(I);x=[1 1 1]/3;f=filter2(x,I,'same');y = sin(5*f);idx = [false, y(3:end)>y(2:end-1) & y(2:end-1)<y(1:end-2), false];xmin = f(idx)plot(xmin,'o-')
thanks in Advance.
Best Answer