large datasets!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pilafi
    New Member
    • Nov 2007
    • 15

    #16
    Originally posted by weaknessforcats
    You never answered RedSon's question, or mine: What is this "artifact" and what is this "white slice"??????

    A csv file is just a file where each record is a line and the values in the line a separated by commas. That's all it is.

    The actual meaning of the values differes by application. You cannot use a csv file for a picture unless you already know the structure of the file. Just opening any old csv file will get you garbage.

    It's starting to look like an application bug and not a memory allocation problem.

    Exactly what are you trying to do?
    Hallo!!
    An artifact is a structure or feature that is yisible only as a result of external action or experimental error.Also known as disturbance in biopotential signals.

    The csv files i have is exctly like the example i sent you above.
    Opening these files i expect to see an image with 3 layers.And i am trying to open all these files and seethe images.

    I am looking forward for your answer.

    Comment

    • RedSon
      Recognized Expert Expert
      • Jan 2007
      • 4980

      #17
      Originally posted by pilafi
      Hallo!!
      An artifact is a structure or feature that is yisible only as a result of external action or experimental error.Also known as disturbance in biopotential signals.

      The csv files i have is exctly like the example i sent you above.
      Opening these files i expect to see an image with 3 layers.And i am trying to open all these files and seethe images.

      I am looking forward for your answer.
      CSV files are not images. If you open a csv file you will see some data separated by commas. If you are using a CSV file to represent an image, for example, where each entry represents an RGB value for a pixel then you are going to have to write a custom application viewer.

      Comment

      • pilafi
        New Member
        • Nov 2007
        • 15

        #18
        Originally posted by RedSon
        CSV files are not images. If you open a csv file you will see some data separated by commas. If you are using a CSV file to represent an image, for example, where each entry represents an RGB value for a pixel then you are going to have to write a custom application viewer.

        Ok then lets assume that we have another type of file.A file like this one i send you.These values give us a three layer image.Now it is possible to imagine the problem??

        Sorry if i am not clear some times but i am new.
        thank you for your help!

        Comment

        • arnaudk
          Contributor
          • Sep 2007
          • 425

          #19
          I suspect English is not your native language! Taking a wild guess, it looks like you wrote a program using some libraries which somehow converts your csv data (presumably representing tissue imaging scans or something) into actual images (bitmaps, etc) you can look at. If you see artefacts or "white regions" in your resulting images, then this is probably a problem with the way you're converting the csv data into images, do you actually understand how this is being done in your program? If the csv data represents electrical signals from your tissue scans, for example, perhaps you need to rescale your data by equating the maximum and minimum voltage to the maximum and minimum pixel brightness supported by the target image format?

          Comment

          • pilafi
            New Member
            • Nov 2007
            • 15

            #20
            Good morning!!Its true that English its not my native language and also i am new
            in the programming.All i had to do was to make a reader for a specific kind of files and integrate it in a visualization platform that other people make.My files has the following form:

            _____________C-Scan Settings_______ _______________ ____
            Distance Unit: mm
            Scanning Axis: 0
            Scanning Length: 1.000
            Scanning Resolution: 0.2500
            Index Axis: 1
            Index Length: 1.000
            Index Resolution: 0.2500
            _____________Ou tput Waveform Settings_______ _____________
            Data Ch: 1
            Waveform Start(us): 7.182
            Waveform Length(#): 0.000
            Waveform Sampling Rate(MHz): 4000.000

            ______Output Data (Format for each row: index Number, scanning number, Waveform)______

            0 0 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            0 1 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            0 2 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            0 3 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            1 0 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            1 1 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            1 2 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            1 3 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            2 0 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            2 1 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            2 2 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            2 3 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            3 0 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            3 1 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            3 2 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000
            3 3 0.0000 1.0000 0.0000 0.0000 2.0000 0.0000 0.0000 0.0000 3.0000 0.0000 0.0000

            and when i run the program i get the following..:
            [IMG]test[/IMG]

            Comment

            • pilafi
              New Member
              • Nov 2007
              • 15

              #21
              Sorry how can i insert an image??

              Comment

              • arnaudk
                Contributor
                • Sep 2007
                • 425

                #22
                It sounds to me more like you don't understand what kind of input the visualization platform expects. Read its documentation to understand how it works.

                Comment

                Working...