├── .gitignore
├── Camera Property Examples C++ and C#
├── Lens Control Auto Focus, Focus and Zoom
│ └── README.md
└── README.md
├── Create Camera Properties Source Code
├── CreatePropertiesForCameras-ic3.5.zip
├── CreatePropertiesForCameras.zip
├── CreatePropertyFunctionsforCamera
│ ├── CreatePropertyFunctionsforCamera.sln
│ └── CreatePropertyFunctionsforCamera
│ │ ├── App.config
│ │ ├── CreatePropertyFunctionsforCamera.csproj
│ │ ├── Program.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ ├── icproperties.cs
│ │ ├── project.cs
│ │ ├── projects.xml
│ │ └── templates
│ │ ├── absolutecpp.tpl
│ │ ├── absolutecs.tpl
│ │ ├── absolutevb.tpl
│ │ ├── buttoncpp.tpl
│ │ ├── buttoncs.tpl
│ │ ├── buttonvb.tpl
│ │ ├── icpropertiescpp.tpl
│ │ ├── icpropertiescs.tpl
│ │ ├── icpropertiesvb.tpl
│ │ ├── mapstringcpp.tpl
│ │ ├── mapstringcs.tpl
│ │ ├── mapstringvb.tpl
│ │ ├── rangecpp.tpl
│ │ ├── rangecs.tpl
│ │ ├── rangevb.tpl
│ │ ├── switchcpp.tpl
│ │ ├── switchcs.tpl
│ │ └── switchvb.tpl
├── README.md
└── vs-icproperties.png
├── LabVIEW
├── ImageAvailable-Event
│ ├── README.md
│ ├── VIs
│ │ ├── IC_Buffer_to_Picture.vi
│ │ ├── ImageAvailableEventHandler.vi
│ │ └── ImageAvailalbeMain.vi
│ ├── ia-create-event-vi.png
│ ├── ia-main-complete.png
│ ├── ia-register-callback.png
│ ├── ia-select-event.png
│ ├── ia-start.png
│ └── ia_event-handler.png
├── OverlayBitmap
│ ├── OverlayBitmap.vi
│ ├── OverlayBitmap1.png
│ ├── OverlayBitmap2.png
│ ├── README.md
│ └── RGBtoColor.vi
├── SimpleGrabbing
│ ├── README.md
│ ├── simplegrab.vi
│ ├── simplegrab1.png
│ └── simplegrab2.png
└── Using 16bit Pixelformat
│ ├── Create Device XML
│ ├── CreateDeviceXML.exe
│ ├── debug_output.txt
│ └── tis_udshl12.dll
│ ├── OpenY16DeviceByXML.vi
│ ├── README.md
│ ├── Y16byDeviceXML.vi
│ ├── blockdiagram.png
│ ├── frontpanel.png
│ └── xmlcreator.png
├── Python
├── Python NET
│ ├── README.md
│ ├── qt5-imageprocessing.py
│ ├── qt5-mediastreamsink.py
│ ├── qt5-simple.py
│ └── snap-save-image.py
├── README.md
└── tisgrabber
│ ├── README.md
│ ├── documentation-source
│ ├── conf.py
│ ├── devicehandling.rst
│ ├── firststeps.rst
│ ├── images.rst
│ ├── index.rst
│ ├── properties.rst
│ ├── tisgrabberpy.rst
│ └── tutorial.rst
│ ├── documentation
│ ├── .buildinfo
│ ├── _static
│ │ ├── alabaster.css
│ │ ├── background_b01.png
│ │ ├── basic.css
│ │ ├── bizstyle.css
│ │ ├── bizstyle.js
│ │ ├── css3-mediaqueries.js
│ │ ├── css3-mediaqueries_src.js
│ │ ├── custom.css
│ │ ├── doctools.js
│ │ ├── documentation_options.js
│ │ ├── file.png
│ │ ├── jquery-3.5.1.js
│ │ ├── jquery.js
│ │ ├── language_data.js
│ │ ├── minus.png
│ │ ├── plus.png
│ │ ├── pygments.css
│ │ ├── searchtools.js
│ │ ├── underscore-1.13.1.js
│ │ └── underscore.js
│ ├── devicehandling.html
│ ├── firststeps.html
│ ├── genindex.html
│ ├── images.html
│ ├── index.html
│ ├── objects.inv
│ ├── properties.html
│ ├── search.html
│ ├── searchindex.js
│ ├── tisgrabberpy.html
│ └── tutorial.html
│ ├── samples
│ ├── 01-Live-old.py
│ ├── 01-Live.py
│ ├── 02-open-manually.py
│ ├── 03-open-by-file.py
│ ├── 03-save-to-file.py
│ ├── 04-list-properties.py
│ ├── 05-properties.py
│ ├── 06-list-devices.py
│ ├── 07-roi.py
│ ├── 10-save-image.py
│ ├── 11-image-processing.py
│ ├── 15-list-codecs.py
│ ├── 16-capture-avi-file.py
│ ├── 20-Callback.py
│ ├── 22-framefilter.py
│ ├── 30-read-GPIn.py
│ ├── 31-autofocus-onepush-region.py
│ ├── 32-trigger-callback.py
│ ├── 33-device-lost-event.py
│ ├── 40-qt-stereo.py
│ ├── 41-qt-triggering.py
│ ├── TIS_UDSHL11.dll
│ ├── TIS_UDSHL11_x64.dll
│ ├── tisgrabber.dll
│ ├── tisgrabber.h
│ ├── tisgrabber.py
│ └── tisgrabber_x64.dll
│ └── tisgrabber.chm
├── README.md
├── c#
├── DFGHDMI
│ ├── DFGHDMI.sln
│ ├── DFGHDMI
│ │ ├── App.config
│ │ ├── DFGHDMI.csproj
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── HDMIInputInfo.cs
│ │ ├── IC.ico
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── README.md
│ └── hdmi.png
├── Display Image Processing Result in Overlay
│ ├── Display Result in Overlay.sln
│ ├── Display Result in Overlay
│ │ ├── Display Result in Overlay.csproj
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── IC.ico
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ └── README.md
├── Frame Filter Pixelfix
│ ├── Build Pixelfix
│ │ ├── Build Pixelfix.sln
│ │ ├── Build Pixelfix
│ │ │ ├── Build Pixelfix.csproj
│ │ │ ├── Form1.Designer.cs
│ │ │ ├── Form1.cs
│ │ │ ├── Form1.resx
│ │ │ ├── IC.ico
│ │ │ ├── Program.cs
│ │ │ └── Properties
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ ├── Resources.Designer.cs
│ │ │ │ ├── Resources.resx
│ │ │ │ ├── Settings.Designer.cs
│ │ │ │ └── Settings.settings
│ │ ├── FirstStart.PNG
│ │ ├── FixedImage.PNG
│ │ ├── GoodSettings.PNG
│ │ ├── MessageBox.PNG
│ │ ├── README.md
│ │ └── SelectDevice.PNG
│ ├── FrameFilter Pixelfix
│ │ ├── AfterFix.PNG
│ │ ├── BeforeFix.PNG
│ │ ├── DeviceDialog.PNG
│ │ ├── FirstStart.PNG
│ │ ├── FrameFilter Pixelfix.sln
│ │ ├── FrameFilter Pixelfix
│ │ │ ├── Form1.Designer.cs
│ │ │ ├── Form1.cs
│ │ │ ├── Form1.resx
│ │ │ ├── FrameFilter Pixelfix.csproj
│ │ │ ├── IC.ico
│ │ │ ├── PixelFixFilter.cs
│ │ │ ├── Program.cs
│ │ │ └── Properties
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ ├── Resources.Designer.cs
│ │ │ │ ├── Resources.resx
│ │ │ │ ├── Settings.Designer.cs
│ │ │ │ └── Settings.settings
│ │ └── README.md
│ └── README.md
├── IC in WPF
│ ├── ICWPF
│ │ ├── ICWPF.sln
│ │ └── ICWPF_VideoWindow
│ │ │ ├── App.xaml
│ │ │ ├── App.xaml.cs
│ │ │ ├── ICWPF_VideoWindow.csproj
│ │ │ ├── MainWindow.xaml
│ │ │ ├── MainWindow.xaml.cs
│ │ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ │ ├── VideoWindow.xaml
│ │ │ └── VideoWindow.xaml.cs
│ └── README.md
├── Image And AVI Capture
│ ├── Image And AVI Capture.sln
│ ├── Image And AVI Capture
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── IC.ico
│ │ ├── Image And AVI Capture.csproj
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── SaveImageFrameFilter32.ftf
│ │ ├── SaveImageFrameFilter64.ftf
│ │ ├── tis_udshl12.dll
│ │ └── tis_udshl12_x64.dll
│ └── README.md
├── Import IC Capture Configuration
│ ├── ICCFImport.cs
│ ├── README.md
│ ├── README.md.bak
│ ├── SelectDeviceDlg.Designer.cs
│ └── SelectDeviceDlg.cs
├── Iterate an Image Sequence
│ ├── CaptureImageSequence1.sln
│ ├── CaptureImageSequence1.suo
│ ├── CaptureImageSequence1
│ │ ├── CaptureImageSequence1.csproj
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ └── Settings.Designer.cs
│ │ ├── app.config
│ │ ├── bin
│ │ │ └── x64
│ │ │ │ └── Debug
│ │ │ │ ├── CaptureImageSequence1.exe
│ │ │ │ ├── CaptureImageSequence1.exe.config
│ │ │ │ ├── CaptureImageSequence1.pdb
│ │ │ │ ├── CaptureImageSequence1.vshost.exe
│ │ │ │ ├── CaptureImageSequence1.vshost.exe.config
│ │ │ │ └── CaptureImageSequence1.vshost.exe.manifest
│ │ └── obj
│ │ │ └── x64
│ │ │ └── Debug
│ │ │ ├── CaptureImageSequence1.Form1.resources
│ │ │ ├── CaptureImageSequence1.Properties.Resources.resources
│ │ │ ├── CaptureImageSequence1.csproj.FileListAbsolute.txt
│ │ │ ├── CaptureImageSequence1.csproj.GenerateResource.Cache
│ │ │ ├── CaptureImageSequence1.csprojResolveAssemblyReference.cache
│ │ │ ├── CaptureImageSequence1.exe
│ │ │ ├── CaptureImageSequence1.pdb
│ │ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ └── TempPE
│ │ │ └── Properties.Resources.Designer.cs.dll
│ ├── README.md
│ └── img
│ │ └── sequence.gif
├── Open GigE Camera by IP Address
│ ├── IPConfigAPI.sln
│ ├── IPConfigAPI
│ │ ├── App.config
│ │ ├── IPConfigAPI.cs
│ │ ├── IPConfigAPI.csproj
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── ipconfig_api_win32.dll
│ │ └── ipconfig_api_x64.dll
│ └── README.md
├── Polarization-Demo
│ ├── DoLP Segmentation
│ │ ├── App.config
│ │ ├── DisplayFrameFilter.cs
│ │ ├── DoLP Segmentation.csproj
│ │ ├── MainForm.Designer.cs
│ │ ├── MainForm.cs
│ │ ├── MainForm.resx
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── LibPolarizationCamera
│ │ ├── FrameTypeHelper.cs
│ │ ├── LibPolarizationCamera.csproj
│ │ ├── MediaSubtypes.cs
│ │ ├── PixelTypes
│ │ │ ├── ADC1.cs
│ │ │ ├── ADC2.cs
│ │ │ ├── ADI1.cs
│ │ │ ├── ADI2.cs
│ │ │ ├── PPB1.cs
│ │ │ ├── PPB2.cs
│ │ │ ├── PPM1.cs
│ │ │ ├── PPM2.cs
│ │ │ └── RGB32.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── VCDGUIDs.cs
│ ├── Polarization Demo.sln
│ ├── Polarization Planes
│ │ ├── App.config
│ │ ├── DisplayFrameFilter.cs
│ │ ├── MainForm.Designer.cs
│ │ ├── MainForm.cs
│ │ ├── MainForm.resx
│ │ ├── Polarization Planes.csproj
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ ├── README.md
│ └── Visualization Modes
│ │ ├── App.config
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── Program.cs
│ │ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ │ └── Visualization Modes.csproj
├── Softwaretrigger-Save-Image
│ ├── README.md
│ ├── SoftwareTrigger.sln
│ └── SoftwareTrigger
│ │ ├── Program.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ └── SoftwareTrigger.csproj
└── Trigger Example for Dynamic IC
│ ├── Program.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── README.md
│ ├── Trigger Example for Dynamic IC.csproj
│ └── Trigger Example for Dynamic IC.sln
├── cpp
├── Color Overlay in Display Path
│ ├── Color Overlay in Display Path.cpp
│ ├── Color Overlay in Display Path.sln
│ ├── Color Overlay in Display Path.vcxproj
│ ├── Color Overlay in Display Path.vcxproj.filters
│ ├── README.md
│ ├── stdafx.cpp
│ ├── stdafx.h
│ └── targetver.h
└── Input Controlled AVI Capture
│ ├── Input Controlled AVI Capture.sln
│ ├── Input Controlled Camera
│ ├── Dialogs.h
│ ├── IniEx.cpp
│ ├── IniEx.h
│ ├── Input Controlled Camera.vcxproj
│ ├── InputControlledCamera.cpp
│ ├── InputControlledCamera.h
│ ├── InputControlledCamera.rc
│ ├── InputControlledCameraDLG.cpp
│ ├── InputControlledCameraDLG.h
│ ├── res
│ │ ├── InputControlledCamera.ico
│ │ └── InputControlledCamera.rc2
│ ├── resource.h
│ ├── stdafx.cpp
│ └── stdafx.h
│ ├── Input_Controlled_AVI_Capture_setup.exe
│ ├── README.md
│ └── setup.iss
├── ic-3.5-Save Triggered Images
├── C# Save Triggered Image
│ ├── Save Triggered Image.sln
│ └── Save Triggered Image
│ │ ├── App.config
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ ├── Save Triggered Image.cs
│ │ └── Save Triggered Image.csproj
├── C++ Save Triggered Image
│ ├── Save Triggered Image.sln
│ └── Save Triggered Image
│ │ ├── Save Triggered Image.vcxproj
│ │ └── main.cpp
└── README.md
├── ic-3.5-vb.net-samples
├── Adjusting Image Settings
│ ├── Adjusting Image Settings.sln
│ └── Adjusting Image Settings
│ │ ├── Adjusting Image Settings.vbproj
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ └── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
├── Capturing a Video File
│ ├── Capturing a Video File.sln
│ └── Capturing a Video File
│ │ ├── Capturing a Video File.vbproj
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ ├── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
│ │ ├── SaveVideoForm.Designer.vb
│ │ ├── SaveVideoForm.resx
│ │ └── SaveVideoForm.vb
├── Capturing an AVI File
│ ├── Capturing an AVI File.sln
│ └── Capturing an AVI File
│ │ ├── Capturing an AVI File.vbproj
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ ├── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
│ │ ├── writeavi.Designer.vb
│ │ ├── writeavi.resx
│ │ └── writeavi.vb
├── Common
│ ├── AbsValSlider.Designer.vb
│ ├── AbsValSlider.resx
│ ├── AbsValSlider.vb
│ ├── IControlBase.vb
│ ├── PushButton.Designer.vb
│ ├── PushButton.resx
│ ├── PushButton.vb
│ ├── RangeSlider.Designer.vb
│ ├── RangeSlider.resx
│ ├── RangeSlider.vb
│ ├── StringCombo.Designer.vb
│ ├── StringCombo.resx
│ ├── StringCombo.vb
│ ├── Switch.Designer.vb
│ ├── Switch.resx
│ └── Switch.vb
├── Creating an Overlay
│ ├── Creating an Overlay.sln
│ └── Creating an Overlay
│ │ ├── Creating an Overlay.vbproj
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ ├── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
│ │ └── hardware.bmp
├── DigitalIO
│ ├── DigitalIO.sln
│ └── DigitalIO
│ │ ├── DigitalIO.vbproj
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ └── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
├── Display Buffer
│ ├── Display Buffer.sln
│ └── Display Buffer
│ │ ├── Display Buffer.vbproj
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ └── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
├── Filter Inspector
│ ├── Filter Inspector.sln
│ └── Filter Inspector
│ │ ├── Filter Inspector.vbproj
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ └── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
├── Grabbing an Image
│ ├── Grabbing an Image.sln
│ └── Grabbing an Image
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ ├── Grabbing an Image.vbproj
│ │ └── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
├── List VCDProperties
│ ├── List VCDProperties.sln
│ └── List VCDProperties
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ ├── List VCDProperties.vbproj
│ │ └── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
├── Scroll And Zoom
│ ├── Scroll And Zoom.sln
│ └── Scroll And Zoom
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ ├── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
│ │ └── Scroll And Zoom.vbproj
├── Strobe
│ ├── Strobe.sln
│ └── Strobe
│ │ ├── Form1.Designer.vb
│ │ ├── Form1.resx
│ │ ├── Form1.vb
│ │ ├── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.vb
│ │ └── Settings.settings
│ │ └── Strobe.vbproj
└── demoapp
│ ├── DemoApp.sln
│ └── DemoApp
│ ├── AviDialog.Designer.vb
│ ├── AviDialog.resx
│ ├── AviDialog.vb
│ ├── CAMERA.BMP
│ ├── DemoApp.ico
│ ├── DemoApp.vbproj
│ ├── DeviceSettings.vb
│ ├── Form1.Designer.vb
│ ├── Form1.resx
│ ├── Form1.vb
│ ├── IMGSET.bmp
│ ├── My Project
│ ├── Application.Designer.vb
│ ├── Application.myapp
│ ├── AssemblyInfo.vb
│ ├── Resources.Designer.vb
│ ├── Resources.resx
│ ├── Settings.Designer.vb
│ └── Settings.settings
│ ├── NEXT.BMP
│ ├── SETTINGS.bmp
│ ├── STOP.bmp
│ ├── Trigger.bmp
│ ├── film.bmp
│ └── inputchannel.bmp
├── java
├── README.md
└── testsample
│ ├── JNI_ICImagingControl.dll
│ ├── Listener.java
│ ├── PictureBox.java
│ ├── README.md
│ ├── TIS_UDSHL11_x64.dll
│ ├── TIS_UDSHL11d_x64.dll
│ ├── ic.jar
│ ├── run.bat
│ ├── stringprop.bat
│ ├── stringprop.java
│ └── test1.java
└── matlab
└── Getting Started
└── matlab_example.m
/.gitignore:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # This .gitignore file was automatically created by Microsoft(R) Visual Studio.
3 | ################################################################################
4 |
5 | .vs/
6 | obj/
7 | ipch/
8 | Debug/
9 | Release/
10 |
11 | /bin/
12 | /wizards/IWizard/bin/
13 |
14 | *.vcxproj.user
15 | *.csproj.user
16 | *.db
17 | *.opendb
18 | *.aps
19 |
20 | core/dshowlib/VCDProperty_h\.h
21 | core/dshowlib/VCDProperty_i\.c
22 |
23 | *.suo
24 | *.sdf
25 | *.opensdf
26 | *.bak
27 |
28 | lastSelectedDeviceState.xml
29 |
30 | #Re-enable the packages debug directories
31 | !/core/packages/vcpkg-export-20190129-094931.1.0.0/**/Debug/
32 |
--------------------------------------------------------------------------------
/Camera Property Examples C++ and C#/README.md:
--------------------------------------------------------------------------------
1 | # Camera Property Examples in C# and C++
2 |
3 | In this directory are some common sample source codes for controlling camera properties using the IC Imaging Control
4 | VCD Property interface.
5 |
6 | Lens Control
7 |
8 | [This](https://github.com/TheImagingSource/IC-Imaging-Control-Samples/tree/master/Camera%20Property%20Examples%20C%2B%2B%20and%20C%23/Lens%20Control%20Auto%20Focus%2C%20Focus%20and%20Zoom#lens-control) sample code implemens Auto Focus One Push, Focus and Zoom.
9 |
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/CreatePropertiesForCameras-ic3.5.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Create Camera Properties Source Code/CreatePropertiesForCameras-ic3.5.zip
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/CreatePropertiesForCameras.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Create Camera Properties Source Code/CreatePropertiesForCameras.zip
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/CreatePropertyFunctionsforCamera/CreatePropertyFunctionsforCamera/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/CreatePropertyFunctionsforCamera/CreatePropertyFunctionsforCamera/project.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.IO;
7 |
8 | namespace CreatePropertyFunctionsforCamera
9 | {
10 | class Project
11 | {
12 | public String _MainFileName;
13 | private String _MainFileTemplate;
14 | private Dictionary ItfTemplate = new Dictionary();
15 | private String _Code = "";
16 | public Project(String MainFileName, string MainFileTemplate)
17 | {
18 | _MainFileName = MainFileName;
19 | _MainFileTemplate = MainFileTemplate;
20 | }
21 | public void AddTemplate( String Interface, String TemplateFile)
22 | {
23 | ItfTemplate.Add(Interface, TemplateFile);
24 | }
25 |
26 | public String GetTemplateFileName(String Interface)
27 | {
28 | return ItfTemplate[Interface];
29 | }
30 |
31 | public void AddCode(string code)
32 | {
33 | _Code += code;
34 | }
35 |
36 | public void Save()
37 | {
38 | string Template = File.ReadAllText(_MainFileTemplate);
39 |
40 | Template = Template.Replace("#code#", _Code);
41 | File.WriteAllText(_MainFileName, Template);
42 | Console.WriteLine("Wrote file " + _MainFileName);
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/CreatePropertyFunctionsforCamera/CreatePropertyFunctionsforCamera/templates/icpropertiescpp.tpl:
--------------------------------------------------------------------------------
1 | // Include this file into your source code:
2 | // Example:
3 | // #include "icproperties.h"
4 | //
5 | // Example for setting a property ("Hue"):
6 | /*
7 | try
8 | {
9 | ICProperties::Gain_Auto(&m_Grabber, false);
10 | ICProperties::Exposure_Auto(&m_Grabber, false);
11 | ICProperties::GainAbs(&m_Grabber, 0.0);
12 | double e = ICProperties::ExposureAbs(&m_Grabber);
13 | ICProperties::ExposureAbs(&m_Grabber,0.01);
14 | ICProperties::WhiteBalance_Auto(&m_Grabber, false);
15 | ICProperties::WhiteBalance_Blue(&m_Grabber, 10);
16 | ICProperties::WhiteBalance_One_Push(&m_Grabber);
17 |
18 | std::vector wbpresets;
19 |
20 | wbpresets = ICProperties::WhiteBalance_Auto_Preset_GetStringsW(&m_Grabber );
21 | }
22 | catch (ICPropertyException ICPropex)
23 | {
24 | MessageBoxA(NULL, ICPropex.what(), "Property Error", MB_OK);
25 | }
26 | */
27 |
28 | #ifndef __ICPROPERTIES__
29 | #define __ICPROPERTIES__
30 |
31 | #include
32 | #include "tisudshl.h"
33 | #include
34 |
35 | // C# Implemention of camera properties
36 |
37 | class ICPropertyException : public std::runtime_error
38 | {
39 | public:
40 | ICPropertyException(std::string const& msg) :
41 | std::runtime_error(msg)
42 | {}
43 | };
44 |
45 | class ICProperties
46 | {
47 | public:
48 | #code#
49 | };
50 |
51 | #endif //__ICPROPERTIES__
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/CreatePropertyFunctionsforCamera/CreatePropertyFunctionsforCamera/templates/icpropertiescs.tpl:
--------------------------------------------------------------------------------
1 | using TIS.Imaging;
2 | using System;
3 | // C# Implemention of camera properties
4 | class ICProperties
5 | {
6 | #code#
7 | }
8 |
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/CreatePropertyFunctionsforCamera/CreatePropertyFunctionsforCamera/templates/icpropertiesvb.tpl:
--------------------------------------------------------------------------------
1 | Imports TIS.Imaging
2 | Imports System
3 | ' VB.NET Implemention of camera properties
4 | Public Module ICProperties
5 | #code#
6 | End Module
7 |
--------------------------------------------------------------------------------
/Create Camera Properties Source Code/vs-icproperties.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Create Camera Properties Source Code/vs-icproperties.png
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/VIs/IC_Buffer_to_Picture.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/VIs/IC_Buffer_to_Picture.vi
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/VIs/ImageAvailableEventHandler.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/VIs/ImageAvailableEventHandler.vi
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/VIs/ImageAvailalbeMain.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/VIs/ImageAvailalbeMain.vi
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/ia-create-event-vi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/ia-create-event-vi.png
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/ia-main-complete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/ia-main-complete.png
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/ia-register-callback.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/ia-register-callback.png
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/ia-select-event.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/ia-select-event.png
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/ia-start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/ia-start.png
--------------------------------------------------------------------------------
/LabVIEW/ImageAvailable-Event/ia_event-handler.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/ImageAvailable-Event/ia_event-handler.png
--------------------------------------------------------------------------------
/LabVIEW/OverlayBitmap/OverlayBitmap.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/OverlayBitmap/OverlayBitmap.vi
--------------------------------------------------------------------------------
/LabVIEW/OverlayBitmap/OverlayBitmap1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/OverlayBitmap/OverlayBitmap1.png
--------------------------------------------------------------------------------
/LabVIEW/OverlayBitmap/OverlayBitmap2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/OverlayBitmap/OverlayBitmap2.png
--------------------------------------------------------------------------------
/LabVIEW/OverlayBitmap/README.md:
--------------------------------------------------------------------------------
1 | # Overlay Bitmap
2 | ## OverlayBitmap.vi
3 | This very simple VI shows how to draw a yellow line on the live video.
4 |
5 | 
6 |
7 | 
8 |
9 | The `OverlayBitmap` object is a property of `IC Imaging Control` and invoked by a property node. The `OvererlayBitmap` must be enabled by passing `True` to its property [Enable](https://www.theimagingsource.com/support/documentation/ic-imaging-control-activex/prop_descOverlayBitmap_Enable.htm). In the sample the [drawLine](https://www.theimagingsource.com/support/documentation/ic-imaging-control-activex/meth_descOverlayBitmap_DrawLine.htm) method is used. The `RGBtoColor.vi` converts the values for red, blue and green to the color value used by the `OverlayBitmap` drawing methods.
10 |
11 | The complete documentation of the OverlayBitmap can be found at
12 | [OverlayBitmap](https://www.theimagingsource.com/support/documentation/ic-imaging-control-activex/OverlayBitmap.htm).
13 |
14 |
15 |
--------------------------------------------------------------------------------
/LabVIEW/OverlayBitmap/RGBtoColor.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/OverlayBitmap/RGBtoColor.vi
--------------------------------------------------------------------------------
/LabVIEW/SimpleGrabbing/README.md:
--------------------------------------------------------------------------------
1 | # Simple Grabbing
2 | ## Simplegrab.vi
3 | This very simple VI shows how to to grab an image from the camera and show it in a LabVIEW PictureBox
4 |
5 |
6 | 
7 |
8 | 
9 |
10 | ## Reqirements:
11 | * National Instruments LabVIEW 2010 or higher
12 | * IC Imaging Control LabVIEW Extension
13 | * The Imaging Source camera.
14 |
15 | ## Comment
16 | Instead of the "IC_OpenDevice.vi", this sample uses the "RestoreDevice.vi". (I have the suspect, the IC_OpenDevice.vi uses ICY8 instead of ICY800, if a monochrome image shall be saved.)
17 |
--------------------------------------------------------------------------------
/LabVIEW/SimpleGrabbing/simplegrab.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/SimpleGrabbing/simplegrab.vi
--------------------------------------------------------------------------------
/LabVIEW/SimpleGrabbing/simplegrab1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/SimpleGrabbing/simplegrab1.png
--------------------------------------------------------------------------------
/LabVIEW/SimpleGrabbing/simplegrab2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/SimpleGrabbing/simplegrab2.png
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/Create Device XML/CreateDeviceXML.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/Using 16bit Pixelformat/Create Device XML/CreateDeviceXML.exe
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/Create Device XML/tis_udshl12.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/Using 16bit Pixelformat/Create Device XML/tis_udshl12.dll
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/OpenY16DeviceByXML.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/Using 16bit Pixelformat/OpenY16DeviceByXML.vi
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/README.md:
--------------------------------------------------------------------------------
1 | # Using Y16 16bit Gray Scale
2 | ## Y16byDeviceXML.vi
3 | This VI shows how to use the `OpenY16DeviceByXML.vi` for opening a device with Y16 video format using a previously created device state xml file. The xml file is created by the program `CreateDeviceXML.exe` in the subdirectory `Create Device XML`.
4 |
5 | The `Y16byDeviceXML.vi` handles Y16 video format only. All other video formats will lead to a `start live failed` error, because there is no conversion into Y16 pixel formats in IC Imaging Control.
6 |
7 | ## Reqirements:
8 | * National Instruments LabVIEW 2010 or higher
9 | * IC Imaging Control LabVIEW Extension
10 | * The Imaging Source camera.
11 |
12 | ## Create a device state xml
13 | 
14 |
15 | Start the program `CreateDeviceXML.exe` and configure the camera accordingly. Click the "File" and select "Save Configuration" in order to save the device state. (The zoom level is not saved!
16 |
17 | Of course this program can be used for creating device state xml files with color formats for use with other programs which load such an configuration file. Not only LabVIEW, but also other IC Imaging Control using programs. )
18 |
19 | ## Load in LabVIEW
20 | 
21 |
22 | 
23 |
24 | A file open dialog is used for selecting the above saved file. Please note, the `OpenY16DeviceByXML.vi` is a newer version, than the one provided with the IC LabVIEW Extension.
25 |
26 |
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/Y16byDeviceXML.vi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/Using 16bit Pixelformat/Y16byDeviceXML.vi
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/blockdiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/Using 16bit Pixelformat/blockdiagram.png
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/frontpanel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/Using 16bit Pixelformat/frontpanel.png
--------------------------------------------------------------------------------
/LabVIEW/Using 16bit Pixelformat/xmlcreator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/LabVIEW/Using 16bit Pixelformat/xmlcreator.png
--------------------------------------------------------------------------------
/Python/README.md:
--------------------------------------------------------------------------------
1 | # Python samples for Windows
2 |
3 | The "tisgrabber" contains a new approach for using the tisgrabber.dll with ctypes module.
4 | There is also a preliminary tutorial in the "documentation" directory.
5 |
6 | Please use this approach. Instead of git cloning you can download the "tisgrabber.zip" file, it contains all necessary files.
7 |
--------------------------------------------------------------------------------
/Python/tisgrabber/README.md:
--------------------------------------------------------------------------------
1 | The "documentation" directory contains a tutorial. Start with "index.html"
2 |
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation-source/index.rst:
--------------------------------------------------------------------------------
1 | .. Python tisgrabber Tutorial documentation master file, created by
2 | sphinx-quickstart on Fri Oct 8 11:52:22 2021.
3 | You can adapt this file completely to your liking, but it should at least
4 | contain the root `toctree` directive.
5 |
6 | Welcome to Python tisgrabber
7 | ======================================================
8 | Overview
9 | --------
10 |
11 | .. toctree::
12 | :maxdepth: 4
13 |
14 | tutorial.rst
15 |
16 |
17 | Indices and tables
18 | ==================
19 |
20 | * :ref:`genindex`
21 | * :ref:`modindex`
22 | * :ref:`search`
23 |
24 | .. index::
25 |
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation-source/tutorial.rst:
--------------------------------------------------------------------------------
1 |
2 | ########
3 | Tutorial
4 | ########
5 |
6 | This tutorial shows how to get started with Python and the C-Wrapper DLL "tisgrabber".
7 | It needs Python 3 and Python ctypes being installed.
8 |
9 | The samples referenced in this tutorial can be found in the "samples" directory.
10 |
11 | Annotation: The use of the tisgrabber functions is similar in Python and C.
12 | Thus C programmers can use this tutorial too.
13 |
14 |
15 | .. toctree::
16 | :maxdepth: 3
17 | :caption: Step by Step:
18 |
19 | firststeps.rst
20 | devicehandling.rst
21 | properties.rst
22 | tisgrabberpy.rst
23 | images.rst
24 |
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/.buildinfo:
--------------------------------------------------------------------------------
1 | # Sphinx build info version 1
2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3 | config: 4fa0f63180252c7e23ffe4f40531bf10
4 | tags: 645f666f9bcd5a90fca523b33c5a78b7
5 |
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/_static/background_b01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/documentation/_static/background_b01.png
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/_static/bizstyle.js:
--------------------------------------------------------------------------------
1 | //
2 | // bizstyle.js
3 | // ~~~~~~~~~~~
4 | //
5 | // Sphinx javascript -- for bizstyle theme.
6 | //
7 | // This theme was created by referring to 'sphinxdoc'
8 | //
9 | // :copyright: Copyright 2012-2014 by Sphinx team, see AUTHORS.
10 | // :license: BSD, see LICENSE for details.
11 | //
12 | $(document).ready(function(){
13 | if (navigator.userAgent.indexOf('iPhone') > 0 ||
14 | navigator.userAgent.indexOf('Android') > 0) {
15 | $("li.nav-item-0 a").text("Top");
16 | }
17 |
18 | $("div.related:first ul li:not(.right) a").slice(1).each(function(i, item){
19 | if (item.text.length > 20) {
20 | var tmpstr = item.text
21 | $(item).attr("title", tmpstr);
22 | $(item).text(tmpstr.substr(0, 17) + "...");
23 | }
24 | });
25 | $("div.related:last ul li:not(.right) a").slice(1).each(function(i, item){
26 | if (item.text.length > 20) {
27 | var tmpstr = item.text
28 | $(item).attr("title", tmpstr);
29 | $(item).text(tmpstr.substr(0, 17) + "...");
30 | }
31 | });
32 | });
33 |
34 | $(window).resize(function(){
35 | if ($(window).width() <= 776) {
36 | $("li.nav-item-0 a").text("Top");
37 | }
38 | else {
39 | $("li.nav-item-0 a").text("Python tisgrabber Tutorial documentation");
40 | }
41 | });
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/_static/custom.css:
--------------------------------------------------------------------------------
1 | /* This file intentionally left blank. */
2 |
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/_static/documentation_options.js:
--------------------------------------------------------------------------------
1 | var DOCUMENTATION_OPTIONS = {
2 | URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3 | VERSION: '',
4 | LANGUAGE: 'None',
5 | COLLAPSE_INDEX: false,
6 | BUILDER: 'html',
7 | FILE_SUFFIX: '.html',
8 | LINK_SUFFIX: '.html',
9 | HAS_SOURCE: true,
10 | SOURCELINK_SUFFIX: '.txt',
11 | NAVIGATION_WITH_KEYS: false
12 | };
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/_static/file.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/documentation/_static/file.png
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/_static/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/documentation/_static/minus.png
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/_static/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/documentation/_static/plus.png
--------------------------------------------------------------------------------
/Python/tisgrabber/documentation/objects.inv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/documentation/objects.inv
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/01-Live-old.py:
--------------------------------------------------------------------------------
1 | '''
2 | This sample demonstrates, how to open a camera with the
3 | built in dialog and show a live video stream.
4 | Needed DLLs for 64 bit environment are
5 | - tisgrabber_x64.dll
6 | - TIS_UDSHL11_x64.dll
7 | '''
8 | import ctypes
9 |
10 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
11 |
12 | class HGRABBER(ctypes.Structure):
13 | '''
14 | This class is used to handle the pointer to the internal
15 | Grabber class, which contains the camera.
16 | A pointer to this class is used by tisgrabber DLL.
17 | '''
18 | _fields_ = [('unused', ctypes.c_int)]
19 |
20 |
21 | # Functions returning a HGRABBER Handle must set their restype to POINTER(HGRABBER)
22 | ic.IC_ShowDeviceSelectionDialog.restype = ctypes.POINTER(HGRABBER)
23 | ic.IC_ReleaseGrabber.argtypes = (ctypes.POINTER(ctypes.POINTER(HGRABBER)),)
24 |
25 | ic.IC_InitLibrary(0)
26 |
27 | hGrabber = ic.IC_ShowDeviceSelectionDialog(None)
28 |
29 | if( ic.IC_IsDevValid(hGrabber)):
30 | ic.IC_StartLive(hGrabber,1)
31 | ic.IC_MsgBox( "Click OK to stop".encode("utf-8"),"Simple Live Video".encode("utf-8"))
32 | ic.IC_StopLive(hGrabber)
33 | else:
34 | ic.IC_MsgBox("No device opened".encode("utf-8"), "Simple Live Video".encode("utf-8"),)
35 |
36 | ic.IC_ReleaseGrabber(hGrabber)
37 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/01-Live.py:
--------------------------------------------------------------------------------
1 | '''
2 | This sample demonstrates, how to open a camera with the
3 | built in device selection dialog and show a live video stream.
4 | Needed DLLs for 64 bit environment are
5 | - tisgrabber_x64.dll
6 | - TIS_UDSHL11_x64.dll
7 | - tisgrabber.py
8 | '''
9 | import ctypes
10 | import tisgrabber as tis
11 |
12 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
13 | tis.declareFunctions(ic)
14 |
15 | ic.IC_InitLibrary(0)
16 |
17 | hGrabber = ic.IC_ShowDeviceSelectionDialog(None)
18 |
19 | if(ic.IC_IsDevValid(hGrabber)):
20 | ic.IC_StartLive(hGrabber, 1)
21 | ic.IC_MsgBox(tis.T("Click OK to stop"), tis.T("Simple Live Video"))
22 | ic.IC_StopLive(hGrabber)
23 | else:
24 | ic.IC_MsgBox(tis.T("No device opened"), tis.T("Simple Live Video"))
25 |
26 | ic.IC_ReleaseGrabber(hGrabber)
27 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/02-open-manually.py:
--------------------------------------------------------------------------------
1 | '''
2 | This sample demonstrates, how to open a camera by its model name
3 | set a video format and frame rate and show a live video stream.
4 | Needed DLLs for 64 bit environment are
5 | - tisgrabber_x64.dll
6 | - TIS_UDSHL11_x64.dll
7 | '''
8 | import ctypes
9 | import tisgrabber as tis
10 |
11 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
12 | tis.declareFunctions(ic)
13 |
14 | ic.IC_InitLibrary(0)
15 |
16 | hGrabber = ic.IC_CreateGrabber()
17 |
18 | ic.IC_OpenVideoCaptureDevice(hGrabber, tis.T("DFK Z30GP031"))
19 |
20 | if(ic.IC_IsDevValid(hGrabber)):
21 | ic.IC_SetVideoFormat(hGrabber, tis.T("RGB32 (640x480)"))
22 | ic.IC_SetFrameRate(hGrabber, ctypes.c_float(30.0))
23 |
24 | ic.IC_StartLive(hGrabber, 1)
25 | ic.IC_MsgBox(tis.T("Click OK to stop"), tis.T("Simple Live Video"))
26 | ic.IC_StopLive(hGrabber)
27 | else:
28 | ic.IC_MsgBox(tis.T("No device opened"), tis.T("Simple Live Video"))
29 |
30 | ic.IC_ReleaseGrabber(hGrabber)
31 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/03-open-by-file.py:
--------------------------------------------------------------------------------
1 | """
2 | This sample shows, how to use a XML configuration file
3 | for opening a video capture device.
4 | """
5 |
6 | import ctypes
7 | import tisgrabber as tis
8 |
9 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
10 | tis.declareFunctions(ic)
11 |
12 | ic.IC_InitLibrary(0)
13 |
14 | hGrabber = ic.IC_CreateGrabber()
15 |
16 | ic.IC_OpenVideoCaptureDevice(hGrabber,"DFK 33GR0521".encode("utf-8"))
17 |
18 | if( ic.IC_IsDevValid(hGrabber)):
19 | ic.IC_SetVideoFormat(hGrabber, "RGB32 (640x480)".encode("utf-8"))
20 | ic.IC_SetFrameRate(hGrabber, ctypes.c_float( 30.0))
21 |
22 | ic.IC_StartLive(hGrabber,1)
23 | ic.IC_MsgBox( "Click OK to stop".encode("utf-8"),"Simple Live Video".encode("utf-8"))
24 | ic.IC_StopLive(hGrabber)
25 | else:
26 | ic.IC_MsgBox("No device opened".encode("utf-8"), "Simple Live Video".encode("utf-8"),)
27 |
28 | ic.IC_ReleaseGrabber(hGrabber)
29 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/03-save-to-file.py:
--------------------------------------------------------------------------------
1 | """
2 | This sample shows, how to create an XML configuration file
3 | for a video capture device.
4 | """
5 |
6 | import ctypes
7 | import tisgrabber as tis
8 |
9 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
10 | tis.declareFunctions(ic)
11 |
12 | ic.IC_InitLibrary(0)
13 |
14 | hGrabber = ic.IC_ShowDeviceSelectionDialog(None)
15 |
16 | if(ic.IC_IsDevValid(hGrabber)):
17 | ic.IC_SaveDeviceStateToFile(hGrabber, tis.T("device.xml"))
18 | else:
19 | ic.IC_MsgBox(tis.T("No device opened"), tis.T("Simple Live Video"))
20 |
21 | ic.IC_ReleaseGrabber(hGrabber)
22 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/04-list-properties.py:
--------------------------------------------------------------------------------
1 | import ctypes
2 | import tisgrabber as tis
3 |
4 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
5 | tis.declareFunctions(ic)
6 |
7 | ic.IC_InitLibrary(0)
8 |
9 | hGrabber = ic.IC_ShowDeviceSelectionDialog(None)
10 |
11 | if(ic.IC_IsDevValid(hGrabber)):
12 | ic.IC_printItemandElementNames(hGrabber)
13 | else:
14 | print("No device opened.")
15 |
16 | ic.IC_ReleaseGrabber(hGrabber)
17 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/06-list-devices.py:
--------------------------------------------------------------------------------
1 | """
2 | This sample shows, how to get a list of connected
3 | video capture devices.
4 | In the commented section is shown, how to use grabber
5 | objects in an array and how to open them all in a
6 | loop.
7 | """
8 |
9 | import ctypes
10 | import tisgrabber as tis
11 |
12 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
13 | tis.declareFunctions(ic)
14 |
15 | ic.IC_InitLibrary(0)
16 | devicecount = ic.IC_GetDeviceCount()
17 | grabbers = []
18 | for i in range(0, devicecount):
19 | print("Device {}".format(tis.D(ic.IC_GetDevice(i))))
20 | uniquename = tis.D(ic.IC_GetUniqueNamefromList(i))
21 | print("Unique Name : {}".format(uniquename))
22 |
23 | """
24 | # Uncomment this section, if you want to open all
25 | # video capture devices and show their live streams.
26 |
27 | g = ic.IC_CreateGrabber()
28 | ic.IC_OpenDevByUniqueName(g, tis.T(uniquename))
29 | grabbers.append(g)
30 |
31 | for grabber in grabbers:
32 | if(ic.IC_IsDevValid(grabber)):
33 | ic.IC_StartLive(grabber, 1)
34 |
35 | ic.IC_MsgBox(tis.T("Stop'em all!"), tis.T("Live Video"))
36 |
37 | for grabber in grabbers:
38 | if(ic.IC_IsDevValid(grabber)):
39 | ic.IC_StopLive(grabber)
40 |
41 | for grabber in grabbers:
42 | if(ic.IC_IsDevValid(grabber)):
43 | ic.IC_ReleaseGrabber(grabber)
44 |
45 | """
46 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/10-save-image.py:
--------------------------------------------------------------------------------
1 | import ctypes
2 | import tisgrabber as tis
3 |
4 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
5 |
6 | tis.declareFunctions(ic)
7 |
8 | ic.IC_InitLibrary(0)
9 |
10 | hGrabber = tis.openDevice(ic)
11 |
12 | if(ic.IC_IsDevValid(hGrabber)):
13 | ic.IC_StartLive(hGrabber, 1)
14 | key = ""
15 | while key != "q":
16 | print("s: Save an image")
17 | print("q: End program")
18 | key = input('Enter your choice:')
19 | if key == "s":
20 | if ic.IC_SnapImage(hGrabber, 2000) == tis.IC_SUCCESS:
21 | ic.IC_SaveImage(hGrabber, tis.T("test.jpg"),
22 | tis.ImageFileTypes['JPEG'], 90)
23 | print("Image saved.")
24 | else:
25 | print("No frame received in 2 seconds.")
26 |
27 | ic.IC_StopLive(hGrabber)
28 | else:
29 | ic.IC_MsgBox(tis.T("No device opened"), tis.T("Simple Live Video"))
30 |
31 | ic.IC_ReleaseGrabber(hGrabber)
32 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/15-list-codecs.py:
--------------------------------------------------------------------------------
1 | """
2 | This samples shows, how to list the avaialble codecs and save
3 | their names into a list.
4 | """
5 | import ctypes
6 | import tisgrabber as tis
7 |
8 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
9 | tis.declareFunctions(ic)
10 |
11 |
12 | def enumCodecCallback(codecname, userdata):
13 | """
14 | Callback for enumerating codecs
15 | :param codecname: Name of codec as byte array
16 | :param userdata: Python object, e.g a list for receiving the codec names
17 | :return: 0 for continuing, 1 for stopping the enumeration.
18 | """
19 | userdata.append(codecname.decode("utf-8"))
20 | return 0
21 |
22 |
23 | enumCodecCallbackfunc = ic.ENUMCODECCB(enumCodecCallback)
24 |
25 | ic.IC_InitLibrary(0)
26 | codecs = []
27 |
28 | ic.IC_enumCodecs(enumCodecCallbackfunc, codecs)
29 | print("Available Codecs:")
30 | for codec in codecs:
31 | print(codec)
32 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/30-read-GPIn.py:
--------------------------------------------------------------------------------
1 | import ctypes
2 | import tisgrabber as tis
3 | import time
4 |
5 | ic = ctypes.cdll.LoadLibrary("./tisgrabber_x64.dll")
6 | tis.declareFunctions(ic)
7 |
8 | ic.IC_InitLibrary(0)
9 |
10 | hGrabber = ic.IC_CreateGrabber()
11 |
12 | ic.IC_OpenVideoCaptureDevice(hGrabber,tis.T("DMK 33UX290"))
13 |
14 | if ic.IC_IsDevValid(hGrabber):
15 | inn = ctypes.c_long()
16 | while True:
17 | ic.IC_PropertyOnePush(hGrabber,tis.T("GPIO"),tis.T("Read") )
18 | ic.IC_GetPropertyValue(hGrabber,tis.T("GPIO"),tis.T("GP In"),inn )
19 | print( inn.value )
20 | time.sleep(1)
21 |
22 |
23 | else:
24 | ic.IC_MsgBox(tis.T("No device opened"), tis.T("Simple Live Video"))
25 |
26 | ic.IC_ReleaseGrabber(hGrabber)
27 |
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/TIS_UDSHL11.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/samples/TIS_UDSHL11.dll
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/TIS_UDSHL11_x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/samples/TIS_UDSHL11_x64.dll
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/tisgrabber.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/samples/tisgrabber.dll
--------------------------------------------------------------------------------
/Python/tisgrabber/samples/tisgrabber_x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/samples/tisgrabber_x64.dll
--------------------------------------------------------------------------------
/Python/tisgrabber/tisgrabber.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/Python/tisgrabber/tisgrabber.chm
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # IC-Imaging-Control-Samples
2 | In this repository we will add time by time simple sample source codes for IC Imaging Control Classlibrary in "cpp", .NET, LabVIEW and Python for Windows
3 |
4 | # The Imaging Source FAQ
5 | The FAQ can be found at https://github.com/TheImagingSource/IC-Imaging-Control-Samples/wiki
6 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/DFGHDMI.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30413.136
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DFGHDMI", "DFGHDMI\DFGHDMI.csproj", "{7B653F09-E9FF-4E4A-BDE9-78E3BEDB10DF}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {7B653F09-E9FF-4E4A-BDE9-78E3BEDB10DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {7B653F09-E9FF-4E4A-BDE9-78E3BEDB10DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {7B653F09-E9FF-4E4A-BDE9-78E3BEDB10DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {7B653F09-E9FF-4E4A-BDE9-78E3BEDB10DF}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {392A22E5-1A33-42FA-AAB4-CB5B4E76689F}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/DFGHDMI/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/DFGHDMI/IC.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/DFGHDMI/DFGHDMI/IC.ico
--------------------------------------------------------------------------------
/c#/DFGHDMI/DFGHDMI/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace DFGHDMI
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/DFGHDMI/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("DFGHDMI")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("DFGHDMI")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("7b653f09-e9ff-4e4a-bde9-78e3bedb10df")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/DFGHDMI/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DFGHDMI.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/DFGHDMI/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/README.md:
--------------------------------------------------------------------------------
1 | # DFG/HDMI Programming Sample
2 |
3 | This C# programming example shows how to set the video format of the [DFG/HDMI](https://www.theimagingsource.com/products/converters-grabbers/hdmi-to-usb-converters/dfghdmi/) video converter automatically to the input format of the HDMI source.
4 |
5 | 
6 |
7 | The image shows the HDMI output of a TX Nano converted on a Windows computer.
8 |
9 | Required:
10 | * The Imaging Source [DFG/HDMI](https://www.theimagingsource.com/products/converters-grabbers/hdmi-to-usb-converters/dfghdmi/)
11 | * [Driver](https://www.theimagingsource.com/support/downloads-for-windows/device-drivers/icwdmuvccamtis33u/) for DFG/HDMI
12 | * [IC Imaging Control 3.5 .NET](https://www.theimagingsource.com/support/downloads-for-windows/software-development-kits-sdks/icimagingcontrolcsharp/)
13 |
--------------------------------------------------------------------------------
/c#/DFGHDMI/hdmi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/DFGHDMI/hdmi.png
--------------------------------------------------------------------------------
/c#/Display Image Processing Result in Overlay/Display Result in Overlay.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.645
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Display Result in Overlay", "Display Result in Overlay\Display Result in Overlay.csproj", "{5CE902DD-5118-4C9B-8305-78EBEDF951DC}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x64.ActiveCfg = Debug|x64
17 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x64.Build.0 = Debug|x64
18 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x86.ActiveCfg = Debug|x86
19 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x86.Build.0 = Debug|x86
20 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x64.ActiveCfg = Release|x64
21 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x64.Build.0 = Release|x64
22 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x86.ActiveCfg = Release|x86
23 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x86.Build.0 = Release|x86
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {566F95B3-5219-447C-B8FD-A92B968703D3}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/c#/Display Image Processing Result in Overlay/Display Result in Overlay/IC.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Display Image Processing Result in Overlay/Display Result in Overlay/IC.ico
--------------------------------------------------------------------------------
/c#/Display Image Processing Result in Overlay/Display Result in Overlay/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace Display_Result_in_Overlay
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// The main entry point for the application.
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new Form1());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/c#/Display Image Processing Result in Overlay/Display Result in Overlay/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Display_Result_in_Overlay")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Company")]
12 | [assembly: AssemblyProduct("Display_Result_in_Overlay")]
13 | [assembly: AssemblyCopyright("Copyright ©")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("3ffd6a9a-2fa4-4bc1-a358-10ff39895cf4")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Display Image Processing Result in Overlay/Display Result in Overlay/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Display_Result_in_Overlay.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/c#/Display Image Processing Result in Overlay/Display Result in Overlay/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/Build Pixelfix.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29905.134
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build Pixelfix", "Build Pixelfix\Build Pixelfix.csproj", "{5CE902DD-5118-4C9B-8305-78EBEDF951DC}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x64.ActiveCfg = Debug|x64
17 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x64.Build.0 = Debug|x64
18 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x86.ActiveCfg = Debug|x86
19 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x86.Build.0 = Debug|x86
20 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x64.ActiveCfg = Release|x64
21 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x64.Build.0 = Release|x64
22 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x86.ActiveCfg = Release|x86
23 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x86.Build.0 = Release|x86
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {825CDC91-1E69-4C1F-9076-4707B163F453}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/Build Pixelfix/IC.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/Build Pixelfix/Build Pixelfix/IC.ico
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/Build Pixelfix/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace Build_Pixelfix
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// The main entry point for the application.
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new Form1());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/Build Pixelfix/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Build_Pixelfix")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Company")]
12 | [assembly: AssemblyProduct("Build_Pixelfix")]
13 | [assembly: AssemblyCopyright("Copyright ©")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("3ffd6a9a-2fa4-4bc1-a358-10ff39895cf4")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/Build Pixelfix/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Build_Pixelfix.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/Build Pixelfix/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/FirstStart.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/Build Pixelfix/FirstStart.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/FixedImage.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/Build Pixelfix/FixedImage.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/GoodSettings.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/Build Pixelfix/GoodSettings.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/MessageBox.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/Build Pixelfix/MessageBox.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/Build Pixelfix/SelectDevice.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/Build Pixelfix/SelectDevice.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/AfterFix.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/AfterFix.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/BeforeFix.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/BeforeFix.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/DeviceDialog.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/DeviceDialog.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FirstStart.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FirstStart.PNG
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FrameFilter Pixelfix.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29905.134
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrameFilter Pixelfix", "FrameFilter Pixelfix\FrameFilter Pixelfix.csproj", "{5CE902DD-5118-4C9B-8305-78EBEDF951DC}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x64.ActiveCfg = Debug|x64
17 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x64.Build.0 = Debug|x64
18 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x86.ActiveCfg = Debug|x86
19 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Debug|x86.Build.0 = Debug|x86
20 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x64.ActiveCfg = Release|x64
21 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x64.Build.0 = Release|x64
22 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x86.ActiveCfg = Release|x86
23 | {5CE902DD-5118-4C9B-8305-78EBEDF951DC}.Release|x86.Build.0 = Release|x86
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {C212CEAF-8C12-4266-AC9A-4364F708B448}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FrameFilter Pixelfix/IC.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FrameFilter Pixelfix/IC.ico
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FrameFilter Pixelfix/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace FrameFilter_Pixelfix
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// The main entry point for the application.
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new Form1());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FrameFilter Pixelfix/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("FrameFilter_Pixelfix")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Company")]
12 | [assembly: AssemblyProduct("FrameFilter_Pixelfix")]
13 | [assembly: AssemblyCopyright("Copyright ©")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("3ffd6a9a-2fa4-4bc1-a358-10ff39895cf4")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FrameFilter Pixelfix/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace FrameFilter_Pixelfix.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/FrameFilter Pixelfix/FrameFilter Pixelfix/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/Frame Filter Pixelfix/README.md:
--------------------------------------------------------------------------------
1 | # Hot Pixel Correction
2 | This sample shows how to implement a simple Hot Pixel Correction in a C# program. The basic idea is using a frame filter, that loads a file with hot pixel coordinates and then overwrites these hot pixels with the neighbor pixel values.
3 | The smaple consists of two programs:
4 |
5 | * Build Pixelfix
6 |
7 | This Program creates a file for a camera with the coordinates of the hot pixels
8 |
9 | * FrameFilter Pixelfix
10 |
11 | This Program shows, how to use the Pixefix-Framefilter in an own program with the above created list of hot pixels.
12 |
--------------------------------------------------------------------------------
/c#/IC in WPF/ICWPF/ICWPF.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICWPF_VideoWindow", "ICWPF_VideoWindow\ICWPF_VideoWindow.csproj", "{8AB25005-DF96-45F2-8BA3-6F6368B3C2F7}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {8AB25005-DF96-45F2-8BA3-6F6368B3C2F7}.Debug|x86.ActiveCfg = Debug|x86
13 | {8AB25005-DF96-45F2-8BA3-6F6368B3C2F7}.Debug|x86.Build.0 = Debug|x86
14 | {8AB25005-DF96-45F2-8BA3-6F6368B3C2F7}.Release|x86.ActiveCfg = Release|x86
15 | {8AB25005-DF96-45F2-8BA3-6F6368B3C2F7}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/c#/IC in WPF/ICWPF/ICWPF_VideoWindow/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/c#/IC in WPF/ICWPF/ICWPF_VideoWindow/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace ICWPF_VideoWindow
9 | {
10 | ///
11 | /// Interaction logic for App.xaml
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/c#/IC in WPF/ICWPF/ICWPF_VideoWindow/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/c#/IC in WPF/ICWPF/ICWPF_VideoWindow/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.1
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ICWPF_VideoWindow.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/c#/IC in WPF/ICWPF/ICWPF_VideoWindow/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/c#/IC in WPF/ICWPF/ICWPF_VideoWindow/VideoWindow.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
12 |
13 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/c#/IC in WPF/README.md:
--------------------------------------------------------------------------------
1 | # IC Imaging Control in a WDF Project
2 |
3 | This C# sample shows how to use IC Imaging Control 3.5 in a WPF project. The live video is rendered in a WPF user control.
4 |
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/IC.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Image And AVI Capture/Image And AVI Capture/IC.ico
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace Image_And_AVI_Capture
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// The main entry point for the application.
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new Form1());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Image_And_AVI_Capture")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Company")]
12 | [assembly: AssemblyProduct("Image_And_AVI_Capture")]
13 | [assembly: AssemblyCopyright("Copyright ©")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("3ffd6a9a-2fa4-4bc1-a358-10ff39895cf4")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Image_And_AVI_Capture.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/SaveImageFrameFilter32.ftf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Image And AVI Capture/Image And AVI Capture/SaveImageFrameFilter32.ftf
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/SaveImageFrameFilter64.ftf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Image And AVI Capture/Image And AVI Capture/SaveImageFrameFilter64.ftf
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/tis_udshl12.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Image And AVI Capture/Image And AVI Capture/tis_udshl12.dll
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/Image And AVI Capture/tis_udshl12_x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Image And AVI Capture/Image And AVI Capture/tis_udshl12_x64.dll
--------------------------------------------------------------------------------
/c#/Image And AVI Capture/README.md:
--------------------------------------------------------------------------------
1 | # Image and Video Capture
2 |
3 | This C# programming example demonstrates how to capture a video file and images in parallel.
4 |
5 | ## Introduction
6 | If a [MediastreamSink](https://www.theimagingsource.com/support/documentation/ic-imaging-control-net/MediaStreamSink.htm) is in use, it is not possible to have a callback for image saving in parallel.
7 | Therefore, for image saving a [FrameFilter](https://www.theimagingsource.com/support/documentation/ic-imaging-control-net/FrameFilter.htm) is used.
8 | This sample shows, how to do that.
9 |
10 | ## Requisites
11 | * IC Imaging Control 3.5
12 |
--------------------------------------------------------------------------------
/c#/Import IC Capture Configuration/README.md.bak:
--------------------------------------------------------------------------------
1 | # Colored Overlay in Display Path
2 |
3 | This sample shows
4 | - how to place an OverlayBitmap into display path and draw graphcis in it
5 | - how to force the OverlayBitmap to color if the camera's video format is grey scale
6 |
7 |
8 | The sampled needs IC Imaging Control 3.4 installed and minimum Visual Studio 2010 C++
9 |
--------------------------------------------------------------------------------
/c#/Import IC Capture Configuration/SelectDeviceDlg.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace ICCFImport
11 | {
12 | public partial class SelectDeviceDlg : Form
13 | {
14 | public string Selected
15 | {
16 | get
17 | {
18 | return lbDevices.Items[lbDevices.SelectedIndex].ToString();
19 | }
20 | }
21 | public SelectDeviceDlg(string ICCFFileName)
22 | {
23 | InitializeComponent();
24 | List Devices = ICCFImport.GetDeviceList(ICCFFileName);
25 |
26 | foreach (string dev in Devices)
27 | {
28 | lbDevices.Items.Add(dev);
29 | }
30 | lbDevices.SelectedIndex = 0;
31 | }
32 |
33 | private void SelectDeviceDlg_Load(object sender, EventArgs e)
34 | {
35 |
36 | }
37 |
38 | private void btnOK_Click(object sender, EventArgs e)
39 | {
40 |
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CaptureImageSequence1", "CaptureImageSequence1\CaptureImageSequence1.csproj", "{4B28180E-71E5-4D39-97AD-563686F3427A}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x64 = Debug|x64
9 | Debug|x86 = Debug|x86
10 | Release|x64 = Release|x64
11 | Release|x86 = Release|x86
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Debug|x64.ActiveCfg = Debug|x64
15 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Debug|x64.Build.0 = Debug|x64
16 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Debug|x86.ActiveCfg = Debug|x86
17 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Debug|x86.Build.0 = Debug|x86
18 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Release|x64.ActiveCfg = Release|x64
19 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Release|x64.Build.0 = Release|x64
20 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Release|x86.ActiveCfg = Release|x86
21 | {4B28180E-71E5-4D39-97AD-563686F3427A}.Release|x86.Build.0 = Release|x86
22 | EndGlobalSection
23 | GlobalSection(SolutionProperties) = preSolution
24 | HideSolutionNode = FALSE
25 | EndGlobalSection
26 | EndGlobal
27 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1.suo
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 |
5 | namespace CaptureImageSequence1
6 | {
7 | static class Program
8 | {
9 | ///
10 | /// The main entry point for the application.
11 | ///
12 | [STAThread]
13 | static void Main()
14 | {
15 | Application.EnableVisualStyles();
16 | Application.SetCompatibleTextRenderingDefault(false);
17 | Application.Run(new Form1());
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("CaptureImageSequence1")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("CaptureImageSequence1")]
13 | [assembly: AssemblyCopyright("Copyright © 2007")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("b4c031ce-5b05-4c2b-bed9-4a8b7cf04c63")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.18444
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace CaptureImageSequence1.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.exe
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.pdb
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.vshost.exe
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/bin/x64/Debug/CaptureImageSequence1.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.Form1.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.Form1.resources
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.Properties.Resources.resources
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\bin\x64\Debug\CaptureImageSequence1.exe.config
2 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\bin\x64\Debug\CaptureImageSequence1.exe
3 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\bin\x64\Debug\CaptureImageSequence1.pdb
4 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\obj\x64\Debug\CaptureImageSequence1.csprojResolveAssemblyReference.cache
5 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\obj\x64\Debug\CaptureImageSequence1.Form1.resources
6 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\obj\x64\Debug\CaptureImageSequence1.Properties.Resources.resources
7 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\obj\x64\Debug\CaptureImageSequence1.csproj.GenerateResource.Cache
8 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\obj\x64\Debug\CaptureImageSequence1.exe
9 | d:\Source\samples\IC-Imaging-Control-Samples (GitHub Desktop)\c#\Iterate an Image Sequence\CaptureImageSequence1\obj\x64\Debug\CaptureImageSequence1.pdb
10 |
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.exe
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/CaptureImageSequence1.pdb
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/CaptureImageSequence1/obj/x64/Debug/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/c#/Iterate an Image Sequence/img/sequence.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Iterate an Image Sequence/img/sequence.gif
--------------------------------------------------------------------------------
/c#/Open GigE Camera by IP Address/IPConfigAPI/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/c#/Open GigE Camera by IP Address/IPConfigAPI/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("IPConfigAPI")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("IPConfigAPI")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("6280487e-b0d5-48d7-bfe5-5dbd55e4e5dd")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // übernehmen, indem Sie "*" eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Open GigE Camera by IP Address/IPConfigAPI/ipconfig_api_win32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Open GigE Camera by IP Address/IPConfigAPI/ipconfig_api_win32.dll
--------------------------------------------------------------------------------
/c#/Open GigE Camera by IP Address/IPConfigAPI/ipconfig_api_x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/c#/Open GigE Camera by IP Address/IPConfigAPI/ipconfig_api_x64.dll
--------------------------------------------------------------------------------
/c#/Polarization-Demo/DoLP Segmentation/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/DoLP Segmentation/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace DoLPSegmentation
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// The main entry point for the application.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | Application.EnableVisualStyles();
15 | Application.SetCompatibleTextRenderingDefault(false);
16 | Application.Run(new MainForm());
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/DoLP Segmentation/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("PolarizationDemo")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("PolarizationDemo")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("dac90140-4417-4068-bb85-7b853312a6e4")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/DoLP Segmentation/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DoLPSegmentation.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/DoLP Segmentation/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/MediaSubtypes.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera
4 | {
5 | static class MediaSubtypes
6 | {
7 | internal static Guid ADI1 = new Guid("31494441-0000-0010-8000-00AA00389B71");
8 | internal static Guid ADI2 = new Guid("32494441-0000-0010-8000-00AA00389B71");
9 | internal static Guid ADC1 = new Guid("31434441-0000-0010-8000-00AA00389B71");
10 | internal static Guid ADC2 = new Guid("32434441-0000-0010-8000-00AA00389B71");
11 | internal static Guid PPM1 = new Guid("314D5050-0000-0010-8000-00AA00389B71");
12 | internal static Guid PPM2 = new Guid("324D5050-0000-0010-8000-00AA00389B71");
13 | internal static Guid PPB1 = new Guid("31425050-0000-0010-8000-00AA00389B71");
14 | internal static Guid PPB2 = new Guid("32425050-0000-0010-8000-00AA00389B71");
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/ADC1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct ADC1
7 | {
8 | public byte AoLP;
9 | public byte DoLPRed;
10 | public byte DoLPGreen;
11 | public byte DoLPBlue;
12 | public byte IntensityRed;
13 | public byte IntensityGreen;
14 | public byte IntensityBlue;
15 | public byte Reserved;
16 |
17 | public static Guid MediaSubtype = MediaSubtypes.ADC1;
18 | }
19 | #pragma warning restore CS0649
20 | }
21 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/ADC2.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct ADC2
7 | {
8 | public ushort AoLP;
9 | public ushort DoLPRed;
10 | public ushort DoLPGreen;
11 | public ushort DoLPBlue;
12 | public ushort IntensityRed;
13 | public ushort IntensityGreen;
14 | public ushort IntensityBlue;
15 | public ushort Reserved;
16 |
17 | public static Guid MediaSubtype = MediaSubtypes.ADC2;
18 | }
19 | #pragma warning restore CS0649
20 | }
21 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/ADI1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct ADI1
7 | {
8 | public byte AoLP;
9 | public byte DoLP;
10 | public byte Intensity;
11 | public byte Reserved;
12 |
13 | public static Guid MediaSubtype = MediaSubtypes.ADI1;
14 | }
15 | #pragma warning restore CS0649
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/ADI2.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct ADI2
7 | {
8 | public ushort AoLP;
9 | public ushort DoLP;
10 | public ushort Intensity;
11 | public ushort Reserved;
12 |
13 | public static Guid MediaSubtype = MediaSubtypes.ADI2;
14 | }
15 | #pragma warning restore CS0649
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/PPB1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct PPB1
7 | {
8 | public byte P0;
9 | public byte P45;
10 | public byte P90;
11 | public byte P135;
12 |
13 | public static Guid MediaSubtype = MediaSubtypes.PPB1;
14 | }
15 | #pragma warning restore CS0649
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/PPB2.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct PPB2
7 | {
8 | public ushort P0;
9 | public ushort P45;
10 | public ushort P90;
11 | public ushort P135;
12 |
13 | public static Guid MediaSubtype = MediaSubtypes.PPB2;
14 | }
15 | #pragma warning restore CS0649
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/PPM1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct PPM1
7 | {
8 | public byte P0;
9 | public byte P45;
10 | public byte P90;
11 | public byte P135;
12 |
13 | public static Guid MediaSubtype = MediaSubtypes.PPM1;
14 | }
15 | #pragma warning restore CS0649
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/PPM2.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct PPM2
7 | {
8 | public ushort P0;
9 | public ushort P45;
10 | public ushort P90;
11 | public ushort P135;
12 |
13 | public static Guid MediaSubtype = MediaSubtypes.PPM2;
14 | }
15 | #pragma warning restore CS0649
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/PixelTypes/RGB32.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LibPolarizationCamera.PixelTypes
4 | {
5 | #pragma warning disable CS0649 // Field '' is never assigned to, and will always have its default value 0
6 | public struct RGB32
7 | {
8 | public byte Blue;
9 | public byte Green;
10 | public byte Red;
11 | public byte Reserved;
12 |
13 | public static Guid MediaSubtype = TIS.Imaging.MediaSubtypes.RGB32;
14 | }
15 | #pragma warning restore CS0649
16 | }
17 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("LibPolarizationCamera")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("LibPolarizationCamera")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("c2f5118c-a948-4791-a385-7e015cdbd549")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/LibPolarizationCamera/VCDGUIDs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace LibPolarizationCamera
8 | {
9 | public static class VCDGUIDs
10 | {
11 | public static Guid VCDID_PolarizationVisualizationMode = new Guid("15DD5A42-673C-468D-B1B8-059C114191DB");
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Polarization Planes/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Polarization Planes/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace PolarizationPlanes
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new MainForm());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Polarization Planes/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Polarization Planes")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Polarization Planes")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("efa03812-77c0-4727-ac1c-a1d9a7c20e87")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Polarization Planes/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace PolarizationPlanes.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Polarization Planes/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/README.md:
--------------------------------------------------------------------------------
1 | # Polarization Camera Demo
2 |
3 | This demo project shows how to use the The Imaging Source polarization cameras
4 | * DYK 33UX250
5 | * DYK 33GX250
6 | * DZK 33UX250
7 | * DZK 33GX250
8 |
9 | The project contains two demos:
10 |
11 | - DoLP Segmentation
12 | - This sample shows, how to visualize the degree of polarized light.
13 | - Visualization Modes
14 | - This demo shows, how to set he visualization modes programmatically
15 |
16 |
17 | The project "LibPolarizationCamera" contains an IC Imaging Control FrameFilter, that performs the image processing on the ADC1 and ACI1 pixel formats.
18 |
19 | The USB Polarization cameras needs a driver version 4.7 or higher. The GigE camera needs a driver version 3.6.0 or higher.
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Visualization Modes/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Visualization Modes/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace Visualization_Modes
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Visualization Modes/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Visualization Modes")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Visualization Modes")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("20c5311e-27f2-47a9-8f12-f368481e2e64")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Visualization Modes/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Visualization_Modes.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/c#/Polarization-Demo/Visualization Modes/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/c#/Softwaretrigger-Save-Image/SoftwareTrigger.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SoftwareTrigger", "SoftwareTrigger\SoftwareTrigger.csproj", "{EB48BEF5-F748-498C-8758-61983E8BF7A7}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {EB48BEF5-F748-498C-8758-61983E8BF7A7}.Debug|x86.ActiveCfg = Debug|x86
13 | {EB48BEF5-F748-498C-8758-61983E8BF7A7}.Debug|x86.Build.0 = Debug|x86
14 | {EB48BEF5-F748-498C-8758-61983E8BF7A7}.Release|x86.ActiveCfg = Release|x86
15 | {EB48BEF5-F748-498C-8758-61983E8BF7A7}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/c#/Softwaretrigger-Save-Image/SoftwareTrigger/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("SoftwareTrigger")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("SoftwareTrigger")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("309fc91c-c6bf-4580-a014-6cea9f20b6cf")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Trigger Example for Dynamic IC/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Trigger Example for Dynamic IC")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Trigger Example for Dynamic IC")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("7b735994-0cb7-42c6-a999-f8b896fccb53")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/c#/Trigger Example for Dynamic IC/Trigger Example for Dynamic IC.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Trigger Example for Dynamic IC", "Trigger Example for Dynamic IC.csproj", "{73E01518-7E42-49DF-ADF6-9BA3767181FA}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {73E01518-7E42-49DF-ADF6-9BA3767181FA}.Debug|x86.ActiveCfg = Debug|x86
13 | {73E01518-7E42-49DF-ADF6-9BA3767181FA}.Debug|x86.Build.0 = Debug|x86
14 | {73E01518-7E42-49DF-ADF6-9BA3767181FA}.Release|x86.ActiveCfg = Release|x86
15 | {73E01518-7E42-49DF-ADF6-9BA3767181FA}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/cpp/Color Overlay in Display Path/Color Overlay in Display Path.cpp:
--------------------------------------------------------------------------------
1 | // Color Overlay in Display Path.cpp :
2 | /*
3 | This sample demonstrates, how to place an Overlay Bitmap in Display path and
4 | also how to force color, even if the video format of the camera is grey scale.
5 | */
6 |
7 | #include "stdafx.h"
8 | #include
9 | #include "tisudshl.h"
10 | using namespace DShowLib;
11 |
12 | int _tmain(int argc, _TCHAR* argv[])
13 | {
14 | InitLibrary();
15 |
16 | atexit( ExitLibrary );
17 |
18 | Grabber grabber;
19 | grabber.showDevicePage(); // Select a video capture device
20 |
21 | if( grabber.isDevValid())
22 | {
23 | // Prepare the overlay, which must be done, before the live video is started.
24 | grabber.setOverlayBitmapPathPosition (ePP_DISPLAY);
25 |
26 | smart_ptr pOverlayBitmap = grabber.getOverlay(ePP_DISPLAY);
27 | pOverlayBitmap->setColorMode(OverlayBitmap::tOVBColorMode::eCOLOR);
28 | pOverlayBitmap->setEnable(true);
29 |
30 | grabber.startLive();
31 | //After the live video has been started, the overlay graphcis can be drawn.
32 | RECT rectangle;
33 | rectangle.left = 100;
34 | rectangle.right = 200;
35 | rectangle.top = 100;
36 | rectangle.bottom = 200;
37 | pOverlayBitmap->drawFrameRect(RGB(255, 0, 0), rectangle);
38 |
39 | printf("Press any key to end the video\n");
40 | _getch();
41 | grabber.stopLive();
42 | }
43 |
44 | return 0;
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/cpp/Color Overlay in Display Path/Color Overlay in Display Path.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Color Overlay in Display Path", "Color Overlay in Display Path.vcxproj", "{928CB4E6-EA8C-4895-942A-E937AB7F29FF}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Win32 = Debug|Win32
9 | Release|Win32 = Release|Win32
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {928CB4E6-EA8C-4895-942A-E937AB7F29FF}.Debug|Win32.ActiveCfg = Debug|Win32
13 | {928CB4E6-EA8C-4895-942A-E937AB7F29FF}.Debug|Win32.Build.0 = Debug|Win32
14 | {928CB4E6-EA8C-4895-942A-E937AB7F29FF}.Release|Win32.ActiveCfg = Release|Win32
15 | {928CB4E6-EA8C-4895-942A-E937AB7F29FF}.Release|Win32.Build.0 = Release|Win32
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/cpp/Color Overlay in Display Path/Color Overlay in Display Path.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | Header Files
23 |
24 |
25 | Header Files
26 |
27 |
28 |
29 |
30 | Source Files
31 |
32 |
33 | Source Files
34 |
35 |
36 |
--------------------------------------------------------------------------------
/cpp/Color Overlay in Display Path/README.md:
--------------------------------------------------------------------------------
1 | # Colored Overlay in Display Path
2 |
3 | This sample shows
4 | - how to place an OverlayBitmap into display path and draw graphcis in it
5 | - how to force the OverlayBitmap to color if the camera's video format is grey scale
6 |
7 |
8 | The sampled needs IC Imaging Control 3.4 installed and minimum Visual Studio 2010 C++
9 |
--------------------------------------------------------------------------------
/cpp/Color Overlay in Display Path/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // Color Overlay in Display Path.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/cpp/Color Overlay in Display Path/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #include
11 | #include
12 |
13 |
14 |
15 | // TODO: reference additional headers your program requires here
16 |
--------------------------------------------------------------------------------
/cpp/Color Overlay in Display Path/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled AVI Capture.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 12.00
2 | # Visual Studio 14
3 | VisualStudioVersion = 14.0.24720.0
4 | MinimumVisualStudioVersion = 10.0.40219.1
5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Input Controlled Camera", "Input Controlled Camera\Input Controlled Camera.vcxproj", "{260B421D-7A25-436B-9943-DE56822A6E0B}"
6 | EndProject
7 | Global
8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
9 | Debug|Win32 = Debug|Win32
10 | Release|Win32 = Release|Win32
11 | EndGlobalSection
12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
13 | {260B421D-7A25-436B-9943-DE56822A6E0B}.Debug|Win32.ActiveCfg = Debug|Win32
14 | {260B421D-7A25-436B-9943-DE56822A6E0B}.Debug|Win32.Build.0 = Debug|Win32
15 | {260B421D-7A25-436B-9943-DE56822A6E0B}.Release|Win32.ActiveCfg = Release|Win32
16 | {260B421D-7A25-436B-9943-DE56822A6E0B}.Release|Win32.Build.0 = Release|Win32
17 | EndGlobalSection
18 | GlobalSection(SolutionProperties) = preSolution
19 | HideSolutionNode = FALSE
20 | EndGlobalSection
21 | EndGlobal
22 |
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/Dialogs.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _DIALOGS_H_INC_
3 | #define _DIALOGS_H_INC_
4 |
5 | #ifdef DIALOGS_EXPORTS
6 | #define DIALOGS_API __declspec(dllexport)
7 | #else
8 | #define DIALOGS_API __declspec(dllimport)
9 | #endif
10 |
11 | #include
12 |
13 | DIALOGS_API smart_ptr<_DSHOWLIB_NAMESPACE::MediaStreamSink> showMediaStreamSinkDialog( smart_ptr<_DSHOWLIB_NAMESPACE::GrabberSinkType> pOldSink = 0, HWND hParent = 0 );
14 |
15 | struct tMediaStreamSinkDialogSettings
16 | {
17 | std::wstring fileName;
18 | _DSHOWLIB_NAMESPACE::MediaStreamSink::tCreateData sinkData;
19 |
20 | tMediaStreamSinkDialogSettings( const std::wstring& fn, const _DSHOWLIB_NAMESPACE::MediaStreamSink::tCreateData& cd )
21 | : fileName( fn ),
22 | sinkData( cd )
23 | {
24 | }
25 | };
26 |
27 | DIALOGS_API void showVideoCaptureDialog( _DSHOWLIB_NAMESPACE::Grabber& grabber, smart_ptr& pSettings = smart_ptr(), HWND hParent = 0 );
28 | DIALOGS_API void showVideoCaptureDialog( _DSHOWLIB_NAMESPACE::Grabber& grabber, HWND hParent = 0 );
29 |
30 |
31 | #endif
32 |
33 |
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/IniEx.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/cpp/Input Controlled AVI Capture/Input Controlled Camera/IniEx.cpp
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/InputControlledCamera.h:
--------------------------------------------------------------------------------
1 | // InputControlledCamera.h : main header file for the PROJECT_NAME application
2 | //
3 |
4 | #pragma once
5 |
6 | #ifndef __AFXWIN_H__
7 | #error include 'stdafx.h' before including this file for PCH
8 | #endif
9 |
10 | #include "resource.h" // main symbols
11 |
12 |
13 | // CInputControlledCameraApp:
14 | // See InputControlledCamera.cpp for the implementation of this class.
15 | //
16 |
17 | class CInputControlledCameraApp : public CWinApp
18 | {
19 | public:
20 | CInputControlledCameraApp();
21 |
22 | // Overrides
23 | public:
24 | virtual BOOL InitInstance();
25 |
26 | // Implementation
27 |
28 | DECLARE_MESSAGE_MAP()
29 | };
30 |
31 | extern CInputControlledCameraApp theApp;
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/res/InputControlledCamera.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/cpp/Input Controlled AVI Capture/Input Controlled Camera/res/InputControlledCamera.ico
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/res/InputControlledCamera.rc2:
--------------------------------------------------------------------------------
1 | //
2 | // DLGTEMPLATE.RC2 - resources Microsoft Visual C++ does not edit directly
3 | //
4 |
5 | #ifdef APSTUDIO_INVOKED
6 | #error this file is not editable by Microsoft Visual C++
7 | #endif //APSTUDIO_INVOKED
8 |
9 |
10 | /////////////////////////////////////////////////////////////////////////////
11 | // Add manually edited resources here...
12 |
13 | /////////////////////////////////////////////////////////////////////////////
14 |
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by InputControlledCamera.rc
4 | //
5 | #define IDM_ABOUTBOX 0x0010
6 | #define IDD_ABOUTBOX 100
7 | #define IDS_ABOUTBOX 101
8 | #define IDD_InputControlledCamera_DIALOG 102
9 | #define IDR_MAINFRAME 128
10 | #define IDC_STATICVIDEO 1000
11 | #define IDC_BUTTONDEVICE 1001
12 | #define IDC_BUTTONIMAGESETTINGS 1002
13 | #define IDC_BUTTONIMAGESETTINGS2 1003
14 | #define IDC_BUTTONLIVEVIDEO 1003
15 | #define IDC_STATICRECORDING 1004
16 | #define IDC_BUTTONDEVICE2 1005
17 | #define IDC_BUTTONAVISETTINGS 1005
18 | #define IDC_STATICCODEC 1006
19 | #define IDC_STATICFILENAME 1007
20 | #define IDC_CHECKPOLARITY 1008
21 | #define IDC_RADIOOPERATIONWHILESET 1009
22 | #define IDC_RADIOOPERATIONSIGNALS 1010
23 |
24 | // Next default values for new objects
25 | //
26 | #ifdef APSTUDIO_INVOKED
27 | #ifndef APSTUDIO_READONLY_SYMBOLS
28 | #define _APS_NEXT_RESOURCE_VALUE 130
29 | #define _APS_NEXT_COMMAND_VALUE 32771
30 | #define _APS_NEXT_CONTROL_VALUE 1010
31 | #define _APS_NEXT_SYMED_VALUE 101
32 | #endif
33 | #endif
34 |
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // DLGTEMPLATE.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 |
8 |
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input Controlled Camera/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently,
3 | // but are changed infrequently
4 |
5 | #pragma once
6 |
7 | #define _WIN32_WINNT 0x0501
8 |
9 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
10 |
11 | // turns off MFC's hiding of some common and often safely ignored warning messages
12 | #define _AFX_ALL_WARNINGS
13 |
14 | #include // MFC core and standard components
15 | #include // MFC extensions
16 | #include // MFC Automation classes
17 |
18 | #include // MFC support for Internet Explorer 4 Common Controls
19 | #ifndef _AFX_NO_AFXCMN_SUPPORT
20 | #include // MFC support for Windows Common Controls
21 | #endif // _AFX_NO_AFXCMN_SUPPORT
22 |
23 | #include // IC Imaging Control Class Library
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/Input_Controlled_AVI_Capture_setup.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/cpp/Input Controlled AVI Capture/Input_Controlled_AVI_Capture_setup.exe
--------------------------------------------------------------------------------
/cpp/Input Controlled AVI Capture/README.md:
--------------------------------------------------------------------------------
1 | # Input Controlled AVI Capture
2 | This sample shows how to start and stop AVI capture on state change on the General
3 | Purpose Input (also known as "Trigger" or "GP In") of The Imaging Source cameras.
4 |
5 | AVI Capture can be either on
6 | - two input changes (trigger pulses), one for start and one for stop
7 | - or last as long as the Input is to high.
8 |
9 | The sample contains
10 | - AVI Codec selection
11 | - AVI Codec property save and restore
12 | - automatic file name generation for video files.
13 | - camera setup
14 | - handling or the GP In property
15 |
16 | After an AVI file was captured and closed, the next is prepared. This
17 | reduces the delay between GP Input change and capture start.
18 |
19 | The program is as it is. If you find errors, you may fix them let me know about
20 | that fix.
21 |
22 | The program needs
23 | - IC Imaging Control 3.4
24 | - Visual Studio 2015 C++
25 |
26 | The compiled program is avaialble a setup in "Input_Controlled_AVI_Capture_setup.exe"
27 | The Inno Setup Script is "setup.iss".
28 |
29 | The CIniEx class was Posted by Koray Gecici on February 8th, 2000 at
30 | https://www.codeguru.com/cpp/data/data-misc/inifiles/article.php/c4561/CIniEx--Dynamic-INI-Class.htm
31 |
--------------------------------------------------------------------------------
/ic-3.5-Save Triggered Images/C# Save Triggered Image/Save Triggered Image.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.1433
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Save Triggered Image", "Save Triggered Image\Save Triggered Image.csproj", "{56D13555-C347-4836-BCD0-C92681B9A149}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x64 = Debug|x64
12 | Release|Any CPU = Release|Any CPU
13 | Release|x64 = Release|x64
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {56D13555-C347-4836-BCD0-C92681B9A149}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {56D13555-C347-4836-BCD0-C92681B9A149}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {56D13555-C347-4836-BCD0-C92681B9A149}.Debug|x64.ActiveCfg = Debug|x64
19 | {56D13555-C347-4836-BCD0-C92681B9A149}.Debug|x64.Build.0 = Debug|x64
20 | {56D13555-C347-4836-BCD0-C92681B9A149}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {56D13555-C347-4836-BCD0-C92681B9A149}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {56D13555-C347-4836-BCD0-C92681B9A149}.Release|x64.ActiveCfg = Release|x64
23 | {56D13555-C347-4836-BCD0-C92681B9A149}.Release|x64.Build.0 = Release|x64
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {D3F80240-8BCE-49D8-89F3-6E1325F93D84}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/ic-3.5-Save Triggered Images/C# Save Triggered Image/Save Triggered Image/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ic-3.5-Save Triggered Images/C# Save Triggered Image/Save Triggered Image/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("cmdline")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("cmdline")]
13 | [assembly: AssemblyCopyright("Copyright © 2021")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("56d13555-c347-4836-bcd0-c92681b9a149")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/ic-3.5-Save Triggered Images/C++ Save Triggered Image/Save Triggered Image.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 11.00
2 | # Visual Studio 2010
3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Save Triggered Image ", "Save Triggered Image/Save Triggered Image.vcxproj", "{3C3445B1-BE06-4A3A-B600-C7BB5F5FD248}"
4 | EndProject
5 | Global
6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
7 | Debug|Win32 = Debug|Win32
8 | Release|Win32 = Release|Win32
9 | EndGlobalSection
10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
11 | {3C3445B1-BE06-4A3A-B600-C7BB5F5FD248}.Debug|Win32.ActiveCfg = Debug|Win32
12 | {3C3445B1-BE06-4A3A-B600-C7BB5F5FD248}.Debug|Win32.Build.0 = Debug|Win32
13 | {3C3445B1-BE06-4A3A-B600-C7BB5F5FD248}.Release|Win32.ActiveCfg = Release|Win32
14 | {3C3445B1-BE06-4A3A-B600-C7BB5F5FD248}.Release|Win32.Build.0 = Release|Win32
15 | EndGlobalSection
16 | GlobalSection(SolutionProperties) = preSolution
17 | HideSolutionNode = FALSE
18 | EndGlobalSection
19 | EndGlobal
20 |
--------------------------------------------------------------------------------
/ic-3.5-Save Triggered Images/README.md:
--------------------------------------------------------------------------------
1 | # Save Images on Trigger Events
2 | ## Requisites
3 | * IC Imaging Control 3.5
4 | * C# or C++
5 | * The Imaging Source camera
6 |
7 | ## Description
8 | These very simple examples demonstrate, how to save an image when the camera was triggered. They use the `FrameQueueSink`'s callback functions, in which the images saving takes place.
9 |
10 | Please keep in mind, this can not be done with any speed and amount of images, because windows will flush its disc cache at some time. When the disc cache is flushed, no fames can be saved and maybe frames are lost. However, allocating enough buffers in the `FrameQueueSink` constructor can overcome this issue.
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Adjusting Image Settings/Adjusting Image Settings.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Adjusting Image Settings", "Adjusting Image Settings\Adjusting Image Settings.vbproj", "{553FA117-1B52-4F3A-B1B5-808A55395099}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {553FA117-1B52-4F3A-B1B5-808A55395099}.Debug|x86.ActiveCfg = Debug|x86
13 | {553FA117-1B52-4F3A-B1B5-808A55395099}.Debug|x86.Build.0 = Debug|x86
14 | {553FA117-1B52-4F3A-B1B5-808A55395099}.Release|x86.ActiveCfg = Release|x86
15 | {553FA117-1B52-4F3A-B1B5-808A55395099}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Adjusting Image Settings/Adjusting Image Settings/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Adjusting Image Settings/Adjusting Image Settings/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Adjusting Image Settings/Adjusting Image Settings/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing a Video File/Capturing a Video File.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Capturing a Video File", "Capturing a Video File\Capturing a Video File.vbproj", "{6E58B712-D167-4F60-AA99-C2353E0B4083}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {6E58B712-D167-4F60-AA99-C2353E0B4083}.Debug|x86.ActiveCfg = Debug|x86
13 | {6E58B712-D167-4F60-AA99-C2353E0B4083}.Debug|x86.Build.0 = Debug|x86
14 | {6E58B712-D167-4F60-AA99-C2353E0B4083}.Release|x86.ActiveCfg = Release|x86
15 | {6E58B712-D167-4F60-AA99-C2353E0B4083}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing a Video File/Capturing a Video File/Form1.vb:
--------------------------------------------------------------------------------
1 | Public Class Form1
2 |
3 | Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
4 | If Not IcImagingControl1.DeviceValid Then
5 |
6 | IcImagingControl1.ShowDeviceSettingsDialog()
7 |
8 | If Not IcImagingControl1.DeviceValid Then
9 | Close()
10 | Exit Sub
11 | End If
12 |
13 | End If
14 |
15 | IcImagingControl1.LiveStart()
16 |
17 | End Sub
18 |
19 | Private Sub btnStartLive_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStartLive.Click
20 | IcImagingControl1.LiveStart()
21 | End Sub
22 |
23 | Private Sub btnStopLive_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStopLive.Click
24 | IcImagingControl1.LiveStop()
25 | End Sub
26 |
27 | Private Sub btnCaptureVideo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCaptureVideo.Click
28 | Dim frm As New SaveVideoForm(IcImagingControl1)
29 | frm.ShowDialog()
30 | End Sub
31 | End Class
32 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing a Video File/Capturing a Video File/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing a Video File/Capturing a Video File/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing a Video File/Capturing a Video File/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing an AVI File/Capturing an AVI File.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Capturing an AVI File", "Capturing an AVI File\Capturing an AVI File.vbproj", "{79999E6E-EC62-4287-91F7-5F4E94F8DABA}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {79999E6E-EC62-4287-91F7-5F4E94F8DABA}.Debug|x86.ActiveCfg = Debug|x86
13 | {79999E6E-EC62-4287-91F7-5F4E94F8DABA}.Debug|x86.Build.0 = Debug|x86
14 | {79999E6E-EC62-4287-91F7-5F4E94F8DABA}.Release|x86.ActiveCfg = Release|x86
15 | {79999E6E-EC62-4287-91F7-5F4E94F8DABA}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing an AVI File/Capturing an AVI File/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing an AVI File/Capturing an AVI File/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Capturing an AVI File/Capturing an AVI File/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Common/IControlBase.vb:
--------------------------------------------------------------------------------
1 |
2 | Friend Interface IControlBase
3 |
4 | Sub UpdateControl()
5 |
6 | End Interface
7 |
8 | Friend Interface IControlSlider
9 |
10 | Sub ScrollUpdate()
11 |
12 | End Interface
13 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Creating an Overlay/Creating an Overlay.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Creating an Overlay", "Creating an Overlay\Creating an Overlay.vbproj", "{C373C024-F1F2-4DD0-B2CD-003592F501A7}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {C373C024-F1F2-4DD0-B2CD-003592F501A7}.Debug|x86.ActiveCfg = Debug|x86
13 | {C373C024-F1F2-4DD0-B2CD-003592F501A7}.Debug|x86.Build.0 = Debug|x86
14 | {C373C024-F1F2-4DD0-B2CD-003592F501A7}.Release|x86.ActiveCfg = Release|x86
15 | {C373C024-F1F2-4DD0-B2CD-003592F501A7}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Creating an Overlay/Creating an Overlay/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.Creating_an_Overlay.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Creating an Overlay/Creating an Overlay/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Creating an Overlay/Creating an Overlay/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Creating an Overlay/Creating an Overlay/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Creating an Overlay/Creating an Overlay/hardware.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/Creating an Overlay/Creating an Overlay/hardware.bmp
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/DigitalIO/DigitalIO.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DigitalIO", "DigitalIO\DigitalIO.vbproj", "{367B4D16-1FD1-4FA2-BD08-1833B9D3BAF7}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {367B4D16-1FD1-4FA2-BD08-1833B9D3BAF7}.Debug|x86.ActiveCfg = Debug|x86
13 | {367B4D16-1FD1-4FA2-BD08-1833B9D3BAF7}.Debug|x86.Build.0 = Debug|x86
14 | {367B4D16-1FD1-4FA2-BD08-1833B9D3BAF7}.Release|x86.ActiveCfg = Release|x86
15 | {367B4D16-1FD1-4FA2-BD08-1833B9D3BAF7}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/DigitalIO/DigitalIO/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.DigitalIO.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/DigitalIO/DigitalIO/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/DigitalIO/DigitalIO/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/DigitalIO/DigitalIO/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Display Buffer/Display Buffer.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Display Buffer", "Display Buffer\Display Buffer.vbproj", "{FAC6851C-BF35-410A-B02A-FD6111D401B4}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {FAC6851C-BF35-410A-B02A-FD6111D401B4}.Debug|x86.ActiveCfg = Debug|x86
13 | {FAC6851C-BF35-410A-B02A-FD6111D401B4}.Debug|x86.Build.0 = Debug|x86
14 | {FAC6851C-BF35-410A-B02A-FD6111D401B4}.Release|x86.ActiveCfg = Release|x86
15 | {FAC6851C-BF35-410A-B02A-FD6111D401B4}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Display Buffer/Display Buffer/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.Display_Buffer.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Display Buffer/Display Buffer/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Display Buffer/Display Buffer/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Display Buffer/Display Buffer/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Filter Inspector/Filter Inspector.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Filter Inspector", "Filter Inspector\Filter Inspector.vbproj", "{078279C9-4F81-49DC-A1F8-1E3079765AC5}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {078279C9-4F81-49DC-A1F8-1E3079765AC5}.Debug|x86.ActiveCfg = Debug|x86
13 | {078279C9-4F81-49DC-A1F8-1E3079765AC5}.Debug|x86.Build.0 = Debug|x86
14 | {078279C9-4F81-49DC-A1F8-1E3079765AC5}.Release|x86.ActiveCfg = Release|x86
15 | {078279C9-4F81-49DC-A1F8-1E3079765AC5}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Filter Inspector/Filter Inspector/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.Filter_Inspector.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Filter Inspector/Filter Inspector/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Filter Inspector/Filter Inspector/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Filter Inspector/Filter Inspector/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Grabbing an Image/Grabbing an Image.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Grabbing an Image", "Grabbing an Image\Grabbing an Image.vbproj", "{C5CF1E0D-55EA-41F8-8B44-F74BBBE4E0CB}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {C5CF1E0D-55EA-41F8-8B44-F74BBBE4E0CB}.Debug|x86.ActiveCfg = Debug|x86
13 | {C5CF1E0D-55EA-41F8-8B44-F74BBBE4E0CB}.Debug|x86.Build.0 = Debug|x86
14 | {C5CF1E0D-55EA-41F8-8B44-F74BBBE4E0CB}.Release|x86.ActiveCfg = Release|x86
15 | {C5CF1E0D-55EA-41F8-8B44-F74BBBE4E0CB}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Grabbing an Image/Grabbing an Image/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.Grabbing_an_Image.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Grabbing an Image/Grabbing an Image/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Grabbing an Image/Grabbing an Image/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Grabbing an Image/Grabbing an Image/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/List VCDProperties/List VCDProperties.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "List VCDProperties", "List VCDProperties\List VCDProperties.vbproj", "{ECB4E018-E91E-4D52-B23E-03CB9F347147}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {ECB4E018-E91E-4D52-B23E-03CB9F347147}.Debug|x86.ActiveCfg = Debug|x86
13 | {ECB4E018-E91E-4D52-B23E-03CB9F347147}.Debug|x86.Build.0 = Debug|x86
14 | {ECB4E018-E91E-4D52-B23E-03CB9F347147}.Release|x86.ActiveCfg = Release|x86
15 | {ECB4E018-E91E-4D52-B23E-03CB9F347147}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/List VCDProperties/List VCDProperties/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.List_VCDProperties.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/List VCDProperties/List VCDProperties/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/List VCDProperties/List VCDProperties/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/List VCDProperties/List VCDProperties/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Scroll And Zoom/Scroll And Zoom.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Scroll And Zoom", "Scroll And Zoom\Scroll And Zoom.vbproj", "{1826AECC-0815-46AB-8855-BE2BA1CA8DAF}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {1826AECC-0815-46AB-8855-BE2BA1CA8DAF}.Debug|x86.ActiveCfg = Debug|x86
13 | {1826AECC-0815-46AB-8855-BE2BA1CA8DAF}.Debug|x86.Build.0 = Debug|x86
14 | {1826AECC-0815-46AB-8855-BE2BA1CA8DAF}.Release|x86.ActiveCfg = Release|x86
15 | {1826AECC-0815-46AB-8855-BE2BA1CA8DAF}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Scroll And Zoom/Scroll And Zoom/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.Scroll_And_Zoom.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Scroll And Zoom/Scroll And Zoom/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Scroll And Zoom/Scroll And Zoom/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Scroll And Zoom/Scroll And Zoom/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Strobe/Strobe.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Strobe", "Strobe\Strobe.vbproj", "{1DF107FC-E8B5-4BB1-9EF0-E7B98C332BCE}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {1DF107FC-E8B5-4BB1-9EF0-E7B98C332BCE}.Debug|x86.ActiveCfg = Debug|x86
13 | {1DF107FC-E8B5-4BB1-9EF0-E7B98C332BCE}.Debug|x86.Build.0 = Debug|x86
14 | {1DF107FC-E8B5-4BB1-9EF0-E7B98C332BCE}.Release|x86.ActiveCfg = Release|x86
15 | {1DF107FC-E8B5-4BB1-9EF0-E7B98C332BCE}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Strobe/Strobe/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.Strobe.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Strobe/Strobe/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Strobe/Strobe/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/Strobe/Strobe/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DemoApp", "DemoApp\DemoApp.vbproj", "{D3202830-36F6-47A9-AFC6-A7BB446C9632}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {D3202830-36F6-47A9-AFC6-A7BB446C9632}.Debug|x86.ActiveCfg = Debug|x86
13 | {D3202830-36F6-47A9-AFC6-A7BB446C9632}.Debug|x86.Build.0 = Debug|x86
14 | {D3202830-36F6-47A9-AFC6-A7BB446C9632}.Release|x86.ActiveCfg = Release|x86
15 | {D3202830-36F6-47A9-AFC6-A7BB446C9632}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/CAMERA.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/CAMERA.BMP
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/DemoApp.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/DemoApp.ico
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/IMGSET.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/IMGSET.bmp
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' This code was generated by a tool.
4 | ' Runtime Version:2.0.50727.832
5 | '
6 | ' Changes to this file may cause incorrect behavior and will be lost if
7 | ' the code is regenerated.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
18 | ' or if you encounter build errors in this file, go to the Project Designer
19 | ' (go to Project Properties or double-click the My Project node in
20 | ' Solution Explorer), and make changes on the Application tab.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = false
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.DemoApp.Form1
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | Form1
5 | false
6 | 0
7 | true
8 | 0
9 | 0
10 | true
11 |
12 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | Imports System
2 | Imports System.Reflection
3 | Imports System.Runtime.InteropServices
4 |
5 | ' General Information about an assembly is controlled through the following
6 | ' set of attributes. Change these attribute values to modify the information
7 | ' associated with an assembly.
8 |
9 | ' Review the values of the assembly attributes
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 |
23 | ' Version information for an assembly consists of the following four values:
24 | '
25 | ' Major Version
26 | ' Minor Version
27 | ' Build Number
28 | ' Revision
29 | '
30 | ' You can specify all the values or you can default the Build and Revision Numbers
31 | ' by using the '*' as shown below:
32 | '
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/NEXT.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/NEXT.BMP
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/SETTINGS.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/SETTINGS.bmp
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/STOP.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/STOP.bmp
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/Trigger.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/Trigger.bmp
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/film.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/film.bmp
--------------------------------------------------------------------------------
/ic-3.5-vb.net-samples/demoapp/DemoApp/inputchannel.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/ic-3.5-vb.net-samples/demoapp/DemoApp/inputchannel.bmp
--------------------------------------------------------------------------------
/java/README.md:
--------------------------------------------------------------------------------
1 | # Java
2 | This subdirectory is a test for JAVA and IC Imaging Control
3 |
4 | Running example
5 | Step 1 compile:
6 | javac -classpath ic.jar;. test1.java
7 | Step 2 run:
8 | java -classpath ic.jar;. test1.java
9 |
--------------------------------------------------------------------------------
/java/testsample/JNI_ICImagingControl.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/java/testsample/JNI_ICImagingControl.dll
--------------------------------------------------------------------------------
/java/testsample/Listener.java:
--------------------------------------------------------------------------------
1 | //import java.awt.*;
2 | import java.awt.image.BufferedImage;
3 | import ic.*;
4 |
5 | public class Listener extends GrabberListener{
6 |
7 | private int i = 0;
8 |
9 | public PictureBox _PictureBox; // will be assigned by the calling (main) class
10 | // So we can draw into it
11 |
12 | private BufferedImage _Image = null;
13 |
14 | public void deviceLost(Grabber grabber){
15 |
16 | }
17 |
18 | /**
19 | * Image callback.
20 | * @param Grabber not used, always null
21 | * @param MemBuffer the image buffer
22 | * @param FrameNumber the number of the frame set by the driver.
23 | */
24 | public void frameReady(Grabber caller, MemBuffer Buffer, int FrameNumber){
25 | i = i + 1;
26 | if( i == 12){
27 | Buffer.save("Listener.bmp");
28 | System.out.println("Image saved");
29 | }
30 |
31 | Buffer.lock();
32 | byte [] Pixels = Buffer.getPtr();
33 | // get the middle of the image.
34 | SIZE ImageDimensions = Buffer.getSize();
35 | int start = ImageDimensions.cy / 2 * ImageDimensions.cx + ImageDimensions.cx / 2;
36 |
37 | for( i = start; i < start + 10; i++)
38 | {
39 | System.out.print(Pixels[i]);
40 | System.out.print(" ");
41 | }
42 |
43 | System.out.println();
44 | Pixels = null;
45 | _Image = Buffer.getBufferedImage(_Image);
46 | _PictureBox.Image = _Image;
47 | _PictureBox.repaint();
48 |
49 | Buffer.unlock();
50 | }
51 |
52 | }
53 |
--------------------------------------------------------------------------------
/java/testsample/PictureBox.java:
--------------------------------------------------------------------------------
1 | import java.awt.*;
2 | import java.awt.image.*;
3 | import java.awt.Graphics;
4 | import java.awt.geom.AffineTransform;
5 | import javax.swing.*;
6 |
7 | public class PictureBox extends JComponent {
8 | private static final long serialVersionUID = 1L;
9 | public BufferedImage Image;
10 |
11 | @Override
12 | protected void paintComponent(final Graphics g) {
13 | super.paintComponent(g);
14 | if( Image != null){
15 | BufferedImage Image2 = createFlipped(Image);
16 | g.drawImage(Image2,0,0, this.getWidth(), this.getHeight(), this);
17 | }
18 | else{
19 | g.setColor(Color.WHITE);
20 | g.fillRect(0, 0, this.getWidth(), this.getHeight());
21 | }
22 | g.dispose();
23 | }
24 |
25 | private static BufferedImage createFlipped(BufferedImage image)
26 | {
27 | AffineTransform at = new AffineTransform();
28 | at.concatenate(AffineTransform.getScaleInstance(1, -1));
29 | at.concatenate(AffineTransform.getTranslateInstance(0, -image.getHeight()));
30 | return createTransformed(image, at);
31 | }
32 |
33 | private static BufferedImage createTransformed(
34 | BufferedImage image, AffineTransform at)
35 | {
36 | BufferedImage newImage = new BufferedImage(
37 | image.getWidth(), image.getHeight(),
38 | BufferedImage.TYPE_INT_ARGB);
39 | Graphics2D g = newImage.createGraphics();
40 | g.transform(at);
41 | g.drawImage(image, 0, 0, null);
42 | g.dispose();
43 | return newImage;
44 | }
45 | }
--------------------------------------------------------------------------------
/java/testsample/README.md:
--------------------------------------------------------------------------------
1 | # IC Java Samples
2 | The sample "test1" is a sample showing some properties, how to snap images, how to get an image callback. It uses a graphical user interface.
3 | The sample "stringprop" shows how to use camera properties of type string. Here you must exchange the camera name in the java file.
4 |
5 |
6 | ### Running example
7 | ```
8 | mkdir class
9 | javac -classpath .;ic.jar -d class test1.java
10 | ```
11 | Java 11 and 12 create the "class" directory automatically, Java 8 does not.
12 | The "class" directory contains the "*.class" files, which are the Java byte code files.
13 |
14 | ```
15 | java -classpath .\class;ic.jar test1
16 | ```
17 |
18 | For testing the string properties, echanage "test1" by "stringprop" in the command lines.
19 |
--------------------------------------------------------------------------------
/java/testsample/TIS_UDSHL11_x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/java/testsample/TIS_UDSHL11_x64.dll
--------------------------------------------------------------------------------
/java/testsample/TIS_UDSHL11d_x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/java/testsample/TIS_UDSHL11d_x64.dll
--------------------------------------------------------------------------------
/java/testsample/ic.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheImagingSource/IC-Imaging-Control-Samples/7846b9e2732a6735937cdc83c7d03b4f230eecc5/java/testsample/ic.jar
--------------------------------------------------------------------------------
/java/testsample/run.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | cls
3 | mkdir class
4 | javac -classpath .;ic.jar -d class test1.java
5 | java -classpath .\class;ic.jar test1
6 |
--------------------------------------------------------------------------------
/java/testsample/stringprop.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | cls
3 | mkdir class
4 | javac -classpath .;ic.jar -d class stringprop.java
5 | java -classpath .\class;ic.jar stringprop
6 |
--------------------------------------------------------------------------------
/matlab/Getting Started/matlab_example.m:
--------------------------------------------------------------------------------
1 | % Use the following code to see the image acquisition objects
2 | % and to access the source properties for 64 bit or 32 bit plugins
3 | % from The Imaging Source (TIS)
4 | % This was written and tested in Windows 10
5 | % The full download for the plugin is available from TIS here
6 | % https://www.theimagingsource.com/support/downloads-for-windows/extensions/icmatlabr2013b/
7 | % This code below has now been tested in Matlab R2019a - not 2013a as
8 | % stated on the TIS download site
9 |
10 | % Be sure to install the correct driver for your camera first, then connect
11 | % the camera and run the following code. Semicolons are left off to display
12 | % the information obtained by the function calls
13 |
14 | clc
15 |
16 | % adaptor = 'tisimaq_r2013_32'; % this is for the 23 bit plugin
17 |
18 | adaptor = 'tisimaq_r2013_64'; % this is for the 64 bit plugin
19 |
20 | obj = imaqhwinfo(adaptor)
21 |
22 | % to show the connected device
23 | obj.DeviceInfo
24 | % to show the available formats
25 | obj.DeviceInfo.SupportedFormats
26 |
27 | % choose the first available format from the device 1
28 | vid = videoinput(adaptor, 1, obj.DeviceInfo.SupportedFormats{1})
29 | src = getselectedsource(vid)
30 |
31 | % get the available frame rates
32 | available_Frame_rates = set(src, 'FrameRate')
33 |
34 | % set the first available frame rate
35 | src.FrameRate = available_Frame_rates{1}
36 |
37 | vid.FramesPerTrigger = Inf;
38 |
39 | % this will show the live image
40 | preview(vid);
--------------------------------------------------------------------------------