SlideShare a Scribd company logo
1 of 14
Pretty as a Picture:Assessing Quality inImage/Video IP Nikos ZervasVice President, CAST, Inc.
SoCIP 2011 2 Video and Image Quality  Quality can be crucial, especially in applications with high-resolution displays or analytics. Customers automatically judge by the quality, they see, regardless of the end application.
Compression and Quality  Myths Supporting an industry support defines a core’s quality. A particular set of features automatically defines quality. I can judge quality with vendor-provided tests. Realities Standards typically describe a decoder, but quality is mainly determined by the encoder. Within conformance to a standard, developers have great freedom in choosing algorithms and implementation details. Image or video tests can be tuned to do well with particular encoders/decoders, and may not reflect your media content. SoCIP 2011 3
Compression and Quality  Standards do not mandate quality. There are potential pitfalls with every compression technology. MPEG2	JPEG	JPEG 2000H.264	LJPEG	JPEG-LS   … Let’s look at one: JPEG 2000. SoCIP 2011 4
JPEG 2000 — Pitfalls JPEG 2000 offers the best lossless and great lossy compression efficiency.  True only when all encoding switches are turned off. JPEG 2000 offers the best lossless and great lossy compression.  True for Variable Bit Rate (VBR). But under Constant Bit Rate (CBR), quality depends on Rate Control efficiency.  JPEG 2000 offers Region of Interest (ROI) for selective quality. True, but the implementation of ROI may make ROI unusable. JPEG 2000 minimizes blocking artifacts.  True, but tiling artifacts can be present when you get more than one tile per image. SoCIP 2011 5
JPEG 2000 — Encoding Switches Parallel Mode and Bypass  Simplify hardware design. Destroy JPEG 2000 coding Efficiency. 6 SoCIP 2011 -3dB -1dB
JPEG 2000 — Region of Interest slide 7 SoCIP 2011 Requires higher quality for the region of interest (ROI). But you still care about the quality of the background. Example: Aerial photography with ROI compressed at 50:1 Some encoders only do this: But others can do this:
JPEG 2000 — Rate Control Not defined by the standard, but needed for many applications. Determines the quality you will get at a specific rate (compression ratio). Its accuracy defines the buffering/storage requirements and latency on your system. SoCIP 2011 slide 8 Your SIP provider should be able to provide comparative data with respect to the de facto reference software (kakadu)
Image Processing and Quality There are no standards for most image processing algorithms. There are potential pitfalls with every image processing algorithm. Image Scaling 	White BalanceBad Pixel CorrectionDe-interlacing  	… Let’s look at one: De-interlacing. SoCIP 2011 9
De-interlacing – Pitfalls Quality is preserved by minimizing motion artifacts True, but detail needs to be preserved too. Motion detection is the best de-interlacing method Not really. Motion detection algorithms can be easily fooled by small motion, image noise etc SoCIP 2011 10 DSP techniques provide great quaiity There is no continuous time signal in video, so DSP techniques just fail Treats all pixels equally
De-interlacing- Quality Detail without Motion Artifacts is preserved when filtering adopts not only to motion (temporal) but also to spatial variations  e.g. edges should be treated differently than flat areas Content Adaptive algorithms deliver the highest quality results SoCIP 2011 11 DSP			   Content Adaptive Motion Detection
Considerations for SIP Selection How easy is it to integrate my image/video Semiconductor IP? Streaming versus SoC bus interfaces. External memory bandwidth and tolerance to memory latencies. Run-time programmability. System-level buffering requirements. How much external processing does it require? For example: some H.264 SIPs work as accelerators rather than complete stand-alone solutions. SoCIP 2011 12
Example: Camera SoC 13 SoCIP 2011 Good Pixel data streamed from sensor to output; Host controls the SoC. Easy SoC bus and memory arbitration, low software complexity. Bad Pixel data transferred over SoC bus; Host controls the SoC. Challenging SoC bus and memory arbitration, moderate complexity. Ugly Pixel data transferred over SoC bus; Host performs some processing and controls the SoC. SoC bus and memory arbitration becomes difficult, High complexity. 3 – 4 weeks to integrate, Low risk 2 – ??? Months to integrate, High risk
Takeaways Evaluate your video and image IP for quality before making a purchase decision. Ask for software modelor reference design, or ask your vendors to encode your own clips using your settings. Compare results using your perception, reference implementations, and stream analysis tools.  Consider integration complexity. Cores that are difficult to integrate can end up costing you several times more than the core license itself. Failures in system-level integration can delay your product development, cripple your product and make it non-competitive. SoCIP 2011 14

More Related Content

More from CAST, Inc.

CAST - Securing your SoC with GEON
CAST - Securing your SoC with GEONCAST - Securing your SoC with GEON
CAST - Securing your SoC with GEONCAST, Inc.
 
Automotive Challenges Addressed by Standard and Non-Standard Based IP
Automotive Challenges Addressed by Standard and Non-Standard Based IPAutomotive Challenges Addressed by Standard and Non-Standard Based IP
Automotive Challenges Addressed by Standard and Non-Standard Based IPCAST, Inc.
 
Automotive Interconnect Challenges
Automotive Interconnect ChallengesAutomotive Interconnect Challenges
Automotive Interconnect ChallengesCAST, Inc.
 
Choosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video StreamingChoosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video StreamingCAST, Inc.
 
Using GZIP Data Compression to Reduce Power Consumption in IoT Devices
Using GZIP Data Compression to Reduce Power Consumption in IoT DevicesUsing GZIP Data Compression to Reduce Power Consumption in IoT Devices
Using GZIP Data Compression to Reduce Power Consumption in IoT DevicesCAST, Inc.
 
Building IP Vendor Trust
Building IP Vendor TrustBuilding IP Vendor Trust
Building IP Vendor TrustCAST, Inc.
 

More from CAST, Inc. (6)

CAST - Securing your SoC with GEON
CAST - Securing your SoC with GEONCAST - Securing your SoC with GEON
CAST - Securing your SoC with GEON
 
Automotive Challenges Addressed by Standard and Non-Standard Based IP
Automotive Challenges Addressed by Standard and Non-Standard Based IPAutomotive Challenges Addressed by Standard and Non-Standard Based IP
Automotive Challenges Addressed by Standard and Non-Standard Based IP
 
Automotive Interconnect Challenges
Automotive Interconnect ChallengesAutomotive Interconnect Challenges
Automotive Interconnect Challenges
 
Choosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video StreamingChoosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video Streaming
 
Using GZIP Data Compression to Reduce Power Consumption in IoT Devices
Using GZIP Data Compression to Reduce Power Consumption in IoT DevicesUsing GZIP Data Compression to Reduce Power Consumption in IoT Devices
Using GZIP Data Compression to Reduce Power Consumption in IoT Devices
 
Building IP Vendor Trust
Building IP Vendor TrustBuilding IP Vendor Trust
Building IP Vendor Trust
 

Recently uploaded

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Pretty as a Picture: Assessing Quality in Image/Video IP

  • 1. Pretty as a Picture:Assessing Quality inImage/Video IP Nikos ZervasVice President, CAST, Inc.
  • 2. SoCIP 2011 2 Video and Image Quality Quality can be crucial, especially in applications with high-resolution displays or analytics. Customers automatically judge by the quality, they see, regardless of the end application.
  • 3. Compression and Quality Myths Supporting an industry support defines a core’s quality. A particular set of features automatically defines quality. I can judge quality with vendor-provided tests. Realities Standards typically describe a decoder, but quality is mainly determined by the encoder. Within conformance to a standard, developers have great freedom in choosing algorithms and implementation details. Image or video tests can be tuned to do well with particular encoders/decoders, and may not reflect your media content. SoCIP 2011 3
  • 4. Compression and Quality Standards do not mandate quality. There are potential pitfalls with every compression technology. MPEG2 JPEG JPEG 2000H.264 LJPEG JPEG-LS … Let’s look at one: JPEG 2000. SoCIP 2011 4
  • 5. JPEG 2000 — Pitfalls JPEG 2000 offers the best lossless and great lossy compression efficiency. True only when all encoding switches are turned off. JPEG 2000 offers the best lossless and great lossy compression. True for Variable Bit Rate (VBR). But under Constant Bit Rate (CBR), quality depends on Rate Control efficiency. JPEG 2000 offers Region of Interest (ROI) for selective quality. True, but the implementation of ROI may make ROI unusable. JPEG 2000 minimizes blocking artifacts. True, but tiling artifacts can be present when you get more than one tile per image. SoCIP 2011 5
  • 6. JPEG 2000 — Encoding Switches Parallel Mode and Bypass Simplify hardware design. Destroy JPEG 2000 coding Efficiency. 6 SoCIP 2011 -3dB -1dB
  • 7. JPEG 2000 — Region of Interest slide 7 SoCIP 2011 Requires higher quality for the region of interest (ROI). But you still care about the quality of the background. Example: Aerial photography with ROI compressed at 50:1 Some encoders only do this: But others can do this:
  • 8. JPEG 2000 — Rate Control Not defined by the standard, but needed for many applications. Determines the quality you will get at a specific rate (compression ratio). Its accuracy defines the buffering/storage requirements and latency on your system. SoCIP 2011 slide 8 Your SIP provider should be able to provide comparative data with respect to the de facto reference software (kakadu)
  • 9. Image Processing and Quality There are no standards for most image processing algorithms. There are potential pitfalls with every image processing algorithm. Image Scaling White BalanceBad Pixel CorrectionDe-interlacing … Let’s look at one: De-interlacing. SoCIP 2011 9
  • 10. De-interlacing – Pitfalls Quality is preserved by minimizing motion artifacts True, but detail needs to be preserved too. Motion detection is the best de-interlacing method Not really. Motion detection algorithms can be easily fooled by small motion, image noise etc SoCIP 2011 10 DSP techniques provide great quaiity There is no continuous time signal in video, so DSP techniques just fail Treats all pixels equally
  • 11. De-interlacing- Quality Detail without Motion Artifacts is preserved when filtering adopts not only to motion (temporal) but also to spatial variations e.g. edges should be treated differently than flat areas Content Adaptive algorithms deliver the highest quality results SoCIP 2011 11 DSP Content Adaptive Motion Detection
  • 12. Considerations for SIP Selection How easy is it to integrate my image/video Semiconductor IP? Streaming versus SoC bus interfaces. External memory bandwidth and tolerance to memory latencies. Run-time programmability. System-level buffering requirements. How much external processing does it require? For example: some H.264 SIPs work as accelerators rather than complete stand-alone solutions. SoCIP 2011 12
  • 13. Example: Camera SoC 13 SoCIP 2011 Good Pixel data streamed from sensor to output; Host controls the SoC. Easy SoC bus and memory arbitration, low software complexity. Bad Pixel data transferred over SoC bus; Host controls the SoC. Challenging SoC bus and memory arbitration, moderate complexity. Ugly Pixel data transferred over SoC bus; Host performs some processing and controls the SoC. SoC bus and memory arbitration becomes difficult, High complexity. 3 – 4 weeks to integrate, Low risk 2 – ??? Months to integrate, High risk
  • 14. Takeaways Evaluate your video and image IP for quality before making a purchase decision. Ask for software modelor reference design, or ask your vendors to encode your own clips using your settings. Compare results using your perception, reference implementations, and stream analysis tools. Consider integration complexity. Cores that are difficult to integrate can end up costing you several times more than the core license itself. Failures in system-level integration can delay your product development, cripple your product and make it non-competitive. SoCIP 2011 14