The film, Hidden Figures, stars Taraji P Henson of TV series Empire, soul singer and actress Janelle Monáe, Octavia Spencer from The Help movie, and Academy Award winner Kevin Costner.
Melfi said Glenn was supportive of the film and gave the production the use of his photographs for free.
It is believed that Glenn, a former Democrat senator for Ohio, died before seeing Hidden Figures.
The story of Nasa’s black female mathematicians has always been celebrated within the agency, but not widely known about beyond.