Search Result

Collapse
11 results in 0.0040 seconds.
Keywords
Members
Tags
algorithm
  •  

  • Smoothing an image multiple times fast

    Hi,
    I need a fast way to smooth an image multiple times fast.
    The way that i am currently using works like this(written in c#)
    NOTE i am only smoothing the R value of the RGB color
    Code:
    for(int i=1;i<height-1;i++)
    {
       for(int j=1;j<width-1;j++)
       {
          int n1 = image[j,i-1].R;
          int n2 = image[j,i+1].R;
          int n3 = image[j-1,i].R;
          int n4 = image[j + 1, i].R;
    ...
    See more | Go to post

  • Need an algorithm to divide a number into unequal integral value parts

    Ok, so here is the problem. I have a number, and I need to divide it into maximum unequal parts such that no part is less than 25 in value. Even if you cannot solve the problem, any help or ideas are appreciated. Thanks!
    See more | Go to post

  • Accurate Mass to Molecular Weight Algorithm

    I am trying to reduce my data entry workload through automation of an accurate mass calculator. I have a table of accurate "mass to charge" output vs. intensity from an agilent mass spectrometer. Currently I have to key input each of these molecular weights into the "Agilent MassHunter" mass calculator and get the multiple molecular formula matches and export these matches to excel (with their deviation). Ultimately I parse...
    See more | Go to post

  • fishfood11
    started a topic algorithm in python

    algorithm in python

    The problem is:

    -given the number or students, number of weeks, and number of tables, write an algorithm that takes the students and places then at tables for (w) weeks, switching every week, so that the interaction between different students is maximized. As in, each students should not spend too many weeks with one specific student. the number of tables is always less than the number of students, and the number of students does not...
    See more | Go to post

  • noob15
    started a topic Segmentation fault in determining closest pair
    in C

    Segmentation fault in determining closest pair

    I'm trying to code the closest pair algorithm...but when the distribution of points is too close, it is giving segmentation fault. My algorithm is right as for points sparsely placed it is giving same answer with bruteforce...th e problem is most probably when the line dividing points into two halves contain more than one point(not sure though) whose probability inc. with more and more points in picture. Here's my code
    http://pastebin.com/ZbDtC9dq...
    See more | Go to post

  • phpuser123
    started a topic How can I calculate the complexity of a c++ code?
    in C

    How can I calculate the complexity of a c++ code?

    Calculate the complexity of the following C++ code fragment: [3]
    count = 0;
    for (i = 1; i <= n; i *= 2)
    for (j = 1; j <= i; j++)
    2
    count++;
    Note: You are required to show all your workings.
    See more | Go to post

  • abz89
    started a topic Hirschberg algorithm

    Hirschberg algorithm

    somebody have a tried/implemented Hirschberg Algorithm to c#?
    i need it :(

    to make the program compare the two string and tell where the array index that the different,

    thx u
    See more | Go to post

  • abz89
    started a topic Pattern Matching in C/C++
    in C

    Pattern Matching in C/C++

    I've learned a programming language in C/C++. I want to make a program which try to compare two arrays (random chars)and notify the user about the differrents. The program have to notify both the subtitution and insertion/deletion.

    Here are the examples :

    array 1 : xxxxxxxxx...(as standard)
    array 2 : xxxyxxxxx...

    the program will notify that,
    "there are subtitution in 4th"

    ...
    See more | Go to post

  • vijaydshanker
    started a topic Why should I learn algorithms

    Why should I learn algorithms

    I am a student of Software Engineering. Today I asked this question to my teacher in class. But did not get any satisfactory answer

    Can any one please give me some insight why should i learn this topic in my graduations.
    See more | Go to post

  • Rafael Justo
    started a topic Steganography algorithm in python?

    Steganography algorithm in python?

    Hi,

    I'm developing a library to manage passwords and hide them in images. For now I'm using stepic, but this library only allows BMP images (easy to find info). I was wondering if there's any other steganography library in python. An implementation of F5 algorithm would be perfect! Any clues?

    Project homepage: http://www.assembla.com/wiki/show/cU...ir3R8beJe5afGb

    Regards,
    Rafael
    See more | Go to post

  • jkmyoung
    started a topic Stuck on a really hard sudoku!

    Stuck on a really hard sudoku!

    Hey, are there any sudoku experts out there? Can anyone tell me the next step in solving this sudoku and explain it properly? I've used all the rules I can think of but am now stuck.
    Code:
    51--263--
    7264-35-8
    93-5-76--
    395278461
    86--54--9
    47--698-5
    -59-41-83
    -43--2-5-
    -87-35-4-
    See more | Go to post
Working...