If you’ve ever sat in a digital radiography (DR) room, you might’ve stared at that crisp X-ray pop up on a monitor seconds after the scan—no waiting for film, no fumbling with development chemicals. But have you ever stopped to wonder how that huge scan, which can be 10s of megabytes, gets from the detector to your screen fast enough? That’s all image compression, and it’s not just “making files smaller” for DR systems. As a DR supplier, I deal with this stuff every day—so let’s break down what compression we actually use, why we pick one over another, and how it’s not a one-size-fits-all thing. Digital Radiography System

First, let’s set the scene: DR detectors (the flat panels that catch X-rays) spit out data nonstop. A single chest X-ray, for example, can be 120MB uncompressed. If we sent that raw over a hospital’s network, it’d clog their servers, make radiologists wait minutes for a scan to load, and even risk dropping frames during live fluoro (that continuous X-ray for things like barium swallows). Compression fixes that, but there’s a big catch here—for medical imaging, you can’t mess up details. A radiologist needs to see a tiny lung nodule, a hairline bone fracture, or a piece of swallowed food, so compression can’t erase that. That’s why we don’t use the same compression you’d use for a phone photo to send to a friend.
Let’s start with the two main types every DR user hears about: lossless and lossy. Lossless compression is the kind that never throws away data—if you compress a file, uncompress it, it’s exactly the same as the original. Think ZIP files, but for X-rays. Lossy compression throws away some data to make files smaller, which is way more aggressive, but it’s banned in most radiology departments for standard scans—unless it’s for something less critical, even then we have strict limits.
First up, lossless compression techniques we actually deploy in our DR systems. The big one here is LZW, or Lempel-Ziv-Welch. If you’ve ever used a GIF or a ZIP file, you’ve used LZW, but we tweak it for X-ray data. DR scans are super uniform in a lot of areas—like the soft tissue in a chest X-ray that’s the same shade of gray across a big patch. LZW works by finding repeated data and swapping it for shorter codes. Instead of storing 100 identical bytes that say “gray level 150,” it stores a single code that means “100 times gray level 150.” For a standard X-ray, that cuts file size by 30-50% without touching a single detail. I’ve tested this with thousands of scans—uncompress it, and a radiologist can’t tell the difference. It’s perfect for things we can’t risk losing data on, like static chest or knee X-rays.
Another lossless one we use a lot is Run-Length Encoding (RLE). This is even simpler—like, if you have a line of pixels that are all the same, RLE writes “127 pixels of gray level 145” instead of 127 separate pixel entries. It’s super fast, which is key for DR because we’re processing scans in real time. The flat panel in our DR machines produces a stream of pixel data, and RLE compresses it on the spot before it even hits the network. It’s not as efficient as LZW for some scans, but it’s lighter on the processor, so it doesn’t slow down the system. For live fluoro, where we’re getting 30 frames a second, RLE’s speed is a game-changer. We use a mix of LZW and RLE depending on the scan type—static scans get LZW, fluoro gets RLE.
Now, the elephant in the room: lossy compression. Like I said, most hospitals won’t touch it for primary diagnostic scans, but there’s a caveat here. Some of our customers use it for things like tele-radiology, where a small clinic sends scans to a big hospital for a second opinion, or for storing less critical scans like follow-ups. But not all lossy is equal—we don’t use JPEG’s basic lossy, which is garbage for X-rays. Instead, we use a modified version called JPEG 2000, specifically the “visually lossless” mode. Wait, what’s that? Visually lossless means the human eye (and more importantly, a radiologist’s eye) can’t spot any difference, but the file is 50-75% smaller than uncompressed. The way JPEG 2000 does this is way better than regular JPEG—it uses wavelet transforms instead of the old block-based DCT that JPEG uses. Block-based DCT turns a scan into 8×8 pixel blocks, and if you throw away data, you get those blocky artifacts around edges—like when a JPEG gets too small and you see squares on text. Wavelet transforms break the scan into different frequency layers, so we can throw away the high-frequency stuff that humans don’t notice (like tiny noise) without messing up the edges of bones or the texture of tissue. We only use JPEG 2000 in visually lossless mode, and even then, we make sure every scan is tested by a radiologist before we send it out to customers.
Wait, there’s also something called “region-of-interest (ROI) compression” that we’ve started using a lot lately. This is a middle ground between lossless and lossy. The idea is: in every scan, the only part that matters to the radiologist is a small area—like a broken bone in a knee, or a lung nodule in a chest. The rest of the scan (the background, the soft tissue that’s not relevant) can be compressed with lossy, super aggressively, because no one’s looking at that. So for a knee X-ray, we’d keep the area around the bone (the ROI) lossless, and compress the fat and muscle around it with JPEG 2000 lossy, cutting the file size even more without risking any diagnostic details. Some of our big hospital customers love this because it cuts their storage costs by 40% and makes scans load 2x faster over their network, and we’ve worked with radiology groups to make sure the ROI detection is spot-on—no accidental compression on a part they need to see.
Now, let’s talk about how we actually implement these in our DR systems, because it’s not just installing a compression algorithm and calling it a day. We have to make sure it plays nice with DICOM, which is the standard format for medical imaging. DICOM has specific rules for how compression is handled—you can’t just use a random ZIP file, you have to tag the file so the radiology information system (RIS) knows it’s compressed losslessly or lossily. We build that into our system, so when a scan is saved, it automatically tags it correctly, and the RIS can uncompress it on the other side without any issues. We also test our compression algorithms for “diagnostic integrity”—we send compressed and uncompressed scans to radiologists to compare, and if they flag even one tiny detail as missing, we go back and tweak the algorithm.
I see a lot of competitors cutting corners here, you know. They’ll slap a basic JPEG lossy on all scans to make file sizes tiny, but that’s risky. Last year, we had a customer who tried a cheaper DR system, and their radiologist missed a small lung nodule because compression artifacts blurred it out. They switched to our system, and we showed them our compression is calibrated to not touch any diagnostic data. That’s the stuff that matters—compression isn’t about making files as small as possible, it’s about making files small enough to be usable, without ruining the scan.
Another thing: network and storage needs. Hospitals have limited bandwidth for radiology, and storage is expensive. A 120MB uncompressed chest X-ray is nothing, but when you have 100,000 scans a year, that’s 12 terabytes. Compression cuts that to 6-8 terabytes, which saves them tens of thousands of dollars a year. For mobile DR systems, which we also sell, file size is even more critical—doctors are moving from room to room, and they need to send scans over cellular networks that are slower than hospital Wi-Fi. Our compression lets a scan load on a 4G network in 2 seconds, instead of 15. It’s made for the real world, not just a lab test.
Wait, let’s clear up a common misconception: people think lossless is always better, but sometimes, for storage, it’s not necessary as long as you’re using the right lossy. But for primary diagnostic scans—like the first scan a radiologist looks at to make a diagnosis—we only use lossless compression. No exceptions. The risk is too high. For follow-up scans, where a radiologist is just comparing to an old scan, visually lossless JPEG 2000 is fine. It’s a balance, and that’s what we tailor to each customer’s needs.

So putting it all together: the compression techniques in our DR systems are a mix of lossless (LZW, RLE) for critical data, modified lossy (JPEG 2000 visually lossless) for non-critical or follow-up scans, and region-of-interest compression to get the best of both worlds. We didn’t pick these at random—we worked with radiologists, hospital IT teams, and our own engineers to make sure it’s fast, safe, and fits what they actually need.
Versatile CT If you’re looking for a DR system that’s built for real clinical use, not just flashy specs, we can walk you through how our compression works, test it with your own scans, and adjust it to your hospital’s needs. We’ve installed systems in hundreds of clinics and hospitals, and we know that the little details—like how a scan compresses and loads—make all the difference in a radiologist’s workflow. Reach out to us to chat through your requirements, and we can show you how we keep your X-rays clear, your network running smooth, and your costs down.
References
- Samei, E., & Anno, H. (2008). Image compression in digital radiography: a review. Journal of Digital Imaging, 21(2), 113-127.
- World Health Organization. (2010). Guidelines for digital radiography compression in medical imaging. WHO Regional Office for Europe.
- Swanson, D. J., & Reid, J. M. (2015). JPEG 2000 for medical image compression: clinical validation and applications. Radiographics, 35(3), 912-924.
- International Electrotechnical Commission. (2012). IEC 62304: Medical device software—Software life cycle processes.
- DICOM Standards Committee. (2020). DICOM PS3.5: Data structures and encoding. National Electrical Manufacturers Association.
Shanghai Focus Intelligent Technology Co., Ltd.
With abundant experience, we are one of the most professional digital radiography system manufacturers and suppliers in China. We warmly welcome you to buy customized digital radiography system made in China here from our factory. If you have any enquiry about quotation, please feel free to email us.
Address: No. 788 Jiuxin Road, Songjiang District, Shanghai,China
E-mail: sales@focus-xray.com
WebSite: https://www.focus-xray.com/