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?
You can represent all the colors, by using Binary to encode them.
ReplyDeleteYou have to format them in a particular order way to have the circles and the black as the background.
blue is 01
ReplyDeletewhite is 101
green is 111
red is 1010
yellow is 001
Once we have the needed area we can reciprocate binary digits adjusting for color.
ReplyDeleteYou can represent all the colors by using Binary to encode them. You represent 8 colors and no particular order.
ReplyDeleteassign a binary code to each color depending on area when mixing colors you simply combine the two or three overlapping codes.
ReplyDeleteFor 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}
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.
ReplyDeleteYou can represent each color by using binary.
ReplyDeleteYou 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.
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.
ReplyDeleteYou can represent any color with binary code patterns. When creating different shades, you can create variations in said patterns.
ReplyDeleteOnce 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.
ReplyDeleteCan use binary to represent the colors
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteYou can represent any color but you need the binary.
ReplyDeleteBlack on code. org is 0 and white is 1.
we could use binary to encode the color scheme.
ReplyDeleteRed- 01, yellow- 00, Green-11, Blue-101, White-110, magenta- 010 cyan-111 Black- 1010 .
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.
ReplyDeleteim not their yet i can barely figure out how to move the pixelation and im lost
ReplyDeleteRepresent each color with binary numbers, there are numerous varieties for colors.
ReplyDeleteThe Way I Would Represent The Color For Each Pixel Is By Using Binary.
ReplyDeleteI Would Represent What Ever Colors Is In That Image .