renatobianchini / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Null reference exception #204

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
System.NullReferenceException was unhandled by user code
  Message=Object reference not set to an instance of an object.
  Source=AForge.Imaging
  StackTrace:
       at AForge.Imaging.Filters.QuadrilateralTransformation.ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData)
       at AForge.Imaging.Filters.BaseTransformationFilter.Apply(UnmanagedImage image)
       at AForge.Vision.GlyphRecognition.GlyphRecognizer.RecognizeGlyph(UnmanagedImage image, List`1 quadrilateral)
       at AForge.Vision.GlyphRecognition.GlyphRecognizer.FindGlyphs(UnmanagedImage image)
       at AForge.Vision.GlyphRecognition.GlyphRecognizer.FindGlyphs(Bitmap image)
       at HumanRecognitionUsingMarkers.RecognitionManager.videoSourcePlayer_NewFrame(Object sender, Bitmap& image) at AForge.Controls.VideoSourcePlayer.NewFrameHandler.Invoke(Object sender, Bitmap& image)
       at AForge.Controls.VideoSourcePlayer.videoSource_NewFrame(Object sender, NewFrameEventArgs eventArgs)
       at AForge.Video.DirectShow.VideoCaptureDevice.OnNewFrame(Bitmap image)
       at AForge.Video.DirectShow.VideoCaptureDevice.Grabber.BufferCB(Double sampleTime, IntPtr buffer, Int32 bufferLen)
  InnerException: 

Original issue reported on code.google.com by krzysztof.blacha on 22 Apr 2011 at 11:23

GoogleCodeExporter commented 8 years ago
I will need a source image/code to reproduce it. QuadrilateralTransformation 
works fine in general, so most probably you got something very specific which 
may depend on image provided, parameters, etc.

Original comment by andrew.k...@gmail.com on 22 Apr 2011 at 11:28

GoogleCodeExporter commented 8 years ago
Closing the issues, since no additional information was given, like GRATF 
version, etc.

And, by the way, the call stack shows the issues happened in GRATF project. So 
its issue tracking system must be used.

Original comment by andrew.k...@gmail.com on 25 Apr 2011 at 6:14

GoogleCodeExporter commented 8 years ago
This issue looks random and doesn't show every time so I need some time to 
reproduce the issue and give you more precise information.
I see there is only one GRATF version released, so I use 1.0.0. I also use 
AForge 2.1.5 release.

Original comment by krzysztof.blacha on 26 Apr 2011 at 11:07

GoogleCodeExporter commented 8 years ago
Yes, there is only one version released for now. But there is also trunk 
version (and some people tend to build latest sources manually sometimes), 
which was updated. It is not yet finished to be released, but it is different 
from 1.0. Few things were changed there. And I remember fixing the issue, which 
seems to be the one you are reporting (however cannot say for sure, since it 
was a while ago). Anyway, now I know you are using 1.0, not trunk.

Original comment by andrew.k...@gmail.com on 26 Apr 2011 at 11:22