## Hough parabola and represent it on image

### fatemeh (view profile)

on 25 May 2013
Accepted Answer by Image Analyst

### Image Analyst (view profile)

Hi, I did not find anything about using hough to detect parabola in image to using maximum value accumulator. Can anyone help me or guide me. I really need it. Regards,

## Products

### Image Analyst (view profile)

Answer by Image Analyst

on 25 May 2013

fatemeh

### fatemeh (view profile)

on 29 May 2013

Thanks, I have this code: function [phi,p]=houghparabola(Imbinary,centrox,centroy,pmin,pmax) vector_p=linspace(-pmax,pmax); vector_phi=linspace(0,2*pi-(2*pi/100)); Accumulator = zeros([length(vector_phi),length(vector_p)]); [y,x] = find(Imbinary);

if abs(p)>pmin&abs(p)<pmax&p~=0
indice=find(vector_p>=p);
indice=indice(1);
Accumulator(j,indice) = Accumulator(j,indice)+1;
end
end
end
end

% Finding local maxima in Accumulator maximo=max(max(Accumulator)); [idx_phi,idx_p]=find(Accumulator==maximo); p=vector_p(idx_p); phi=vector_phi(idx_phi);

can you tell me about use of the P and Phi for detect parabola on image. regards.

Image Analyst

### Image Analyst (view profile)

on 29 May 2013

Sorry no (see my answer above). I don't have time for that.

fatemeh

### fatemeh (view profile)

on 29 May 2013

Thanks a lot of for Previous guidance.

#### Join the 15-year community celebration.

Play games and win prizes!

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi