Institutionen för systemteknik
|
|
- Lars Öberg
- för 5 år sedan
- Visningar:
Transkript
1 Institutionen för systemteknik Department of Electrical Engineering Examensarbete Video coding using compressed transportation plans Examensarbete utfört i bildkodning vid Tekniska högskolan i Linköping av Johan Lissing LITH-ISY-EX--07/3918--SE Linköping 2007 Department of Electrical Engineering Linköpings universitet SE Linköping, Sweden Linköpings tekniska högskola Linköpings universitet Linköping
2
3 Video coding using compressed transportation plans Examensarbete utfört i bildkodning vid Tekniska högskolan i Linköping av Johan Lissing LITH-ISY-EX--07/3918--SE Handledare: Examinator: Niclas Wadströmer isy, Linköpings universitet Niclas Wadströmer isy, Linköpings universitet Linköping, 19 January, 2007
4
5 Avdelning, Institution Division, Department Image Coding Group Department of Electrical Engineering Linköpings universitet SE Linköping, Sweden Datum Date Språk Language Svenska/Swedish Engelska/English Rapporttyp Report category Licentiatavhandling Examensarbete C-uppsats D-uppsats Övrig rapport ISBN ISRN LITH-ISY-EX--07/3918--SE Serietitel och serienummer Title of series, numbering ISSN URL för elektronisk version Titel Title Videokodning med komprimerade transportplaner Video coding using compressed transportation plans Författare Author Johan Lissing Sammanfattning Abstract A transportation plan is a byproduct from the calculation of the Kantorovich distance between two images. It describes a transformation from one of the images to the other. This master thesis shows how transportation plans can be used for video coding and how to process the transportation plans to achieve a good bitrate/quality ratio. Various parameters are evaluated using an implemented transportation plan video coder. The introduction of transform coding with DCT proves to be very useful, as it reduces the size of the resulting transportation plans. DCT coding roughly gives a 10-fold decrease in bitrate with maintained quality compared to the nontransformed transportation plan coding. With the best settings for transportation plan coding, I was able to code a test sequence at about 5 times the bitrate for MPEG coding of the same sequence with similar quality. As video coding using transportation plans is a very new concept, the thesis is ended with conclusions on the test results and suggestions for future research in this area. Nyckelord Keywords video coding, kantorovich distance, transportation plan
6
7 Abstract A transportation plan is a byproduct from the calculation of the Kantorovich distance between two images. It describes a transformation from one of the images to the other. This master thesis shows how transportation plans can be used for video coding and how to process the transportation plans to achieve a good bitrate/quality ratio. Various parameters are evaluated using an implemented transportation plan video coder. The introduction of transform coding with DCT proves to be very useful, as it reduces the size of the resulting transportation plans. DCT coding roughly gives a 10-fold decrease in bitrate with maintained quality compared to the nontransformed transportation plan coding. With the best settings for transportation plan coding, I was able to code a test sequence at about 5 times the bitrate for MPEG coding of the same sequence with similar quality. As video coding using transportation plans is a very new concept, the thesis is ended with conclusions on the test results and suggestions for future research in this area. v
8
9 Contents 1 Introduction Purpose Background Methodology Background on video coding Source coding and data compression Lossless compression Lossy compression Image and video coding A simple video coder A lossy video coder Performance measures Compression Quality The Kantorovich distance and transportation plans Definitions Examples Application to video coding Compressing the transportation plans Frame selection Interpolation methods Frame transformation Transportation plan calculation Mass equalization Distance function Arc selection Arcs with length Arcs with low mass Isolated arcs Arc transformation The difference plan Scan-line traversal vii
10 viii Contents Hilbert curve traversal Vector coding of relative receiving pixel coordinates Mass compression Lossless compression Filtering Transform coding Frame selection Frame transformation Transportation plan calculation Mass equalization Mass elevation Arc selection Arc transformation Zigzag scan Vector coding of relative receiving pixel coordinates Mass compression Lossless compression Filtering Implementation Tools Details Limitations Results Transportation plan coding MPEG coding Conclusions Transform benefits Quality Quality control Artifacts Interpolation Lossless coding Complexity Future work Modifications Interpolation Transforms Distance functions Lossless coding Expansions Color video
11 Contents ix Bibliography 47 A The Miss America sequence 49 B Compression algorithms 50 B.1 Unary coding B.2 Move-to-front (MTF) coding B.3 Run-length coding B.4 Huffman B.5 LZ B.6 LZW C The discrete cosine transform 57 C.1 Definitions and example C.2 Quality factor
12
13 Chapter 1 Introduction 1.1 Purpose The purpose of this master thesis project is to investigate if effective video coding, based on compressed transportation plans, can be achieved. The effectiveness, in this case, mainly pertains to the ratio between the video bitrate and the distortion, compared to that of a commercial video coder. 1.2 Background Transportation plans have so far been sparsely used in video coding and are not incorporated in any commercial codecs. A previous master thesis [7] has investigated the possibilities for using transportation plans to code video, but there are many options and parameters left to evaluate. That makes video coding using transportation plans an interesting topic to explore. 1.3 Methodology I intend to use a program written by my supervisor, Niclas Wadströmer, for calculating the Kantorovich distance between two images, and also the transportation plan from the first to the second image. This code will be fitted into a larger program that reads entire video sequences, calculates transportation plans between the frames, compresses these plans and finally writes them to an encoded video file. The program will also be able to play back the encoded video files and measure their quality. To be able to achieve high compression for the transportation plans, I will look at the steps involved in a video coder and see what options there are for each step. I will evaluate a few combinations of these option to see which ones are useful and which are not. Most of the ideas presented in the previous master thesis on the topic [7] will be implemented to start with and I will continue from there. 1
14
15 Chapter 2 Background on video coding 2.1 Source coding and data compression Coding is a general term that is synonymous to representing. To code a data sequence is to represent it in a different way. The new representation may be more suited to a certain purpose. Coding does not necessarily mean compression, although this is often implied. When an encoded sequence needs less storage space than the original sequence, compression is achieved. Source coding is to code the output signal of a source (e.g. an image) for a channel with limited capacity (e.g. a hard drive). This often requires data compression. It is assumed that the channel itself is noise-free and does not introduce any distortion to the signal. Data compression can be divided into two categories: lossless and lossy compression. As their names imply, lossless compression allows the data to be perfectly reconstructed, while lossy compression introduces errors distortion. Stand-alone lossless compression is mainly used for compressing text documents, where any distortion is intolerable. With images and video, a lossy compression can exploit defects in the human vision and let the distortion go unnoticed. Lossy compression is usually followed by lossless compression to further reduce the file size. The aim for lossless compression is to minimize the number of bits needed to represent the data. With lossy compression, the aim is to achieve a good compromise between bitrate and distortion. Both compression techniques make use of statistical redundancies in the data. The following subsections will describe lossless and lossy compression in general. Specific compression algorithms and techniques used in the implementation are described in appendix B Lossless compression A simple lossless compression technique is demonstrated in example
16 4 Background on video coding Example 2.1: Lossless compression Let s say we want to compress the output of a data source that produces integers. A sample elementary event is the following vector: x = ( ) The vector x contains 9 numbers. If we code this vector using normal binary numbers, we would need log 2 (26) + 1 = 5 bits per symbol, knowing that 26 is the highest number in x. The whole vector of 9 numbers then requires 9 5 = 45 bits. If we know the fact that there are only 8 distinct numbers in x, we would only need log 2 (8) = 3 bits per symbol, giving 27 bits for the whole vector. If we construct a new vector x using { x x(0) n = 0 (n) = x(n) x(n 1) 0 < n < 9 we get x = ( ) Apart from x (0), which can be treated separately, the number of distinct values in x is 3, requiring only log 2 (3) = 2 bits per symbol. Using 5 bits for the first number, x requires = 21 bits. That is less than half the number of bits required to store the original vector x. The statistical redundancy in this case is the sample-to-sample correlation in x, where each number only differs a small amount from the previous number. Of course, when decompressing x, one must know how it was constructed in order to reconstruct x. If the vector x is representative for the source that produced it, this method should be usable to compress all outputs from the source. A lower bound on how many bits are required to code a data sequence is given by its entropy. The entropy measurement is based on the distribution of the elements in the data. Definition 2.1 (Entropy) The (first-order) entropy of a data sequence x is [5]: H(x) = i x p(i) log 2 p(i) where p is the probability function. The resulting value has the unit bits/symbol. Example 2.2: Entropy If we assume that the vectors in example 2.1 are representative for the source, we can estimate their probability distributions. In x, we have p(18) = 2/9, while
17 2.1 Source coding and data compression 5 the rest of the numbers each have the probability 1/9. The entropy can then be calculated as ( H(x) = log ) 9 log 2 2 = The difference vector x, however, has a skewer probability distribution: p( 1) = 1 9 p(1) = 4 9 p(2) = 3 9 p(17) = 1 9 The entropy of x is H(x ) = ( 1 9 log log log ) 9 log 1 2 = Example 2.2 shows that the difference vector requires, at least theoretically, fewer bits per symbol than the original vector Lossy compression When using lossy compression, the reconstructed data is allowed to differ from the original data. The difference is often small enough to go unnoticed, or at least to not be annoying. How much distortion is considered acceptable depends on the application. Lossy compression is often used to compress audio and video because it can exploit defects in human hearing and vision. The lossy part of lossy compression is often quantization, which reduces the size of the data alphabet and the number of bits needed to code each symbol. Example 2.3: Lossy compression We want to compress the output of a data source that produces floating-point numbers. A sample elementary event is the following vector: y = ( ) which has 9 distinct numbers, requiring log 2 (9) = 4 bits per symbol. If we round each number to the nearest integer, we get y = y = ( ) which has only 4 distinct numbers and therefore requires only log 2 (4) = 2 bits per symbol.
18 6 Background on video coding 2.2 Image and video coding Image coding deals with coding still images, such as photos or artwork. One of the most widespread coding standards for photographic images is JPEG. It uses both lossless and lossy coding. The trade-off between distortion and compression can be adjusted with a quality parameter. An important observation is that in natural images, pixels tend to have similar intensity and color as their neighbors. This is called spatial redundancy A simple video coder A video is essentially a sequence of images, and can thus be coded by applying image coding to each frame. However, a video also has temporal redundancy, meaning that the intensity and color of a pixel is similar to that of the previous and next frames in time. The traditional video coder exploits this by coding the difference frame D(t) = F (t) F (t 1) instead of the regular frame F (t). The difference frames should then contain mostly pixels with value 0. A block diagram for a difference coder is shown in figure 2.1. In this thesis, I intend to replace the difference frame D(t) = F (t) F (t 1) with the transportation plan from F (t 1) to F (t) A lossy video coder When introducing lossy compression to a coder based on sample differences, the errors must not accumulate. Example 2.4 shows how such a situation can occur. Example 2.4: Quantization coder with error accumulation Using the same data as in example 2.3, we have the data vector x = ( ) and the difference vector x = ( ) If we quantize the difference vector x by rounding each floating-point number to the nearest integer, we get x = ( ) When the data is reconstructed using { x x (n) = (0) n = 0 x (n) + x (n 1) 0 < n < 9 this results in x = ( )
19 2.2 Image and video coding 7 Figure 2.1. A difference coder. T is a delay element. x(n) + - x (n) x*(n-1) Q x (n) + + C T x*(n) Figure 2.2. A coder using quantization of sample differences. Q is a quantizer, T is a delay element and C is a lossless coder. with the absolute errors x x = ( ) The problem with example 2.4 is that the calculation of the difference vector x is based on the exact values of x, which are not available to the decoder. This corresponds to connecting a quantizer to the output of the coder shown in figure 2.1. The solution is to make each difference calculation consider the quantization of the previous value, i.e. x (n) = x(n) x (n 1). A decoder is built into the coder, which now looks like the block diagram in figure 2.2. Example 2.5 demonstrates how it works. Example 2.5: Quantization coder with no error accumulation We again code the vector x = ( ) x(0) gets quantized to x (0) = x (0) = 46. The difference of the second number and the reconstruction of the first is x (1) = x(1) x (0) = = 1.9. This gets quantized to x (1) = 2 and the reconstruction is x (1) = x (0) + x (1) = 46 + ( 2) = 44.
20 8 Background on video coding The difference of the third number and the reconstruction of the second is x (2) = x(2) x (1) = = 0.3. This gets quantized to x (2) = 0 and the reconstruction is x (2) = x (1) + x (2) = = 44. Continuing in the same fashion gives the quantized difference vector which gets reconstructed to with the absolute errors x = ( ) x = ( ) x x = ( ) 2.3 Performance measures The performance of a video coder using transportation plans must somehow be measured in order to compare it with other coders. Compression and quality were selected as the two most important performance factors in this thesis Compression The compression can be measured as the ratio between the size of the original data and the size of the compressed data. A suitable measure for image and video coding is the number of bits per pixel (bpp) in the compressed data. An 8-bit gray-scale image has 8 bpp. If it can be compressed to 0.2 bpp, the compression ratio is 8/0.2 = Quality There is no universal measure for image quality. It is rather a matter of definition for the current application. For example, an image of a map is readable even if the colors are wrong, but becomes useless if the image is blurred so that thin lines (borders, roads) fade. On a photograph of a natural scene, some blurring may go unnoticed, while heavy discoloring could make the photo look unreal. Ideally, the quality should be measured as it is perceived by a human. However, in order to get an objective measure, most measures are formulated mathematically. Two common measures for distortion are mean squared error (MSE) and peak signal-to-noise ratio (PSNR).
21 2.3 Performance measures 9 (a) Original image (b) PSNR: 0 db (c) PSNR: 6 db Figure 2.3. PSNR comparison. Figure 2.3(c) has higher PSNR even though figure 2.3(b) seems better to the human eye. Definition 2.2 (Mean squared error) The MSE is defined as MSE = 1 n n (x(i) x (i)) 2 i=1 where x is the original signal and x is the reconstruction of x after lossy coding. If x = x, i.e. the coding is lossless, then MSE = 0. Definition 2.3 (Peak signal-to-noise ratio) The PSNR is defined as ( ) m 2 P SNR = 10 log x 10 MSE and measured in decibels (db). m x is the maximum value of the signal, which is 255 in the case of 8-bit gray-scale images. The MSE and PSNR measures are easy to use, but do not always agree with the image quality perceived by a human, as illustrated by example 2.6. Example 2.6: PSNR exploit The original image is shown in figure 2.3(a). It is pixels and consists of white (value 255) and black (value 0) lines. Figure 2.3(b) is a shifted version of the original image, while figure 2.3(c) is a gray image (value 127). The MSE for figure 2.3(b) is and the PSNR is 0 db. For figure 2.3(c), the MSE is and the PSNR is 6 db. Even though figure 2.3(b) seems more similar to the original image, it has higher MSE and lower PSNR than 2.3(c). PSNR is used as a quality measure in chapter 7, despite its poor performance in example 2.6. The example is an extreme case and with natural images, PSNR mostly works fine. An alternative to PSNR is to let a group of people evaluate image quality, but this method was considered too cumbersome.
22
23 Chapter 3 The Kantorovich distance and transportation plans The Kantorovich distance and transportation plans will be explained in this chapter. The Kantorovich distance is a distance measure between two gray-scale images. Generally, the smaller the Kantorovich distance is, the more similar the two images are. 3.1 Definitions The gray-values in a gray-scale image can be viewed as mass. A pixel having the gray-value 17 corresponds to the mass 17 in that position. Assuming that two images have the same total mass, the mass elements in one of them can be moved around, transforming the first image into the other image. A transportation vector describes how a mass element should be moved from the transmitting pixel in the first image to the receiving pixel in the second image. Definition 3.1 (Transportation vector and its components) Using the notation from [4], a transportation vector (i n, j n, x n, y n, m n ) defines each move of mass where (i n, j n ) is the transmitting pixel, (x n, y n ) is the receiving pixel and m n is the mass. The pair ((i n, j n ), (x n, y n )) is called an arc. For simplicity, the term transportation vector is substituted for arc throughout this thesis. This can safely be done since each transmitting-receiving pixel pair only appears once in a transportation plan. Each transportation vector, or arc, is associated with a cost, indicating how expensive it is to move its mass. Definition 3.2 (Cost) The cost of a transportation vector (i n, j n, x n, y n, m n ) is defined as d((i n, j n ), (x n, y n )) m n, where d((i n, j n ), (x n, y n )) is the distance between the transmitting pixel and the receiving pixel using some distance function d [4]. 11
24 12 The Kantorovich distance and transportation plans (a) Transmitting image (b) Receiving image (c) Arcs Figure 3.1. Illustration of example 3.1. Transmitting and receiving image and the arcs between them. The distance function d can for example be the squared Euclidean distance d((i n, j n ), (x n, y n )) = (x n i n ) 2 + (y n j n ) 2 Definition 3.3 (Kantorovich distance) The Kantorovich distance between the images A and B, with equal total gray-value, is the smallest total cost required to transform A into B using transportation vectors. The Kantorovich distance between A and B is denoted d K (A, B) [4]. Calculating the Kantorovich distance between two images yields a transportation plan as a byproduct. The transportation plan can be used to transform the first image to the second. Definition 3.4 (Transportation plan) The (optimal) transportation plan from image A to image B, which have equal total gray-value, is the set of transportation vectors that yields the smallest total cost when transforming A into B. The total cost of the transportation plan from A to B is equal to d K (A, B) [4]. 3.2 Examples Example 3.1: A simple transportation plan Figure 3.1 shows two small 3 3 frames. The arcs of the transportation plan from figure 3.1(a) to figure 3.1(b) are shown in figure 3.1(c). The pixel values range from 0 (black) to 255 (white). With the origin in the top left corner, the transportation is ( ) distance: 1 cost: 255 ( ) distance: 0 cost: 0 ( ) distance: 2 cost: 254 The distances use the squared Euclidean distance function. The Kantorovich distance between the two images is = 509.
25 3.2 Examples 13 (a) Using the Euclidean metric, 392 arcs (b) Using the squared Euclidean distance, 1009 arcs Figure 3.2. Transportation plans between the first two frames of Miss America using different distance functions. Each arc is represented by a line between the transmitting and the receiving pixel.
26 14 The Kantorovich distance and transportation plans Example 3.2: Real transportation plans Example 3.1 does not reveal the complexity of the transportation plan between two real images. This can instead be seen in figure 3.2. The two transportation plans are calculated between the first two frames of the Miss America sequence, one using the Euclidean metric and the other the squared Euclidean distance. Appendix A shows the first frames from this sequence. In this example, the frames were subsampled to to make the figures readable. Figure 3.2(a) shows the result of using the Euclidean metric. The arcs are few, but they have different lengths and point in all directions. When using the squared Euclidean distance, as shown in figure 3.2(b), there are more arcs, but their lengths and directions are more uniform. 3.3 Application to video coding Using the information in a transmitting image and a transportation plan, the receiving image can be reconstructed. A video sequence can thus be coded with one transportation plan for each frame, using the previous frame as the transmitting image.
27 Chapter 4 Compressing the transportation plans A video coder using transportation plans can be built using the blocks in figure 4.1. These blocks will be described, in that order, in the following sections. Note that this coder assumes that sequential frames are similar, i.e. from the same scene in a video sequence. When a scene change occurs, it is probably best to code the first frame of the new scene as a stand-alone image. A transportation plan from a previous frame or a completely blank frame could also be used, but these would most likely contain too many arcs to allow for efficient coding. Figure 4.1. Block diagram for a transportation plan video coder. A video sequence is encoded by passing it through all steps of the coder. 4.1 Frame selection This step decides which video frames to encode. Possible choices here include: Code all frames Code frames 0, n, 2n, 3n,... and let the decoder interpolate the omitted frames Code frames 0, n, 2n, 3n,... and use interpolations of the omitted frames as predictors for themselves 15
28 16 Compressing the transportation plans (a) Interpolation of frames for direct use. (b) Interpolation of frames for use as predictors. Figure 4.2. Interpolation of frames. F = frame sent as pure image, T = frame produced from transportation plan, I = interpolated frame. Bold arrows represent transportation plans, i.e. sent data. Thin arrows show which frames are used to interpolate intermediate frames. The last options resemble the use of GOPs (group of pictures) in MPEG video coding. A GOP consists of I, P and B frames. I frames are stand-alone images, while P frames are predicted from previous frames and B frames are bidirectionally predicted from both previous and future frames. An illustration of the last options with n = 3 is shown in figure 4.2. Interpolated frames need not be sent, but can be calculated from frames already available to the receiver, which reduces the bitrate drastically. When using the interpolated frames as predictors, the transportation plans from them have to be sent, but at the same time the quality can be increased Interpolation methods Interpolation can be done in many ways with varying complexity and quality. A simple interpolation between the frames F (t) and F (t+2) is the linear interpolation F (t + 1) = (F (t) + F (t + 2))/2. Several frames can be interpolated between F (t) and F (t + n) using F (t + k) = (n k)f (t) + kf (t + n) n where 1 k n 1 A transportation plan can also be used to perform interpolation, either by halving the arc masses or the arc lengths. However, testing showed that interpolation through halving arc lengths gave bad results. Halving arc masses gave a somewhat better quality, but linear interpolation was the superior method.
29 4.2 Frame transformation Frame transformation The input video frames can be transformed before the transportation plan is calculated. As will be made apparent in section 4.4, a transportation plan between natural frames have many arcs. The number can be reduced drastically if the frames are transformed prior to calculating the transportation plan. The two tested choices are: No transformation Discrete cosine transform The discrete cosine transform turned out to give far superior compression. Coding with DCT is further described in chapter 5. The rest of this chapter deals with non-transformed frames and their transportation plans. 4.3 Transportation plan calculation The calculation of transportation plans was done by an external program, written by my supervisor Mass equalization As mentioned in chapter 3, the masses of the two input images must be equal, to comply with the definition of the Kantorovich distance. This can be achieved in a number of ways: Cross-multiplication of the image masses Cross-multiplication with the greatest common divisor Sequentially modifying individual pixel values in one of the images until they have the same mass The first and third option were implemented, but showed no significant differences regarding the number of arcs or their distribution across the images. A drawback with cross-multiplying is that the alphabet for the mass component becomes huge. This requires immediate quantization and also prolongs execution time. These methods are also dependent on the frame size. The third option means changing the average intensity for the whole image. To equalize the masses exactly, some single pixel changes may be necessary. These can be done in a scan-line fashion. This method always yields pixel values in the range [0, 255] and arc masses in the range (0, 255]. For this reason, this approach was used in all tests. All options require that some side information is passed to the receiver. When using cross-multiplication, the image mass of the receiving frame can be used for division back to actual pixel values. The sequential modification scheme can use the difference of the two image sums to restore the receiving frame at the decoder end. In all cases, the size of this side information is negligible. With a resolution of , it requires less than 2 bytes per frame.
30 18 Compressing the transportation plans Distance function The definition of the Kantorovich distance does not specify which distance function to use for determining arc costs, so this can be chosen. A few common distance functions are: Euclidean metric Squared Euclidean distance Manhattan metric (also known as city block metric) The squared Euclidean distance distance was already implemented in the program I used for transportation plan calculation. With this distance function, the cost rapidly increases as an arc gets longer, which gives arcs of similar length and direction that should be easy to code. Calculating the transportation plan between the first two frames of the Miss America sequence (see appendix A) using the squared Euclidean distance function gives arcs. With Manhattan metric, the figure is 9280 arcs. However, in the first case all arcs are of length 1 or 2, while in the latter case the arc length distribution is exponentially decreasing from length 1 to 23. Arcs of zero length (see section 4.4.1) are not included in the figures. The squared Euclidean distance was selected as the distance function to use in subsequent tests. 4.4 Arc selection A typical transportation plan between two video frames contains tens of thousands of arcs. For instance, considering the transportation plans between the frames of the Miss America sequence, the plan with fewest arcs contains arcs and the one with most arcs contains arcs. There are on average 2.3 arcs per pixel. However, there are several types of arcs that can be removed from a transportation plan to improve the bitrate while not affecting the quality too much: Arcs with length 0 Arcs with low mass Isolated arcs The first two categories are mentioned in [7]. The removal of arcs from the transportation plan between the first two frames in the Miss America sequence is illustrated in figure 4.3, where every arc s transmitting pixel has been plotted. If several arcs transmit from the same pixel, that pixel has been made brighter. Figure 4.3(a) shows the transmitting pixels of the unmodified transportation plan. From the images, one can make out the woman s eyes and lips, which seem to give rise to most arcs. Removal of low mass and isolated arcs does not always result in such a drastical drop of the number of arcs as in the case illustrated by figure 4.3. Subsequent
31 4.4 Arc selection 19 (a) All arcs (b) Arcs with length 0 removed (23677 arcs left) (c) Arcs with mass 7 removed (6110 arcs left) (d) Isolated arcs removed (5021 arcs left) Figure 4.3. Transmitting pixels. The brighter a pixel is, the more arcs start in that pixel. The number of transmitting pixels ranges from 0 (black) to 6 (white). transportation plans may need more arcs to compensate for accumulated errors. When coding the entire Miss America sequence, the number of arcs varies between about 4000 and 14000, using a mass limit of 7 and removal of isolated arcs Arcs with length 0 Arcs with zero length can be discarded without any quality loss at all, since the decoder has access to the previous frame. Instead of transporting mass from the previous frame to a blank one, the mass can be moved within the frame. There is generally no reason to keep zero-length arcs, except in a few cases. For example, these arcs are needed if the decoder has to discard the previous frame due to limited memory capacity. Figure 4.3(b) shows the transmitting pixels when zero-length arcs have been removed from the example transportation plan.
32 20 Compressing the transportation plans Number of arcs 2.5 x Mass limit (a) The number of arcs as a function of the arc mass limit PSNR Mass limit (b) The PSNR as a function of the arc mass limit. When the mass limit is 0, no arcs are removed and the PSNR gets infinitely large. Figure 4.4. These diagrams show the result of successively removing arcs with higher mass from the transportation plan between the first two frames of Miss America. Isolated arcs were not removed Arcs with low mass Assuming that all arcs cost rougly the same to code, low mass arcs can be removed with the motivation that their absence only makes small contributions to the MSE. The mass limit for whether an arc will be included or not can be used as a bitrate/quality parameter. Figure 4.3(c) shows the transmitting pixels when arcs with mass 7 have been removed from the example transportation plan. The impact of removing low mass arcs was tested using the transportation plan between the first two frames of Miss America. After successively removing arcs with higher mass, the number of arcs were counted and the quality of the reconstructed second frame was measured. The results, shown in figure 4.4, give a hint on what quality to expect when choosing a mass limit. When encoding a whole video sequence, the PSNR will be lower and the number of arcs will be higher than in this test, since the starting image here has perfect quality. Isolated arcs were not removed in this test, unless they were under the mass limit.
33 4.5 Arc transformation 21 Component Entropy Uncoded bits Transmitting x-coordinates Transmitting y-coordinates Receiving x-coordinates Receiving x-coordinates Masses Sum (bits per arc) Table 4.1. Entropies for the components of the original transportation plan between the first two frames of Miss America, using mass limit 7 and removal of isolated arcs Isolated arcs A number of arcs typically appear in uninteresting regions, such as the background behind the woman in the Miss America sequence. The transmitting pixel of an isolated arc has few neighboring transmitting pixels of other arcs and the same holds for its receiving pixel. Isolated arcs are expensive to code since they do not belong to a region of arcs. The size of the area in which to search for neighbors and the number of required neighbors can be used as bitrate/quality parameters. In all tests, I used a 3 3 region, centered on the current pixel, with a requirement of at least 4 neighbors to count as non-isolated. Figure 4.3(d) shows the transmitting pixels when isolated arcs have been removed from the example transportation plan. 4.5 Arc transformation The 5 values that constitute an arc of a transportation plan typically vary greatly, as the coordinates may be spread out over the entire image and the mass may vary from 1 to 255. This can be illustrated by the transportation plan (with mass limit 7 and removal of isolated arcs) between the first two frames of Miss America. When looking at the separate components, the entropies in table 4.1 are achieved. The coordinate component entropies are only slightly lower than 7, which is the number of bits required to code the coordinates (ranging from 0 to 127) without any compression at all! The high entropy is a result of the coordinates almost uniform distribution. By transforming the transportation plan into a difference plan [7], it can be coded with fewer bits The difference plan A transportation plan can be transformed into a difference plan by replacing the receiving pixel with a vector from the transmitting pixel to the receiving pixel for each arc. I.e. the arc (i n, j n, x n, y n, m n ) gets replaced by (i n, j n, x n i n, y n j n, m n )
34 22 Compressing the transportation plans Component Entropy Uncoded bits Distances to last transmitting pixel Receiving x-differences Receiving y-differences Masses Sum (bits per arc) Table 4.2. Entropies for the components of the modified difference plan between the first two frames of Miss America, using mass limit 7 and removal of isolated arcs. The difference plan can be further transformed into what Östman [7] calls a modified difference plan. The idea is to represent a transmitting pixel with its distance to the transmitting pixel of the previous arc. This distance is measured along some traversal of the coordinate system, corresponding to an ordering of the arcs. In [7], the coordinate system is traversed in a scan-line fashion Scan-line traversal In a scan-line traversal, the coordinate system is traversed row by row. This corresponds to ordering the arcs first by the second (row) coordinate of the transmitting pixel, then by the first (column) coordinate. Starting at (0, 0), the coordinate system is traversed until a transmitting pixel of an arc is encountered. The position of that tranmitting pixel is stored as the number of traversal steps since the last transmitting pixel. When the traversal reaches the end of the first line (coordinate (127, 0) in a frame) it jumps to the beginning of the next line, (1, 0), and continues from there. The modified plan now consists of four components. Using the same setup as with the original transportation plan, the component entropies are shown in table 4.2. These components have significantly lower entropies than those of the original transportation plan, shown in table 4.1, so coding them should therefore require much fewer bits Hilbert curve traversal Instead of using scan-line traversal when transforming the transmitting pixels, I also tried to traverse them along a Hilbert curve. A Hilbert curve is a space-filling curve which tends to traverse a region in an image before moving on. A traversal along a Hilbert curve does not make as drastic jumps as a scan-line traversal, since a Hilbert curve has no row endings. Hilbert scan is illustrated in figure 4.5.
35 4.5 Arc transformation 23 Figure 4.5. Hilbert curve. Definition 4.1 (Hilbert curve) A Hilbert curve can be defined as the following rewrite system [6]: Alphabet: L, R Constants: F, +, Axiom: L Production rules: L +RF LF L F R+ and R LF +RF R+F L A string of alphabet symbols and constants is recursively built using the production rules. The initial string is the axiom L. After the first iteration, the string is +RF LF L F R+. After n string iterations, the Hilbert curve covers 2 n 2D points. The constants are interpreted as follows: + = turn right, = turn left and F = move forward. By applying this scheme to an iterated string, a Hilbert curve is constructed. Using a Hilbert traversal affects the entropy for the component with distances to the last transmitting pixel. With the same parameters as in the previous entropy tests, the entropy for this component has now dropped slightly to 1.661, compared to for the scan-line traversal. The entropies for the other components remain unchanged, since they are only reordered. From a few test runs, it is apparent that transmitting pixels are usually grouped in regions and that arcs generally have the same direction within a region. By using a Hilbert traversal, there should be a better chance for repetitive patterns in the transmitting and receiving pixels, respectively. This would make them more suitable for e.g. LZW compression (see section 4.7). The idea is confirmed by a test that showed that the conditional entropy for the component with receiving pixels is slightly lower than its normal entropy. The conditional entropy incorporates previous knowledge, in this case the previous receiving pixel. The locality of arc direction is also demonstrated in figure 4.6, using the tranportation plan between the first two frames of Miss America with a mass limit of 7 and isolated arcs removed.
36 24 Compressing the transportation plans (a) Color key. (b) Arc directions. Figure 4.6. Figure 4.6(b) shows arc directions using the key in 4.6(a). The direction color code is plotted on the transmitting pixel. If several arcs share the same pixel, the color represents the arc with highest mass y 0 : x Figure 4.7. Spiral code Vector coding of relative receiving pixel coordinates Since the (modified) x and y coordinates for the receiving pixels are correlated, I chose to vector code them using a spiral code. The coding principle is demonstrated in figure 4.7. The receiving pixels are now represented by one component, the spiral code. In the example in table 4.2, the sum of the entropies for the receiving pixel component is = The entropy of the spiral coded component using the same parameters is 2.248, which is slightly lower. Since arcs usually have the same length and direction within a region, I applied move-to-front (MTF) coding to the spiral code. The entropy now dropped to MTF coding is further described in appendix B.2.
37 4.6 Mass compression 25 Figure 4.8. Arc masses plotted on the transmitting pixel. If several arcs share the same transmitting pixel, the average mass is plotted. The mass ranges from 0 (black) to 144 (white). 4.6 Mass compression The arc masses have so far been only been ordered, due to the choice of traversal. Using the knowledge of the mass of the previous arc along the Hilbert curve did not seem to help when coding them. The distribution of masses is demonstrated in figure 4.8. As can be seen in the figure, arcs with similar mass are not grouped within regions, but rather along lines and edges. Thus, the mass component does not benefit from the Hilbert traversal as much as the other components do. However, the mass component can be quantized, to reduce the alphabet size. As concluded in [7], the arc mass is the only part of the modified difference plan that can be lossy coded without a severe distortion penalty. I used linear quantization with varying quantization steps. Figure 4.9 shows the result of quantizing the masses using 16 steps and no removal of arcs. The PSNR of the reconstructed frame is and the quantization errors are visible as noise in the image. 4.7 Lossless compression The remaining parts of the modified difference plan are three components: Transmitting pixels, represented by the distance to the transmitting pixel of the previous arc Receiving pixels as MTF-coded spiral codes Quantized arc masses
38 26 Compressing the transportation plans (a) Original second frame (b) Frame reconstructed from quantized transportation plan (c) Squared difference image Figure 4.9. Figure 4.9(a) shows the original second frame of the Miss America sequence. Figure 4.9(b) was reconstructed from a transportation plan using 16 mass quantization steps with a resulting PSNR of The squared difference is shown in figure 4.9(c).
39 4.8 Filtering 27 These components were lastly encoded with combinations of lossless compression algorithms. These lossless coders were tested: Unary coding Run-length coding Huffman LZ78 LZW Each algorithm is described in appendix B. Huffman and LZW coding gave the best compression and the differences between them were small. It appeared that the best combination was to use Huffman coding for the transmitting and receiving pixels and to encode the masses with LZW. This setup was used in all tests. Instead of coding the three components separately, one could form new tuples by combining them. One approach could be to pair transmitting and receiving pixels and code the transportation plan as a these tuples plus the masses. However, testing showed that the tuples generally had higher entropy than the two separate components. 4.8 Filtering After reconstructing an encoded frame, it can be filtered to increase the PSNR to some extent. The tried filters are: Blur Median However, the improvement in PSNR does not directly translate to a perception of better image quality. Overuse rather degrades the perceived visual quality as the image gets too blurry, even though the PSNR increases. The reason for the higher PSNR value is that the errors caused by the encoding are distributed to surrounding pixels, which decreases the MSE. This is an exploit similar to example 2.6.
40
41 Chapter 5 Transform coding This chapter describes a coding process, similar to that of chapter 4, but using frames transformed with the discrete cosine transform (DCT). An introduction to this transform is given in appendix C. The main benefit of the DCT is that the transformed images have their energy concentrated to a few pixels, which results in very few arcs in a transportation plan between two such images. The chapter is divided into the same sections as chapter 4. Most methods described in that chapter are applicable here too. 5.1 Frame selection Frames can be selected as in section 4.1. The question here is whether any interpolation should be done using reconstructed frames or DCT transformed frames. From test runs, it is apparent that interpolation in the signal domain gives better quality. 5.2 Frame transformation For this coder, the frames are transformed with DCT on n n pixel blocks. The DCT image can at this stage be quantized as in JPEG coding, using a quantization matrix coupled with a quality factor. Quantization is demonstrated in example C.1 and a suitable quality factor is defined in appendix C Transportation plan calculation The use of transformed images as input to the transportation plan calculation function requires some preprocessing, as the following subsections will show. 29
42 30 Transform coding Figure 5.1. Transmitting pixels using DCT with block size and quality 50. Zero-length arcs omitted. The brighter a pixel is, the more arcs start in that pixel. The numer of transmitting pixels ranges from 0 (black) to 3 (white) Mass equalization Equalizing transform image masses will not work well using the sequential modification method described in The reason is that the mass in a blocktransformed image is distributed very unevenly. There are islands of high positive or negative values around the DC pixel of each block, while the pixels on the block perimeters are usually zero. Sequentially modifying mass on such an image will nullify its property of energy compaction. The cross-multiplication methods, also described in should work better. However, they would suffer even more from the problem with large sized alphabets, since DCT components may take on a much wider range of values than normal image pixels. A new option for equalizing the masses of two DCT frames is as follows: Increase/decrease only pixels representing the DC component for each block, so that the sum of a block in the first frame becomes equal to the sum of the corresponding block in the second frame. This makes it probable that arcs will be short and move their mass within a block, most likely to or from the DC pixel. The difference for the DC pixels is sent as side information. If the transformation block size is large, there will only be a few DC pixels to send side information for. On the other hand, the locality of the transformation decreases with large block sizes Mass elevation As apparent from example C.1, the DCT components may be negative as well as positive. The definition of the Kantorovich distance in [4] does not state if image pixels are allowed to have negative values, but the transportation plan calculation function only allows positive pixel values. A workaround for this is to temporarily elevate both images to be strictly positive before using the function. The calculated transportation plan can then be used on the non-elevated transmitting image.
Isometries of the plane
Isometries of the plane Mikael Forsberg August 23, 2011 Abstract Här följer del av ett dokument om Tesselering som jag skrivit för en annan kurs. Denna del handlar om isometrier och innehåller bevis för
Viktig information för transmittrar med option /A1 Gold-Plated Diaphragm
Viktig information för transmittrar med option /A1 Gold-Plated Diaphragm Guldplätering kan aldrig helt stoppa genomträngningen av vätgas, men den får processen att gå långsammare. En tjock guldplätering
Rastercell. Digital Rastrering. AM & FM Raster. Rastercell. AM & FM Raster. Sasan Gooran (VT 2007) Rastrering. Rastercell. Konventionellt, AM
Rastercell Digital Rastrering Hybridraster, Rastervinkel, Rotation av digitala bilder, AM/FM rastrering Sasan Gooran (VT 2007) Önskat mått * 2* rastertätheten = inläsningsupplösning originalets mått 2
Grafisk teknik IMCDP IMCDP IMCDP. IMCDP(filter) Sasan Gooran (HT 2006) Assumptions:
IMCDP Grafisk teknik The impact of the placed dot is fed back to the original image by a filter Original Image Binary Image Sasan Gooran (HT 2006) The next dot is placed where the modified image has its
Module 6: Integrals and applications
Department of Mathematics SF65 Calculus Year 5/6 Module 6: Integrals and applications Sections 6. and 6.5 and Chapter 7 in Calculus by Adams and Essex. Three lectures, two tutorials and one seminar. Important
Styrteknik: Binära tal, talsystem och koder D3:1
Styrteknik: Binära tal, talsystem och koder D3:1 Digitala kursmoment D1 Boolesk algebra D2 Grundläggande logiska funktioner D3 Binära tal, talsystem och koder Styrteknik :Binära tal, talsystem och koder
Beijer Electronics AB 2000, MA00336A, 2000-12
Demonstration driver English Svenska Beijer Electronics AB 2000, MA00336A, 2000-12 Beijer Electronics AB reserves the right to change information in this manual without prior notice. All examples in this
1. Compute the following matrix: (2 p) 2. Compute the determinant of the following matrix: (2 p)
UMEÅ UNIVERSITY Department of Mathematics and Mathematical Statistics Pre-exam in mathematics Linear algebra 2012-02-07 1. Compute the following matrix: (2 p 3 1 2 3 2 2 7 ( 4 3 5 2 2. Compute the determinant
Module 1: Functions, Limits, Continuity
Department of mathematics SF1625 Calculus 1 Year 2015/2016 Module 1: Functions, Limits, Continuity This module includes Chapter P and 1 from Calculus by Adams and Essex and is taught in three lectures,
Grafisk teknik IMCDP. Sasan Gooran (HT 2006) Assumptions:
Grafisk teknik Sasan Gooran (HT 2006) Iterative Method Controlling Dot Placement (IMCDP) Assumptions: The original continuous-tone image is scaled between 0 and 1 0 and 1 represent white and black respectively
Support Manual HoistLocatel Electronic Locks
Support Manual HoistLocatel Electronic Locks 1. S70, Create a Terminating Card for Cards Terminating Card 2. Select the card you want to block, look among Card No. Then click on the single arrow pointing
Grafisk teknik. Sasan Gooran (HT 2006)
Grafisk teknik Sasan Gooran (HT 2006) Iterative Method Controlling Dot Placement (IMCDP) Assumptions: The original continuous-tone image is scaled between 0 and 1 0 and 1 represent white and black respectively
This exam consists of four problems. The maximum sum of points is 20. The marks 3, 4 and 5 require a minimum
Examiner Linus Carlsson 016-01-07 3 hours In English Exam (TEN) Probability theory and statistical inference MAA137 Aids: Collection of Formulas, Concepts and Tables Pocket calculator This exam consists
Isolda Purchase - EDI
Isolda Purchase - EDI Document v 1.0 1 Table of Contents Table of Contents... 2 1 Introduction... 3 1.1 What is EDI?... 4 1.2 Sending and receiving documents... 4 1.3 File format... 4 1.3.1 XML (language
Adding active and blended learning to an introductory mechanics course
Adding active and blended learning to an introductory mechanics course Ulf Gran Chalmers, Physics Background Mechanics 1 for Engineering Physics and Engineering Mathematics (SP2/3, 7.5 hp) 200+ students
Preschool Kindergarten
Preschool Kindergarten Objectives CCSS Reading: Foundational Skills RF.K.1.D: Recognize and name all upper- and lowercase letters of the alphabet. RF.K.3.A: Demonstrate basic knowledge of one-toone letter-sound
Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås
Schenker Privpak AB Interface documentation for web service packageservices.asmx 2012-09-01 Version: 1.0.0 Doc. no.: I04304b Sida 2 av 7 Revision history Datum Version Sign. Kommentar 2012-09-01 1.0.0
A study of the performance
A study of the performance and utilization of the Swedish railway network Anders Lindfeldt Royal Institute of Technology 2011-02-03 Introduction The load on the railway network increases steadily, and
denna del en poäng. 1. (Dugga 1.1) och v = (a) Beräkna u (2u 2u v) om u = . (1p) och som är parallell
Kursen bedöms med betyg, 4, 5 eller underänd, där 5 är högsta betyg. För godänt betyg rävs minst 4 poäng från uppgifterna -7. Var och en av dessa sju uppgifter an ge maximalt poäng. För var och en av uppgifterna
12.6 Heat equation, Wave equation
12.6 Heat equation, 12.2-3 Wave equation Eugenia Malinnikova, NTNU September 26, 2017 1 Heat equation in higher dimensions The heat equation in higher dimensions (two or three) is u t ( = c 2 2 ) u x 2
Solutions to exam in SF1811 Optimization, June 3, 2014
Solutions to exam in SF1811 Optimization, June 3, 14 1.(a) The considered problem may be modelled as a minimum-cost network flow problem with six nodes F1, F, K1, K, K3, K4, here called 1,,3,4,5,6, and
Tentamen i Matematik 2: M0030M.
Tentamen i Matematik 2: M0030M. Datum: 203-0-5 Skrivtid: 09:00 4:00 Antal uppgifter: 2 ( 30 poäng ). Examinator: Norbert Euler Tel: 0920-492878 Tillåtna hjälpmedel: Inga Betygsgränser: 4p 9p = 3; 20p 24p
Swedish adaptation of ISO TC 211 Quality principles. Erik Stenborg
Swedish adaptation of ISO TC 211 Quality principles The subject How to use international standards Linguistic differences Cultural differences Historical differences Conditions ISO 19100 series will become
LUNDS TEKNISKA HÖGSKOLA Institutionen för Elektro- och Informationsteknik
LUNDS TEKNISKA HÖGSKOLA Institutionen för Elektro- och Informationsteknik SIGNALBEHANDLING I MULTIMEDIA, EITA50, LP4, 209 Inlämningsuppgift av 2, Assignment out of 2 Inlämningstid: Lämnas in senast kl
8 < x 1 + x 2 x 3 = 1, x 1 +2x 2 + x 4 = 0, x 1 +2x 3 + x 4 = 2. x 1 2x 12 1A är inverterbar, och bestäm i så fall dess invers.
MÄLARDALENS HÖGSKOLA Akademin för utbildning, kultur och kommunikation Avdelningen för tillämpad matematik Examinator: Erik Darpö TENTAMEN I MATEMATIK MAA150 Vektoralgebra TEN1 Datum: 9januari2015 Skrivtid:
Exempel på uppgifter från 2010, 2011 och 2012 års ämnesprov i matematik för årskurs 3. Engelsk version
Exempel på uppgifter från 2010, 2011 och 2012 års ämnesprov i matematik för årskurs 3 Engelsk version 2 Innehåll Inledning... 5 Written methods... 7 Mental arithmetic, multiplication and division... 9
Master Thesis. Study on a second-order bandpass Σ -modulator for flexible AD-conversion Hanna Svensson. LiTH - ISY - EX -- 08/4064 -- SE
Master Thesis Study on a second-order bandpass Σ -modulator for flexible AD-conversion Hanna Svensson LiTH - ISY - EX -- 08/4064 -- SE Study on a second-order bandpass Σ -modulator for flexible AD-conversion
Statistical Quality Control Statistisk kvalitetsstyrning. 7,5 högskolepoäng. Ladok code: 41T05A, Name: Personal number:
Statistical Quality Control Statistisk kvalitetsstyrning 7,5 högskolepoäng Ladok code: 41T05A, The exam is given to: 41I02B IBE11, Pu2, Af2-ma Name: Personal number: Date of exam: 1 June Time: 9-13 Hjälpmedel
Make a speech. How to make the perfect speech. söndag 6 oktober 13
Make a speech How to make the perfect speech FOPPA FOPPA Finding FOPPA Finding Organizing FOPPA Finding Organizing Phrasing FOPPA Finding Organizing Phrasing Preparing FOPPA Finding Organizing Phrasing
F ξ (x) = f(y, x)dydx = 1. We say that a random variable ξ has a distribution F (x), if. F (x) =
Problems for the Basic Course in Probability (Fall 00) Discrete Probability. Die A has 4 red and white faces, whereas die B has red and 4 white faces. A fair coin is flipped once. If it lands on heads,
Examensarbete Introduk)on - Slutsatser Anne Håkansson annehak@kth.se Studierektor Examensarbeten ICT-skolan, KTH
Examensarbete Introduk)on - Slutsatser Anne Håkansson annehak@kth.se Studierektor Examensarbeten ICT-skolan, KTH 2016 Anne Håkansson All rights reserved. Svårt Harmonisera -> Introduktion, delar: Fråga/
6 th Grade English October 6-10, 2014
6 th Grade English October 6-10, 2014 Understand the content and structure of a short story. Imagine an important event or challenge in the future. Plan, draft, revise and edit a short story. Writing Focus
Problem som kan uppkomma vid registrering av ansökan
Problem som kan uppkomma vid registrering av ansökan Om du har problem med din ansökan och inte kommer vidare kan det bero på det som anges nedan - kolla gärna igenom detta i första hand. Problem vid registrering
(D1.1) 1. (3p) Bestäm ekvationer i ett xyz-koordinatsystem för planet som innehåller punkterna
Högsolan i Sövde (SK) Tentamen i matemati Kurs: MA4G Linjär algebra MAG Linjär algebra för ingenjörer Tentamensdag: 4-8-6 l 4.-9. Hjälpmedel : Inga hjälpmedel utöver bifogat formelblad. Ej ränedosa. Tentamen
Stiftelsen Allmänna Barnhuset KARLSTADS UNIVERSITET
Stiftelsen Allmänna Barnhuset KARLSTADS UNIVERSITET National Swedish parental studies using the same methodology have been performed in 1980, 2000, 2006 and 2011 (current study). In 1980 and 2000 the studies
Writing with context. Att skriva med sammanhang
Writing with context Att skriva med sammanhang What makes a piece of writing easy and interesting to read? Discuss in pairs and write down one word (in English or Swedish) to express your opinion http://korta.nu/sust(answer
Högskolan i Skövde (SK, JS) Svensk version Tentamen i matematik
Högskolan i Skövde (SK, JS) Svensk version Tentamen i matematik Kurs: MA152G Matematisk Analys MA123G Matematisk analys för ingenjörer Tentamensdag: 2012-03-24 kl 14.30-19.30 Hjälpmedel : Inga hjälpmedel
Chapter 2: Random Variables
Chapter 2: Random Variables Experiment: Procedure + Observations Observation is an outcome Assign a number to each outcome: Random variable 1 Three ways to get an rv: Random Variables The rv is the observation
Schenker Privpak AB Telefon 033-178300 VAT Nr. SE556124398001 Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr 033-257475 Säte: Borås
Schenker Privpak AB Interface documentation for web service packageservices.asmx 2010-10-21 Version: 1.2.2 Doc. no.: I04304 Sida 2 av 14 Revision history Datum Version Sign. Kommentar 2010-02-18 1.0.0
Michael Q. Jones & Matt B. Pedersen University of Nevada Las Vegas
Michael Q. Jones & Matt B. Pedersen University of Nevada Las Vegas The Distributed Application Debugger is a debugging tool for parallel programs Targets the MPI platform Runs remotley even on private
Kurskod: TAMS28 MATEMATISK STATISTIK Provkod: TEN1 05 June 2017, 14:00-18:00. English Version
Kurskod: TAMS28 MATEMATISK STATISTIK Provkod: TEN1 5 June 217, 14:-18: Examiner: Zhenxia Liu (Tel: 7 89528). Please answer in ENGLISH if you can. a. You are allowed to use a calculator, the formula and
Image quality Technical/physical aspects
(Member of IUPESM) Image quality Technical/physical aspects Nationella kvalitetsdokument för digital radiologi AG1 Michael Sandborg och Jalil Bahar Radiofysikavdelningen Linköping 2007-05-10 Requirements
Övning 5 ETS052 Datorkommuniktion Routing och Networking
Övning 5 TS5 Datorkommuniktion - 4 Routing och Networking October 7, 4 Uppgift. Rita hur ett paket som skickas ut i nätet nedan från nod, med flooding, sprider sig genom nätet om hop count = 3. Solution.
Kursutvärderare: IT-kansliet/Christina Waller. General opinions: 1. What is your general feeling about the course? Antal svar: 17 Medelvärde: 2.
Kursvärdering - sammanställning Kurs: 2AD510 Objektorienterad programmering, 5p Antal reg: 75 Program: 2AD512 Objektorienterad programmering DV1, 4p Antal svar: 17 Period: Period 2 H04 Svarsfrekvens: 22%
Kurskod: TAMS11 Provkod: TENB 28 August 2014, 08:00-12:00. English Version
Kurskod: TAMS11 Provkod: TENB 28 August 2014, 08:00-12:00 Examinator/Examiner: Xiangfeng Yang (Tel: 070 2234765) a. You are permitted to bring: a calculator; formel -och tabellsamling i matematisk statistik
Information technology Open Document Format for Office Applications (OpenDocument) v1.0 (ISO/IEC 26300:2006, IDT) SWEDISH STANDARDS INSTITUTE
SVENSK STANDARD SS-ISO/IEC 26300:2008 Fastställd/Approved: 2008-06-17 Publicerad/Published: 2008-08-04 Utgåva/Edition: 1 Språk/Language: engelska/english ICS: 35.240.30 Information technology Open Document
CHANGE WITH THE BRAIN IN MIND. Frukostseminarium 11 oktober 2018
CHANGE WITH THE BRAIN IN MIND Frukostseminarium 11 oktober 2018 EGNA FÖRÄNDRINGAR ü Fundera på ett par förändringar du drivit eller varit del av ü De som gått bra och det som gått dåligt. Vi pratar om
Theory 1. Summer Term 2010
Theory 1 Summer Term 2010 Robert Elsässer 1 Introduction Summer Term 2010 Robert Elsässer Prerequisite of Theory I Programming language, such as C++ Basic knowledge on data structures and algorithms, mathematics
FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR
FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR Kontrollera vilka kurser du vill söka under utbytet. Fyll i Basis for nomination for exchange studies i samråd med din lärare. För att läraren ska kunna göra en korrekt
Materialplanering och styrning på grundnivå. 7,5 högskolepoäng
Materialplanering och styrning på grundnivå Provmoment: Ladokkod: Tentamen ges för: Skriftlig tentamen TI6612 Af3-Ma, Al3, Log3,IBE3 7,5 högskolepoäng Namn: (Ifylles av student) Personnummer: (Ifylles
Mönster. Ulf Cederling Växjö University Ulf.Cederling@msi.vxu.se http://www.msi.vxu.se/~ulfce. Slide 1
Mönster Ulf Cederling Växjö University UlfCederling@msivxuse http://wwwmsivxuse/~ulfce Slide 1 Beskrivningsmall Beskrivningsmallen är inspirerad av den som användes på AG Communication Systems (AGCS) Linda
Webbregistrering pa kurs och termin
Webbregistrering pa kurs och termin 1. Du loggar in på www.kth.se via den personliga menyn Under fliken Kurser och under fliken Program finns på höger sida en länk till Studieöversiktssidan. På den sidan
EBBA2 European Breeding Bird Atlas
Methodology Sergi Herrando, Verena Keller, Petr Voříšek et al. objectives 1. To document breeding evidence for all bird species at a resolution of 50x50 km 2. To estimate abundance for all bird species
Custom-made software solutions for increased transport quality and creation of cargo specific lashing protocols.
Custom-made software solutions for increased transport quality and creation of cargo specific lashing protocols. ExcelLoad simulates the maximum forces that may appear during a transport no matter if the
Resultat av den utökade första planeringsövningen inför RRC september 2005
Resultat av den utökade första planeringsövningen inför RRC-06 23 september 2005 Resultat av utökad första planeringsövning - Tillägg av ytterligare administrativa deklarationer - Variant (av case 4) med
Eternal Employment Financial Feasibility Study
Eternal Employment Financial Feasibility Study 2017-08-14 Assumptions Available amount: 6 MSEK Time until first payment: 7 years Current wage: 21 600 SEK/month (corresponding to labour costs of 350 500
2.1 Installation of driver using Internet Installation of driver from disk... 3
&RQWHQW,QQHKnOO 0DQXDOÃ(QJOLVKÃ'HPRGULYHU )RUHZRUG Ã,QWURGXFWLRQ Ã,QVWDOOÃDQGÃXSGDWHÃGULYHU 2.1 Installation of driver using Internet... 3 2.2 Installation of driver from disk... 3 Ã&RQQHFWLQJÃWKHÃWHUPLQDOÃWRÃWKHÃ3/&ÃV\VWHP
Exempel på uppgifter från års ämnesprov i matematik för årskurs 3. Engelsk version
Exempel på uppgifter från 2010 2013 års ämnesprov i matematik för årskurs 3 Engelsk version Exempeluppgifter i årskurs 3, 2010, 2011 och 2012 1 Äp3Ma13 Part B 2 Innehåll Inledning... Fel! Bokmärket är
1. Varje bevissteg ska motiveras formellt (informella bevis ger 0 poang)
Tentamen i Programmeringsteori Institutionen for datorteknik Uppsala universitet 1996{08{14 Larare: Parosh A. A., M. Kindahl Plats: Polacksbacken Skrivtid: 9 15 Hjalpmedel: Inga Anvisningar: 1. Varje bevissteg
SVENSK STANDARD SS-EN ISO 19108:2005/AC:2015
SVENSK STANDARD SS-EN ISO 19108:2005/AC:2015 Fastställd/Approved: 2015-07-23 Publicerad/Published: 2016-05-24 Utgåva/Edition: 1 Språk/Language: engelska/english ICS: 35.240.70 Geografisk information Modell
Typografi, text & designperspektiv
Typografi, text & designperspektiv Serif Hårstreck Stapel Heplx x-höjd Baslinje Grundstreck Serif Underhäng Inre form I dag Lite bakgrund Övergripande grunder inom typografi Text hantering Elva Synlig
and u = och x + y z 2w = 3 (a) Finn alla lösningar till ekvationssystemet
Kursen bedöms med betyg,, 5 eller underkänd, där 5 är högsta betyg. För godkänt betyg krävs minst poäng från uppgifterna -7. Var och en av dessa sju uppgifter kan ge maximalt poäng. För var och en av uppgifterna
The Algerian Law of Association. Hotel Rivoli Casablanca October 22-23, 2009
The Algerian Law of Association Hotel Rivoli Casablanca October 22-23, 2009 Introduction WHY the Associations? NGO s are indispensable to the very survival of societal progress Local, National or International
Övning 3 - Tillämpad datalogi 2012
/home/lindahlm/activity-phd/teaching/12dd1320/exercise3/exercise3.py September 14, 20121 0 # coding : latin Övning 3 - Tillämpad datalogi 2012 Summering Vi gick igenom problemträd, sökning i problem träd
Här kan du checka in. Check in here with a good conscience
Här kan du checka in med rent samvete Check in here with a good conscience MÅNGA FRÅGAR SIG hur man kan göra en miljöinsats. Det är egentligen väldigt enkelt. Du som har checkat in på det här hotellet
PFC and EMI filtering
PFC and EMI filtering Alex Snijder Field Application Engineer Wurth Elektronik Nederland B.V. November 2017 EMC Standards Power Factor Correction Conducted emissions Radiated emissions 2 Overview of standard
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00. English Version
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00 Examiner: Xiangfeng Yang (Tel: 070 0896661). Please answer in ENGLISH if you can. a. Allowed to use: a calculator, Formelsamling
x 2 2(x + 2), f(x) = by utilizing the guidance given by asymptotes and stationary points. γ : 8xy x 2 y 3 = 12 x + 3
MÄLARDALEN UNIVERSITY School of Education, Culture and Communication Department of Applied Mathematics Examiner: Lars-Göran Larsson EXAMINATION IN MATHEMATICS MAA151 Single Variable Calculus, TEN2 Date:
DVA336 (Parallella system, H15, Västerås, 24053)
DVA336 (Parallella system, H15, Västerås, 24053) Respondents: 28 Answer Count: 9 Answer Frequency: 32,14 % Teaching methods The teaching methods in the course, that is their practical implementation and
Boiler with heatpump / Värmepumpsberedare
Boiler with heatpump / Värmepumpsberedare QUICK START GUIDE / SNABBSTART GUIDE More information and instruction videos on our homepage www.indol.se Mer information och instruktionsvideos på vår hemsida
Consumer attitudes regarding durability and labelling
Consumer attitudes regarding durability and labelling 27 april 2017 Gardemoen Louise Ungerth Konsumentföreningen Stockholm/ The Stockholm Consumer Cooperative Society louise.u@konsumentforeningenstockholm.se
Pre-Test 1: M0030M - Linear Algebra.
Pre-Test : M3M - Linear Algebra. Test your knowledge on Linear Algebra for the course M3M by solving the problems in this test. It should not take you longer than 9 minutes. M3M Problem : Betrakta fyra
Om oss DET PERFEKTA KOMPLEMENTET THE PERFECT COMPLETION 04 EN BINZ ÄR PRECIS SÅ BRA SOM DU FÖRVÄNTAR DIG A BINZ IS JUST AS GOOD AS YOU THINK 05
Om oss Vi på Binz är glada att du är intresserad av vårt support-system för begravningsbilar. Sedan mer än 75 år tillverkar vi specialfordon i Lorch för de flesta olika användningsändamål, och detta enligt
Installation Instructions
Installation Instructions (Cat. No. 1794-IE8 Series B) This module mounts on a 1794 terminal base unit. 1. Rotate keyswitch (1) on terminal base unit (2) clockwise to position 3 as required for this type
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 17 August 2015, 8:00-12:00. English Version
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 17 August 2015, 8:00-12:00 Examiner: Xiangfeng Yang (Tel: 070 2234765). Please answer in ENGLISH if you can. a. Allowed to use: a calculator, Formelsamling
Övning 3 ETS052 Datorkommuniktion IP, TCP och
Övning 3 ETS052 Datorkommuniktion - 2015 IP, TCP och 802.11 September 22, 2015 Uppgift 1. Bestäm klassen på följande IPv4-adresser: 1.1 1.2 1.3 1.4 1.5 208.34.54.12 238.34.2.1 114.34.2.8 129.14.6.8 241.34.2.8
För att justera TX finns det ett tool med namnet MMDVMCal. t.ex. /home/pi/applications/mmdvmcal/mmdvmcal /dev/ttyacm0
Justering av repeater med MMDVM-Modem På det senaste har det varit många frågor kring hur man justerar en repeater med ett MMDVM- Modem. Da det inte finns mycket dokumentation kring hur man justerar ett
Ökat personligt engagemang En studie om coachande förhållningssätt
Lärarutbildningen Fakulteten för lärande och samhälle Individ och samhälle Uppsats 7,5 högskolepoäng Ökat personligt engagemang En studie om coachande förhållningssätt Increased personal involvement A
Syns du, finns du? Examensarbete 15 hp kandidatnivå Medie- och kommunikationsvetenskap
Examensarbete 15 hp kandidatnivå Medie- och kommunikationsvetenskap Syns du, finns du? - En studie över användningen av SEO, PPC och sociala medier som strategiska kommunikationsverktyg i svenska företag
Scalable Dynamic Analysis of Binary Code
Linköping Studies in Science and Technology Dissertations, No. 1993 Ulf Kargén FACULTY OF SCIENCE AND ENGINEERING Linköping Studies in Science and Technology, Dissertations, No. 1993, 2019 Department of
Aborter i Sverige 2008 januari juni
HÄLSA OCH SJUKDOMAR 2008:9 Aborter i Sverige 2008 januari juni Preliminär sammanställning SVERIGES OFFICIELLA STATISTIK Statistik Hälsa och Sjukdomar Aborter i Sverige 2008 januari juni Preliminär sammanställning
Methods to increase work-related activities within the curricula. S Nyberg and Pr U Edlund KTH SoTL 2017
Methods to increase work-related activities within the curricula S Nyberg and Pr U Edlund KTH SoTL 2017 Aim of the project Increase Work-related Learning Inspire theachers Motivate students Understanding
Hur fattar samhället beslut när forskarna är oeniga?
Hur fattar samhället beslut när forskarna är oeniga? Martin Peterson m.peterson@tue.nl www.martinpeterson.org Oenighet om vad? 1.Hårda vetenskapliga fakta? ( X observerades vid tid t ) 1.Den vetenskapliga
ASSEMBLY INSTRUCTIONS SCALE SQUARE - STANDARD
ASSEMBLY INSTRUCTIONS ALL COMPONENTS Metal profile 0 mm Gripper Ceiling attachments Screws for ceiling attachements (not included) Wires Metal profile 60 mm Metal profile 00 mm Felt - Full Felt - Half
OFFERT Innovativ Upphandling av Innovativ Teknik
wes ee AB Org nr: 556315-5679 Phone: +46-76-1120808 +46-493-67074 www.wesee.eu lars@wesee.eu Det här dokumentet finns på www.wesee.eu/2015/n2015-1453-if.pdf Ref 1: www.wesee.eu/2015/description.pdf Till
Kurskod: TAMS11 Provkod: TENB 07 April 2015, 14:00-18:00. English Version
Kurskod: TAMS11 Provkod: TENB 07 April 2015, 14:00-18:00 Examiner: Xiangfeng Yang (Tel: 070 2234765). Please answer in ENGLISH if you can. a. You are allowed to use: a calculator; formel -och tabellsamling
http://marvel.com/games/play/31/create_your_own_superhero http://www.heromachine.com/
Name: Year 9 w. 4-7 The leading comic book publisher, Marvel Comics, is starting a new comic, which it hopes will become as popular as its classics Spiderman, Superman and The Incredible Hulk. Your job
SWESIAQ Swedish Chapter of International Society of Indoor Air Quality and Climate
Swedish Chapter of International Society of Indoor Air Quality and Climate Aneta Wierzbicka Swedish Chapter of International Society of Indoor Air Quality and Climate Independent and non-profit Swedish
BOENDEFORMENS BETYDELSE FÖR ASYLSÖKANDES INTEGRATION Lina Sandström
BOENDEFORMENS BETYDELSE FÖR ASYLSÖKANDES INTEGRATION Lina Sandström Frågeställningar Kan asylprocessen förstås som en integrationsprocess? Hur fungerar i sådana fall denna process? Skiljer sig asylprocessen
Här kan du sova. Sleep here with a good conscience
Här kan du sova med rent samvete Sleep here with a good conscience MÅNGA FRÅGAR SIG hur man kan göra en miljöinsats. Det är egentligen väldigt enkelt. Du som har checkat in på det här hotellet har gjort
INSTALLATION INSTRUCTIONS
INSTALLATION - REEIVER INSTALLATION INSTRUTIONS RT0 RF WIRELESS ROOM THERMOSTAT AND REEIVER MOUNTING OF WALL MOUTING PLATE - Unscrew the screws under the - Pack contains... Installation - Receiver... Mounting
Aberdeen Varicose Veins Questionnaire
Aberdeen Varicose Veins Questionnaire Andrew Garratt 1996 Health Services Research Unit Department of Public Health Medical School University of Aberdeen Foresterhill Aberdeen AB25 2ZD Tel: +44 (0) 1224-681818
Självkörande bilar. Alvin Karlsson TE14A 9/3-2015
Självkörande bilar Alvin Karlsson TE14A 9/3-2015 Abstract This report is about driverless cars and if they would make the traffic safer in the future. Google is currently working on their driverless car
Questionnaire for visa applicants Appendix A
Questionnaire for visa applicants Appendix A Business Conference visit 1 Personal particulars Surname Date of birth (yr, mth, day) Given names (in full) 2 Your stay in Sweden A. Who took the initiative
Workplan Food. Spring term 2016 Year 7. Name:
Workplan Food Spring term 2016 Year 7 Name: During the time we work with this workplan you will also be getting some tests in English. You cannot practice for these tests. Compulsory o Read My Canadian
Tentamen MMG610 Diskret Matematik, GU
Tentamen MMG610 Diskret Matematik, GU 2017-01-04 kl. 08.30 12.30 Examinator: Peter Hegarty, Matematiska vetenskaper, Chalmers/GU Telefonvakt: Peter Hegarty, telefon: 0766 377 873 Hjälpmedel: Inga hjälpmedel,
Service och bemötande. Torbjörn Johansson, GAF Pär Magnusson, Öjestrand GC
Service och bemötande Torbjörn Johansson, GAF Pär Magnusson, Öjestrand GC Vad är service? Åsikter? Service är något vi upplever i vårt möte med butikssäljaren, med kundserviceavdelningen, med företagets
Webbreg öppen: 26/ /
Webbregistrering pa kurs, period 2 HT 2015. Webbreg öppen: 26/10 2015 5/11 2015 1. Du loggar in på www.kth.se via den personliga menyn Under fliken Kurser och under fliken Program finns på höger sida en
Mätosäkerhet och kundlaster
Kurs i Lastanalys för Utmattning SP Bygg och Mekanik Pär Johannesson Par.Johannesson@sp.se PJ/2011-09-29 1 Uncertainty of Customer Loads Two scales: Small scale: individual customers (or measurement).
DVG C01 TENTAMEN I PROGRAMSPRÅK PROGRAMMING LANGUAGES EXAMINATION :15-13: 15
DVG C01 TENTAMEN I PROGRAMSPRÅK PROGRAMMING LANGUAGES EXAMINATION 120607 08:15-13: 15 Ansvarig Lärare: Donald F. Ross Hjälpmedel: Bilaga A: BNF-definition En ordbok: studentenshemspråk engelska Betygsgräns: