Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5201/ipol.2019.248
27 December 2020, 17:01:59 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • 7f5192441640a25324f222b6a645fd78a34d2526
    No releases to show
  • 1c5ff6b
  • /
  • orthoPose_1.0
  • /
  • example.m
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:c3f20afbf971d87d6fa788d9b03634eae772ee58
origin badgedirectory badge
swh:1:dir:3721c3d9cff046076f23cfd48ae7998c36ec5dbf
origin badgerevision badge
swh:1:rev:7f5192441640a25324f222b6a645fd78a34d2526
origin badgesnapshot badge
swh:1:snp:005e9571a84f7af1f965d2734db3d4b25ea21904

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: 7f5192441640a25324f222b6a645fd78a34d2526 authored by Software Heritage on 01 July 2019, 00:00:00 UTC
ipol: Deposit 1351 in collection ipol
Tip revision: 7f51924
example.m
% SPDX-License-Identifier: GPL-3.0-or-later
% Copyright (c) 2017 Laura F. Julia <laura.fernandez-julia@enpc.fr>
%               2018 Pascal Monasse <monasse@imagine.enpc.fr>

% Example script for Orthographic Pose Estimation

% Octave/Matlab specifics
if exist('OCTAVE_VERSION', 'builtin')
    pkg load optim;
else
    rng('shuffle');
end

clear;
close all;

addpath('lib');

%% Dataset info %%%
im_path='data/';
image_names={'input_0.png','input_1.png','input_2.png'};
info=imfinfo(strcat(im_path,image_names{1}));
imsize=[info.Width;info.Height];

zoomFactor=8; % zoom-out factor from original images
pixPerMm=imsize(1)*zoomFactor/24; % Canon EOS Mark ii sensor: 24x36mm
focalMm=1000; % 1000mm focal length
focal=focalMm*pixPerMm;

mainPoseEstimation(focal);

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API