Sarah
New Member
Posts: 31
|
Post by Sarah on Jul 31, 2017 16:19:18 GMT 8
Here's a little document I made for myself a couple of months ago because I kept getting confused about the different conventions of how pixels are counted, centred etc. and how images relate to matrices. I think most of this is also in the ProFit documentation somewhere but maybe my little collection helps someone else, too. Attachments:Rconventions.pdf (65.95 KB)
|
|
asgr
Junior Member

Posts: 56
|
Post by asgr on Jul 31, 2017 17:57:49 GMT 8
Thanks Sarah. This starts a long debate on zero versus one versus 0.5 indexing* :-) It's definitely a pain that the default for R is different to, e.g. DS9, but neither is obviously wrong...
(* The correct answer is, of course, 1 index for discrete indices, 0.5 index for continuous - the exception being lifts where any sane person G/0 indexes for the ground floor).
|
|