Wednesday, May 12, 2004

Image Debugger

Image Debugger is a cute tool to show image. What I did before is: In Matlab, I use imread() and imshow() to check image. In C++, I use bmp2bmp24file(...) to save it as a BMP file. The image debugger can pop up a window with the image, and it has several functions such like zooming, show RGB values and position, dragging, etc. It is easy to add to the C++ file:
---#include "imdebug.h"
---imdebug("bgr w=%d h=%d %p", 1024, 768, img);

where img needs to be allocated first and for more details, just check the above link.

No comments:

Post a Comment