Search:

Type: Posts; User: alfaceor

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,602

    function, array, pointer problem

    Hi people.

    This code works fine when N=DIM, but for N!=DIM doens't. How can i fix that and why this happen




    #include <stdio.h>

    void InitialValues(double *ptr_total_force,double...
  2. Replies
    8
    Views
    2,082

    I assume the malloc() is incorrect. So how can...

    I assume the malloc() is incorrect. So how can correct this bug?
  3. Replies
    8
    Views
    2,082

    thanks people that works really well. But i don't...

    thanks people that works really well. But i don't understand why because earlier i proof (.*) instead (->) and don't works either.

    And how should make the memory allocation for my variable...
  4. Replies
    8
    Views
    2,082

    struct pointers and functions

    Hello everyone

    I want a struct in which one member is a pointer (arrProb) and the other is an integer to save the quantity of elements in the array.



    typedef struct MODELOBJECT{

    int...
  5. Replies
    5
    Views
    4,244

    Yes is really fast, for my images takes 0.12...

    Yes is really fast, for my images takes 0.12 seconds. Oops sorry for the comments but my native language is spanish. ;)

    Thanks for the help and comments.
    bye.
  6. Replies
    5
    Views
    4,244

    This is my implementation unsigned char...

    This is my implementation




    unsigned char **im2bw_niblack( double **mat,
    int nrows, int ncols,
    int sizeWindow,
    double weight)
    {
  7. Replies
    5
    Views
    4,244

    thanks dwks thats a really good idea. I will try...

    thanks dwks thats a really good idea.
    I will try and then post again.
  8. Replies
    5
    Views
    4,244

    C matrix libreries

    Hello people
    I found a function to binarize a gray image in matlab (Niblack algorithm) here.

    I make a implementation in C and get the same results but the excution time is very huge.
    in matlab....
Results 1 to 8 of 8