Is there any way to display floating point image on web form?
Alternatively, I would like to search for an algorithm to convert floating point image into a PNG or JPEG format.
I am looking for an open source project.
Is there any way to display floating point image on web form?
Alternatively, I would like to search for an algorithm to convert floating point image into a PNG or JPEG format.
I am looking for an open source project.
It depends very much on the format of the floating point imagery.
If you have straight uncompressed RGBA floats you can simply iterate over them using unsafe methods to clamp the float values to byte values and fill up the pixels of a dotnet bitmap which has been locked using the lockbits
method.
For more information on lockbits
see this article by Bob Powell.
If the floating point data is not uncompressed or not in a known or accessible format, you might try an open source library such as FreeImage.NET to open the image.