Welcome to the Cybis photo and dendrochronology pages

To enter our actual site, please click on http://www.cybis.se


CooRecorder - Cybis Coordinate Recorder

The CooRecorder program is used for registration of coordinates taken from images.

You can use your computer scanner to take interesting photos of things which can be placed on the top of your scanner. If the things are transparent and small, they can be taped up on transparent film and then inserted into a film scanner. An image scanned as a photo from such a thing can be displayed on your computer screen. You can enlarge the photo to see interesting details and you can write down coordinates of these details. It is a very tedious job to do this very manual registration if you have an interest in lots of data for later statistical analysis.

Our CooRecorder program solves the problem by letting you just click on interesting points in your picture. The coordinates of these points are automatically written onto a file which you can later analyze with another program.

When do I use the program?

I do have this registration problem for two of my own interests: Bee-keeping and Dendrochronological analysis.

Breeding for better bees. For bee keeping it is a matter of measuring characteristic data from bee wings. This data may tell if the wings come from bees of a pure breed or from a mixed up breed or from some special breed. Mixed up bees are often angry. A bee keeper tries to avoid angry bees, because they annoy his neighbours and he gets stung by them. Identifying a breed is also a matter of breeding for a lot of other qualities than just non-aggressiveness.

Dating old houses and other constructions of tree. For dendrochronological data it is a matter of measuring the width of tree rings. A long sequence of such widths from a tree sample can be used to find out the age of the tree. I.e. to find out when an old house was actually built.

Working procedure when using CooRecorder

Click on File in the menu bar and select "Open image file for new coordinates". Select one of your .jpg or .bmp files.

When the file is loaded, a new window comes up:

Set the appropriate DPI value and select Raw data (for e.g. measuring bee wings) or Sorted Data for Dendrochronological measuring (also named Dendro mode).

There are four buttons to control the view of the image:

A magnifying glass, a demagnifying glass, a fit on screen button and an actual pixels button. Above the magnifying glass is a percentage indicator showing the current magnification of your image.

The magnification glass is a "zoom in" button. First click on the button. Then click on the appropriate point in your image. The view will zoom in an extra 50%. Click again to zoom more. As you zoom in more and more, the program becomes slower. At a certain point the image disappears. Click on the demagnifying glass to get the image back. The program works best at 100% magnification.

Recording

Recording aims at getting coordinate pairs registered on lines in a file, like here with three pairs on each line:
79.76 9.31 95.59 10.84 86.11 10.96
79.76 9.44 95.42 10.84 85.89 10.92

Before you start recording you have to click the Data button which will then "light up":

There are two recording modes in CooRecorder:

One coordinate pair for each line:

or a group of coordinate pairs for each line (data group mode):

If you are using the data group mode you have to click the End of data group button before you start recording the next group of coordinate pairs:


End of data group button

If necessary, you may switch between these two modes while recording.

Start recording by clicking on points on your image. The recorded points will be marked with plus signs. This is an example of measuring dendrochronological data to be written later with one point per line (i.e. one coordinate pair per line):

Note: The number of decimals shown for the coordinates to the left and also the numbers written to your coordinate files can be changed by parameter settings within the program. Also the numbers shown at the side of each point above can be hidden with an appropriate parameter setting. Even the colors used for click-marks and for numbers can be changed by parameter settings. Click on Settings in the menu bar to change these things.

There are a number of buttons for editing what you have recorded:

A select button to select a certain point.
Click on the Select button, then click on the proper point. When a point is selected the lower four buttons in the picture above will be enabled. They are otherwise dimmed.

A replace button.
First select a point. Then click on the replace button. Finally click at the new registration point in your image. This will move the selected point.

There is a delete button - the black cross.
This button will delete the currently selected point. If this point is part of a group, the whole group will be deleted. This is done so because deleting a point inside a group will probably make the order among the remaining points unclear. If you want to change some data within the group, either use the replace button to move individual points or use the delete button and then reregister the whole group.

There is a disable button - the red cross.
This button is used to disable single datapoints. When they are later written onto the file a "D" will be written directly in front of the numeric coordinate pair. This is usable for dendrochronological data, where some visible tree-rings are not actual year rings. You may want to register such an unclear point though you want to have the coordinate pair disabled until you know more about the sample. You can open the coordinate file later, select the disabled point and then click again on the disable button to enable the point.

There is also a start point button.
Normally the first coordinate you click when recording is also the first coordinate to be written to your file. Though when working with dendrochronological data you may want to register some extra points later. Or you want to delete the original first coordinate pair from your data set. Then it may be appropriate to indicate which point is the very first point of your data set. This button is only enabled when you are working in dendro mode and when you have also selected a point with the Select button (the button with the big arrow).

Writing your data to a file

Use the File/Save As command on the menu bar. Before writing data you have to select how data should be written, i.e. the output format.

There are two output formats: Raw data or Dendro data.

Raw data is what you would suppose it to be: Data taken from your first registration point and forwards until your last registration point. This mode will ignore any start point settings.

For a registration of three data pairs per line this would look like:

79,76 9,31 95,59 10,84 86,11 10,96
79,76 9,44 95,42 10,84 85,89 10,92

Note: The decimal comma used above as the decimal separator is that defined in Windows: Start button/Control Panel/Regional settings/Number/Decimal symbol. Probably you have your Windows system set up to use a decimal point (79.76) instead of the decimal comma shown above. For CooRecorder to work, you may have Windows set up either with a point or with a comma as the decimal separator.

Dendro data or sorted data is written from the starting point which you may redefine with the Start Point button. Then the next point written is that which is nearest to the start point. Then the point nearest to that point until there are no more points. In dendro mode, coordinates are always written with decimal POINTs and with a comma between the x- and y-coordinates, like
9.31,2.54
9.44,3.43
9.40,4.78

Group (or Point) labels

Before you start to record a new group of data you may register a "label" or "key word" for that group. Just write down your word (like "No 1:") into the Point label text box. When you then click for a new point, the label will be attached to that point. If you have several points within a group of data (group data mode), there is only one label saved for the group, though you may enter it for any one of the points. The labels will be written at the end of the lines in your data file, like
6,49 1,19 9,93 1,63 7,84 1,52 8,00 2,19 8,41 2,41 8,60 2,36 7,80 3,06 #No 1:
17,74 2,09 21,21 2,44 19,11 2,43 19,17 3,04 19,75 3,30 19,92 3,25 19,13 3,95 #No 2:

If you want to change a label, just select a point within the group, click on replace and enter the new label into the Point label text box. Then click on the point in the image again.

This is a very useful way to mark suspected and even disabled points. A disabled point with a label will look like this in a dendro file:

14.52,77.00
14.60,80.18
D14.60,80.94 #false ring?
14.71,82.63

The comment button

There is a Comment button

If you click on this button, you can enter a comment about your data. The comment will be stored into the coordinate file together with your coordinate data like this:
#DENDRO (Cybis Dendro program compatible format)
#Imagefile TreeRings.jpg
#DPI 600
#All coordinates in millimeters (mm)
SCALE 1
#C This is a sample from the old house at Bergvik, Nämdö .... this is the comment
#C taken in May 1999 after the house had been pulled down.
12.45,3.22
12.45,4.91
...

One more trick for dendro data

Sometimes I want to continue measuring from a new point, like this:

Here, this is done when going from point 9 to 10 on the same ring. Then I register point 9 and 10 as a group. So before clicking on point 9, I click on the datagroup button:

Then click on point 9 and 10. The group mode will switch back automatically to single point mode when data is known to be dendro data.

The written data will look like this:

2.41,5.04
2.29,5.97
2.03,7.15
2.03,8.00 7.70,10.03
7.28,11.09
6.90,12.53
6.77,12.95

I.e. with the two points 9 and 10 on the same line. (I have written programs which are set up to handle this type of data.)

Saltsjöbaden 26 January 2001

Lars-Åke Larsson
Cybis Elektronik & Data AB
Pålnäsvägen 1
133 33 Saltsjöbaden
Sweden

Do make a visit to our site on the Internet: http://www.cybis.se

In addition to our commercial information you will find lots of photo galleries with pictures from Stockholm and the Stockholm archipelago.