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.

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

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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 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...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

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