Integrated Thin-Film Radiation Detectors and In-Pixel Amplification