The problem is this line:
previewImage.image = UIImage(ciImage: filteredImage)
You cannot magically make a UIImage out of a CIImage by using that initializer. Your image view is coming out empty because you are effectively setting its image to nil
by doing that. Instead, you must render the CIImage. See, for example, my answer here.
(Apple claims that the image view itself will render the CIImage in this configuration, but I've never seen that claim verified.)
However, we might go even further and point out that if the goal is to allow the user to move a slider and change the brightness of the image in real time, your approach is never going to work. You cannot use a UIImageView at all to display an image that will do that, because every time the slider is moved, we must render again, and that is really really slow. Instead, you should be using a Metal view to render into (as described in my answer here); that is the way to respond in real time to a CIFilter governed by a slider.