Run Length Encoding

Home Forums Data Compression Run Length Encoding

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7055
    Eamonn
    Keymaster

    1 ) Describe with an example how run Run Length Encoding can be used to compress an image

    #7067
    ArinN_
    Participant

    1 ) Describe with an example how run Run Length Encoding can be used to compress an image
    – This is the basic idea behind run-length encoding (RLE), which is used to save space when storing digital images.
    – In run-length encoding, we replace each row with numbers that say how many consecutive pixels are the same colour, always starting with the number of white pixels.

    #7071
    girwan
    Participant

    1 ) Describe with an example how run Run Length Encoding can be used to compress an image

    Run Length Encoding can save space when compressing images by replacing the row numbers with how many pixels are consecutively the same color.
    So if a picture has a row filled with white pixels then they will be replaced by a number that represents how many of the pixels are white.

    #7072
    Irfan
    Participant

    1) It can be used to make common patterns in a image become easily defined with little data. For example a picture of a bookshelf. Instead of individual data for the yellow paper encoding for every pixel instead RLE can be used to simply say from where to where is a colour only and when the common colour pattern ends.

    #7074
    joshua7
    Participant

    1 ) Describe with an example how run Run Length Encoding can be used to compress an image
    – Run length encoding is a lossless data compression and it compresses data by reducing repetitive data known as runs. Then it stores the number of these runs followed by the data. So when compressing an image, the RLE would replace each row with numbers that says how many consecutive pixels are the same colour and it must always start with the number of white pixels. For example, if an image is black and white colors, it would replace the the pixels with a number that represents how many of the consecutive pixels or white or black.

    #7075
    Shiva Chandnani
    Participant

    1 ) Describe with an example how run Run Length Encoding can be used to compress an image.

    it reduces repetitiveness in order to save data by compressing data by specifying the number of times a character or pixel color repeats and by the value of the character or pixel. So by storing the color and the amount of colors in a row it can save space on images especially where there is only a few colors on it. For example a picture of a sunset only has a few main colors with the rest of the pixels repeating that color, such as orange or red. so using run length encoding will help store the information in much less bites than usual.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Scroll to Top