Question: Problem Statement Create a program that reads 24-bit bmp files and generates new versions af the original image. The new versions to be supparted are:

 Problem Statement Create a program that reads 24-bit bmp files andgenerates new versions af the original image. The new versions to besupparted are: a colar nvrted capy of the original a copy of

Problem Statement Create a program that reads 24-bit bmp files and generates new versions af the original image. The new versions to be supparted are: a colar nvrted capy of the original a copy of the oniginal with increased contrast . a copy of the criginal mirrored horizontally and flipped vertically . scaled down reprated copy of the original (Ser specfics for cach version You need to follew the algarithms explained below while protessing the images Your program is to prompt for the name of the input file and its pixel diensians. Your program has to ru exactly as shown below and follow the same input format. Note that although a file will have a bmp extension, a user will only enter the part of the name that precedes it, then the user is to be prompted for he ght and width (in this order]. This is a sample run af the program bold and italics indicate user entries.: Enter th filename : test1 Enter height and width lin pixels : 160 240 cone. Check the qene at d images. Note that the generated files should be named: copyl.bmo cooyz.bmo copy3.bmp copy.m BMP files A 24-bit bmp file is capable of storing 2d images, A file consists of a 54 byte header and the rest of the file is pixel information. Each pixel is represented by 3 bytes, whre ach byte contains the information far blue, green, and red hues in this order. Each hur can be of value 0.25S, where signifies the complete lack af that color, while 25S signifies its full saturatian. New calors are generated by rmixing different intensities of this basic calor palette. All together 256 16,777,216 calors can be represented using this scheme. 2:23 AM 1/25/2018 Problem Statement Create a program that reads 24-bit bmp files and generates new versions af the original image. The new versions to be supparted are: a colar nvrted capy of the original a copy of the oniginal with increased contrast . a copy of the criginal mirrored horizontally and flipped vertically . scaled down reprated copy of the original (Ser specfics for cach version You need to follew the algarithms explained below while protessing the images Your program is to prompt for the name of the input file and its pixel diensians. Your program has to ru exactly as shown below and follow the same input format. Note that although a file will have a bmp extension, a user will only enter the part of the name that precedes it, then the user is to be prompted for he ght and width (in this order]. This is a sample run af the program bold and italics indicate user entries.: Enter th filename : test1 Enter height and width lin pixels : 160 240 cone. Check the qene at d images. Note that the generated files should be named: copyl.bmo cooyz.bmo copy3.bmp copy.m BMP files A 24-bit bmp file is capable of storing 2d images, A file consists of a 54 byte header and the rest of the file is pixel information. Each pixel is represented by 3 bytes, whre ach byte contains the information far blue, green, and red hues in this order. Each hur can be of value 0.25S, where signifies the complete lack af that color, while 25S signifies its full saturatian. New calors are generated by rmixing different intensities of this basic calor palette. All together 256 16,777,216 calors can be represented using this scheme. 2:23 AM 1/25/2018

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!