I'm mostly interested in the evolution of the idea of slavery among public opinion worldwide. I'm guessing the book should focus on the 19th and early 20th century.
There are a few books like this though most only cover a few centuries at a time.
Patterson, Orlando. Slavery and Social Death: A Comparative Study. Cambridge, Mass: Harvard University Press, 1982.
Berlin, Ira. Many Thousands Gone: The First Two Centuries of Slavery in North America. Cambridge, Mass: Belknap Press of Harvard University Press, 1998.
Berlin, Ira. Generations of Captivity: A History of African-American Slaves. Cambridge, Mass: Belknap Press of Harvard University Press, 2003.
Davis, David Brion. Inhuman Bondage: The Rise and Fall of Slavery in the New World. Oxford, England ; New York: Oxford University Press, 2006.