octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8813] image package: Extended image I/O f


From: anonymous
Subject: [Octave-patch-tracker] [patch #8813] image package: Extended image I/O for Analyze 7.5 format to handle big-endian images
Date: Sun, 29 Nov 2015 13:27:33 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7

URL:
  <http://savannah.gnu.org/patch/?8813>

                 Summary: image package: Extended image I/O for Analyze 7.5
format to handle big-endian images
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 29 Nov 2015 01:27:32 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In the image package, I've extended analyze75info and analyze75write to
properly deal with big-endian images, and added regression tests.  Patch file
is attached.

* analyze75info.m : Add ability to read a header that is in big-endian format.
 Fixed bug in the test to see whether ByteOrder arg is passed in. Added lines
to open the file for big-endian reading

* analyze75write.m : Add ability to write out a big-endian image.  Set the
byte order in the header.  Added fix to properly set the Dimensions field in
the header when data is just a 2-D array.  Added some regression tests to
ensure that little-endian and big-endian I/O works.


 




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 29 Nov 2015 01:27:32 PM UTC  Name: an75patch.patch  Size: 5kB   By:
None
Patch file
<http://savannah.gnu.org/patch/download.php?file_id=35588>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8813>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]