Hello,
I am trying to stream data to a file, and then return to the file to add further data. When I add data the second time, I then want to update the value of the second byte in the whole file....
Type: Posts; User: ejohns85
Hello,
I am trying to stream data to a file, and then return to the file to add further data. When I add data the second time, I then want to update the value of the second byte in the whole file....
Hi,
Thanks for the help. I understand that I need to use the control's class name - this is in fact exactly "my_control" which was used to register the class.
I've figured out some more...
Hello,
I am trying to make a simple control, by creating a child window. I have already created another window successfully, who's handle is "h_parent". (My application instance is "h_instance".)...
Hello,
I am using the computer vision libraries in OpenCV - if anybody is familiar with these then maybe you can help ;)
I am trying to estimate the fundamental matrix between two images, using...
Hello,
I am new to C++ and trying to understand how arguments are passed to functions, particular with regards to objects such as the std::vector.
When a variable is passed as an argument to a...
Hello,
I want to insert some My_Struct* pointers into a 2-dimensional array. In a 1-dimensional array, I normally do this by simply using the push_back function of a vector. But in 2-dimensions,...
Hello,
I have a class which contains a vector. This vector is created in a function called "CreateVector". So far, I have created this vector in this function, and returned the vector as a whole....
Ah yes that works, thanks grumpy!
Hi,
Ok I've tried doing the object serialization, but it doesn't quite work. Here's what I have:
#include <fstream>
#include <iostream>
using namespace std;
Hi, thanks for the help.
Here is the structure:
struct Image_Data
{
public:
Detection_Data d_data;
Hello,
I am writing a program which is performing some computer vision and image processing tasks. I have a database of about 100 images, from which I extract some data (properties of the images)....
Hello everyone,
I am attempting to write a game in C++, using Visual Studio 2008. The game has minimal graphics, with more of a simple button / text GUI, and as such I will be using Windows Forms....
Hello,
I am starting a new Windows Forms application using the CLR, but I have started it as an "empty project" in Visual Studio 2008, rather than starting it automatically as a Windows Forms...
Hello,
When you are configuring the properties of a project, what is the difference between all the stuff found in Common Properties -> Framework and References -> References (eg. System.Drawing,...
Hello,
I have a class, MyClass, which contains a 2-dimensional array, my_array, of a structure of type MyStruct. Below is the code I have used to implement this :
struct MyStruct
{
...
Hi,
Thanks for the help. I don't need to try all 8 directions - I only need to try the directions until the corresponding pixel is an edge pixel. It is the order of trying out these 8 pixels that...
Hello,
I am doing some computer vision work, which involves finding edges in an image, and then tracing round these edges to find solid bodies in an image. After applying my edge detection...
Ok thanks, that makes sense. But in that case, what do I do if I need to change the values of the elements in myArray, and return myArray at the end of the function??
Hello,
I want to write a function which returns a multidimensional array of bools. I gather that you cannot return an array in C++, but you can return a pointer to array. I have tried this, and it...
Hello,
I am just converting from using C# in Visual Studio 2005, to now using C++ in Visual Studio 2008. Previously, there were two things I noticed that were a real help, that not longer seem to...
Hello,
As a beginner, I am finding it difficult to understand the function of header files, why they are used, and what you should include in them. I don't really know the difference between a .h...
Ooops..."yeh originalImage" should just be "image". They are the same.
Can't work out why I can assign values to the data, but I cannot compare the values in an if statement.
If you say that it...
Hello,
I am trying to do some very simple image processing, using OpenCV to access data from an image. What I want to do is check whether the "B" value of each RGB pixel is greater than 100 - and...
Hey,
I have a class Foo, which has a member array of doubles, of length 5. This array is called x. I want x to be a constant array, such that the values in the array are never changed, and I know...
Hey,
I have a Windows Form with a PictureBox, and I want to change the image in the PictureBox every 10 seconds, to create a slide show effect. However, I also want the form to be able to respond...