Ugly Hedgehog - Photography Forum
Home Active Topics Newest Pictures Search Login Register
Main Photography Discussion
Computer Basics for Photographers - Bits and Bytes Explained!
Page <<first <prev 3 of 7 next> last>>
Apr 14, 2018 09:06:32   #
David in Dallas Loc: Dallas, Texas, USA
 
ceallachain wrote:
Good to see this update. Been working with both Binary & Octal based systems since 1967 on IBM (360 & 370) and back then Univac (1108). Good basic explanation on the Computer side.
My first computer I programmed was an IBM 650, which was a decimal machine (not binary) and had a 10-digit word. (Yes, it stored digits as bi-quinary, but did its arithmetic in decimal logic.). I've also worked on IBM 360 and 370 machines, the big SAGE computer, and Honeywell 200 and 6080 (WWMCCS) machines. I got started in 1959. However, all that does not make me a better photographer!

Reply
Apr 14, 2018 09:11:06   #
gvarner Loc: Central Oregon Coast
 
And we have folks who don't know where their files are, what a folder is, or how their camera works. So I'd start there. 😜😜

Reply
Apr 14, 2018 09:12:53   #
Bmarsh Loc: Bellaire, MI
 
Longshadow wrote:
Yup, been working with them since 1972.


Beat you by ten years... but so what, just proves I’m a fossil.

Reply
 
 
Apr 14, 2018 09:13:49   #
SalvageDiver Loc: Huntington Beach CA
 
bpulv wrote:
Computer Basics for Photographers - Bits and Bytes Explained!

I have seen several posts, in fact three today, where photographers confuse camera math terms with computer math terms and end up completely confused. Let me try and somewhat simplify a complicated subject. Let’s start with computers.

Computers are mathematically based devices and their operation at the most basic level involves binary math. What is binary math? To answer that question, you must first understand a couple of simple concepts. First, there are two ways to count. The Roman’s used a non-positional counting system. If you look at how one counts in Roman numerals, you will see that the sequence is I, II, III, IV, V, VI, VII, Etc. Note that the value of the numbers are unrelated to their position. Four IV has the higher value “V” (five) to the right of the “I” (one), but VI (six) has the higher value “V” to the left of the lower value “I”.

You are most familiar with the decimal “base-10” number system, a positional number system; each position to the left or right of the decimal point has place value. From the decimal point to the left, the place values are 1, 10, 100, Etc.; while to the right of the decimal point the values are 0.1 (tenths), 0.01 (hundredths), 0.001 (thousandths), Etc.

The second thing you must understand is that computers do everything in a binary number system also called “base 2”. A binary system is also a positional system, however instead of ten numbers (0 through 9), there are only two (0 and 1). In a binary system, you count 000 (equals 0 decimal), 001 (equals 1 decimal), 010 (equals 2 decimal), 011 (equals 3 decimal), 100 (equals 4 decimal), 101 (equals 5 decimal), 110 (equals 6 decimal) and 111 (equals 7 decimal). In a computer, binary numbers describe the position of electronic switches (0=off and 1=on).

In a binary system the equivalent of a single base-10 digit is called a “bit”. In computer Machine Language, the computer language in which a computer calculates, everything is binary. When trying to write programs, this is very cumbersome because a programmer could need to enter a 64-bit number for each of the thousands of commands that make up a program. To simplify programming, bits are converted to “words”. In modern computers, words are expressed as hexadecimal (base-16) numbers. Instead of each position having ten possible values as in the decimal system, each position has 16 possible values. In “hex”, you count 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D and F. Letters are used above the value of 9 because decimal digits only go as far as 9. By using hex, programmers are able to form four position bytes so that one byte equals four bits. Furthermore, by combining those 16 bytes into a “word” (a collection of bytes), programming is substantially simplified because the 64 bits can be programmed with less input.

“Pixels” and “Megapixels” (=1,000,000 pixels) are relative to the camera and not the computer. The computer’s file size is a function of many things besides the number of pixels. Remember, that the file contains “Metadata”. The metadata contains information on the camera and settings used to take the picture, detailed information about the picture itself including each and every editing step that was applied to the picture, copyright information, Etc. Look at the size of a file both before and after editing and you will see that the file size can grow substantially.

Therefore, the notion that there is a DIRECT mathematical relationship between the camera’s pixel quantity, file type, or anything else related to the camera and the computer’s file size should be considered questionable.
Computer Basics for Photographers - Bits and Bytes... (show quote)


Nice refresh of CS101 for us geeks, but I don't think this thread hit your intended target audience. In my observations here on uhh, there are 3 terms that are routinely used and seem to cause some confusion. Maybe, providing non-geek explanations of the top misunderstood terms would better serve the UHH audience. IMO, those terms are:

MP, (megapixel) referring to the size of the image sensor (not physical size but the number of photosites).
MB, (megabytes) referring to image file size, and
bit-depth, referring to raw/jpg discussions.

Others may have differing opinions.

Reply
Apr 14, 2018 09:34:39   #
Skiextreme2 Loc: Northwest MA
 
SalvageDiver wrote:
Nice refresh of CS101 for us geeks, but I don't think this thread hit your intended target audience. In my observations here on uhh, there are 3 terms that are routinely used and seem to cause some confusion. Maybe, providing non-geek explanations of the top misunderstood terms would better serve the UHH audience. IMO, those terms are:

MP, (megapixel) referring to the size of the image sensor (not physical size but the number of photosites).
MB, (megabytes) referring to image file size, and
bit-depth, referring to raw/jpg discussions.

Others may have differing opinions.
Nice refresh of CS101 for us geeks, but I don't th... (show quote)




Reply
Apr 14, 2018 09:40:02   #
47greyfox Loc: on the edge of the Colorado front range
 
Good write up for the curious among us. Relevancy? That’s another question? Next topic......

Reply
Apr 14, 2018 09:41:54   #
mwsilvers Loc: Central New Jersey
 
ceallachain wrote:
Good to see this update. Been working with both Binary & Octal based systems since 1967 on IBM (360 & 370) and back then Univac (1108). Good basic explanation on the Computer side.


Since you worked on 360/370 architecture I'm surprised you didn't include hexadecimal which was used to represent the machine instructions and core dumps. I still have my green cards. (actually green for system/360 and yellow for System/370). They were an important tool of the trade, but are vintage items now.

Reply
 
 
Apr 14, 2018 09:42:58   #
woodworkerman Loc: PA to FL
 
Longshadow wrote:
Yup, been working with them since 1972.


Yup for me, too. I've been programming them since 1967 in at least 15 different languages. I bit off more bytes than I could chew.

Reply
Apr 14, 2018 09:46:16   #
woodworkerman Loc: PA to FL
 
49 20 68 61 76 65 20 70 72 6f 67 72 61 6d 6d 65 64 20 73 69 6e 63 65 20 31 39 36 37 2c 20 74 61 75 67 68 74 20 74 68 69 73 2c 20 61 6e 64 20 65 76 65 6e 20 49 20 61 6d 20 64 69 7a 7a 79 2e - In Hex.

Reply
Apr 14, 2018 09:59:25   #
gvarner Loc: Central Oregon Coast
 
SalvageDiver wrote:
Nice refresh of CS101 for us geeks, but I don't think this thread hit your intended target audience. In my observations here on uhh, there are 3 terms that are routinely used and seem to cause some confusion. Maybe, providing non-geek explanations of the top misunderstood terms would better serve the UHH audience. IMO, those terms are:

MP, (megapixel) referring to the size of the image sensor (not physical size but the number of photosites).
MB, (megabytes) referring to image file size, and
bit-depth, referring to raw/jpg discussions.

Others may have differing opinions.
Nice refresh of CS101 for us geeks, but I don't th... (show quote)


I might add a couple for PC users.
File - a package of data, like a document
Folder - holds one or more files, like a folder (well duh)
Sub-directory - like a drawer, holds one or more folders
Directory - like a file cabinet, holds one or more directories

This knowledge will help people answer that frequent question "Where did my photos go?".

Reply
Apr 14, 2018 10:00:59   #
RichardSM Loc: Back in Texas
 
jcboy3 wrote:
Not worth it to explain every error in this. I recommend moving on.


I totally agree, seems those who in the confuser world (computer industry) want to show there intellect, gee egos a go go I think!

Reply
 
 
Apr 14, 2018 11:31:13   #
John_F Loc: Minneapolis, MN
 
The connection between a pixel and binary file size is the bit depth of a pixel. A pixel is just a name for a collection solid-state capacitor-equivalent transistors. Each either holds a charge or has no charge, thus a binary value of 1 or 0. The totality of pixels of an image at their bit depths thus defines the binary size of the data part of the file. The actual file will be larger to accomodate file name, file checksum, image EXIF data, and other file management data. For example, a 24 megapixel image at 8 bits per pixel might run to 25 megabytes. For an image with 3 color channels at 1 byte will have a pixel bit depth of 24 and the 24 megapixel image will need 72 megabytes at a minimum. By importing you picture into a computer you will be able discover exactly how much computer memory is occupied. For this example, it will be around 73 megabytes.

Reply
Apr 14, 2018 11:39:11   #
John_F Loc: Minneapolis, MN
 
In the very old days folks would bite a coin to see if it was too soft to be a silver (or gold) coin. Somewhere along the line a quarter dollar became a bit. I don't recall any early money usage that used byte but you can see frim the phonetics that byte got born from bite (long for bit). Counting is fun, no.


warrior wrote:
4 bits=1 dollar



0-off

1-on

Reply
Apr 14, 2018 11:47:17   #
mwsilvers Loc: Central New Jersey
 
David in Dallas wrote:
My first computer I programmed was an IBM 650, which was a decimal machine (not binary) and had a 10-digit word. (Yes, it stored digits as bi-quinary, but did its arithmetic in decimal logic.). I've also worked on IBM 360 and 370 machines, the big SAGE computer, and Honeywell 200 and 6080 (WWMCCS) machines. I got started in 1959. However, all that does not make me a better photographer!


It doesn't make you a better photographer? Damn. I guess all those years of my coding 360/370 Basic Assembler Language was a waste of time.

Reply
Apr 14, 2018 11:47:29   #
woodworkerman Loc: PA to FL
 
Weren't it - Two bits, four bits, six bits, a dollar??? ;-)

Reply
Page <<first <prev 3 of 7 next> last>>
If you want to reply, then register here. Registration is free and your account is created instantly, so you can post right away.
Main Photography Discussion
UglyHedgehog.com - Forum
Copyright 2011-2024 Ugly Hedgehog, Inc.