In this paper we introduce a novel and simple schemes to develop an optimal choice of morphological Operating Center (OC) for object image retrieval. A variation of the standard morphological operators which require the choice of an OC is discussed. The proposed method is based on combinations of statistical and dynamic programming techniques in which recursive equations on the basis of dilation by using the principle of optimality and minimizing unnecessary background area of the objects are applied. We also present the application of mathematical morphology with Structuring Elements (SEs) which are elongated in the angular direction. The experimental results show that the optimal choice of OC provides satisfying retrieval results.