Just think about the sun for a minute....... it is very hot, yes, but it is a long way away from us in a Vacuum and we have the Earths atmosphere in the thermal energies flight path. If it were a ‘zero loss’ path we would all be incinerated. A camera system would need to be carefully calibrated to measure the suns temperature.
As Vipitis has mentioned a LWIR camera may not be the best tool for the job. The most powerful wavelengths emitted by the Sun fall outside the LWIR passband and the ‘Sun Safe’ filtering installed in modern cameras. The camera is effectively deliberately blinded to the dominant thermal wavelength emissions from the Sun. A MWIR or SWIR camera would see more of the dominant energy so great care would be needed if using such to view the Sun in order to avoid detector damage.
The matter of measuring fire is similar. It is relatively easy to measure a surface that is being heated by a flame provided the surface temperature falls within the capabilities of the camera. If a thermal camera is used to measure actual flame temperature you need to consider the wavelength in which the flame is emitting most of its energy and whether the camera is calibrated to measure such a wavelength and temperature. There is also the previously mentioned filtering used on LWIR cameras to be considered. In MWIR cameras there is a lot of flame energy in the passband of the camera and such a camera may be used to measure flame temperatures if calibrated for such. There are specialist MWIR filters for viewing just the flames wavelengths or to exclude the flame wavelengths to view the surfaces ‘behind the flames’. Such filtering is common when carrying out preventative maintenance on open flame boiler systems.
Fraser
That's not totally correct. An unfiltered sun wouldn't incinerate anything. It's just a mere 1.5 more power than what we would get below the atmosphere (look for AM0 vs AM1 spectrum). But it's UV content would be bad.
The sun surface is very close to a blackbody: it's an optically thick plasma where photons can radiate at every possible energy, and you don't see the effect of what's behind it. That makes it a good candidate for temperature measurement through radiation. The issue isn't even about the band in which is system is working : you just calibrate your sensor in that band and NOT against the whole radiated power.
The issue with high flux target is technological/commercial :
- it's so far above what you will usually measure that it's not worth calibrating there for only a few users.
- it's damaging the sensor: actually sensors need to be designed to withstand it because you can inadvertently point it to the sun. But it's expensive to attain that spec: I mean you're probably sacrificing something somewhere to be able to just look at the sun a short time. The more ability you want to look at the sun, the more you are sacrificing from your main usage.
A thermal camera measuring the sun's temperature is totally doable.
Now for fire : you're now looking at a completely different object. It's a slightly ionised plasma = it's more a gaz where only a low amount of chemical reaction emit light directly and heat that particular gaz.
That can be far from a blackbody.
Look for example at rocket engine exhausts: H2 + O2 engines burn a transparent flame... it's still very hot

It's still doable to measure the temperature of non blackbody objects: you just need to not do the assumption that it's a blackbody :p