Samsung Files Patent for Cleaning Up Compressed Video Based on Which Way Edges Run
Every streamed or stored video is squeezed until it picks up small flaws. Samsung's new patent application describes a cleanup step that first works out which way the detail runs in each tiny patch of a frame, then picks a filter to match.

- Publication number
- US 2026/0390390 A1(US20260390390A1)
- USPTO patent title:
- Device and Method for Adaptively Filtering Image
- Applicant
- SAMSUNG ELECTRONICS CO., LTD.
- Filed · Published
- Jul 22, 2026 · Dec 3, 2026
- Inventors
- Quockhanh DINH, Kwangpyo CHOI, Yinji PIAO
- Status when we published
- Waiting for an examiner
- Document
- 20 claims
- US classification
- 375/240.02
- Parent application
- Continuation of PCT/KR2024/096831 (filed Dec 12, 2024)(PCTKR2024096831)
What Samsung's edge-direction video filter does
Video is squeezed hard before it reaches your screen, and the squeezing leaves small flaws behind. The picture gets chopped into little squares, each compressed on its own, so you can end up with blocky edges and fuzzy patches. Today, a cleanup step called a loop filter tidies those up after the fact.
Samsung's filing is about choosing the right cleanup for each square. The system looks at one patch of the frame and asks which way the detail runs: mostly side to side, up and down, along a diagonal, or in no clear direction at all. Then it grabs a filter tuned for that kind of patch.
A patch with a sharp horizontal edge needs different treatment than a patch of smooth sky. The filing spells out the exact math tests that tell those cases apart, using two cutoff numbers and a few ratios between the strongest and weakest readings.
… determining a directionality value of the current block based on a result of comparing a first threshold value with a first ratio between a first maximum feature value and a first minimum feature value …
Translation: It calculates how strong the edges are by comparing the highest and lowest feature values against set limits.
How each block gets sorted into a filter class
The patent covers a filtering step that runs inside a video encoder (the part that shrinks video for storage or sending) and a decoder (the part that unpacks it for playback). Each frame is split into small blocks, as small as 2x2 or 4x4 pixels, and every block gets sorted into a class.
To sort a block, the system first measures how much brightness changes in four directions: horizontal, vertical and two diagonals. It uses a Laplace value (a measure of how sharply neighboring pixels differ) added up over the block and the pixels around it. Then it works out a directionality value:
- If the stronger of the two readings is not much bigger than the weaker one, or is too small overall, the block gets a "no clear direction" value.
- Otherwise it compares the horizontal-and-vertical pair against the diagonal pair using ratios, and labels the block as leaning one way or the other.
An activity value, taken from whichever pair won, is combined with the directionality value to pick the final class. That class sets the filter coefficients (the weights used to blend each pixel with its neighbors).
The filing also describes a second sorting method that uses the sum or average of a block's pixel values, with ranges built from a histogram of the frame, plus a method of sending the resulting video as a bitstream.
… determining a class corresponding to the current block among a plurality of classes based on the directional value; and filtering samples in the current block by using a filter configured according to the determined class.
Translation: The system sorts the image block into a category and applies a custom cleanup filter based on that result.
Why this matters for the video on your screen
If you watch video on a phone, TV or laptop, you are looking at the output of a decoder like the one this filing describes. Better cleanup after compression is one of the ways video can look sharper without being sent at a higher quality, so tweaks to this step can show up as fewer blocky patches and smudged edges.
The filing reports no test results, so there is no number here for how much cleaner the picture gets. What it does show is Samsung working on the sorting rules that decide which filter each patch of a frame receives, a small but very widely used piece of the video pipeline.
Samsung's 187th filing we've tracked since May in our camera sensor push work builds on earlier applications like one shrinking motion data in video and another shielding film grain from compression.
Source: US 2026/0390390 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.
Get our take in your Top Stories
Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Samsung patent news breaks.
We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.
The drawings · 36 sheets
36 drawing sheets from US 2026/0390390 A1 · click any drawing to enlarge
Show the other 28 sheets

No comments yet