Video Compression

VideoNerd

Reliable Video Coding for Medical Imaging

Definition: telemedicine is the remote provision of healthcare services that is done by transferring medical data on communication channels. Example: pre-hospital remote guidance to the in-ambulance paramedical staff from a physician.         Slides:   Reliable Video Coding for Medical Imaging         Lecture record               […]

Rate Control Et Cetera

Rate Control Issues: There are two main types of Rate Controls: CBR (Constant-Bitrate) and VBR (Variable-Bitrate).  In addition some encoders support CVQR (Constant Video Quality Rate Control), CVQR tries to keep constant visual quality. E.g. x264/x265 has a particular command-line parameter ‘-crf’ to specify CVQR mode and to keep a selected “visual quality”. A video […]

How Many Frames Share Same Histogram?

The histogram H of the gray image I or Y-component of YUV-image is the frequency of occurrence of each pixel level. For 8bpp  the histogram is the vector of 256 elements (since pixel values are in the range 0..255). It’s obvious that each image which is a spatial shuffling of pixels from the original image share same […]

Erdos-Szekeres Theorem

This paper was inspired from The Erdős–Szekeres Theorem   Erdos-Szekeres Theorem (in a limited form): Any sequence of distinct real numbers with the length NxN+1 contains a monotonically increasing subsequence of length N+1 or a monotonically decreasing subsequence of length N+1 Example any sequence of 10 distinct integers (N=3) contains either ascending or descending subsequence […]

Elements of Human Vision System

Elements of Human Vision System (HVS) Perceptual Visual Distortions as Result of Encoding Scene Cut masking Temporal Visual Masking Frequency sensitivity Spatial Masking     Elements of Human Vision System (HVS)   Visual processing in Primates is mainly performed by Visual Cortex and by Lateral Geniculate Nucleus (parts of the brain). Eyes are sensors with simple preprocessing function, […]

Philosophy for SW Engineers

Bear in mind that Absence of Evidence of SW product malfunction does not always mean Evidence of Absence: We commonly can’t say with 100% confidence whether a SW Product is “bug-free” or not.  Notice that i deliberately put the word ‘commonly’, because there are few cases when all potential (or expected) input data fed to […]

Python: Remove Duplications from List

Convert a list to set and then convert back from the set to the list, the conversion to the set removes duplication.  There is one weak point the order in the resulted list might be different from the original one, since ‘set’ does not preserves ordering.  Example:            l=[1,2,3,1]     […]

How Many Bits to Store N-Decimal Digits Number

How Many Bits Required to Store N Decimal Digits Number? Let’s suppose you have to know how many bits are required to store a number having N decimal digits?  The exact answer is  ceil(N/log10(2)). However, log10(2)>1/3, hence the amount of bits required to store N decimal digits number is at most 3xN.  Slava23+ years’ programming […]

סיפורים מאיש בדיכאון

Happy End ש. היה איש שקט וחרד אנשים הוא היה  בן 40 פלוס וגר בדירה קטנה . ל ש. לא היתה עבודה סדירה המחייבת להתייצב כל בוקר אלא הוא היה עוסק בכל מיני חלטורות שהיו מספקות צרכים צנועים שלו.  בקשר למקצוע שלו : ש. חשב שהוא מהנדס תוכנה והיו אנשים שהסכימו עם הגדרתו וכתוצאה הם […]

BP Neural Network and Cybenko Theorem

In signal coding there are two famous theorems – Shannon Theorems, which put limits on coding efficiency in lossless and in lossy modes. However, in Neural Networks there is Cybenko Theorem, which puts constraints on  efficiency of Back-Propagation Neural Network as an approximation of a target function (notice that Neural Network is targeted to approximate […]