operacje punktowe oraz histogramy
34
.gitignore
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
syntax: glob
|
||||||
|
|
||||||
|
# Visual Studio generated files:
|
||||||
|
GeneratedFiles/*
|
||||||
|
Release/*
|
||||||
|
Debug/*
|
||||||
|
release/*
|
||||||
|
debug/*
|
||||||
|
ipch/*
|
||||||
|
|
||||||
|
# Build and relase directories:
|
||||||
|
build/*
|
||||||
|
build*/*
|
||||||
|
|
||||||
|
# Temporary files:
|
||||||
|
vc100.pdb
|
||||||
|
|
||||||
|
Makefile
|
||||||
|
Makefile.Release
|
||||||
|
Makefile.Debug
|
||||||
|
MySimpleGimp.pro.user
|
||||||
|
MySimpleGimp.vcxproj.user
|
||||||
|
MySimpleGimp.v11.suo
|
||||||
|
MySimpleGimp.sdf
|
||||||
|
gen/*
|
||||||
|
MySimpleGimp.opensdf
|
||||||
|
MySimpleGimp.vcxproj*
|
||||||
|
syntax: regexp
|
||||||
|
|
||||||
|
# ui .h files. Auto generated by Qt on compile i.e. ui_histogram.h etc.
|
||||||
|
ui_.+.h
|
||||||
|
|
||||||
|
# merge files
|
||||||
|
.+.orig
|
13
.qmake.stash
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
QMAKE_CXX.INCDIRS = \
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.26.28801\\include" \
|
||||||
|
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um"
|
||||||
|
QMAKE_CXX.LIBDIRS = \
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.26.28801\\lib\\x64" \
|
||||||
|
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\lib\\um\\x64"
|
||||||
|
QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
|
||||||
|
QMAKE_CXX.QMAKE_MSC_VER = 1926
|
||||||
|
QMAKE_CXX.QMAKE_MSC_FULL_VER = 192628806
|
||||||
|
QMAKE_CXX.COMPILER_MACROS = \
|
||||||
|
QT_COMPILER_STDCXX \
|
||||||
|
QMAKE_MSC_VER \
|
||||||
|
QMAKE_MSC_FULL_VER
|
22
MySimpleGimp.pro
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
QT += core gui widgets
|
||||||
|
|
||||||
|
TARGET = MySimpleGimp
|
||||||
|
TEMPLATE = app
|
||||||
|
|
||||||
|
INCLUDEPATH += src/
|
||||||
|
|
||||||
|
SOURCES += src/main.cpp
|
||||||
|
|
||||||
|
include(src/core/core.pri)
|
||||||
|
include(src/gui/gui.pri)
|
||||||
|
|
||||||
|
RESOURCES += res/icons.qrc
|
||||||
|
|
||||||
|
CONFIG += c++11
|
||||||
|
|
||||||
|
gcc:QMAKE_CXXFLAGS += -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-reorder
|
||||||
|
|
||||||
|
msvc {
|
||||||
|
QMAKE_CXXFLAGS_WARN_ON -= -W3
|
||||||
|
QMAKE_CXXFLAGS_WARN_ON += -W2
|
||||||
|
}
|
4
images/1_black_pixel.pbm
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
P4
|
||||||
|
# CREATOR: GIMP PNM Filter Version 1.1
|
||||||
|
1 1
|
||||||
|
€
|
BIN
images/1_white_pixel.pbm
Normal file
6
images/baboon_512x512.pnm
Normal file
4
images/black_and_white_5x5.pbm
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
P4
|
||||||
|
# CREATOR: GIMP PNM Filter Version 1.1
|
||||||
|
5 5
|
||||||
|
€@ @
|
BIN
images/black_and_white_5x5.ppm
Normal file
1330
images/cat_375x500.pnm
Normal file
BIN
images/corner_test_10x10.pnm
Normal file
8810
images/fruits_512x480.pnm
Normal file
BIN
images/img_lights.jpg
Normal file
After Width: | Height: | Size: 20 KiB |
102
images/kitty_131x131.pgm
Normal file
42
images/lenna_154x154.pnm
Normal file
5
images/lenna_512x512.pgm
Normal file
542
images/lenna_512x512.pnm
Normal file
47
images/morph_279x200.pnm
Normal file
BIN
images/noisy_lenna_512x512.pnm
Normal file
BIN
images/rectangle_160x121.pnm
Normal file
BIN
images/rectangle_67x63.pnm
Normal file
4
images/rectangles_453x273.pnm
Normal file
BIN
images/rings_horizon_mapping_403x382.pnm
Normal file
60003
images/sample_ascii_200x300.pbm
Normal file
60004
images/sample_ascii_200x300.pgm
Normal file
180004
images/sample_ascii_200x300.ppm
Normal file
BIN
images/sample_bin_200x300.pbm
Normal file
29
images/sample_bin_200x300.pgm
Normal file
85
images/sample_bin_200x300.ppm
Normal file
6
images/shapes_261x221.pnm
Normal file
7
images/shapes_366x308.pnm
Normal file
BIN
images/starry_night_752x600.pnm
Normal file
4
images/stuff_640x480.pnm
Normal file
11
images/text1_728x460.pnm
Normal file
24
images/text2_532x730.pnm
Normal file
4
images/text3_490x354.pnm
Normal file
4
images/text4_700x445.pnm
Normal file
22
images/text5_636x439.pnm
Normal file
BIN
images/text_no_ocr_809x568.pnm
Normal file
77
images/triangle_256x256.pnm
Normal file
BIN
images/wall_normal_texture_618x475.pnm
Normal file
67
res/icons.qrc
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/icons">
|
||||||
|
<file>icons/chart_curve.png</file>
|
||||||
|
<file>icons/chart_curve_add.png</file>
|
||||||
|
<file>icons/chart_curve_delete.png</file>
|
||||||
|
<file>icons/chart_line_edit.png</file>
|
||||||
|
<file>icons/door_out.png</file>
|
||||||
|
<file>icons/eye.png</file>
|
||||||
|
<file>icons/eye_blue.png</file>
|
||||||
|
<file>icons/eye_gray.png</file>
|
||||||
|
<file>icons/eye_green.png</file>
|
||||||
|
<file>icons/eye_red.png</file>
|
||||||
|
<file>icons/folder.png</file>
|
||||||
|
<file>icons/things_digital.png</file>
|
||||||
|
<file>icons/transform_rotate_90.png</file>
|
||||||
|
<file>icons/transform_rotate_180.png</file>
|
||||||
|
<file>icons/transform_rotate_270.png</file>
|
||||||
|
<file>icons/transform_rotate.png</file>
|
||||||
|
<file>icons/zoom_in.png</file>
|
||||||
|
<file>icons/zoom_out.png</file>
|
||||||
|
<file>icons/chart_curve_error.png</file>
|
||||||
|
<file>icons/chart_curve_go.png</file>
|
||||||
|
<file>icons/draw_convolve.png</file>
|
||||||
|
<file>icons/lightbulb.png</file>
|
||||||
|
<file>icons/checkerboard.png</file>
|
||||||
|
<file>icons/filter.png</file>
|
||||||
|
<file>icons/flag_airfield_vehicle_safety.png</file>
|
||||||
|
<file>icons/zoom_extend.png</file>
|
||||||
|
<file>icons/zoom_last.png</file>
|
||||||
|
<file>icons/convert_color_to_gray.png</file>
|
||||||
|
<file>icons/edge_detection.png</file>
|
||||||
|
<file>icons/personal_finance.png</file>
|
||||||
|
<file>icons/witch.png</file>
|
||||||
|
<file>icons/arrow_in.png</file>
|
||||||
|
<file>icons/arrow_out.png</file>
|
||||||
|
<file>icons/document_shapes.png</file>
|
||||||
|
<file>icons/key_a.png</file>
|
||||||
|
<file>icons/key_b.png</file>
|
||||||
|
<file>icons/key_c.png</file>
|
||||||
|
<file>icons/key_d.png</file>
|
||||||
|
<file>icons/key_e.png</file>
|
||||||
|
<file>icons/key_f.png</file>
|
||||||
|
<file>icons/key_g.png</file>
|
||||||
|
<file>icons/key_i.png</file>
|
||||||
|
<file>icons/key_j.png</file>
|
||||||
|
<file>icons/key_k.png</file>
|
||||||
|
<file>icons/key_l.png</file>
|
||||||
|
<file>icons/key_m.png</file>
|
||||||
|
<file>icons/key_n.png</file>
|
||||||
|
<file>icons/key_o.png</file>
|
||||||
|
<file>icons/key_p.png</file>
|
||||||
|
<file>icons/key_q.png</file>
|
||||||
|
<file>icons/key_s.png</file>
|
||||||
|
<file>icons/key_t.png</file>
|
||||||
|
<file>icons/key_u.png</file>
|
||||||
|
<file>icons/key_v.png</file>
|
||||||
|
<file>icons/key_w.png</file>
|
||||||
|
<file>icons/key_x.png</file>
|
||||||
|
<file>icons/key_y.png</file>
|
||||||
|
<file>icons/key_z.png</file>
|
||||||
|
<file>icons/arrow_divide.png</file>
|
||||||
|
<file>icons/arrow_join.png</file>
|
||||||
|
<file>icons/universal_binary.png</file>
|
||||||
|
<file>icons/videodisplay.png</file>
|
||||||
|
<file>icons/key_r.png</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
BIN
res/icons/arrow_divide.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
res/icons/arrow_in.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/arrow_join.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/icons/arrow_out.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/chart_curve.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
res/icons/chart_curve_add.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
res/icons/chart_curve_delete.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
res/icons/chart_curve_error.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
res/icons/chart_curve_go.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
res/icons/chart_line_edit.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
res/icons/checkerboard.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/icons/convert_color_to_gray.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
res/icons/document_shapes.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
res/icons/door_out.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
res/icons/draw_convolve.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/icons/edge_detection.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
res/icons/eye.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
res/icons/eye_blue.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
res/icons/eye_gray.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
res/icons/eye_green.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
res/icons/eye_red.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
res/icons/filter.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
res/icons/flag_airfield_vehicle_safety.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/folder.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/key_a.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_b.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_c.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_d.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_e.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
res/icons/key_f.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
res/icons/key_g.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_i.png
Normal file
After Width: | Height: | Size: 975 B |
BIN
res/icons/key_j.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
res/icons/key_k.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_l.png
Normal file
After Width: | Height: | Size: 1002 B |
BIN
res/icons/key_m.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_n.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/key_o.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_p.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/key_q.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/icons/key_r.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
res/icons/key_s.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_t.png
Normal file
After Width: | Height: | Size: 1023 B |
BIN
res/icons/key_u.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/key_v.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/key_w.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/icons/key_x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/icons/key_y.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/key_z.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/layer_save.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/icons/lightbulb.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
res/icons/personal_finance.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
res/icons/picture.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/icons/picture_delete.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
res/icons/picture_save.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
res/icons/things_digital.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/icons/transform_rotate.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
res/icons/transform_rotate_180.png
Normal file
After Width: | Height: | Size: 1.7 KiB |