Copyrights Here, There and Everywhere
While copyright law can be restrictive on photography, it is not irrational. Copyright law includes the doctrine of "fair use" that allows unauthorized use of copyrights in certain circumstances. The courts recognize that free expression and avoiding law suits over minor issues are more important than protecting intellectual property rights.
The doctrine of fair use means that copying will not infringe a copyright when it is "for purposes such as criticism, comment, news reporting, teaching, scholarship or research." Four factors are considered to determine whether the use qualifies under the doctrine:
The purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes;
The nature of the copyrighted work;
The amount and substantiality of the portion used; and
The effect of the use upon the potential market for or value of the copyrighted work.
So if the copyrighted material that appears in your photo is covered by these four categories, you do not have to be concerned with getting permission to use it. On the other hand, it's a judgment call. Would a court agree with your position? It may be costly to find out. The next best alternative is to get a copyright lawyer's advice. The lawyer can give you an opinion based on research and experience. But the safest and sure way to use a copyrighted work in a photograph is to get permission in writing from the copyright owner.
Take my advice; get professional help.