Optically detected magnetic resonance (ODMR) is a way to characterize the NV − centers. Recently, a remarkably sharp dip was observed in the ODMR with a high-density ensemble of NV centers, and this was reproduced by a theoretical model in [Zhu et al., Nature Communications 5, 3424 (2014)], showing that the dip is a consequence of the spin-1 properties of the NV − centers. Here, we present much more details of analysis to show how this model can be applied to investigate the properties of the NV − centers. By using our model, we have reproduced the ODMR with and without applied magnetic fields. Also, we theoretically investigate how the ODMR is affected by the typical parameters of the ensemble NV − centers such as strain distributions, inhomogeneous magnetic fields, and homogeneous broadening width. Our model could provide a way to estimate these parameters from the ODMR, which would be crucial to realize diamond-based quantum information processing.