ImageJ handle large pictures better on a PC than on a Mac?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ handle large pictures better on a PC than on a Mac?

Flemming Ravn Merkel
Hi All

I handle large pictures in ImageJ (100-300 MB) and I find for some reason that when zoomed in on the picture I can easily scroll smootless through the picture when running ImageJ on a PC, while on a Mac computer the picture moves with an annoying delay and jumps from one point to another.

It happens on both my Mac computers, but when running windows on the very same computers (using bootcamp) the problem disappear.

Is there any reason why ImageJ should be able to handle large pictures better on a Windows version rather than a Mac version? When opening the pictures in Mac’s own default viewer (Preview) there is no problem.


Kindly
Flemming



--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ handle large pictures better on a PC than on a Mac?

Brandon Hurr
I've had similar performance issues on my macs (Air, mini, and iMac) since
upgrading to Yosemite and Java 8. There's been a few emails indicating that
the performance issues were Java 8 more than anything else, but the fixes
do not seem to work (mostly upgrading FIJI/IJ and Java). Most of my
performance issues occur when switching windows during a macro and it
appears accumulative. As in, the more images I open and close the slower
windows update/refresh, and yet previous images have been closed. It sounds
very related to the issues OP is having.

Oddly, when running in batch mode these issues do not happen. There is no
slow down so it's some sort of drawing issue, which may be related to video
drivers or the interaction of those drivers and Java. I really have no idea
though, I'm more of an end-user than a developer.

I'm running Yosemeite 10.10.5 on my iMac, 10.11.0 on my mini, and 10.10.5
on my Air, all with Java 1.8.0_60 (latest) and they all exhibit the
problem. I had better performance on 10.9.x with Java 6, but there's a push
to move to newer Java versions for security and performance (oddly enough)
reasons.

If anyone has a way to narrow down the issue and help the developers
isolate the issues then I'm happy to help because this really slows down
macro development for me on a relatively beefy machine (iMac).

Thanks,
Brandon



On Mon, Sep 21, 2015 at 11:47 PM, Flemming Ravn Merkel <[hidden email]>
wrote:

> Hi All
>
> I handle large pictures in ImageJ (100-300 MB) and I find for some reason
> that when zoomed in on the picture I can easily scroll smootless through
> the picture when running ImageJ on a PC, while on a Mac computer the
> picture moves with an annoying delay and jumps from one point to another.
>
> It happens on both my Mac computers, but when running windows on the very
> same computers (using bootcamp) the problem disappear.
>
> Is there any reason why ImageJ should be able to handle large pictures
> better on a Windows version rather than a Mac version? When opening the
> pictures in Mac’s own default viewer (Preview) there is no problem.
>
>
> Kindly
> Flemming
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ handle large pictures better on a PC than on a Mac?

Rasband, Wayne (NIH/NIMH) [E]
In reply to this post by Flemming Ravn Merkel
On Sep 22, 2015, at 2:47 AM, Flemming Ravn Merkel <[hidden email]> wrote:
>
> Hi All
>
> I handle large pictures in ImageJ (100-300 MB) and I find for some reason that when zoomed in on the picture I can easily scroll smootless through the picture when running ImageJ on a PC, while on a Mac computer the picture moves with an annoying delay and jumps from one point to another.
>
> It happens on both my Mac computers, but when running windows on the very same computers (using bootcamp) the problem disappear.
>
> Is there any reason why ImageJ should be able to handle large pictures better on a Windows version rather than a Mac version? When opening the pictures in Mac’s own default viewer (Preview) there is no problem.

This is one case where Java 8 is faster on OS X. I can scroll a 8400x8400 RGB image (269MB) at 23 fps using Java 1.8.0_60 but only at 4 fps using Java 1.6.0_65. To create a test image, open the Nile Bend sample image (4200X4200) and scale it by a factor of 2. Enable debugging (Edit>Options>Misc) to display the frame rate. Java 8 and Java 6 versions of ImageJ are available at

   http://imagej.nih.gov/ij/download.html

To run ImageJ using Java 6, you may need to download and install the Apple legacy Java 6 runtime from

   https://support.apple.com/kb/DL1572?locale=en_US

Java 1.8.0_60 is included with the ImageJ/Java 8 distribution.

-wayne




--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ handle large pictures better on a PC than on a Mac?

Flemming Ravn Merkel
Hi Wayne

Thanks a lot for clarifying this. I installed the ImageJ version (1.50c..) for OS X bundled with Java 1.8.0_45 and this solved the problem.

Thanks again
Flemming

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Rasband, Wayne (NIH/NIMH) [E]
Sent: 23. september 2015 02:10
To: [hidden email]
Subject: Re: ImageJ handle large pictures better on a PC than on a Mac?

On Sep 22, 2015, at 2:47 AM, Flemming Ravn Merkel <[hidden email]> wrote:
>
> Hi All
>
> I handle large pictures in ImageJ (100-300 MB) and I find for some reason that when zoomed in on the picture I can easily scroll smootless through the picture when running ImageJ on a PC, while on a Mac computer the picture moves with an annoying delay and jumps from one point to another.
>
> It happens on both my Mac computers, but when running windows on the very same computers (using bootcamp) the problem disappear.
>
> Is there any reason why ImageJ should be able to handle large pictures better on a Windows version rather than a Mac version? When opening the pictures in Mac’s own default viewer (Preview) there is no problem.

This is one case where Java 8 is faster on OS X. I can scroll a 8400x8400 RGB image (269MB) at 23 fps using Java 1.8.0_60 but only at 4 fps using Java 1.6.0_65. To create a test image, open the Nile Bend sample image (4200X4200) and scale it by a factor of 2. Enable debugging (Edit>Options>Misc) to display the frame rate. Java 8 and Java 6 versions of ImageJ are available at

   http://imagej.nih.gov/ij/download.html

To run ImageJ using Java 6, you may need to download and install the Apple legacy Java 6 runtime from

   https://support.apple.com/kb/DL1572?locale=en_US

Java 1.8.0_60 is included with the ImageJ/Java 8 distribution.

-wayne




--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html