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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by FIR
on 4 Aug 2012

This question is closed and may reopen in the future if edited.

I have an image 'cameraman.tif'.I have to apply newton rapshon method using the formula to that image

Cj=Ci-f(Ci)/f'(Ci)

f(Ci)=i^2-i-1

f'(Ci)=2i-1

Ci is the central pixel

Cj is the neighboring pixel of Ci

please hel how to process

*No products are associated with this question.*

## 3 Comments

## Jan Simon (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/45254#comment_119534

What is "the neighboring pixel of Ci"? There are either 4 or 8 neighboring pixels.

## FIR (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/45254#comment_119541

8 nighbours

## Amith Kamath (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/45254#comment_120466

Also, I believe images

needtwo indices, as in C(x,y). Could you rephrase the question based on two indices?Additionally, I fail to understand how the left hand side of the equation is already known to be the neighboring pixel (?)