[Insight-users] How to create an image whose pixels are accessed via a function call

Bill Lorensen bill.lorensen at gmail.com
Fri Oct 31 12:27:49 EDT 2008


Carlos,

There is currently not a class in itk to do this. However, you could
implement a subclass of ImageBase to do what you want. Look at
itkImageAdaptor to see what methods need to be implemented.

Bill

On Fri, Oct 31, 2008 at 7:17 AM, Carlos Sánchez Mendoza
<carlos.sanchez.mendoza at gmail.com> wrote:
> Dear all,
>
> I'd love to receive any kind of advice on the following issue:
>
> I have access to some image data via calls to a function (passing the
> coordinates of every pixel as a parameter). Although stepping through the
> whole input image and storing it in a custom created image object could do
> the job, I'd like not to duplicate resources. That's why I am looking for a
> way to create an image whose pixels are evaluated via a function call, is
> that possible (not from scratch)?
>
> Thanks in advance.
>
> Carlos S. Mendoza.
> Universidad de Sevilla.
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list