nput variables and what do their binary values represent?            2.)What are the output variables and what do their binary values represent? b.) Construct the truth table showing the desired output for each combination of inputs. (Please arrange your variables in alphabetical order wit

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please answer atleast the first 2 ( a and b) but if you are generous, please answer 3. Thank you! a.) Specify the input and output variables and the binary states of each. 

          1.)What are the input variables and what do their binary values represent? 

          2.)What are the output variables and what do their binary values represent?

b.) Construct the truth table showing the desired output for each combination of inputs. (Please arrange your variables in alphabetical order with the MSB as the first letter in alphabetical order)

c.) Write the Boolean expression for the truth table you constructed in Part 2. Simplify the final expression such that there are only 3 variables per term.

Problem.
You are designing a simple black and white image processing algorithm. It needs to detect the darkness or lightness of an area in the image. For every 2 pixels x 2 pixels matrix, the color of the pixels are observed. The area is
considered dark if at least half of the pixels are black. Otherwise, the area is considered light.
The pixels under observation are labeled A, B, C, and D as shown below. Let A = 0, B = 0, C = 0, or D = 0 if the corresponding pixel of the label is color black. Let X = 0 if the 2 × 2 matrix is considered dark. Example
scenarios are also shown below.
A
B
D
Example scenarios:
Matrix is considered light
Matrix is considered dark
А
В
D
с D
A = 0, B = 1, C = 1, D = 1
A = 1, B = 0, C = 0, D = 0
Transcribed Image Text:Problem. You are designing a simple black and white image processing algorithm. It needs to detect the darkness or lightness of an area in the image. For every 2 pixels x 2 pixels matrix, the color of the pixels are observed. The area is considered dark if at least half of the pixels are black. Otherwise, the area is considered light. The pixels under observation are labeled A, B, C, and D as shown below. Let A = 0, B = 0, C = 0, or D = 0 if the corresponding pixel of the label is color black. Let X = 0 if the 2 × 2 matrix is considered dark. Example scenarios are also shown below. A B D Example scenarios: Matrix is considered light Matrix is considered dark А В D с D A = 0, B = 1, C = 1, D = 1 A = 1, B = 0, C = 0, D = 0
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education