The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.12 (Linux)
File Line Function
/showthread.php 802 errorHandler->error

Post Reply 
conceptual problem with given NRRD files?
11-18-2014, 06:24 PM (This post was last modified: 11-18-2014 06:31 PM by Roozbeh Gh..)
Post: #1
conceptual problem with given NRRD files?
I was wondering what logic rule the files for max/min of values and how to map them to grayscale?
brain.nrrd type is float so it should be 32bit! but values are in range of 0 to 252 (just by quick skim). So should we assume range 0-252 is 0-255 (as somebody suggested in another topic)? Or maybe data was formed in a way that 252 actually means 252 in 0-255 range (probably what everyone assumed)! Or actually values are in range of 0-65535 (as 32 bit indicate) and we should scale 0-65535 down to 0-255?

For test.nrrd data is way bigger and there are 62xxx values. Which seems correct to me as they are 32bit values.

From my understanding, test.nrrd file is correct and brain.nrrd has a wrong header, as file is prepared with 8 bit type in mind and type should be "unsigned char" or similar. Although it doesn't make huge difference...but is confusing!

what do you think?
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
conceptual problem with given NRRD files? - Roozbeh Gh. - 11-18-2014 06:24 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)