Problems with deconvolution sharpening

A place to report problems and bugs in SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
Chris A
Posts: 43
Joined: Fri May 03, 2019 4:06 am

Problems with deconvolution sharpening

#1

Post by Chris A »

Hi Robin

Joe Sardina was broadcasting on NSN.com last night using the latest Sharcap version and had issues when using the deconvolution sharpening. Every time he had the Weiner Deconvolution selected and then selected the Gaussian Blur, Sharpcap kept crashing. This only happens when Gaussian Blur is selected. He emailed me the log report so here it is. Thank you!

Chris A

Info: 11:00:20.0170630 Thread:#1 SharpCap.Program.Main() :: Starting...
Info: 11:00:20.1254981 Thread:#1 SharpCap.Program.SetupNBUG() :: Setting up bug reporting.
Info: 11:00:20.1476425 Thread:#1 SharpCap.LogSystemInfo.Run() :: Starting thread to log system info
Info: 11:00:20.1632950 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: SharpCap Version 3.2.6194.0
Info: 11:00:20.1632950 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: GC Memory 118Mb
Info: 11:00:20.1632950 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Process Memory 152Mb
Info: 11:00:20.1632950 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Total Physical Memory 16211Mb
Info: 11:00:20.1632950 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Available Physical Memory 12218Mb
Info: 11:00:20.2101591 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Operating System : Microsoft Windows 10 Pro
Info: 11:00:20.2101591 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: Full OS Version 10.0.18362
Info: 11:00:20.2101591 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: OS is 64 bit, SharpCap is 32 bit.
Info: 11:00:20.2479068 Thread:#1 SharpCap.Program.RunApp(Boolean showSplash) :: Setting up application
Info: 11:00:20.2479068 Thread:#1 SharpCap.Program.RunApp(Boolean showSplash) :: Initializing WPF
Debug: 11:00:20.2635585 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Started
Info: 11:00:20.3481696 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type BaslerDeviceEnumerator
Info: 11:00:20.3481696 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type QHYDeviceEnumerator
Info: 11:00:20.3481696 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type ASIDeviceEnumerator
Info: 11:00:20.3481696 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AltairDeviceEnumerator
Info: 11:00:20.3638212 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type PointGreyDeviceEnumerator
Info: 11:00:20.3638212 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type SxDeviceEnumerator
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Altair.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.ASCOMCamera.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.ASI.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Atik.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Basler.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Celestron.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.DS3.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Fake.dll
Info: 11:00:20.3638212 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.INova.dll
Info: 11:00:20.3794147 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Moravian.dll
Info: 11:00:20.3794147 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.NewDirectShow.dll
Info: 11:00:20.3794147 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.PointGrey.dll
Info: 11:00:20.3794147 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.QHY.dll
Info: 11:00:20.3794147 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.SVBony.dll
Info: 11:00:20.3794147 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : C:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.SX.dll
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvidersByReflection(String[] providerNames) :: Added device enumerator of type CelestronDeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvidersByReflection(String[] providerNames) :: Added device enumerator of type iNovaDeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type MoravianDeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type SVBonyDeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AtikDeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type DS3DeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AscomDeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type FolderMonitorDeviceEnumerator
Info: 11:00:20.3794147 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type FakeDeviceEnumerator
Info: 11:00:20.4262810 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.WheelProxy.ASCOM.WheelFactory
Info: 11:00:20.4484595 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Atik FilterWheel
Info: 11:00:20.4484595 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Filter Wheel Simulator [.Net]
Info: 11:00:20.4484595 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Simulator
Info: 11:00:20.4484595 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device QSI Internal Filter Wheel
Info: 11:00:20.4484595 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.WheelProxy.ZWO.WheelFactory
Info: 11:00:20.4641154 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.WheelProxy.ZWO.ManualWheelFactory
Info: 11:00:20.4641154 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Manual Filter Wheel
Info: 11:00:20.4797355 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Loading Hardware Proxies from SharpCap.MountProxy.ASCOM.MountFactory
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Telescope Simulator for .NET
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device ASCOM Telescope Driver for TheSky.
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device ASCOM Dome Control
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Generic Hub
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device MaxPoint
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Pipe diagnostic tool
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device POTH Hub
Info: 11:00:20.4953600 Thread:#1 SharpCap.ProxyFinder`1.LoadProxiesForFactoryType(Type t) :: Found device Simulator
Info: 11:00:20.5109753 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Application model created
Info: 11:00:20.7493030 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Control Form created
Info: 11:00:20.7649662 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: View model initialized
Info: 11:00:20.7805488 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Preview host created
Info: 11:00:20.7805488 Thread:#1 SharpCap.Base.Utilities.Logger.LogStackTrace(LogLevel level, String msg) :: Parent being changed on PreviewPanel
at SharpCap.UI.ScrollZoomForm.OnParentChanged(Object sender, EventArgs eventArgs)

Debug: 11:00:20.9121125 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Ended
Debug: 11:00:20.9887900 Thread:#1 SharpCap.UI.SharpCapForm.SharpCapForm_Load(Object sender, EventArgs e) :: Started
Debug: 11:00:20.9907572 Thread:#1 SharpCap.UI.SharpCapForm.SharpCapForm_Load(Object sender, EventArgs e) :: Ended
Debug: 11:00:21.0217055 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Started
Debug: 11:00:21.0326742 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Timebomb checked
Info: 11:00:21.0356645 Thread:#1 SharpCap.Models.Application.get_Cameras() :: Starting scan for cameras
Debug: 11:00:21.0376594 Thread:#1 SharpCap.Cameras.Basler.BaslerDeviceEnumerator.GetDevices() :: Started
Info: 11:00:21.0436430 Thread:#1 SharpCap.SharpCapApp.get_ForceSoftwareRendering() :: WPF Rendering tier is 2
Debug: 11:00:21.1144791 Thread:#1 SharpCap.Cameras.Basler.BaslerDeviceEnumerator.GetDevices() :: Ended
Info: 11:00:21.2911028 Thread:#1 SharpCap.Base.SimpleDeviceEnumerator.GetDevices(Func`1 deviceNameFinder, String infoText, Func`2 fullNameToDispayName, Func`3 tagCreatorFunc) :: QHYCameraFinder - found 0 cameras
Info: 11:00:21.3439617 Thread:#1 SharpCap.Base.SimpleDeviceEnumerator.GetDevices(Func`1 deviceNameFinder, String infoText, Func`2 fullNameToDispayName, Func`3 tagCreatorFunc) :: FindCameras - found 0 cameras
Info: 11:00:21.3639187 Thread:LogInfo Thread#9 SharpCap.LogSystemInfo.ThreadProc() :: CPU : Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz with 12 cores.
Info: 11:00:21.7249721 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: ASI Camera (1) (ASCOM Cameras)
Info: 11:00:21.7249721 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: ASI Camera (2) (ASCOM Cameras)
Info: 11:00:21.7249721 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Atik Cameras (ASCOM Cameras)
Info: 11:00:21.7249721 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Camera V2 simulator (ASCOM Cameras)
Info: 11:00:21.7249721 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Starlight Xpress Lodestar (ASCOM Cameras)
Info: 11:00:21.7249721 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: QSI CCD Camera (ASCOM Cameras)
Info: 11:00:21.7259334 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Folder Monitor Camera (Virtual Cameras)
Debug: 11:00:21.7259334 Thread:#1 SharpCap.Cameras.Fake.FakeDeviceEnumerator.GetDevices() :: Started
Debug: 11:00:21.7259334 Thread:#1 SharpCap.Cameras.Fake.FakeDeviceEnumerator.GetDevices() :: Ended
Info: 11:00:21.7259334 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Test Camera 1 (Deep Sky) (Test Cameras)
Info: 11:00:21.7259334 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Test Camera 2 (High Speed) (Test Cameras)
Info: 11:00:21.7339493 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: CameraListUpdated event received in UI thread
Debug: 11:00:21.8118340 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Docking setup
Debug: 11:00:21.8128312 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Startup scripts (if any) run
Debug: 11:00:21.8128312 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Menu updated
Debug: 11:00:21.8467411 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Splash and tips done
Debug: 11:00:21.8776580 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Ended
User avatar
admin
Site Admin
Posts: 13280
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Problems with deconvolution sharpening

#2

Post by admin »

Hi,

Thanks for the heads up. I made some changes to the sharpening in the latest version to try and improve the performance – the idea was to sharpen the three colour channels in parallel and also to offload some of the work to the graphics card. In theory it was supposed to fall back to using the CPU if the graphics card wasn't suitable, but maybe that isn't working correctly in all cases. It certainly doesn't break for me in a similar test and unfortunately the log file doesn't show the actual crash information.

I will wind back the change that put the calculation onto the graphics card in the next update (I think running the sharpening on the three colour channels in parallel should be safe). It would be good if you could update me to let me know if this helps or not when the next update is out and Joe has a chance to test.

Cheers, Robin
Chris A
Posts: 43
Joined: Fri May 03, 2019 4:06 am

Re: Problems with deconvolution sharpening

#3

Post by Chris A »

Robin, I will let Joe know and we will test out the next released version.

Cheers,

Chris A
rhombus
Posts: 5
Joined: Tue Apr 21, 2020 6:37 am

Re: Problems with deconvolution sharpening

#4

Post by rhombus »

I am having sharpcap crash (and even entire computer reboot) when using either sharpening options. Latest Version, Pro license. No problems when sharpening is not enabled. Intel NUC10i7 32gb ram.
User avatar
admin
Site Admin
Posts: 13280
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Problems with deconvolution sharpening

#5

Post by admin »

Hi,

If Windows is actually crashing and your computer is rebooting then it sounds likely that you have some sort of hardware problem – potentially a memory issue caused by the intensive access required for the sharpening code to work. It would be worth looking in the Windows event log to see if it has recorded any information about the crash.

A badly behaved Windows application (even an administrator one) shouldn't be able to crash modern versions of Windows without either a Windows bug, a driver bug or a hardware problem. The worst a badly behaved application should be able to do is crash itself. In theory if you have a camera that has a buggy driver then something that SharpCap asked the camera to do could crash the driver and then crash Windows, but you would expect that to happen regardless of whether you are sharpening or not, so it probably isn't the cause of your problems.



Cheers, Robin
Post Reply