In this letter we propose a new Shape from Focus (SFF) method using piecewi
se curved search windows for accurate 3-D shape recovery. The new method us
es piecewise curved windows to compute focus measure and to search for Focu
s Image Surface (FIS) in image space. The experimental result shows that ou
r new method gives more accurate result than the previous SFF methods.