Share

FreeImage

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Problems with MRI data ...

You are viewing a single message from this topic. View all messages.

  1. 2009-05-05 22:59:46 UTC
    I think it is pretty well documented that FreeImage does this. It is simply a speed issue with memory access.
    You should be using FreeImage_GetLine to get the width (in bytes, included unused ones) of the row, not FreeImage_GetWidth
    Of course, it is easier to just use FreeImage_GetScanLine in a loop to get individual lines as you go, instead of doing the math for each pixel access.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.