How to create binary image from CT image.

I applied Sobel edge detector and wanted to apply threshold on it. How do I set these threshold?
What are the values to be given here for CT?

You probably want BinaryThresholdImageFilter. It has links to examples. Choice of the threshold depends on the application (what you want to accomplish).