diff --git a/src/MATLAB/+HIP/@Cuda/Cuda.m b/src/MATLAB/+HIP/@Cuda/Cuda.m
index fbdcb5f35dc39a0dd02151d48ed4053c0786286c..55d0279658b1fe63fcaf88f99eb4c08d338ee55b 100644
--- a/src/MATLAB/+HIP/@Cuda/Cuda.m
+++ b/src/MATLAB/+HIP/@Cuda/Cuda.m
@@ -4,6 +4,7 @@ methods (Static)
     [imageOut] = HighPassFilter(imageIn,sigmas,device)
     [numCudaDevices,memStats] = DeviceCount()
     Help(command)
+    [minVal,maxVal] = GetMinMax(imageIn,device)
     [cmdInfo] = Info()
     [imageOut] = Gaussian(imageIn,sigmas,numIterations,device)
     [imageOut] = MeanFilter(imageIn,kernel,numIterations,device)
@@ -12,7 +13,6 @@ methods (Static)
     [imageOut] = MultiplySum(imageIn,kernel,numIterations,device)
     [imageOut] = EntropyFilter(imageIn,kernel,device)
     [imageOut] = StdFilter(imageIn,kernel,numIterations,device)
-    [minVal,maxVal] = GetMinMax(imageIn,device)
     [imageOut] = IdentityFilter(imageIn,device)
     [imageOut] = LoG(imageIn,sigmas,device)
     [imageOut] = MedianFilter(imageIn,kernel,numIterations,device)
diff --git a/src/MATLAB/+HIP/@Cuda/Mex.mexw64 b/src/MATLAB/+HIP/@Cuda/Mex.mexw64
index 0cee8a7f0c82d0d9080698f17cef123ee2be768e..b658d2b05218d51b0a95623eba479b62c8fa9988 100644
--- a/src/MATLAB/+HIP/@Cuda/Mex.mexw64
+++ b/src/MATLAB/+HIP/@Cuda/Mex.mexw64
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:4ac325bae9c99bba6b9577fb705277f52c750f4379fc1033cbc8750467d1f2a8
-size 12263936
+oid sha256:75d48bac093946934c4cd46fbbe2aedd703f447d1ec8e08752c118eb23528e07
+size 12387840
diff --git a/src/c/CudaImageProcessor.vcxproj b/src/c/CudaImageProcessor.vcxproj
index a9acfad9147107dd8fa57e4c8b70e6ad356b05a6..1d9413abe5cde18f5434a353550c522f11af639e 100644
--- a/src/c/CudaImageProcessor.vcxproj
+++ b/src/c/CudaImageProcessor.vcxproj
@@ -15,7 +15,7 @@
     <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
     <Keyword>ManagedCProj</Keyword>
     <RootNamespace>CudaImageProcessor</RootNamespace>
-    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -28,7 +28,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>StaticLibrary</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v141</PlatformToolset>
     <CLRSupport>false</CLRSupport>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
diff --git a/src/c/CudaMex.vcxproj b/src/c/CudaMex.vcxproj
index d2348df976cf6d8c4ee29a6d86e463d02b3e6951..dc38a993d85202492c3d963c6570316d0684ff1e 100644
--- a/src/c/CudaMex.vcxproj
+++ b/src/c/CudaMex.vcxproj
@@ -13,7 +13,7 @@
   <PropertyGroup Label="Globals">
     <ProjectGuid>{6698E8EC-49D9-421E-AA87-5BCC6B466347}</ProjectGuid>
     <RootNamespace>CudaMex</RootNamespace>
-    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -25,7 +25,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v141</PlatformToolset>
     <WholeProgramOptimization>true</WholeProgramOptimization>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
diff --git a/src/c/CudaPy3DLL.vcxproj b/src/c/CudaPy3DLL.vcxproj
index af1d077c51f40af0dafeafadec45c676da69ae58..0cec9a3502681994bc9e927db8fc78a5c3dda309 100644
--- a/src/c/CudaPy3DLL.vcxproj
+++ b/src/c/CudaPy3DLL.vcxproj
@@ -73,7 +73,7 @@
     <ProjectGuid>{0957901A-E67A-40C2-9EF5-76DF8EFBC2D5}</ProjectGuid>
     <Keyword>Win32Proj</Keyword>
     <RootNamespace>CudaPy3DLL</RootNamespace>
-    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -98,7 +98,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v141</PlatformToolset>
     <WholeProgramOptimization>true</WholeProgramOptimization>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
diff --git a/src/c/Mex.mexw64 b/src/c/Mex.mexw64
index 0cee8a7f0c82d0d9080698f17cef123ee2be768e..b658d2b05218d51b0a95623eba479b62c8fa9988 100644
--- a/src/c/Mex.mexw64
+++ b/src/c/Mex.mexw64
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:4ac325bae9c99bba6b9577fb705277f52c750f4379fc1033cbc8750467d1f2a8
-size 12263936
+oid sha256:75d48bac093946934c4cd46fbbe2aedd703f447d1ec8e08752c118eb23528e07
+size 12387840