A myelogram is a procedure where a dye is injected into the spinal canal to make its structure visible on x-rays.