Get the newsletter
Samsung · Software · Filed Jul 22, 2026 · USPTO published Dec 3, 2026 · This week's release

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.

A video frame divided into rectangles of different sizes so the computer can process smooth areas and detailed edges separately. Drawing from patent filing US 2026/0390390 A1.
A video frame divided into rectangles of different sizes so the computer can process smooth areas and detailed edges separately.All 36 drawings ↓
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.

From the filing · CLAIM 1
… 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.

From the filing · THE ABSTRACT
… 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.

There are more where this came from

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

Receiver units that unpack incoming video data, drawing sheet 1 from US 2026/0390390 A1
Sheet 1 Receiver units that unpack incoming video data
Hardware blocks that compress video before sending it, drawing sheet 2 from US 2026/0390390 A1
Sheet 2 Hardware blocks that compress video before sending it
Ways a square video tile can divide into smaller pieces, drawing sheet 3 from US 2026/0390390 A1
Sheet 3 Ways a square video tile can divide into smaller pieces
Splitting options for tall and wide rectangular video sections, drawing sheet 4 from US 2026/0390390 A1
Sheet 4 Splitting options for tall and wide rectangular video sections
Breaking image sections down into smaller pieces step by step, drawing sheet 5 from US 2026/0390390 A1
Sheet 5 Breaking image sections down into smaller pieces step by step
Pinpointing target picture blocks inside unevenly sliced regions, drawing sheet 6 from US 2026/0390390 A1
Sheet 6 Pinpointing target picture blocks inside unevenly sliced regions
Direction paths for decoding newly divided image blocks in turn, drawing sheet 7 from US 2026/0390390 A1
Sheet 7 Direction paths for decoding newly divided image blocks in turn
Resolving an impossible order when decoding nested image pieces, drawing sheet 8 from US 2026/0390390 A1
Sheet 8 Resolving an impossible order when decoding nested image pieces
Show the other 28 sheets
Ways video blocks divide into smaller slices, drawing sheet 9 from US 2026/0390390 A1
Sheet 9 Ways video blocks divide into smaller slices
Rules that ban certain slice patterns to prevent duplicate work, drawing sheet 10 from US 2026/0390390 A1
Sheet 10 Rules that ban certain slice patterns to prevent duplicate work
Reaching a four-part grid in two steps, drawing sheet 11 from US 2026/0390390 A1
Sheet 11 Reaching a four-part grid in two steps
Cut directions that change the processing order, drawing sheet 12 from US 2026/0390390 A1
Sheet 12 Cut directions that change the processing order
Tracking blocks as they split into smaller pieces, drawing sheet 13 from US 2026/0390390 A1
Sheet 13 Tracking blocks as they split into smaller pieces
Assigning labels and split levels to newly divided video blocks, drawing sheet 14 from US 2026/0390390 A1
Sheet 14 Assigning labels and split levels to newly divided video blocks
An entire video frame partitioned into blocks of varying shapes, drawing sheet 15 from US 2026/0390390 A1
Sheet 15 An entire video frame partitioned into blocks of varying shapes
Different video frames using different allowed layout patterns, drawing sheet 16 from US 2026/0390390 A1
Sheet 16 Different video frames using different allowed layout patterns
Codes that tell a video player how to split frames, drawing sheet 17 from US 2026/0390390 A1
Sheet 17 Codes that tell a video player how to split frames
An alternative set of codes that forbids four-way square splits, drawing sheet 18 from US 2026/0390390 A1
Sheet 18 An alternative set of codes that forbids four-way square splits
How video is compressed and unpacked with built-in cleanup filters, drawing sheet 19 from US 2026/0390390 A1
Sheet 19 How video is compressed and unpacked with built-in cleanup filters
A cleanup tool that sorts picture blocks before polishing them, drawing sheet 20 from US 2026/0390390 A1
Sheet 20 A cleanup tool that sorts picture blocks before polishing them
Cross-shaped pixel patterns used to smooth out visual glitches, drawing sheet 21 from US 2026/0390390 A1
Sheet 21 Cross-shaped pixel patterns used to smooth out visual glitches
How the system checks detail levels and edge angles, drawing sheet 22 from US 2026/0390390 A1
Sheet 22 How the system checks detail levels and edge angles
Calculating horizontal, vertical, and diagonal changes across pixels, drawing sheet 23 from US 2026/0390390 A1
Sheet 23 Calculating horizontal, vertical, and diagonal changes across pixels
Steps for finding the main edge direction in blocks, drawing sheet 24 from US 2026/0390390 A1
Sheet 24 Steps for finding the main edge direction in blocks
Decision steps for assigning edge directions using fixed cutoffs, drawing sheet 25 from US 2026/0390390 A1
Sheet 25 Decision steps for assigning edge directions using fixed cutoffs
A weighted formula for picking stronger edge directions, drawing sheet 26 from US 2026/0390390 A1
Sheet 26 A weighted formula for picking stronger edge directions
Sorting video blocks into categories along a single scale, drawing sheet 27 from US 2026/0390390 A1
Sheet 27 Sorting video blocks into categories along a single scale
Counting how often different image traits appear in a scene, drawing sheet 28 from US 2026/0390390 A1
Sheet 28 Counting how often different image traits appear in a scene
Components that group similar image blocks together, drawing sheet 29 from US 2026/0390390 A1
Sheet 29 Components that group similar image blocks together
Initial center points picked to sort image traits, drawing sheet 30 from US 2026/0390390 A1
Sheet 30 Initial center points picked to sort image traits
Dividing measured image values into separate zones, drawing sheet 31 from US 2026/0390390 A1
Sheet 31 Dividing measured image values into separate zones
Updating category centers based on where data actually falls, drawing sheet 32 from US 2026/0390390 A1
Sheet 32 Updating category centers based on where data actually falls
Grouping pixel values around centers to sort picture details, drawing sheet 33 from US 2026/0390390 A1
Sheet 33 Grouping pixel values around centers to sort picture details
Matching pixel traits directly to filter categories, drawing sheet 34 from US 2026/0390390 A1
Sheet 34 Matching pixel traits directly to filter categories
Smoothing video blocks using edge angle and strength, drawing sheet 35 from US 2026/0390390 A1
Sheet 35 Smoothing video blocks using edge angle and strength
Polishing picture samples using filters matched to brightness patterns, drawing sheet 36 from US 2026/0390390 A1
Sheet 36 Polishing picture samples using filters matched to brightness patterns
Patent filing page

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.