No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi guys, I would appreciate it if you could help me reading a 16bit binary file (tiff image). Since the file is in 16bit, pixels of the file stores values ranging from 1200 to 4500. I want to retrieve those values. I used ReadUInt16 since the file has a 2byte … |
|
Hi guys, I have searched for a sample code about 3x3 moving window which will be used to change the pixel values using the surrounding 8 cells in vb .net. It will start manipulating from (0,0) or top left corner pixel of the image and end the process after the … |
|
Hi guys, I would appreciate it if you could give me sample code for linking two forms. I have a program which has 2 forms. I execute form1 first because it reads files and then writes to a file. Then I execute second form (form2) that will read the file … |
|
Hi guys, I can't figure it out where I am doing wrong. I keep getting FileNotFoundException saying that "Could not find file 'C:\delete\band3_tao.img'." but this file was writen to a file in previous step. I have attached the code I have written. I need your help. Thanks. Here is the … |
|
Hi VB .NET experts, I was wondering if you could give me some help. I am planning to write a simple program which reads two binary files and apply a simple math function ((file1-file2)/(file1+file2)) then outputs the file (file3). Then the user selects the file (file3) outputted as an input … |
|
Hi all, I am trying to make a program in VB .NET that has two "browse" bottons, two textboxes which should show the full path of the files to be selected, one "Save As" button, one textbox that should show the file's full path where to be saved in, an … |
|
Hi guys, I am using VB 2008 Express. I have created a form which has traditional "OK" and "Cancel" buttons on it. After I execute the program I point the mouse over the OK button or Cancel button (doesn't matter) to press but for some reason sand watch icon appears … |
|
Hi Everybody, I am trying to compare single precision floating point values in VB .NET. The code runs ok but the results look not right. Results also contain -Inf values. I see that this is not the right way of comparing floating points. Could you please show me how to … |
|
You VB .NET developers out there, I have posted 3 threads requesting help on reading floating point values from a binary file but did not get any reply at all. Is it because I am asking a stupid question or noone really have a clue about the question I asked? … |
|
Please someone help me with this code. I keep getting an exception saying Unable to read beyond the end of the stream. What I am trying to do is reading a binary file that has a single data type and then writing them into a file. Any help is appreciated. … |
|
Hi all, My program reads a binary file (data type is single) and writes that binary file but the file size of the outputted binary file is exactly 4 times larger than the inputted binary file. I just don't know why. I would understantd if the binary file that the … |
|
Hi all, I did manage reading from a binary file that holds byte values in it by using binary reader but keep getting an exception (EndOfStreamException) when I try to read another binary file which holds floating point values. I would gretly appreciate it if someone could help me out … |
|
Hi, I've been working on a program that reads two binary files, then each value of file1 is divided by each value of file2. My binary files are 8-bit grayscale image files that is each pixel has a value between 0 and 255. I read them into byte arrays. I … |
|
How could we implement the code if I want to read a grayscale image file into two dimensional byte array? Since we don't always know the number of rows and columns binary file has beforehand, how can I read that into 2-D array? A grayscale image is single band image … |