JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for CCPEM Archives


CCPEM Archives

CCPEM Archives


CCPEM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

CCPEM Home

CCPEM Home

CCPEM  June 2018

CCPEM June 2018

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Converting MRC to tiff

From:

Takanori Nakane <[log in to unmask]>

Reply-To:

Takanori Nakane <[log in to unmask]>

Date:

Sun, 3 Jun 2018 11:15:36 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (77 lines)

Hi,

If it is from K2 and not gain normalised, compression is trivial:
  mrc2tif -s -c zip input.mrcs ouput.tiff (using IMOD)
The output usually becomes less than 5-10 % of the input.
(Of course this depends on the dose rate)

If it is gain-normalised, the file is in 32-bit float and very hard to
compress. You must first divide them by the gain reference to bring it
back to integer and then compress. If you don't have the gain reference,
you can estimate them by a simple program that finds common divisor over
all frames for each pixel. This works fine for data from serial EM.
I could loss-lessly compress EMPIAR-10061 from 12.6 TB to 306 GB
this way. See my old post at
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1703&L=CCPEM&P=R33113&1=CCPEM.

Unfortunately, EPU (or DM?) seems to do something with 'defect' pixels.
I don't know what is happening here. Their values are not multiples of
the gain reference and the above method is no longer lossless.
But these pixels are defects anyway and probably don't matter.

For images from Falcon III, the data are 16-bit integers. So you can
use mrc2tif in the same way as for K2.
However, because of the convolution algorithm, the compression ratio is
not as high as K2. Usually I get about 60 % of the original size.
If we had access to 'centroid-ed' super-resolution images before
convolution, we could save huge amount of storage...

For images from Falcon II, I don't know any good tricks.

Best regards,

Takanori Nakane

On 2018/06/03 10:17, Joshua Lobo wrote:
> Hi Dr Halfon
>
> Spider has a cp to tiff , imod has mrc2tiff . I haven't tried them but I
> think it's what you are looking for
>
> Sincerely
> Joshua Lobo
>
> On Sun, Jun 3, 2018, 10:02 AM Yehuda Halfon <[log in to unmask]>
> wrote:
>
>> Hi there,
>>
>> We have a bunch of MRC movie files the are eating at out storage, and
>> since more are coming I was wondering if there is a good way to convert
>> them into tiff to save space?
>>
>> I know that the best way is to save them directly as tif from EPU/
>> serialEM and that is what we will to in the future. But we need to find a
>> solution to the ones we have now.
>>
>> Thanks,
>>
>> Yehuda Halfon
>>
>> ------------------------------
>>
>> To unsubscribe from the CCPEM list, click the following link:
>> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1
>>
>
> ########################################################################
>
> To unsubscribe from the CCPEM list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1
>

########################################################################

To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager