
What this image shows is the process. The image on the right is a raw NEF file out of camera. The image on the left is after correction. The image down the bottom is the image used for correction. With all of this, pay no attention to the different colour differences.
What you will notice is that the image on the left is perfectly corrected for vignetting compared to the original on the right. The bottom (middle) image is what we astrophotographers call "flat frames". They are used specifically for correcting with vignetting and removing dust motes and anything else within the optical train that isn't supposed to be there. Although not of importance for macro, this is also used for correcting for pixel to pixel intensity variations from one another, very important when you want to accurate measure star brightness however.