Hounsfield units depends on -
Electron density
Mass density
Effective atomic number
Attenuation coefficient
Hounsfield units are used to measure the X ray attenuation in CT scan. Depends on absorption/attenuation coefficient. Water is assigned a HU value of 0.
Fundamentals in Radiology