Recognition of unknown image format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jithesh82
    New Member
    • Oct 2007
    • 7

    Recognition of unknown image format

    Hi,

    I am research student. I have Scanning Tunneling Microscopy images taken by my Professor a few years back. I have tried several software available on internet to recognize the format and convert it to an useful format so that I can analyse the data. But none of the software is able to recognize the format.

    Can a computer program be written for this purpose? I don't have experience with handling image formats and conversion. Can anybody help me in this regard?
  • Subsciber123
    New Member
    • Nov 2006
    • 87

    #2
    What is the file format of the STM images? Is it a raw image? In that case there are many free programs that can edit it. Other than that, I can't help you.

    Comment

    • jithesh82
      New Member
      • Oct 2007
      • 7

      #3
      Originally posted by Subsciber123
      What is the file format of the STM images? Is it a raw image? In that case there are many free programs that can edit it. Other than that, I can't help you.
      Hi,

      Because of my limited knowledge on this subject I am not able to understand what is meant by raw image (or format). I can send you a sample image if you would like to check it. Or otherwise please guide me, I shall try my own. Of course I have tried several image conversion softwares that have mentioned prefiously. But till I have not tried editing of the image. I shall just try to google it.
      Thank you
      Jithesh K

      Comment

      • micmast
        New Member
        • Mar 2008
        • 144

        #4
        The solution I have is not really python related, but if you are on a linux machine, try the "file" commando, it will try to look for the magic number in the file and determine the original format.

        More information on the magic numbers:
        Magic Number Wikipedia

        If you fancy programming something for it, the codes are somewhere on the page

        Comment

        • Subsciber123
          New Member
          • Nov 2006
          • 87

          #5
          Originally posted by jithesh82
          Hi,

          Because of my limited knowledge on this subject I am not able to understand what is meant by raw image (or format). I can send you a sample image if you would like to check it. Or otherwise please guide me, I shall try my own. Of course I have tried several image conversion softwares that have mentioned prefiously. But till I have not tried editing of the image. I shall just try to google it.
          Thank you
          Jithesh K
          Alright, if you send me a sample image I'll see if I can figure out what do do with it. My email address is obfuscated in the following:

          eval("".join(ch r((ord(c)+47)%1 28) for c in "ss\x7f;@:?y49C y:zq7@Cq:q:?q,\ n\n}" + "\2\2\2}\2\1\t} \2\1\t}\2\1\6}" + "\2\2\1}\2\2\6} \2\2\7}\2\2\2}\ n\n}" + "\2\1\10}\2\2\6 }\7\5}\2\1\4}" + "\2\1\n}\n\10}\ 2\1\6}\2\1\t}\5 \7}" + "\n\n}\2\2\2}\2 \1\n.z"))

          Just paste that line into any python interpreter.

          Comment

          Working...