[Insight-users] Why are getBufferAs* methods not available in Java?

Zamir Khan zamir.khan at gmail.com
Thu May 2 11:35:21 EDT 2013


I am primarily working with VS2010, .NET 4.0, x64, if that helps.

Thanks,
Zamir


On Thu, May 2, 2013 at 11:34 AM, Zamir Khan <zamir.khan at gmail.com> wrote:

> Can anyone confirm whether they have access to the GetBufferAs* methods in
> the C# wrappers of SimpleITK in v0.6.1 or later?
>
> Thanks,
> Zamir
>
>
> On Tue, Apr 30, 2013 at 11:26 AM, Zamir Khan <zamir.khan at gmail.com> wrote:
>
>> Sorry, I'm not sure what is meant by "compile distribution". If you mean
>> the 0.6.1 release binaries, that is what I started with (and what led me to
>> build from the source). In both versions, I do not see any buffer related
>> methods for the Image object in the C# wrappers (using the object explorer
>> and Intellisense).
>>
>> On an unrelated note, I also found a strange discrepancy that I could use
>> Image.GetPixelID() in the x64 version, but not the x86 version.
>>
>> Thanks,
>> Zamir
>>
>>
>> On Tue, Apr 30, 2013 at 11:14 AM, Bradley Lowekamp <
>> blowekamp at mail.nih.gov> wrote:
>>
>>> Hello Zkhan,
>>>
>>> Those methods should still be there.  Are you able to find them in the
>>> compile distribution?
>>>
>>> I checked to see if there was a test for those methods in C# and I
>>> didn't see them any place. So I can't confirm that they are being tested
>>> nightly.
>>>
>>> Brad
>>>
>>> On Apr 30, 2013, at 8:44 AM, zkhan <zamir.khan at gmail.com> wrote:
>>>
>>> > Sorry to revive an old-ish thread, but I read here that the
>>> GetBufferAs*
>>> > methods are implemented for C#. However, I just pulled and built
>>> SimpleITK
>>> > 0.7.32799.0 and I cannot find any methods to retrieve a buffer from the
>>> > image. As has been mentioned, this would provide a significant
>>> performance
>>> > improvement over having to access the image pixel-by-pixel when
>>> needing to
>>> > transfer the image data outside of the Image object.
>>> >
>>> > Have these methods been removed, or not yet implemented?
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context:
>>> http://itk-users.7.n7.nabble.com/Why-are-getBufferAs-methods-not-available-in-Java-tp30969p31309.html
>>> > Sent from the ITK - Users mailing list archive at Nabble.com.
>>> > _____________________________________
>>> > Powered by www.kitware.com
>>> >
>>> > Visit other Kitware open-source projects at
>>> > http://www.kitware.com/opensource/opensource.html
>>> >
>>> > Kitware offers ITK Training Courses, for more information visit:
>>> > http://www.kitware.com/products/protraining.php
>>> >
>>> > Please keep messages on-topic and check the ITK FAQ at:
>>> > http://www.itk.org/Wiki/ITK_FAQ
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130502/ca4b7767/attachment.htm>


More information about the Insight-users mailing list