Effected vs affected [duplicate]
Solution 1:
From Cambridge:
affect (v): to have an influence on someone or something, or to cause a change in someone or something
effect (v): to achieve something and cause it to happen
So, I would say you should use affect in each of your examples:
Images are affected by defocusing.
Defocusing affects images.
Defocusing affects image's shape.
Method is affected by defocusing.
You could use effect in a sentence such as the following:
Defocusing effects (that is, brings about or causes) the desired fuzziness in the photographic image.