Skip to content

Commit

Permalink
Merge pull request #4 from thasmarinho/develop
Browse files Browse the repository at this point in the history
First delivered version
  • Loading branch information
thasmarinho authored Oct 16, 2019
2 parents e5ef1ef + b954929 commit c274487
Show file tree
Hide file tree
Showing 65 changed files with 1,796 additions and 852 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.pythonPath": "C:\\ProgramData\\Miniconda3\\python.exe"
}
Binary file added assets/icons/redo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/3df0zy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/3df17u.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/3df1f9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/3df1ni.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/3df28a.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/aranha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg-cj.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/chroma-key/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chroma-key/bola-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chroma-key/bola.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chroma-key/chroma-key-back-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chroma-key/fundo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/esteganografia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/fft.tif
Binary file not shown.
Binary file added images/futebol.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/letras.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/massa de teste/back-cj.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/massa de teste/board-detect.bmp
Binary file not shown.
Binary file added images/massa de teste/chroma-key-back-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/massa de teste/chromakey-front1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/massa de teste/ck-cj.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added images/massa de teste/equalização.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/massa de teste/filtragem-fft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/massa de teste/gamma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/massa de teste/high-boost.jpg
File renamed without changes
Binary file added images/massa de teste/mona_with_noisy.jpg
Binary file added images/massa de teste/sepia.png
Binary file added images/massa de teste/sobel_original.jpeg
Binary file added images/mesnagem.bmp
Binary file not shown.
Binary file added images/mininu.png
Binary file added images/papepio.png
Binary file added images/result_sobel.png
Binary file removed images/resultado.png
Diff not rendered.
Binary file added images/teste.bmp
Binary file not shown.
18 changes: 12 additions & 6 deletions root/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,21 @@
from root.converter import ScaleConverter as scale
from root.util import ImageUtil as util
from root.util import RgbUtil as rgb
from PyQt5 import QtWidgets, QtGui
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
import sys
sys.path.insert(0, sys.path[0]+'\\ui')
print(sys.path)

from root.ui import MainWindow


def main():
img_rgb = util.read_image("images/laplacian/Fig0338a.bmp")
r, g, b = rgb.get_rgb_layers(img_rgb)
img_gray = converter.rgb_to_gray_via_weighted_average(r, g, b)
obtained, sharpened = filter.apply_laplacian(img_gray)
util.save_image("images/laplacian/output.jpg", obtained)
util.save_image("images/laplacian/sharpened.jpg", sharpened)
app = QApplication([])
GUI = MainWindow()
app.exec_()


if __name__ == "__main__":
Expand Down
4 changes: 4 additions & 0 deletions root/controller/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .image_manager import ImageManager
from .fourier_manager import FourierManager
from .transformation_manager import TransformationManager
from .transformation_controller import TransformationController
Loading

0 comments on commit c274487

Please sign in to comment.