This paper presents an intensity-based corner detector based on fitting an ideal corner feature, represented by a set of parameters on the neighborhood of a pixel. For measuring cornerness, the gradient magnitude of the fitted surface along the edges passing through each point is computed.