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.
Our essay writers are graduates with diplomas, bachelor's, 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.
- Plagiarism free papers
- Timely delivery
- Any deadline
- Skilled, Experienced Native English Writers
- Subject-relevant academic writer
- Adherence to paper instructions
- Ability to tackle bulk assignments
- Reasonable prices
- 24/7 Customer Support
- Get superb grades consistently
1. Place an order
You fill all the paper instructions in the order form. Make sure you include all the helpful materials so that our academic writers can deliver the perfect paper. It will also help to eliminate unnecessary revisions.
2. Pay for the order
Proceed to pay for the paper so that it can be assigned to one of our expert academic writers. The paper subject is matched with the writer’s area of specialization.
3. Track the progress
You communicate with the writer and know about the progress of the paper. The client can ask the writer for drafts of the paper. The client can upload extra material and include additional instructions from the lecturer. Receive a paper.
4. Download the paper
The paper is sent to your email and uploaded to your personal account. You also get a plagiarism report attached to your paper.
PLACE THIS ORDER OR A SIMILAR ORDER WITH USA ELITE WRITERS TODAY AND GET AN AMAZING DISCOUNT