Chroma subsampling

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
[Mike]
Posts: 48
Joined: Tue Jul 13, 2010 1:45 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z490 Aorus Elite AC
processor: Intel Core i5-10600K
ram: 32 GB
Video Card: NVIDIA GeForce RTX 3070
Monitor/Display Make & Model: LG 27GL850-B
Corel programs: PSP 2023

Chroma subsampling

Post by [Mike] »

Hello there, I'm looking for some more indepth info about chroma subsampling and the options provided in the save dialog. Mostly because of the unusual notation used.

I know that 1x1 1x1 1x1 is actually 4:4:4, but how can I figure out the other values. Is there some formula or calculation I can use or apply to go from for example 2x2 2x1 2x1 to its more widely accepted counterpart?
Attachments
Screenshot 2021-01-26 201712.png
Mike...
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Chroma subsampling

Post by LeviFiction »

https://zpl.fi/chroma-subsampling-and-j ... g-factors/

1x1,1x1,1x1 = 4:4:4
2x1,1x1,1x1 = 4:2:2
1x2,1x1,1x1 = 4:4:0
2x2,1x1,1x1 = 4:2:0
2x2,2x1,2x1 = 4:4:0
4x2,1x1,1x1 = 4:1:0
etc
https://levifiction.wordpress.com/
[Mike]
Posts: 48
Joined: Tue Jul 13, 2010 1:45 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z490 Aorus Elite AC
processor: Intel Core i5-10600K
ram: 32 GB
Video Card: NVIDIA GeForce RTX 3070
Monitor/Display Make & Model: LG 27GL850-B
Corel programs: PSP 2023

Re: Chroma subsampling

Post by [Mike] »

That's an interesting read, however, I still don't understand how to go from 2x2,1x1,1x1 to 4:2:0 and the other way around. There are some formulas mentioned, but I'm missing a step (or two).

Why doesn't PSP just use the more common notation, that's a lot more understandable.
Last edited by [Mike] on Wed Jan 27, 2021 7:20 pm, edited 1 time in total.
Mike...
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Chroma subsampling

Post by LeviFiction »

It says at the beginning of the article that JPEG uses the odd formatting specifically "JPEG uses a different format". JPEG's format has more options and it's not a direct comparison.

As for the article, I intended it as a look-up table, not as an equation. And as you'll see In that article that some of the JPEG subsamplings don't have a representation in jab format, others result in the same jab interpretation. Honestly, all of the samplings listed in PSP are converted for you in that article with the exception of the last one. No idea what that could be because you're right he doesn't properly explain the relationship or why you're getting the relative H and V or how they get turned into the fractions or how the fractions then get turned into the jab format.

Here's the full list, in order, from JPEG format to jab format. All taken from that article.

1x1,1x1,1x1 = 4:4:4
2x1,1x1,1x1 = 4:2:2
1x2,1x1,1x1 = 4:4:0
2x2,1x1,1x1 = 4:2:0
2x2,2x1,2x1 = 4:4:0
4x2,1x1,1x1 = 4:1:0
2x4 1x1 1x1 = n/a
4x1 1x1 1x1 = 4:1:1
1x4 1x1 1x1 = n/a
4x1 2x1 2x1 = 4:2:2
1x4 1x2 1x2 = 4:4:0

4x4 2x2 2x2 = can't tell if this would be H1/1 V1/2 or H1/2 V1/2 = could be anything from 4:4:0 to 4:2:0 no idea.
https://levifiction.wordpress.com/
[Mike]
Posts: 48
Joined: Tue Jul 13, 2010 1:45 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z490 Aorus Elite AC
processor: Intel Core i5-10600K
ram: 32 GB
Video Card: NVIDIA GeForce RTX 3070
Monitor/Display Make & Model: LG 27GL850-B
Corel programs: PSP 2023

Re: Chroma subsampling

Post by [Mike] »

I guess I was looking for an easy conversion rule where there wasn't one.

Thanks for the elaboration!

:wink:
Mike...
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7_4710 HQ 2_50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: Chroma subsampling

Post by Jean-Luc »

THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
[Mike]
Posts: 48
Joined: Tue Jul 13, 2010 1:45 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z490 Aorus Elite AC
processor: Intel Core i5-10600K
ram: 32 GB
Video Card: NVIDIA GeForce RTX 3070
Monitor/Display Make & Model: LG 27GL850-B
Corel programs: PSP 2023

Re: Chroma subsampling

Post by [Mike] »

Thanks, the concrete examples really help understanding this better.
Mike...
Post Reply