Usually, the location where the table or figure was published has copyright information. Look, for instance, on the journal’s website or the database where you discovered the paper to get a diagram from a journal article. Clear copyright information is displayed with each image on sites like Flickr.
Be careful to get in touch with the author or publisher and get permission if you discover that it is necessary to replicate the content.