Wednesday, November 9, 2016

Encoding Colored Images


In the previous lesson we came up with a simple encoding scheme for B&W images. What if we wanted to have color?


  • Devise an encoding scheme for color in an image file.  How would you represent color for each pixel?  
  • How many different colors could you represent?
  • Do you have a particular order to the colors?


18 comments:

  1. You can represent all the colors, by using Binary to encode them.
    You have to format them in a particular order way to have the circles and the black as the background.

    ReplyDelete
  2. blue is 01
    white is 101
    green is 111
    red is 1010
    yellow is 001

    ReplyDelete
  3. Once we have the needed area we can reciprocate binary digits adjusting for color.

    ReplyDelete
  4. You can represent all the colors by using Binary to encode them. You represent 8 colors and no particular order.

    ReplyDelete
  5. assign a binary code to each color depending on area when mixing colors you simply combine the two or three overlapping codes.

    For example if red is {15,0,0} and blue is {0,0,15} the overlapping color would be some variation of pink the resulting combined code would be {15,0,15}

    ReplyDelete
  6. You can represent many colors by using the three primary colors like when you put ink into a printer. I would represent them in binary to encode the colors for everything. I do not have a particular order for the colors. I do not think the order means anything.

    ReplyDelete
  7. You can represent each color by using binary.
    You can represent as many colors as you can depending on the amount of binary you use.
    You have to format the colors in a particular way in order to have the colors in order and the black as the background.

    ReplyDelete
  8. The black color scheme is o white and 1 black, so colors can possibly be two 1's for a color such as blue and then a space. i would represent the main colors 11 blue 01 red 010 orange. and spaces between each color.

    ReplyDelete
  9. You can represent any color with binary code patterns. When creating different shades, you can create variations in said patterns.

    ReplyDelete
  10. Once we know the binary code for colors we can repeat as many colors as we want, no you don't have to have to a particular order of colors.

    ReplyDelete
  11. Can use binary to represent the colors

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. You can represent any color but you need the binary.
    Black on code. org is 0 and white is 1.

    ReplyDelete
  14. we could use binary to encode the color scheme.
    Red- 01, yellow- 00, Green-11, Blue-101, White-110, magenta- 010 cyan-111 Black- 1010 .

    ReplyDelete
  15. Each color will be inputted before each pattern scheme with a space. Primary colors would be used first to establish the foundation of the colors.

    ReplyDelete
  16. im not their yet i can barely figure out how to move the pixelation and im lost

    ReplyDelete
  17. Represent each color with binary numbers, there are numerous varieties for colors.

    ReplyDelete
  18. The Way I Would Represent The Color For Each Pixel Is By Using Binary.
    I Would Represent What Ever Colors Is In That Image .

    ReplyDelete