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.2011.blm-cdf
05 June 2020, 07:36:41 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
Revision 2ac5a1527b132f8930c5a8ec10cd641388a89e9e authored by Software Heritage on 01 January 2011, 00:00:00 UTC, committed by Software Heritage on 22 June 2011, 00:00:00 UTC
ipol: Deposit 654 in collection ipol
0 parent
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • 2ac5a1527b132f8930c5a8ec10cd641388a89e9e
    No releases to show
  • 1cdac93
  • /
  • rgbprocess
  • /
  • rgbprocess_lib.h
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.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:2ac5a1527b132f8930c5a8ec10cd641388a89e9e
origin badgedirectory badge
swh:1:dir:c568506d1bdf08b18e7225ad5aeca07d7a182973
origin badgecontent badge
swh:1:cnt:655ce72b5de1653e90c54bfc0eb3fdd406c8db90
origin badgesnapshot badge
swh:1:snp:1caca9696afa0fa3af8212113df9e73223c7d29d

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.

  • revision
  • directory
  • content
  • 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: 2ac5a1527b132f8930c5a8ec10cd641388a89e9e authored by Software Heritage on 01 January 2011, 00:00:00 UTC
ipol: Deposit 654 in collection ipol
Tip revision: 2ac5a15
rgbprocess_lib.h
/*
 * Copyright (c) 2009-2010 Jose-Luis Lisani <joseluis.lisani@uib.es>
 * All rights reserved.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* rgbprocess_lib.cpp */
void rgbprocess(unsigned char *input1, 
		unsigned char *input2,
		unsigned char *input3,
		int w, int h,
		unsigned char *output1,
		unsigned char *output2,
		unsigned char *output3,
		int wOut, int hOut,
		const char *option);

void RGBviewsparams(const char *nameparams);

void getRGBview(unsigned char *input, 
		int w, int h, unsigned char *I,
		unsigned char *output,
		int wview, int hview,
		float P[3], float u[3], float v[3]);

void combineviews(unsigned char *input1, unsigned char *input2, 
                  unsigned char *input3, unsigned char *output, 
                  int w, int h);

void combineviewsB(unsigned char *input1, unsigned char *input2, 
                   unsigned char *input3, unsigned char *output, 
                   int w, int h);

float computeRMSE(unsigned char *input1, unsigned char *input2,  
                  int w, int h, float &dmean);

int countcolors(unsigned char *input, int w, int h);

void RGB2VRML2(unsigned char *input, int w, int h, unsigned char *Idsty, 
               const char *nameout);




The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

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