Greg
animals brewing
food and drink gardening
general health
history language
music multimedia
opinion photography
politics Stones Road house
technology
Greg's diary
recent entries
Translate this page
Select day in June 2018:
Su Mo Tu We Th Fr Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Select month:
2017 Sep Oct Nov Dec
2018 Jan Feb Mar Apr
2018 May Jun Jul Aug
Today's diary entry
Diary index
About this diary
Greg's home page
Greg's photos
Network link stats
Greg's other links
Copyright information
    
Groogle

Monday, 18 June 2018 Dereel Images for 18 June 2018
Top of page
next day
last day

Many Hibiscus
Topic: gardening, photography, opinion Link here

By coincidence, and despite the cold weather outside, both our indoor Hibiscus bushes are flowering relatively profusely:


This should be Hibiscus-2.jpeg.  Is it missing?
Image title: Hibiscus 2          Dimensions:          6202 x 3456, 4590 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Monday, 18 June 2018, thumbnails          All images taken on Monday, 18 June 2018, small
Diary entry for Monday, 18 June 2018 Complete exposure details

 

Is that a good photo? What about this one?

 
This should be Hibiscus-1.jpeg.  Is it missing?
Image title: Hibiscus 1
Complete exposure details
Dimensions: 757 x 356, 196 kB
Dimensions of original: 4585 x 2158, 2538 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Monday, 18 June 2018:
thumbnails    small images    diary entry

They're both the same photo with different projection. The first is the conventional “wide angle” view (rectilinear projection). And it shows why extreme wide angle lenses are so strange. The second is the image unchanged from the lens (fisheye). The big difference is in the walls: in the first image, they look straight, while in the second they look curved. But at what a price! The pots at the bottom of the photo are now oval, and some of the flowers have been really distorted. In the fisheye view, things are more normal.

But there's more. Here's the same thing again with a cylindrical projection:


This should be Hibiscus-cylindrical.jpeg.  Is it missing?
Image title: Hibiscus cylindrical          Dimensions:          811 x 333, 160 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Display small version of all images on this page
All images taken on Monday, 18 June 2018, thumbnails          All images taken on Monday, 18 June 2018, small
Diary entry for Monday, 18 June 2018 Complete exposure details

 

Sometimes I think that this might be the best all-round projection for extreme wide angles.


More Hugin case study
Topic: photography, technology, opinion Link here

Continued with my investigation of the Hugin project file today, finding more and more details that aren't in what documentation I have. The result was a significant update of the case study. Things I have found so far:

  1. The GUI doesn't use pto_gen, at least not directly. That explains the difference between the messages and the fact that the GUI can't recognize fisheye lenses.
  2. The i lines are much the same, except that the GUI puts a (spurious) yaw value in them, probably the position where it puts them on the screen.
  3. The GUI also adds a lot of (currently undocumented) v (variable) lines, some of which appear to refer to photometric parameters.

But running the control point detector (cpfind) was the most surprising. Here the differences between the GUI and doing it standalone:

=== grog@eureka (/dev/pts/28) /photowork/Hugin-build-eureka 88 -> cpfind -o e-from-house-0-e-from-house-3-cpfound.pto  e-from-house-0-e-from-house-3.pto
Hugin's cpfind 2018.0.0.5abfb4de7961
based on Pan-o-matic by Anael Orlinski

Project contains the following images:
Image 0
  Imagefile: e-from-house-0.tiff
  Remapped : yes
Image 1
  Imagefile: e-from-house-1.tiff
  Remapped : yes
Image 2
  Imagefile: e-from-house-2.tiff
  Remapped : yes
Image 3
  Imagefile: e-from-house-3.tiff
  Remapped : yes

--- Analyze Images ---
i0 : Analyzing image...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
i1 : Analyzing image...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
i2 : Analyzing image...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
i3 : Analyzing image...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.

--- Find pair-wise matches ---
i0 <> i1 : Found 21 matches
i0 <> i2 : Found 0 matches
i0 <> i3 : Found 23 matches
i1 <> i2 : Found 22 matches
i1 <> i3 : Found 0 matches
i2 <> i3 : Found 20 matches

--- Write Project output ---
Written output to e-from-house-0-e-from-house-3-cpfound.pto

Detection took 24.268 seconds.

Those matches! 23 matches between the first and the last image!

Comparing the .pto files confirmed it: the control points were all there, and I was able to process the panorama further from that point.

That still doesn't identify the bug, but it gives me not just a workaround, but a better way to do things. Currently I do:

  1. Run a script called Hugin (with capital H; the executable is hugin), which links the images to a specific directory so that I don't have to climb trees to find it, using names starting with 00, 01, etc. to match the references in the GUI. It also resizes them if they're different in size.
  2. Run hugin and load the images from a GUI menu.
  3. Run the Align function, which creates the control points and optimizes them, and which I now need to look at in more detail. There's an alternative which might work correctly. This takes some time.
  4. Further processing, including masking, rotating and possibly change in projection.
  5. Stitching, which also takes some time.

I could easily get Hugin to run pto_gen and cpfind from the Hugin script, which would eliminate steps 2 and 3. Potentially I could also stop it from changing white balance and exposure for each image. Yes, I still need to load the .pto file, but that's relatively quick.

But that's one issue. I still need to understand why the current “Align” function only gives me matches between adjacent images.


Which induction cooker, iteration 4711
Topic: food and drink, opinion Link here

On Wednesday at the latest I need to return the ALDI induction cooktop. What should I buy to replace it with? I had been tending to the Bosch PIJ611BB1E, but today I finally found some details about how to install it: it doesn't have the lip at the front like the ALDI cooktop, so it would have to go back at least as far as the current gas cooktop.

What can I do? I could remove the batten running under the work surface. Despite everything that JG King says, it seems to have no structural function. But there's a door stop on them. What effect would that have? There's another one at the bottom:

 
This should be Kitchen-cabinets-2.jpeg.  Is it missing?
Image title: Kitchen cabinets 2
Complete exposure details
Dimensions: 449 x 601, 121 kB
Dimensions of original: 3888 x 5201, 3167 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 19 June 2018:
thumbnails    small images    diary entry

And then there's the issue with the power. I still can't find out what kind of wiring I need. With the current one, I know I can get by with the wiring I have, as long as I don't use too much power. I can also connect one of the two inputs to the oven, which might mean that we don't need any additional ($$$) wiring from the main switchboard. Can I do that with Bosch? They're keeping that information very close to their chests. And I'd be quite upset if I had to spend $1000 more for something that still annoyed me.


Tuesday, 19 June 2018 Dereel Images for 19 June 2018
Top of page
previous day

Max Lehey: Requiescat in pace
Topic: general Link here

I've been meaning to visit my uncle Max and his sister Frieda for at least two months now, and I keep postponing it, at least because I wanted to visit them both on the same trip, and they live over 200 km away from each other.

Today Frieda called up: the problem has simplified itself. Max died in his sleep last night. He had just turned 90 years old.

Damn! Apart from the sorrow about his death, that's another case where procrastination has irreversible consequences. I wasn't overly close to Max, but I had always admired him for his cheerfulness and—as I see it—happy way of life. In that respect he was an example to us all.


Happy anniversary, FreeBSD
Topic: technology Link here

In the morning's mail today:

06/19     Charlie Root <root@FreeBSD.org> born in Portland, Oregon, United States, 1993
06/19     FreeBSD project born, 1993

The first one an insider joke. 25 years already! How time flies!


Lunch with Lorraine
Topic: general, food and drink Link here

Off to Lorraine Carranza's for lunch today. I had been putting off the invitation until after I visited Max and Frieda, but clearly that wasn't a good idea.

This time I took a camera (the Olympus E-PM1) and took some photos.

 
This should be Yvonne-Lorraine-3.jpeg.  Is it missing?
Image title: Yvonne Lorraine 3
Complete exposure details
Dimensions: 606 x 446, 171 kB
Dimensions of original: 4108 x 3024, 2716 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 19 June 2018:
thumbnails    small images    diary entry

She has a really nice view to the north, the real “Grassy Gully” after which the road (some distance away) is named:


This should be Grassy-Gully.jpeg.  Is it missing?
Image title: Grassy Gully          Dimensions:          999 x 270, 155 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Display small version of all images on this page
All images taken on Tuesday, 19 June 2018, thumbnails          All images taken on Tuesday, 19 June 2018, small
Diary entry for Tuesday, 19 June 2018 Complete exposure details

 

She has also picked up some antiques since we were last there. There's an organ, about 100 years old:

 
This should be Organ-2.jpeg.  Is it missing?
Image title: Organ 2
Complete exposure details
Dimensions: 446 x 606, 147 kB
Dimensions of original: 3024 x 4108, 4236 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 19 June 2018:
thumbnails    small images    diary entry

We still don't know what the purpose of this one was:

 
This should be Cabinet.jpeg.  Is it missing?
Image title: Cabinet
Complete exposure details
Dimensions: 403 x 669, 157 kB
Dimensions of original: 2118 x 3517, 2014 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 19 June 2018:
thumbnails    small images    diary entry


More Hugin investigations
Topic: technology, photography Link here

More playing around with Hugin today. Yesterday I used the GUI's “Align” function, but there's also the option to run it directly. My guess was that the difference was due to using “Align”, so today I used cpfind. Surprise, surprise! Only adjacent control points.

So how was this cpfind run?

=== grog@eureka (/dev/pts/28) /photowork/Hugin-build-eureka 92 -> ps aux | grep cpfind
grog       69358  49.9  2.0   801448  671604  -  RNs  12:22pm      0:06.34 cpfind --multirow -o /tmp/ap_res6w6ICm /tmp/ap_inprojv8AcxR

OK, let's run cpfind against that project file (/tmp/ap_res6w6ICm /tmp/ap_inprojv8AcxR, and yes, it was still there). I got all the control points!

But wait. What about that --multirow option? Try it with that. Yup, it suppresses the control points beyond the neighbours.

Why? According to the man page,

       --multirow
           Enable heuristic multi row matching (default: off)

       --linearmatch
           Enable linear images matching (default : all pairs)

What I'm getting here is the result of --linearmatch, not --multirow. And that's not the documented behaviour. But I tried it with the Microsoft version, and sure enough, the behaviour was the same. So now I have:

Still, it's clear now that I'll have to do some code reading. It's interesting to note that --multirow comes directly before --linearmatch in the man page. What if it's like that in the code too, and somehow a break; got lost?


ALDI return day
Topic: general Link here

Time for lots of things to go back to ALDI:

 
This should be ALDI-returns-4.jpeg.  Is it missing?
Image title: ALDI returns 4
Complete exposure details
Dimensions: 447 x 605, 165 kB
Dimensions of original: 3888 x 5258, 4662 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 19 June 2018:
thumbnails    small images    diary entry
 
This should be ALDI-returns-1-detail.jpeg.  Is it missing?
Image title: ALDI returns 1 detail
Complete exposure details
Dimensions: 616 x 438, 133 kB
Dimensions of original: 4334 x 3081, 2521 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 19 June 2018:
thumbnails    small images    diary entry

That's the induction cooker (at the last minute I decided to return it after all), a frying pan that, despite claims, doesn't work with induction, two mixing bowls that Yvonne thought could serve as Chinese soup bowls (they're too big), a “stock pot” (i.e. saucepan) that is in fact perfectly OK except that it's not the size I wanted, the dicer that just doesn't work, and the range hood that I bought at the same time as the induction cooker, and which I decided was more pain to try than the advantage that it promised.


This page contains (roughly) yesterday's and today's entries. I have a horror of reverse chronological documents, so all my diary entries are chronological. This page normally contains the last two days, but if I fall behind it may contain more. You can find older entries in the archive. Note that I often update a diary entry a day or two after I write it.     Do you have a comment about something I have written? This is a diary, not a “blog”, and there is deliberately no provision for directly adding comments. But I welcome feedback and try to reply to all messages I receive. See the diary overview for more details. If you do send me a message relating to something I have written, please indicate whether you'd prefer me not to mention your name. Otherwise I'll assume that it's OK to do so.


Greg's home page This month Greg's photos Greg's links

RSS 2.0 Valid XHTML 1.0!