The purpose of this document is to help customers run Hammerhead on their cameras successfully.
Depth map is noisy
The depth map looks noisy, especially in the sky or uniform areas (e.g., white walls). Perhaps the depth maps look noisy compared to the HDK. The problems are ordered below from most to least common reasons.
- Intrinsic camera calibration.
- Redo the intrinsic camera calibration. Re-projection error should be less than around 0.4 pixels. Do you get the same intrinsic parameters?
- The supported camera models are OpenCV pinhole and fisheye models. Check that you are using the right model.
- Still need help —> Ask for a premium support. Camera tuning service. You can send us the cameras to calibrate using our Image Engineering Geocal test equipment.
- Extrinsic camera calibration.
- Is the initial guess of the extrinsics within 3 deg of the actual mount? Guess a different extrinsic.
- Still need help —> Ask for support. We can manually run extrinsic search over larger search range.
- Camera image quality
- Highly compressed images with compression artifacts? For example, jpeg compression has periodicity.
- Enough light? Grainy images? Do higher SNR images improve results?
- Blurry due to motion artifacts? —> try static scene to see if results improve.
- Low contrast from dust on lens, rain, fog? —> Clean lenses.
- Still need help —> Ask for support. We can analyze your images for anomalies.
- Calibration scene
- disparity search range. If scene is out of the search range, it will not converge. Most of the scene should be between 0-255 pixels of disparity. If something is too close, then it will not match.
- Too much sky. Mostly a white wall. Not much variation in the image. Not enough texture in the scene for calibration.
- Autocalibration can diverge if it is. It throwing out bad scenes. “Bad” was defined from automotive scenes and this may need tweaking for other situations (sea).
- Camera issues
- Simultaneous capture. If the scene is moving, for example on a rocking boat, the left and right cameras will take images at different orientations if there is a delay in capture. Check that cameras are synced. One way, is to point both cameras at a camera monitor with a stop watch displayed on the screen (good to a few milliseconds). To get better measurements, one could use Image Engineering’s LED array device.
- Point with large overlap for default factory calibration algorithm. If you need something else, that would be custom work.