Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/deephealthproject/ecvl
Browse files Browse the repository at this point in the history
… into development
  • Loading branch information
lauracanalini committed Apr 29, 2022
2 parents def3d2d + 83112f6 commit 7f681f0
Show file tree
Hide file tree
Showing 103 changed files with 407 additions and 133 deletions.
1 change: 0 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
cfg:
- { os: windows-2016, c-version: vc15, cxx-version: vc15, generator: "Visual Studio 15 2017 Win64" }
- { os: windows-2019, c-version: vc16, cxx-version: vc16, generator: "Visual Studio 16 2019" }
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ECVL - European Computer Vision Library
# Version: 1.0.0
# Version: 1.0.2
# copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
# Authors:
# Costantino Grana ([email protected])
Expand Down
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ The ECVL documentation is available [here](https://deephealthproject.github.io/e
</tr>
</thead>
<tbody>
<tr>
<td>1.0.1</td>
<td>1.0.4b</td>
</tr>
<tr>
<td>1.0.0</td>
<td>1.0.4b</td>
</tr>
<tr>
<td>0.4.2</td>
<td>1.0.3b</td>
</tr>
<tr>
<td>0.4.1</td>
<td>1.0.2a</td>
Expand Down Expand Up @@ -194,20 +206,13 @@ Contributions of any kind are welcome!
<td style="text-align:center">Jenkins</td>
<td style="text-align:center"><a href="https://jenkins-master-deephealth-unix01.ing.unimore.it/job/DeepHealth/job/ecvl/job/master"><img src="https://jenkins-master-deephealth-unix01.ing.unimore.it/badge/job/DeepHealth/job/ecvl/job/master/windows_end" alt="Workflow status badge" loading="lazy" height="20"></a></td>
</tr>
<tr>
<td style="text-align:center">Windows Server 2016</td>
<td style="text-align:center">VS 2017 15.9.28307</td>
<td style="text-align:center">3.4.14</td>
<td style="text-align:center">0.9.2b</td>
<td style="text-align:center">GitHub Actions</td>
<td style="text-align:center" rowspan="2"><a href="https://github.com/deephealthproject/ecvl/actions?query=workflow%3Awindows"><img src="https://github.com/deephealthproject/ecvl/workflows/windows/badge.svg" alt="Workflow status badge" loading="lazy" height="20"></a></td>
</tr>
<tr>
<td style="text-align:center">Windows Server 2019</td>
<td style="text-align:center">VS 2019 16.9.31229</td>
<td style="text-align:center">3.4.14</td>
<td style="text-align:center">0.9.2b</td>
<td style="text-align:center">GitHub Actions</td>
<td style="text-align:center"><a href="https://github.com/deephealthproject/ecvl/actions?query=workflow%3Awindows"><img src="https://github.com/deephealthproject/ecvl/workflows/windows/badge.svg" alt="Workflow status badge" loading="lazy" height="20"></a></td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion cmake/ecvlConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ECVL - European Computer Vision Library
# Version: 1.0.0
# Version: 1.0.2
# copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
# Authors:
# Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ECVL - European Computer Vision Library
# Version: 1.0.0
# Version: 1.0.2
# copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
# Authors:
# Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_core_iterators.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_dataset_generator.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_dataset_parser.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_ecvl_eddl.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_ecvl_gui.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_image_view.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_imagewatch.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_imgcodecs.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_imgproc.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_moments.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
5 changes: 4 additions & 1 deletion examples/example_nifti_dicom.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand All @@ -26,6 +26,9 @@ int main()
return EXIT_FAILURE;
}

// Resize all the dimensions
ResizeDim(nifti_image, nifti_image, { 256, 256, 256 });

// Apply some processing
int gamma = 3;
cout << "Executing GammaContrast" << endl;
Expand Down
2 changes: 1 addition & 1 deletion examples/example_openslide.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_performance.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_pipeline.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion examples/example_threshold.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ECVL - European Computer Vision Library
# Version: 1.0.0
# Version: 1.0.2
# copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
# Authors:
# Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ECVL - European Computer Vision Library
# Version: 1.0.0
# Version: 1.0.2
# copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
# Authors:
# Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/any.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/arithmetic.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/arithmetic_impl.inc.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
4 changes: 3 additions & 1 deletion modules/core/include/ecvl/core/cpu_hal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down Expand Up @@ -60,6 +60,7 @@ class CpuHal : public HardwareAbstractionLayer
void ConvertTo(const Image& src, Image& dst, DataType dtype, bool saturate) override;

void ResizeDim(const ecvl::Image& src, ecvl::Image& dst, const std::vector<int>& newdims, InterpolationType interp) override;
void Resize3D(const ecvl::Image& src, ecvl::Image& dst, const std::vector<int>& newdims, InterpolationType interp) override;
void ResizeScale(const Image& src, Image& dst, const std::vector<double>& scales, InterpolationType interp) override;
void Flip2D(const ecvl::Image& src, ecvl::Image& dst) override;
void Mirror2D(const ecvl::Image& src, ecvl::Image& dst) override;
Expand Down Expand Up @@ -104,6 +105,7 @@ class CpuHal : public HardwareAbstractionLayer
void Normalize(const Image& src, Image& dst, const std::vector<double>& mean, const std::vector<double>& std) override;
void CenterCrop(const Image& src, Image& dst, const std::vector<int>& size) override;
void ScaleTo(const Image& src, Image& dst, const double& new_min, const double& new_max) override;
void ScaleFromTo(const Image& src, Image& dst, const double& old_min, const double& old_max, const double& new_min, const double& new_max) override;
void Pad(const Image& src, Image& dst, const std::vector<int>& padding, BorderType border_type, const int& border_value) override;
void RandomCrop(const Image& src, Image& dst, const std::vector<int>& size, bool pad_if_needed, BorderType border_type, const int& border_value, const unsigned seed) override;

Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/cuda/common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/cuda/gpu_hal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/datatype.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/datatype_matrix.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/datatype_tuples.inc.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/filesystem.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/fpga_hal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
4 changes: 3 additions & 1 deletion modules/core/include/ecvl/core/hal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down Expand Up @@ -128,6 +128,7 @@ class HardwareAbstractionLayer
virtual void ConvertTo(const Image& src, Image& dst, DataType dtype, bool saturate) { ECVL_ERROR_NOT_IMPLEMENTED }

virtual void ResizeDim(const ecvl::Image& src, ecvl::Image& dst, const std::vector<int>& newdims, InterpolationType interp) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void Resize3D(const ecvl::Image& src, ecvl::Image& dst, const std::vector<int>& newdims, InterpolationType interp) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void ResizeScale(const Image& src, Image& dst, const std::vector<double>& scales, InterpolationType interp) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void Flip2D(const ecvl::Image& src, ecvl::Image& dst) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void Mirror2D(const ecvl::Image& src, ecvl::Image& dst) { ECVL_ERROR_NOT_IMPLEMENTED }
Expand Down Expand Up @@ -172,6 +173,7 @@ class HardwareAbstractionLayer
virtual void Normalize(const Image& src, Image& dst, const std::vector<double>& mean, const std::vector<double>& std) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void CenterCrop(const ecvl::Image& src, ecvl::Image& dst, const std::vector<int>& size) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void ScaleTo(const Image& src, Image& dst, const double& new_min, const double& new_max) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void ScaleFromTo(const Image& src, Image& dst, const double& old_min, const double& old_max, const double& new_min, const double& new_max) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void Pad(const Image& src, Image& dst, const std::vector<int>& padding, BorderType border_type, const int& border_value) { ECVL_ERROR_NOT_IMPLEMENTED }
virtual void RandomCrop(const Image& src, Image& dst, const std::vector<int>& size, bool pad_if_needed, BorderType border_type, const int& border_value, const unsigned seed) { ECVL_ERROR_NOT_IMPLEMENTED }

Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/image.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/ecvl/core/imgcodecs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ECVL - European Computer Vision Library
* Version: 1.0.0
* Version: 1.0.2
* copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana ([email protected])
Expand Down
Loading

0 comments on commit 7f681f0

Please sign in to comment.