-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand.h
More file actions
32 lines (27 loc) · 904 Bytes
/
command.h
File metadata and controls
32 lines (27 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright Cazacu Alexandru-Dan 312CA 2023-2024
#include "image.h"
/// @brief Reads selection coordinates.
/// @param image The image where the selection
/// will be done.
void select_from_image(image * image);
/// @brief Reads the number of bins
/// and their maximum length and prints
/// the histogram.
/// @param image The image based on the
/// histogram will be calculates.
void print_histogram(image *image);
/// @brief Reads the angle of rotation
/// and rotates the image.
/// @param image The image where the rotation
/// will be done.
void rotate_image(image *image);
/// @brief Reads the name of the effect
/// which will be applied and applies it.
/// @param image The image.
void apply_effect(image *image);
/// @brief Reads the name of the file
/// where the image will be saved and
/// the format.
/// @param image The image which will be
/// saved.
void save_image(image *image);