Imagine you have lots of slightly different images of an object like this, all taken from the same distance, with the object only rotating around its center (thus, on all pictures, the fossil will be equally large):
Now, you will want to also have a virtual ruler across two sides of the photographs. But how large is the object?
Fortunately, you also took an image with a real measure, hung such that it would slice the object in half (but next to it)... (also from the exact same distance, thus with the object equally large):
Now, you will want to put a virtual ruler across all images, as such:
Please note that you will first have to scale all the photographs equally (in LaTeX), until you feel that they are all large enough (as in the GIF on top of this post).
It would be possible to load the images as such:
\foreach \i in {1,...,16}{
\begin{figure}
\hspace{0cm}
\vspace{0cm}
\centerline{
\includegraphics[scale=0.1, angle=9,origin=c]{./SourcePictures/Fossil\i.jpg}
}
\end{figure}
}
Once the scale is OK, we would need to figure out how large the image is, in real life centimeters. To then be able to adjust the virtual ruler, such that its scale is correct.
For the virtual scale depicted above, I used \fgruler{upperleft} but I found no way to scale it. I just discovered this post: Axis, real scale, which perhaps describes a better way? Or should we adapt the size of the pages, to match the real life centimeters of the photograph?
Any suggestions on how to create a neat workflow for this?
In this case, I took:
- 1 picture with a measure
- 16 pictures of the laying-down rotation (set 1)
- 16 pictures of the upright rotation (set 2)
Please note that either set 1 and set 2 should be slightly shifted vertically.
Here is an example of a picture from set 1:
Here is an example of a picture from set 2: