1

I have looked at the documentation but I didn't find what I was looking for. All the explanations I could find on the web states that this is used to improve contrasts in images.
Look at this code for example(that is made to run on an astronomical FITS Image):

from astropy.visualization import ZScaleInterval
z = ZScaleInterval()
z1,z2 = z.get_limits(image_data)
plt.figure()
plt.imshow(image_data, vmin=z1, vmax=z2)

According to the documentation, get_limits returns the minimum and maximum value in the interval based on the values provided. I'm guessing it means the maximum and minimum intensities. What do vmax and vmin do?

Christoph Rackwitz
  • 11,317
  • 4
  • 27
  • 36

1 Answers1

0

From my understanding vmin and vmax are the lower and upper limits of the gray values in your image.