Hi Larry
Dioptres are commonly needed to resolve the problem of the camera lens not being able to focus close enough to achieve an image, and is particularly the case with dome ports.
A dome port forms what can be considered to be a concave lens in front of the camera’s lens. The result of this concave lens is that a virtual image of the subject of the photo is formed at a point closer to the camera lens than the subject, e.g. with ikelite domes, the virtual image of a fish that is actually 1m away is formed at around 30cm from the dome.
This distance (30cm) is sometimes less than the closest focus ability of the lens you are using. In this situation, a dioptre is needed. In crude terms, a diopter acts like a magnifying glass, and can simply be thought of as a convex lens.
Magnifying glasses work by placing objects inside their focal length, generating a virtual image that is larger than the original object, which appears to be positioned further away from the lens than the actual object.
Thus the diopter on the camera lens causes the virtual image formed by the dome to be magnified and also (as far as the camera lens is concerned) be positioned further away from the lens. So long as the dioptre’s virtual image is further away than the minimum focus distance of the camera lens, the camera lens will be able to focus, and you get to take your photo!
Note that this is all a major simplification of some pretty complicated optics - if it was simple, camera lenses would be alot cheaper than they are!
Hope that helps. If it doesn’t make any sense, please let me know - I’ll try to do post some diagrams that might help.