I am working on estimating the position and orientation (pose) of a model (rigid object) from its silhouette in an image. For this, I have constructed an error measure between the model in its pose and the silhouette, which looks roughly like:
$$ \epsilon ( \bar{x} ) = \sum_{\forall i} \| f(\bar{x}, m_i) - s_i \|^2 $$
where $\bar{x}$ is a six-dimensional vector describing the 3D translation and rotations as
$$ f( \bar{x}, p ) = R_{\bar{x}} \cdot p + t_{\bar{x}} $$
Ordinarily, this could be nonlinear least squares, however there is a catch: An assignment needs to be made between model-points $m_i$ and silhouette points $c_i$, which complicates the evaluation of the error measure.
I am approaching the problem as a general nonlinear optimization problem. I already know that this error measure is continous, but not continously differentiable due to the aforementioned assignment. I do have gradient information however, but this does not take the assignment into account and therefore is not completely accurate.
The question: Is there a method which can calculate/approximate and visualize the basins of attractions in this six-dimensional space?
If this is absolutely not feasible, is there a method which can calculate/approximate the number of local minima within a "bounded" region?