# Frequently Asked Questions

## Why are fractional coordinates used instead of pixel coordinates in the Universal Data Tool?

Pixel coordinates can often be helpful for drawing or extraction part of an image. However, fractional coordinates, meaning coordinates in the range `[0,1]` are used for representing the location on an image in the UDT for the following reasons:

* It is resilient to image resizing/changes to size in the underlying image source
* Most images are rescaled prior to being put into a machine learning model, at which point a pixel coordinate transformation would be necessary and cumbersome
* It better supports "massive" image scenarios, such as maps or microscopic slides, that have variable pixel accuracy

If you need to convert UDT fractional coordinates into pixel coordinates, you can do it quickly with[ udt-to-image-position](https://github.com/UniversalDataTool/udt-to-image-position).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.universaldatatool.com/frequently-asked-questions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
