1D Histogram with OpenCV C++ (update – opencv 2.3.1)
This post is an update of an old one This time I’m using opencv 2.3.1 to obtain the histogram.
Files:
histogram.cpp
histogram.h
Dropping a Default constraint of a column in sql
I have had some troubles to delete a column in Sql ’cause this column had a default value defined.
The solution I found is this:
getting the name of the contraint with the following query:
select name from sys.default_constraints where parent_column_id=(select column_id from sys.all_columns where column_id=(select column_id from sys.columns where object_id=(select object_id from sys.tables where name='TABLE_NAME') and name='COLUMN_NAME') and object_id=(select object_id from sys.tables where name='TABLE_NAME'))
and then, deleting the constraint
ALTER TABLE TABLE_NAME
DROP CONSTRAINT CONSTRAINT_NAME
In: Software · Tagged with: drop constraint default delete
Smother
The new wild beasts’ album is delicious
Streaming in guardian
Wild Beasts, la garage session from Télérama on Vimeo.
OpenCV-2.2.0 Visual C++ 2010
The process is slighty different from the one described here OpenCV-2.1.0 Visual C++ 2010 on Windows 7
1. Create a new Win32 Console Application project
2. Change the project’s Property Pages > Configuration Properties > VC++ Directories in order to include the OpenCV directories
Include directories: C:\OpenCV2.2\include\opencv; C:\OpenCV2.2\include (In OpenCV 2.2 the include directory contains the directories opencv and opencv2 and both are used to include files.)
Library directories: C:\OpenCV2.2\lib
Source directories: C:\OpenCV2.2\include
3. Change the project’s Property Pages > Configuration Properties > Linker > Input
Additional Dependencies add opencv_core220d.lib; opencv_highgui220d.lib for debugging or opencv_core220.lib;opencv_highgui220.lib for a release build
You may need to include another libraries, that depends on the functionality you are implementing in your program. You can find them in C:\OpenCV2.2\lib
Here is where you can find the Property Pages:
I’m using MS Visual C++ 2010 Express, Windows 7 Professional 64 bit
In: Software · Tagged with: OpenCV
2 trees
Ready to start
Flaws
Dust on the ground
Islands
I see islands in my future, in fact, an island within an island -nothing to do with the song.
You left me, sweet, two legacies
You left me, sweet, two legacies, -
A legacy of love
A Heavenly Father would content,
Had He the offer of;
You left me boundaries of pain
Capacious as the sea,
Between eternity and time,
Your consciousness and me
Emilie Dickinson



English
Español
Français