How to get binary and raw data?

I have a series of CT datas (Number: 500, format:tiff)
I need to transform the CT datas into a Binary data (consists of 1s and 0s as 8bit in a binary file)
and a Raw data (consists of 1s and 0s in an ascii text file)
How should I manage the images?

Best Regards


Sorry for the delay in responseā€¦ You can check out the ImageJ User Guide - specifically, you want to read the Binary section.

I hope this at least helps get you startedā€¦ if you have more questions, feel free to post again.