by Jamie Starling | Jun 6, 2022 | The Art of Technology
Up to this point we have been dealing with Black and White images or Gray Scale images – that can be represented by a 2d array. Array(height, width) In which each element in the array represents one pixel and the level of gray, with 0 being black and 255 being...
by Jamie Starling | Jun 2, 2022 | The Art of Technology
Something to consider is the memory usage for the images that you will be processing. Given a 100×200 image – black and white. That 100×200 array takes up roughly 20K of ram. If it is a color image, it would be 3 times that – because each color...
by Jamie Starling | Jun 2, 2022 | The Art of Technology
PIC10F322 and XC8 Code – Internal Temperature Sensor – Creative Use Seed Random Number GeneratorPIC10F322 and XC8 Code – Internal Temperature Module – How To ReadPIC10F322 and XC8 Code – Light Activated SwitchPIC10F322 and XC8 Code – Adjustable Push Button...
by Jamie Starling | Jun 2, 2022 | The Art of Technology
Here is a little fun. Some Python code that will take a text file and turn it into an image. When I say, turn it into an image – I don’t mean it will read the text file and make some image from it that we could look at and say… oh the ocean. What it does...
by Jamie Starling | Jun 2, 2022 | The Art of Technology
As you recall – a black and white image can be represented by a 2d array. The below Python code takes a 2 x 5 array (checker board pattern) and using matplot converts it into an image we can see. #%% import matplotlib.pyplot as plt import numpy as np # 2d Image...
by Jamie Starling | Jun 1, 2022 | The Art of Technology
High level it is a binary representation (numbers) of visual information. And how is it represented? It depends on the format, we will get into that later, but it is nothing more than an array of numbers. For example – lets just take a 256 level black and white...