Debugger Visualizer

From EMGU
Revision as of 21:41, 8 July 2009 by Emgucv (talk | contribs)
Jump to navigation Jump to search

Introduction

Debugger visualizers enable advanced, customized data display while you are running your application under the Visual Studio Debugger. Today's data windows have their limitations; they are text-only, hierarchical, and spatially constrained. They are not the best way to view an image, for example.

A visualizer is associated with a particular type. Whenever a variable of that type is included in a data window like the Watch window (as shown in Figure 1) or DataTips, a little magnifying glass will be shown next to its entry. [1]

Emgu CV ver >= 2.0 comes with a debugger visualizer for Visual Studio 2005 / 2008 to help you quickly debug your Image Processing application. The visualizer can be used to inspect the following data types:

  • Image<TColor, TDepth>
  • Matrix<T> class
  • DenseHistogram class

How to Install

Download the Emgu CV binary (ver >= 2.0).

  • For Visual Studio 2005, copy all the .dll files to C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers
  • For Visual Studio 2008, copy all the .dll files to C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers

That's it.

Using Debugger Visualizer

Debugger Visualizer for Image

Debugger Visualizer for Image
Debugger Visualizer for Image

Debugger Visualizer for Single Channel matrix

Debugger Visualizer for Single Channel matrix
Debugger Visualizer for Single Channel matrix

Debugger Visualizer for Multi-Channel Matrix

Debugger Visualizer for Multi-Channel Matrix
Debugger Visualizer for Multi-Channel Matrix

References

  1. MSDN, [1]