Skip to content
pete edited this page Jul 30, 2018 · 3 revisions

This page contains answers to many QuPath-related questions.

Please check it first to see in your question has already been answered. If not, head on over to one of the following places:

  • Google Groups, for questions about the software, or how to apply it to analyze your images
  • GitHub issues, to report bugs or make feature requests

For the latest news, you can also see Pete's blog or follow him on Twitter.

Please avoid using GitHub for general 'how-to?' questions. It is rather, as the name suggests, for 'issues', and should operate like a todo list for things that need to be fixed.

One day someone shall go through the existing questions on GitHub and close them if they aren't really issues...

Feedback

Can I cite QuPath in a publication?

Please do! Be sure to reference the Scientific Reports paper.

See Citing QuPath.

I've found a bug. What do I do?

The best thing to do is to check if it's already reported as issue on GitHub. If so, you can add your voice to the discussion - if not, you can add it. This will help keep the bug prominent and tracked until it is fixed.

It is extremely helpful if you can include the following information:

  • the version of QuPath you are using (which should be the latest)
  • the operating system you are running on (e.g. Windows 10, macOS 10.12, some flavor of Linux)
  • steps to recreate the bug
  • any error messages QuPath displays or logs (if none appear, try View → Show log to see if anything more subtle has been recorded)

I'd like a new feature. What do I do?

As with bugs, it is best to add a new issue on GitHub, or to get in contact through one of the methods described here.

Sometimes features can be added easily with a small code change or a script... but often considerably more work would be required.

Please note that time and resources are limited, and it is not possible to offer custom development as a service. However feel free to contact @petebankhead if you want to discuss the possibility of collaborating on interesting projects.

General questions

How do I find the command I'm looking for?

Type Ctrl + L to bring up the Command List, and start typing the name of the command you want.

You can even select the command using the arrow keys, and press Enter to run it - making it possible to run commands quickly from the keyboard, without needing to resort to using a mouse.

Where do I find a list of shortcut keys?

On the Wiki here.

Running QuPath

QuPath doesn't work on my computer!

Be sure to check the System requirements - especially the need for a 64-bit computer.

There can be problems with some flavors of Linux, e.g. https://github.com/qupath/qupath/issues/51 and also with some older Macs.

Where there are incompatibilities, chances are these are related to the 'native libraries', which in this case means OpenSlide or OpenCV. If you are able to try to launch QuPath from a command line, you may see more informative error messages.

If you suspect attempts to load OpenSlide or OpenCV are causing trouble, you can hack your QuPath installation to remove/hide any file you see with 'openslide' or 'opencv' in the name. You'll lose some important functionality, but it may at least allow the software to run. If it does, you can get some of the missing functionality back with alternative commands that do similar tasks by installing the Bio-Formats extension and Weka extension.

Can QuPath be run in batch mode from the command line?

Kind of... here are some relevant links:

Startup options

Why does QuPath recommend using US English region settings?

For consistency. Lots of subtle and thorny issues can happen when representing numbers in different ways, in particular when switching between using dots or commas the decimal mark.

For example, 1,001 can either be a fairly large number or a small number depending upon where on the world it is read.

In some cases, QuPath has to use the 'dot' representation for decimals (e.g. when scripting), since this is Java's preferred form... and trying to work around this proved too difficult. However, forcing everyone to use US English for everything (e.g. including exporting results) isn't a perfect solution, especially if other software (e.g. your preferred spreadsheet application) is set up to use something else.

Therefore QuPath does not (currently) insist on its preference for US English... but gives a warning to be very cautious about how numbers are represented and interpreted.

There is a more detailed technical description about the issues involved here.

Viewing images

I've installed QuPath... now what?

Begin with your First steps.

How do I open an image/script/project?

The fastest way is usually to just drag the file onto QuPath instead. This works for images, projects and scripts.

But, you really should put your images into a project to help keep all your files organized, see Projects.

QuPath can't open my image! What can I do?

Firstly, check out the supported formats here and check if your image is one of them.

Secondly, try downloading and installing the Bio-Formats extension to see if that helps.

If this does not lead to success, follow the steps for I've found a bug - including a check for any error log - in the hope that a solution may be found together.

Note: since QuPath uses a variety of other libraries to read images, image reading issues may not be solvable within QuPath, and may require either creating or modifying an extension.... but it is worth a try.

My image opens, but it is tiny / the resolution is terrible.

Is the extension .mrxs? Then see here.

(Or follow the link anyway, even if the file extension is different - the reason may be the same.)

Is it possible to view the slide label?

Yes, see this answer.

The controls aren't working properly on a touchscreen

This is an issue with v0.1.2 and earlier; see here for more information.

How can I set the display range (brightness/contrast) exactly, and not only with sliders?

Double-clicking on the Min/Max display labels should work, as described here (and discussed here).

Can I view the channel names within QuPath for a multichannel image?

Currently no, but see here for a feature request and the latest information.

Drawing annotations

When I try to draw with a Brush or Wand tool inside another annotation, I end up just selecting the existing annotation.

This is intended; often this is desirable as it makes it easier to refine annotations with the Brush or Wand.

However, you can create new annotations inside if you lock the existing annotation first, see here.

How can I create annotations with a fixed size?

See this blog post.

Importing & exporting annotations

Can QuPath import annotations from .mrxs files?

Not on its own, but see https://github.com/qupath/qupath/issues/165

Classifiers

Trying to create a detection classifier gives an error. What can I do?

If creating a detection classifier using the default Classify → Create detection classifier command doesn't work, there are two things you can do:

  • Select a different classifier from the drop-down menu rather than the Random trees (default)
  • Try the Weka extension for an alternative set of classifiers that may be more accommodating

This issue has been reported on a computer with an Intel Core i3 processor running Windows 64 here, although it is not clear if it occurs elsewhere.

Since it is not reproducible on any of my test systems, and there are two workarounds, unfortunately it is unlikely to be fixed... and so the use of a different classifier is required.

Tissue Microarrays

How do I analyze a TMA?

Start off with the CD3 tutorial.

That gives the general ideas. However for other kinds of scoring, you might need to exchange some steps for other ones; for example, instead of Fast cell counts you might run Positive cell detection and possibly train a detection classifier to end up with H-scores or positive cell % values.

Refer to Detecting objects and Classifying objects for more information.

The TMA dearrayer just creates 1 core, in the wrong place!

See here.

Working with multiple slides

Can QuPath handle the alignment of consecutive sections?

This is a common question, to which the answer is 'not really' - this functionality would need to be created.

Currently, you can only view the consecutive sections side-by-side, and potentially transfer annotations between them... although this is only likely to be very meaningful/useful if you have already registered the images in some other software, and written out whole slide images that are 'perfectly' aligned.

Some places where this is discussed:

ImageJ

Can ImageJ macros be run in scripts?

Less easily than would be ideal; macros are currently not recorded in the workflow enabling them to be turned into scripts.

However, there are workarounds described here and further addressed here.

Be aware that the Send Overlay to QuPath ImageJ plugin doens't work in batch mode; see https://github.com/qupath/qupath/issues/136 for a description and workaround.

Clone this wiki locally