Search:

Type: Posts; User: java_novice

Search: Search took 0.17 seconds.

  1. Replies
    7
    Views
    1,879

    Re: java testing

    yeah like my class takes values and does some calculations on them. Ive done something similar in c# before using nunit which has built in assert methods so I could do something like......
  2. Replies
    7
    Views
    1,879

    Re: java testing

    Is there no automated test suites that can be run easily against Java classes to say for example, check output is correct with certain inputs?
  3. Replies
    7
    Views
    1,879

    Re: java testing

    what do you use to unit test your classes?
  4. Replies
    7
    Views
    1,879

    java testing

    I have a java program written and want to write at least one test for each class. What would you recommend for using to unit test java classes?

    thanks
  5. Replies
    4
    Views
    1,634

    Re: Translation to Java?

    Problem solved, thanks
  6. Replies
    4
    Views
    1,634

    Re: Translation to Java?

    The nFFT and nFFT2 are the number of fft points eg in a 256x256 image, nFFT=256 and nFFT2=158.
  7. Replies
    4
    Views
    1,634

    Translation to Java?

    I have the following code which can be used on a 2d array of pixel values to do the fft and get the magnitude of the image. I wonder can anyone translate this code to its Java equivalent:

    ...
  8. Replies
    9
    Views
    2,194

    Re: Resizing on mouse movement

    It can be repositioned ok, the original code i posted which I think is the one your looking at (the one with my changes) can also be repositioned slightly but it is very temperamental. What I wanted...
  9. Replies
    9
    Views
    2,194

    Re: Resizing on mouse movement

    Its giving strange resizes using that method because I'm trying to add an x coordinate to a width or height etc. Theres bound to be a better way of doing it, as with the code your looking at it has...
  10. Replies
    9
    Views
    2,194

    Re: Resizing on mouse movement

    Sorry I edited that comment to just contain the original code, its the 'clip' I am wanting to resize
  11. Replies
    9
    Views
    2,194

    Re: Resizing on mouse movement

    just the rectangle....heres my code atm, moving the rectangle about works fine but i need to be able to resize it

    public class Cropping extends JPanel
    {
    BufferedImage image;
    ...
  12. Replies
    9
    Views
    2,194

    Resizing on mouse movement

    Hi, my program opens a rectangle on a jframe and I want to make the rectangle resizable by the user. Anyone any idea how to do this? Thanks
  13. Replies
    6
    Views
    2,760

    Re: Image Processing in Java

    Thanks for the buffered image link, but with regard the imaginary parts of the image is this not specific to the image each time? As I'm going to be comparing the images to find out who's in the...
  14. Replies
    6
    Views
    2,760

    Re: Image Processing in Java

    ps i am using the fft to then get the magnitude of the images so i can compare them
  15. Replies
    6
    Views
    2,760

    Re: Image Processing in Java

    Yeah the tutorials assume you have the real and imaginary part of the image, whereas I just have one 2d array of the pixel values.

    Also, a quick question though its somewhat off the java topic, if...
  16. Replies
    6
    Views
    2,760

    Image Processing in Java

    Hi guys, I'm relatively new to java and to image processing and I'm hoping someone on here can help me with the problem I'm having.

    What I've done so far is make a simple application which opens...
Results 1 to 16 of 16