Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6031867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:14:55+00:00 2026-05-23T05:14:55+00:00

I was wondering if anybody has a recommendation for an image format that supports

  • 0

I was wondering if anybody has a recommendation for an image format that supports integer-valued images in the range [0, 2^32] or higher, e.g. [0, 2^64]. I am interested in solutions that may already be supported by MATLAB (& OpenCV, if possible), that is, image formats with library support with read & write access in MATLAB and C/C++ (e.g. OpenCV) for such images.

I can write my own read/write library, but I would like to avoid reinventing the wheel. If no such library exists, I am interested in generic formats that would facilitate the implementation of read/write library for such images.

Note: I believe MATLAB’s support for indexed images in .png files is limited to integers in the [0, 2^16] range

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:14:56+00:00Added an answer on May 23, 2026 at 5:14 am

    You could try TIFF.

    MATLAB has a powerful interface: http://www.mathworks.com/help/techdoc/ref/tiffclass.html

    For an example, look here: http://www.mathworks.com/help/techdoc/import_export/f5-123068.html#br_c_iz-1

    or:

    t = Tiff('uint32.tif','w');
    
    imgdata=uint32(magic(10));
    tagstruct.ImageLength = size(imgdata,1)
    tagstruct.ImageWidth = size(imgdata,2)
    tagstruct.Photometric = Tiff.Photometric.MinIsBlack
    tagstruct.BitsPerSample = 32;
    tagstruct.SampleFormat = Tiff.SampleFormat.UInt;
    tagstruct.SamplesPerPixel = 1
    tagstruct.RowsPerStrip = 16
    tagstruct.PlanarConfiguration = Tiff.PlanarConfiguration.Chunky
    tagstruct.Software = 'MATLAB'
    t.setTag(tagstruct)
    
    t.write(imgdata);
    
    t.close();
    
    info = imfinfo('uint32.tif');
    
    data = imread('uint32.tif');
    class(data)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if anybody has ever created some sort of system that can
I was wondering if anybody has found a solution that validates an email that
Just wondering if anybody has run Scala app or web-app on Java Real-Time system?
I was wondering if anybody has seen a technique for adding Maven dependencies to
I'm just wondering if anybody has any good game score algorithms based on REMAINING
I'm wondering if anybody has run across something similar to this before. Some quick
As a .NET/XAML developer I am wondering if anybody has started to write a
This is an extremely weird problem: wondering if anybody has experienced this before. My
I have a little issue with Xcode and was wondering if anybody has this
I'm wondering if anybody has had any experience in trying to install SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.