dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: DavyS

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,150

    Re: Using "argv" to pass image files C++

    Thank you. Thank you for your guidance.
    My program is working now.
  2. Replies
    8
    Views
    1,150

    Re: Using "argv" to pass image files C++

    Thanks. I noticed that the first part "C:\ Projects\segment\Debug>segment.exe" was unnecessary as it were increasing the value of argc by 1.

    argv[0] returned the *.exe without it being manually...
  3. Replies
    8
    Views
    1,150

    Re: Using "argv" to pass image files C++

    [QUOTE=Igor Vartanov;2188839]

    image<rgb> *input = loadPPM(argv[4]);


    As far as I understand, the fourth command line parameter must be a path to a file. Are you aware of what "command line...
  4. Replies
    8
    Views
    1,150

    Re: Using "argv" to pass image files C++

    Thanks for your input.
  5. Replies
    8
    Views
    1,150

    Using "argv" to pass image files C++

    Hello to you all. Using Visual Studio 2012, I am currently testing a program of image segmentation and need to somehow pass a test image file in the main program as shown below. Been searching for a...
  6. Replies
    2
    Views
    1,412

    Re: Discrete Fourier Transform Test Results

    Thanks for your feedback. My program is working now.
  7. Replies
    2
    Views
    1,412

    Discrete Fourier Transform Test Results

    Hello. I have been testing my Discrete Fourier Transform program for 1 dimensional data (written in using C++).

    For the following test input data(X), the corresponding DFT(X) output is expected....
  8. Re: Possible Loss of Data during Double to Unsigned Char Conversion?

    Thank you. My program is working now.
  9. Possible Loss of Data during Double to Unsigned Char Conversion?

    Hello. I am currently trying to copy an array of ‘double’ values into an array of “unsigned char”.

    I have checked my code to know that the expected values in 2 dimensional double arrays,...
  10. Re: Restore RGB values back into BITMAP image file

    Thanks. I tried this but the RGB values (when reading from the array_1D) are incorrect and the image output consequently is still incorrect.
  11. Restore RGB values back into BITMAP image file

    Hello all.

    I am currently working on imaging processing using arrays to store R,G,B values from a 24 bit BITMAP image of width 120 and height 100 pixels.

    Visual Studio 2010 is being used.
    I...
  12. Replies
    9
    Views
    3,354

    Re: Extracting RGB values from Bitmap Image

    Thanks for your guidance; this part of the program works now.
  13. Replies
    9
    Views
    3,354

    Re: Extracting RGB values from Bitmap Image

    [QUOTE=Philip Nicoletti;2187943]It should probably be:



    for(int i=0; i<width*bytesPerPixel; i+=bytesPerPixel) // width
    {
    arrayB_2D[j][counter] =...
  14. Replies
    9
    Views
    3,354

    Re: Extracting RGB values from Bitmap Image

    Could you advise as to how I can correct this? Thank you.
  15. Replies
    9
    Views
    3,354

    Re: Extracting RGB values from Bitmap Image

    Hello. When running the program, the message "Program.exe has stopped working" is received. So I have not been able to retrieve any values to test if it's correct (yet).

    Below is the updated code:...
  16. Replies
    9
    Views
    3,354

    Re: Extracting RGB values from Bitmap Image

    Thanks for your input, I appreciate the time taken.

    I have applied some of the changes expressed in your comment, but the program still does not work.

    'offset' has now changed to the correct...
  17. Replies
    9
    Views
    3,354

    Extracting RGB values from Bitmap Image

    Hello. I am currently trying to extract R, G, B values from a 256 colour bitmap image (using for testing purposes a fixed width of 152 and height 150). I have checked using BITMAPINFOHEADER and...
  18. Replies
    2
    Views
    2,011

    Write BITMAP data to file in C++

    Hello all. I am currently trying to copy the header and pixel data from an image file and write this into a new image file. I am using a 256 colour bitmap and for testing have chosen a fixed height...
Results 1 to 18 of 18


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)