Histograms

  • plt.hist(): plot the histogram of an image
  • plt.plot() (*.flatten()): convert a two-dimensional image into a one-dimensional array

Posted on July 17, 2021 Tags: