| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by WaltP
Guidelines for Posting Requests for Help
version 3.1
GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
|
|
1 |
20,547 |
|
|
by gmcernst73
I am working on a homework and I am getting stocked. I need to create a function that reads for columns from a file. the function is set up in arrays for example
int getVertexData (istrean & infile, double xy , double wind, double temp, int size);
from the file i need to read this four values...
|
|
1 |
226 |
|
 |
by andrewjrmill
I want to update my operating system with mouse and new icons and how to add more programs because all it is now is by pressing latters to open up stuff, i have this operating system that i made and i want to put icons on the desktop and i was wandering if anyone can tell me how to program open new...
|
|
1 |
237 |
|
|
by mrexp21
Could someone explain how the below C++ code works?
Code to determine mode .
double mode (double numbers , int i)
{
int* Repetition = new int;
for (int i = 0; i < n; ++i)
{
Repetition = 0;
|
|
1 |
197 |
|
|
by CoryMore
I was thinking I had this one done. Apparently I was way off the mark. Below is the code I've ended up with, but I have in no way accomplished the project. Exhausted and fed up, will try to tackle again tomorrow.
Project:
Assume there are two input files for a payroll program. The first...
|
|
3 |
211 |
|
|
by stbb24
I convert a color image into binary with this line of code
cvtColor(img, src_gray, CV_RGB2GRAY);
threshold(src_gray, dst, minThres, maxThres, CV_THRESH_BINARY);
where minThresis 0 and maxThres 1
The output is a black image
|
|
2 |
256 |
|
|
by stbb24
I have this function that displays the values of a binary image
void accessPixel(Mat& img)
{
for (int i = 0; i < img.rows; i++)
{
for(int j = 0; j < img.cols; j++ )
{
|
|
2 |
475 |
|
|
by stbb24
Can anyone give tips on how to divide an image into 8x8 blocks using opencv and c++?
|
|
3 |
1,058 |
|
|
by stbb24
i"m trying to implement dct in a jpeg image.
Mat hostImage = imread(argv, 1);
Mat output;
dct(hostImage, output, 0);
namedWindow("DCT Image", CV_WINDOW_AUTOSIZE);
cvMoveWindow("DCT Image", 60, 50);
|
|
2 |
1,291 |
|
|
by MTW1989
I keep getting the above error code when trying to execute to following source code:
#include <cstdlib>
#include <iostream>
#include <iomanip>
using namespace std;
void double areasquare(double& length);
|
|
11 |
3,493 |
|
|
by singingsingh
can anyone please explain the outputs
prog 1 :
#include <iostream>
using namespace std;
const char* foo( )
{
const char *s = "vikram";
|
|
3 |
324 |
|
|
by casprandel
This is a basic sequential search of a randomly generated array. I keep getting errors on it. I want to get this working, then I will change the search to make it recursive for my actual assignment... one step at a time. I'm having quite a lot of problems with the class lately especially when it...
|
|
1 |
794 |
|
|
by stbb24
I'm trying to convert the second image argument (5.jpg) provided by the user into binary
example:
./watermark 2.jpg 5.jpg
Unfortunately my code returns an error
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /build/buildd/opencv-2.3.1/modules/imgproc/src/color.cpp,...
|
|
2 |
2,331 |
|
|
by stbb24
I want to adapt the c++ interface of Opencv but find it hard converting my codes from c to c++. Does anyone know the equivalent version of cvCreateImage in c++?
Thanks
|
|
8 |
1,199 |
|
|
by Amin
Hi..
I want to create a program using Dev which calculate the Least common multiple and the Greatest common divisor for three numbers.
i did the GCD but can't get the LCM done..
plz help me..:(
|
|
1 |
1,166 |
|
|
by singingsingh
#include <stdio.h>
void f( char *a )
{
((int *)a) = 8;
}
int main()
{
int a = {
{66,2,3},
|
|
5 |
344 |
|
|
by MTW1989
n my C++ class my teacher has asked me to
Modify the program you created in short assignment #2 to use functions.
1. Create and use at least three functions not counting main( ). At least one function must accept an argument or arguments. At least one function must return a value.
This is the...
|
|
15 |
845 |
|
|
by mrexp21
Hi ,
Help me to convert flowchart to pseudocode . Thanks
Flowchart in PDF :
http://www.4shared.com/office/FgnhUYgw/Project_Full_Flowchart.html
|
|
1 |
596 |
|
|
by mrexp21
I have a file, 'date-list.txt' which has date in it. For example , 20 May 2012 .
Now I want to compare this date with current system date and show the difference in days .
How can i compare dates and shows difference in days in C++.?
Im really a c++ beginner . So , if possible , please show and...
|
|
1 |
221 |
|
|
by gtkimberly
hi all,
Please help me in providing the details regarding important topics of C++.
Which book gives the user friendly information.
|
|
2 |
253 |
|
|
by ais++
Hi... I'm having a problem with my code, I get a bunch of extra unnecessary numbers and in the end nothing is removed and the program crashes!
void Functions::delRecord(vector<CarModel>& lst) { // Delete desired record
lst.clear(); // Removes all elements from the list
open(lst); // Loads...
|
|
3 |
289 |