Image Editing in Qt
Description:This project is an introduction to image manipulation using the graphical user interface (GUI) library, Qt4. Many professional software programs, including Maya, design and create their GUIs using Qt, and it runs on many OSs (macOS, Linux, Windows, mobile OSs, embedded systems).For this project, you will use Qt4’s QImage and QColor classes to load an image and save out several new images edited pixel by pixel. Although the Qt code is in C++, you will apply what you have learned in C.Task:Implement three functions that edit the pixels retrieved from given images:• One that creates and saves a new image composed of stripes of at least two colors.• One that creates and saves a new image with colors of the given image inverted.• One that creates and saves a new image that combines two given images based on an extracted alpha value (the transparency).Besides, write one additional function:• Firstly, write a function to create and save a grayscale monochrome version of the given image.• Next, add parameter options to this monochrome function for customizing the color tone of the monochrome rather than having only grayscale (i.e. using just the red, green, or blue channels or customizing further with a given color like a purple or sepia tone).See the image sample below for an idea about what you should achieve. Use the provided PNG files, which are of the same size. PNGs store an alpha channel for transparency.Additional notes:The only Qt functions you are allowed to use are:• From QImage: pixel(), setPixel(), width(), height(), save()• From QColor: setRgb(), rgba(), red(), green(), blue(), alpha(), setRed(), setGreen(), setBlue(), setAlpha(), setRgb()Gettingstarted:• Provided is a compressed file containing a folder structured by CLion (based on CMake) of:1) main.cpp (a C++ source-code file which is all code for the project)2) CompilingNotes.txt (notes on compiling and running particularly concerning how to use CMakeLists.txt)3) Images (Shia & fluff.png) (a folder containing the images to read and is where new ones will be saved)• Create a new CLion project as a C++ executable, and copy these 3 provided files into your project folder.• When you run the code, make sure you have the main project folder selected in the project view within CLion.The path for reading and saving images relies on your current working directory.• After building and running main.cpp, Shia should appear in a window, and a new file (yellow.png) should be saved under Images.• main.cpp contains 3 functions to help you get started with coding:1) getRgbaPixel() which reads all four color channels (RGBA) of a pixel in the given image.2) makeYellowImage() which generates an all-yellow image of the same size as the given image and shows how to iterate by rows and columns.3) main() which reads the input images, calls the other functions, and displays the image(s).Submission:Submit a compressed file named LastnameFirstname with ONLY main.cpp and the Images folder containing all of the produced images.
Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?
Whichever your reason may is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.
Our essay writers are graduates with diplomas, bachelor, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college diploma. When assigning your order, we match the paper subject with the area of specialization of the writer.
We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.Read more
The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.Read more
The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.Read more
By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.Read more