Clear Filters
Clear Filters

Optimal for Image analysis

1 view (last 30 days)
Albert Rey Ruelan
Albert Rey Ruelan on 21 Aug 2017
Answered: Stalin Samuel on 21 Aug 2017
I am doing image processing from extracted from videos. And here are a few of my questions
1.Why is it preferred to read images in PNG rather then JPG? or why is it JPG is not considered the best option when reading images?
2.Are there optimal resolution (example 1920x1080 resolution) for images? We noticed as the image resolution go smaller. The speed of processing that image is faster.

Answers (1)

Stalin Samuel
Stalin Samuel on 21 Aug 2017
  • PNG offers you lossless data comparing to JPEG ( Detailed information about JPEG and PNG )
  • i.e You can get the original information in the image
  • While working with videos it is preferred to work on minimum resolution video
  • Because for example 1920x1080 resolution specifies that the particular frame(any video can have n no of frames ) has 1920 number of rows and 1080 number of columns (i.e. Totally 2073600 pixel values )
  • We have to process on each pixels
  • So if no of pixels is high then the processing time will be high

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!