How do you determine the apparent magnitude of a star?

a. Compare the unknown star brightness with the known star brightness in a photo from Earth.
b. Use the temperature and an H-R diagram.