@@ -249,14 +249,14 @@ foreach (var aperture in new double[] { 9.57, 4.76, 2.59 })
249249Fully configured settings are demonstrated below.
250250
251251([ go to
252- source] ( https://github.com/zivid/zivid-csharp-samples/tree/master//source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cs#L31-L92 ) )
252+ source] ( https://github.com/zivid/zivid-csharp-samples/tree/master//source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cs#L31-L93 ) )
253253
254254``` sourceCode cs
255255Console.WriteLine("Configuring settings for capture:");
256256var settings = new Zivid.NET.Settings()
257257{
258258 Engine = Zivid.NET.Settings.EngineOption.Phase,
259- Sampling = { Color = Zivid.NET.Settings.SamplingGroup.ColorOption.Rgb, Pixel = Zivid.NET.Settings.SamplingGroup.PixelOption.All },
259+ Sampling = { Color = Zivid.NET.Settings.SamplingGroup.ColorOption.Rgb, Pixel = Zivid.NET.Settings.SamplingGroup.PixelOption.BlueSubsample2x2 },
260260 RegionOfInterest = { Box = {
261261 Enabled = true,
262262 PointO = new Zivid.NET.PointXYZ{ x = 1000, y = 1000, z = 1000 },
@@ -282,6 +282,7 @@ var settings = new Zivid.NET.Settings()
282282 Strength = 0.4 },
283283 Removal = { Enabled = true,
284284 Threshold = 0.5 } } } },
285+ Resampling = { Mode = Zivid.NET.Settings.ProcessingGroup.ResamplingGroup.ModeOption.Upsample2x2},
285286 Color = { Balance = { Red = 1.0, Green = 1.0, Blue = 1.0 },
286287 Gamma = 1.0,
287288 Experimental = { Mode = ColorModeOption.Automatic } } }
@@ -343,7 +344,7 @@ Check out
343344for recommended .yml files tuned for your application.
344345
345346([ go to
346- source] ( https://github.com/zivid/zivid-csharp-samples/tree/master//source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cs#L104-L109 ) )
347+ source] ( https://github.com/zivid/zivid-csharp-samples/tree/master//source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cs#L105-L110 ) )
347348
348349``` sourceCode cs
349350var settingsFile = "Settings.yml";
@@ -356,7 +357,7 @@ var settingsFromFile = new Zivid.NET.Settings(settingsFile);
356357You can also save settings to .yml file.
357358
358359([ go to
359- source] ( https://github.com/zivid/zivid-csharp-samples/tree/master//source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cs#L104-L106 ) )
360+ source] ( https://github.com/zivid/zivid-csharp-samples/tree/master//source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cs#L105-L107 ) )
360361
361362``` sourceCode cs
362363var settingsFile = "Settings.yml";
0 commit comments