A retrograde pyelogram (RPG) is an imaging test that uses contrast dye in your urinary tract to take a better X-ray image of your urinary system. Your urinary system includes your kidneys, bladder, ...