Search:
Type: Posts; User: a_sonhye
Search:
Search took 0.06 seconds.
-
I may need to put the source code here but it's quite long just in case you know the solution but don't want to go back to look at the code on the book. I am now trying to understand the code and the...
-
Hello All,
If anyone is familar with matrix functions from the book Numerical Recipe in C/C++, please help me. In the book, the function GaussJordan(Matrix &A, Matrix &b) can help us find the...
-
Yes, it work fine.
Thank you everybody who contribute into this thread ^^
-
April 30th, 2010, 05:21 AM
Hello ovidiucucu,
Thank you for your comment and yes I cut some portion of code since I think it is not necessary to present here but it seems to be necessary now.
Also, I set all properties as...
-
April 30th, 2010, 05:17 AM
Hello VictorN,
I don't know why but declaring as an instance of CFMImage, I can load image to picture control. But using pointer does not. I does new the CFMImage object and the pointer pointer to...
-
April 30th, 2010, 01:32 AM
I don't think it is a matter of defining as pointer or object. Actually, the image object can be declared as an object as you said.
But is this related to the result that I cannot show image in the...
-
April 29th, 2010, 07:36 AM
Answer VictorN
1. I would like to show the image again if the dialog is re-open.
2. Yes, I did.
But it displays nothing.
-
April 29th, 2010, 03:18 AM
Dear All,
I have create a dialog and place a picture control into it which will be displayed as a preview when I click a browse botton. In this control, I would like to display images (.jpg, .bmp,...
-
April 28th, 2010, 11:20 AM
Thank you Paul McKenzie and monarch_dodra for adding more solutions. I will take a carefully look into the solution again (+learning more)
Thank you all for very quick reply for my question.
-
April 28th, 2010, 10:09 AM
Ah! Yep! That's correct. So, that's why my program breaks. Thank you ^^
-
April 28th, 2010, 10:02 AM
Thank you all that coming to give me solutions and comments.
I finally take the suggestion from Philip Nicoletti. It works very well.
matching.erase(--matching.rbegin().base());
However,...
-
April 28th, 2010, 09:20 AM
I have a sorting multimap and I would like to delete the last element. How can I delete the last element??
I have tried reverse::iterator or delete at the position iter = map.end()-1; but they all...
-
April 26th, 2010, 12:43 AM
Hello srelu,
Thank you very much. This code works as I would like to have.
The problem I have only now is that the color of the image is quite strange. I think this is due to the StretchBlt...
-
April 26th, 2010, 12:28 AM
Sorry for disappearing for long time. I've been out of school.
Hello srelu, thank you for your suggestion and coding. I will try now and will let u know the results.
-
April 15th, 2010, 09:45 PM
Thank you for your suggestion.
Do you have any further suggestion about centering the image in CView??
Million thanks.
-
April 15th, 2010, 08:20 AM
Thank you Marc G for managing my code.
Hi hoxsiew, I did calculate the ratio and use StretchBlt to stretch the image. The results are not as my expected. I will recheck the ratio calculating...
-
April 15th, 2010, 04:51 AM
Hi Programartist,
Thank you for your comment. But that is just strech the image to the same size as the window. What I want is to display the image on the window while retain its same shape. Like...
-
April 14th, 2010, 10:29 PM
Hello All,
I need your suggestion on displaying image on a CView. When I open an image to display, I want the image to "be resized" if it is bigger than the view while retain the original shape of...
-
November 13th, 2009, 08:18 AM
Hello, Lindley.
Thank you. I tried it and it work. Thanks ^^;;
-
November 13th, 2009, 07:47 AM
Thank you very much.
I got it after copying the code and compile it. Now it's more clear to me. But, can I ask one more question? Just for my curious.
From my code at the top most post, how can...
-
November 13th, 2009, 07:02 AM
Hi, JohnW. Thank you very much.
I'm new for STL.
And my previous code was programmed that way but at that time, I use the struct below so the code work fine.
But now, I replace this struct with...
-
November 13th, 2009, 06:48 AM
My vector is just stl vector.
typedef vector<int> VEC_INT;
-
November 13th, 2009, 05:36 AM
I know it's weird but I would like to create a 2D c-style array. Each array element stores a vector of int. The result will produce 3D array of int.
I can compile my code but it seems like...
-
August 5th, 2009, 08:46 PM
How can I add scroll bar to the image window created by OpenCV???
As far as I know, we call two functions in OpenCV to display images.
cvNamedWindow( "Example1", CV_WINDOW_AUTOSIZE );
...
-
July 29th, 2009, 04:23 AM
Hello All~~
Does anyone know how to display the OpenCV image structure "IplImage" in MFC CView?
Typically, many example shows that after we called 'cvLoadImage()', it will call 'cvShowImage' to...
|
Click Here to Expand Forum to Full Width
|