[Insight-users] pointer to image data

barbababa tonimuusimaki at gmail.com
Mon Jul 18 19:43:01 EDT 2011


Hi!

Thanks for the reply!

But  is there no other way than pixel by pixel? Is there a way to cast
float* to itk::image<float,2>?

error C2440: 'type cast' : cannot convert from 'float *' to 'class
itk::Image<float,2>'

It could be i am missing the basics here.
But would it be possible to just to define a itk image pointer (raw or
smart) to the already allocated data and not to allocate new data for itk
image for input to some filter?


Thanks!

--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/pointer-to-image-data-tp6596336p6596896.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list