Astronomical filter

An astronomical filter is a telescope accessory consisting of an optical filter used by amateur astronomers to simply improve the details of celestial objects, either for viewing or for photography. Research astronomers, on the other hand, use various band-pass filters for photometry on telescopes, in order to obtain measurements which reveal objects' astrophysical properties, such as stellar classification and placement of a celestial body on its Wien curve.
Most astronomical filters work by blocking a specific part of the color spectrum above and below a "bandpass", significantly increasing the signal to noise ratio of the interesting wavelengths, and so making the object gain detail and contrast. While the color filters transmit certain colors from the spectrum and are usually used for observation of the planets and the Moon, the polarizing filters work by adjusting the brightness, and are usually used for the Moon. The broad-band and narrow-band filters transmit the wavelengths that are emitted by the nebulae (by the Hydrogen and Oxygen atoms), and are frequently used for reducing light pollution.
Solar filters.
White light filters.
Solar filters block most of the sunlight to avoid any damage to the eyes. Proper filters are usually made from a durable glass or polymer film that transmits only 0.00001% of the light. For safety, solar filters must be securely fitted over the objective of a refracting telescope or aperture of a reflecting telescope so that the body does not heat up significantly.
Small solar filters threaded behind eyepieces do not block the radiation entering the scope body, causing the telescope to heat up greatly, and it’s not unknown for them to shatter from thermal shock. Therefore, most experts do not recommend such solar filters for eyepieces, and some stockists refuse to sell them or remove them from telescope packages. According to NASA: "Solar filters designed to thread into eyepieces that are often provided with inexpensive telescopes are also unsafe. These glass filters can crack unexpectedly from overheating when the telescope is pointed at the Sun, and retinal damage can occur faster than the observer can move the eye from the eyepiece."
Solar filters are used to safely observe and photograph the Sun, which despite being white, may appear as a yellow-orange disk. A telescope with these filters attached can directly and properly view details of solar features, especially sunspots and granulation on the surface, as well as solar eclipses and transits of the inferior planets Mercury and Venus across the solar disk.
Narrowband filters.
The Herschel Wedge is a prism-based device combined with a neutral-density filter that directs most of the heat and ultraviolet rays out of the telescope, generally giving better results than most filter types. The H-alpha filter transmits the H-alpha spectral line for viewing solar flares and prominences invisible through common filters. These H-alpha filters are much narrower than those use for night H-alpha observing (see Nebular filters below), passing only 0.05 nm (0.5 angstrom) for one common model, compared with 3 nm-12 nm or more for night filters. Due to the narrow bandpass and temperature shifts often telescopes like that are tunable within about a ±0.05 nm.
NASA included the following filters on the Solar Dynamics Observatory, of which only one is visible to human eyes (450.0 nm): 450.0 nm, 170.0 nm, 160.0 nm, 33.5 nm, 30.4 nm, 19.3 nm, 21.1 nm, 17.1 nm, 13.1 nm, and 9.4 nm. These were chosen for temperature, instead of particular emission lines, as are many narrowband filters such as the H-alpha line mentioned above.
Color filters.
Color filters work by absorption/transmission, and can tell which part of the spectrum they are reflecting and transmitting. Filters can be used to increase contrast and enhance the details of the Moon and planets. All of the visible spectrum colors each have a filter, and every color filter is used to bring a certain lunar and planetary feature; for example, the #8 yellow filter is used to show Mars's maria and Jupiter's belts.
The Wratten system is the standard number system used to refer to the color filter types. It was first manufactured by Kodak in 1909.
Professional filters are also colored, but their bandpass centers are placed around other midpoints (such as in the UBVRI and Cousins systems).
Some of common color filters and their uses are:
Moon filters.
Neutral density filters, also known in astronomy as Moon filters, are another approach for contrast enhancement and glare reduction. They work simply by blocking some of the object's light to enhance the contrast. Neutral density filters are mainly used in traditional photography, but are used in astronomy to enhance lunar and planetary observations.
Polarizing filters.
Polarizing filters adjust the brightness of images to a better level for observing, but much less so than solar filters. With these types of filter, the range of transmission varies from 3% to 40%. They are usually used for the observation of the Moon, but may also be used for planetary observation. They consist of two polarizing layers in a rotating aluminum cell, which changes the amount of transmission of the filter by rotating them. This reduction in brightness and improvement in contrast can reveal the lunar surface features and details, especially when it is near full. Polarizing filters should not be used in place of solar filters designed specially for observing the sun.
Nebular filters.
Narrowband.
Narrow-band filters are astronomical filters which transmit only a narrow band of spectral lines from the spectrum (usually 22 nm bandwidth, or less). They are mainly used for nebulae observation. Emission nebulae mainly radiate the doubly ionized oxygen in the visible spectrum, which emits near 500 nm wavelength. These nebulae also radiate weakly at 486 nm, the Hydrogen-beta line.
There are two main types of Narrowband filters: Ultra-high contrast (UHC), and specific emission line(s) filters.
Specific Emission line filters.
Specific emission line (or lines) filters are used to isolate line or lines of specific elements or molecules to allow for being able to see the distribution within Nebula. This is a common method to produce false color images. Common filters are often use for the Hubble Space Telescope, forming the so-called HST-pallet, with colors assigned as such: Red = S-II; Green = H-alpha; Blue = O-III. These filters will commonly be specified with a second figure in nm, which refers to how wide a band is passed, which may cause it to exclude or include other lines. For example, H-alpha at 656 nm, may pick up N-II (at 658–654 nm), some filters will block most of the N-II if they are 3 nm wide.
Commonly used lines / filters are: 
Less common lines/filters:
Ultra-High Contrast filters.
Known commonly as "UHC filters", these filters consist of things which allow multiple strong common emission lines to pass through, which also has the effect of the similar "Light Pollution Reduction" filters (see below) of blocking most light sources.
The UHC filters range from 484 to 506 nm. It transmits both the O-III and H-beta spectral lines, blocks a large fraction of light pollution, and brings the details of planetary nebula and most of emission nebulae under a dark sky.
Broadband.
The broadband, or light pollution reduction (LPR), filters are nebular filters that block the light pollution in the sky and transmit the H-alpha, H-beta, and O III spectral lines, which allows observing nebulae from the city and light polluted skies. These filters block the Sodium and Mercury vapor light, and also block natural skyglow such as the auroral light. Broadband filters differ from narrowband with the range of wavelengths transmission. LED lighting is more broadband so it is not blocked, although white LEDs have a considerably lower output around 480 nm, which is close to O III and H-beta wavelength. Broadband filters have a wider range because a narrow transmission range causes a fainter image of sky objects, and since the work of these filters is revealing the details of nebulae from light polluted skies, it has a wider transmission for more brightness. These filters are particularly designed for nebulae observing, and not useful with other deep sky objects. However, they can improve the contrast between the DSOs and the background sky, which may clarify the image.