Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-linux-clazy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
# all level 1 checks but ignore clazy-no-connect-by-name
# no parallel make with clazy to not mess log
- run: |
export CLAZY_IGNORE_DIRS=".*usr.*|.*bezier.*|.*boost.*|.*SingleApplication.*|.*spdlog.*|.*zernike.*" \
export CLAZY_IGNORE_DIRS=".*usr.*|.*bezier.*|.*boost.*|.*SingleApplication.*|.*spdlog.*|.*zernike.*|.*cnpy.*" \
&& export CLAZY_CHECKS="level1,no-connect-by-name,function-args-by-value,function-args-by-ref,incorrect-emit,old-style-connect" \
&& make
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
tidy-checks: '' # rely solely on .clang-tidy file
tidy-review: true
passive-reviews: true
ignore: 'bezier|boost|SingleApplication|spdlog|zernike|moc_*|ui_*|qwt*'
ignore: 'bezier|boost|SingleApplication|spdlog|zernike|cnpy|moc_*|ui_*|qwt*'
6 changes: 5 additions & 1 deletion DFTFringe.pro
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ win32 {
LIBS += -L$$PWD\..\build_openCV\install\x64\mingw\bin -llibopencv_imgcodecs4120
LIBS += -L$$PWD\..\build_openCV\install\x64\mingw\bin -llibopencv_imgproc4120
LIBS += -ldbghelp # for SetUnhandledExceptionFilter
LIBS += -lz # zip compression library needed for cnpy.cpp


# This is for armadillo to not use wrapper. See https://gitlab.com/conradsnicta/armadillo-code#6-linux-and-macos-compiling-and-linking
Expand All @@ -81,6 +82,7 @@ unix: !mac {
LIBS += -lopencv_imgcodecs
LIBS += -lopencv_imgproc
LIBS += -L/usr/local/qwt-6.3.0/lib -lqwt
LIBS += -lz # zip compression library needed for cnpy.cpp
}

# MAC ##############
Expand Down Expand Up @@ -143,7 +145,7 @@ RESOURCES += DFTResources.qrc

TRANSLATIONS += dftfringe_fr.ts

INCLUDEPATH += ./bezier ./SingleApplication ./zernike
INCLUDEPATH += ./bezier ./SingleApplication ./zernike ./cnpy

SOURCES += SingleApplication/singleapplication.cpp \
SingleApplication/singleapplication_p.cpp \
Expand All @@ -164,6 +166,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
ccswappeddlg.cpp \
circlefit.cpp \
circleoutline.cpp \
cnpy/cnpy.cpp \
colorchannel.cpp \
colorchanneldisplay.cpp \
colormapviewerdlg.cpp \
Expand Down Expand Up @@ -285,6 +288,7 @@ HEADERS += bezier/bezier.h \
circle.h \
circleoutline.h \
circleutils.h \
cnpy/cnpy.h \
colorchannel.h \
colorchanneldisplay.h \
colormapviewerdlg.h \
Expand Down
5 changes: 4 additions & 1 deletion DFTFringe_Dale.pro
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ SOURCES += main.cpp \
mainwindow.cpp \
igramarea.cpp \
circleoutline.cpp \
cnpy/cnpy.cpp \
graphicsutilities.cpp \
dfttools.cpp \
dftarea.cpp \
Expand Down Expand Up @@ -156,6 +157,7 @@ HEADERS += mainwindow.h \
edgeplot.h \
IgramArea.h \
circleoutline.h \
cnpy/cnpy.h \
graphicsutilities.h \
dfttools.h \
dftarea.h \
Expand Down Expand Up @@ -266,7 +268,7 @@ HEADERS += mainwindow.h \
SingleApplication/singleapplication.h \
SingleApplication/singleapplication_p.h

INCLUDEPATH += ./bezier ./SingleApplication ./zernike
INCLUDEPATH += ./bezier ./SingleApplication ./zernike ./cnpy

FORMS += mainwindow.ui \
annulushelpdlg.ui \
Expand Down Expand Up @@ -378,6 +380,7 @@ LIBS += D:\lapack\build64\bin\liblapack.dll
LIBS += D:\lapack\build64\bin\libblas.dll

LIBS += -ldbghelp # for SetUnhandledExceptionFilter
LIBS += -lz # zip compression library needed for cnpy.cpp
}


Expand Down
8 changes: 6 additions & 2 deletions DFTFringe_QT5.pro
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ win32 {
LIBS += -L..\build_openCV\install\x64\mingw\bin -llibopencv_imgcodecs460
LIBS += -L..\build_openCV\install\x64\mingw\bin -llibopencv_imgproc460
LIBS += -ldbghelp # for SetUnhandledExceptionFilter

LIBS += -lz # zip compression library needed for cnpy.cpp

# This is for armadillo to not use wrapper. See https://gitlab.com/conradsnicta/armadillo-code#6-linux-and-macos-compiling-and-linking
DEFINES += ARMA_DONT_USE_WRAPPER
Expand All @@ -80,6 +80,8 @@ unix: !mac {
LIBS += -lopencv_imgproc
LIBS += -lopencv_imgproc
LIBS += -lqwt-qt5
LIBS += -lz # zip compression library needed for cnpy.cpp

}

# MAC ##############
Expand Down Expand Up @@ -142,7 +144,7 @@ RESOURCES += DFTResources.qrc

TRANSLATIONS += dftfringe_fr.ts

INCLUDEPATH += ./bezier ./SingleApplication ./zernike
INCLUDEPATH += ./bezier ./SingleApplication ./zernike ./cnpy

SOURCES += SingleApplication/singleapplication.cpp \
SingleApplication/singleapplication_p.cpp \
Expand All @@ -163,6 +165,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
ccswappeddlg.cpp \
circlefit.cpp \
circleoutline.cpp \
cnpy/cnpy.cpp \
colorchannel.cpp \
colorchanneldisplay.cpp \
colormapviewerdlg.cpp \
Expand Down Expand Up @@ -284,6 +287,7 @@ HEADERS += bezier/bezier.h \
circle.h \
circleoutline.h \
circleutils.h \
cnpy/cnpy.h \
colorchannel.h \
colorchanneldisplay.h \
colormapviewerdlg.h \
Expand Down
3 changes: 3 additions & 0 deletions LICENSES/MIT.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Copyright (C) 2016 Gabi Melman.
zernike (zapm.cpp)
Copyright (C) 2022 Michael Peck

cnpy (cnpy.h cnpy.cpp)
Copyright (c) Carl Rogers, 2011

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
8 changes: 8 additions & 0 deletions RevisionHistory.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
<h1>DFTFringe Version History</h1>
<ul>

<li>Version 8.4.0</li>
<ul>
<li>Ronchi and Foucault displays have new circular grid feature to measure zones better (right click on ronchi)</li>
<li>Ronchi compare now has blink mode that switches between 2 ronchis (first select at least 2 ronchis, then right click on the ronchi view, then select "compare" button, then "blink" button)</li>
<li>Can read Wavefront Pro format wavefront files (.npz files)</li>
<li>Fixed bug in subtract wavefront feature introduced in version 7.4.0 where sometimes it subtracts the wrong wavefront (but correctly showed you what it did on the right side). Bug happened on A-B if B is farther down in the wavefront list than A.</li>
</ul>

<li>Version 8.3.2</li>
<ul>
<li>Fixed bug introduced in 8.3.1 in Ronchi Foucault where it was always doing autocollimate mode</li>
Expand Down
21 changes: 21 additions & 0 deletions cnpy/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License

Copyright (c) Carl Rogers, 2011

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading
Loading