Search:

Type: Posts; User: AlexFink

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    522

    copy that, I will remove HTML nonsense next time...

    copy that, I will remove HTML nonsense next time

    "
    What do you get printed for channels?
    3 maybe, one for each of R,G,B
    "
    Yea I get three

    "
    > unsigned char *image_r = malloc(sizeof(int) *...
  2. Replies
    5
    Views
    522

    my bad, void image2matrix(gsl_matrix *...

    my bad,


    void image2matrix(gsl_matrix * matrix, unsigned char *image, int width,
    int height)
    {
    for (int j = 0; j < height; j++) {
    for (int k = 0; k < width; k++) {
    ...
  3. Replies
    5
    Views
    522

    I ended up doing the below, I would be happy to...

    I ended up doing the below, I would be happy to get any tips for writing it in a more clean\ "right" way, I've been writing python for a few years and the transition is confusing for me.


    #define...
  4. Replies
    5
    Views
    522

    Loading an image as a matrix

    I want to load an image as a matrix, and perform sparse matrix arithmetic.
    The relevant libraries I found for this are:

    Image operations (load, resize):
    GitHub - nothings/stb: stb single-file...
  5. Thanks, just saw your message, and already went...

    Thanks, just saw your message, and already went in another path..
    I installed WSL (Windows Subsystem for Linux), and ubuntu on it, and installed GNU.
    I am currently struggling making the visual...
  6. I am looking into that, it seems like it fits my...

    I am looking into that, it seems like it fits my needs.
    I am currently struggling with enabling it and making it work in the IDE I'm using visual studio 2019..
  7. Sparse Matrix arithmetic in C, looking for libraries suggestions

    i, I am translating a piece of code from Matlab to c, I have a bunch of sparse matrix (and regular) arithmetic's there and I'm struggling to find a good library to use, and also to set it. I didn't...
Results 1 to 7 of 7