rename ImageJ to imagej

OBS-URL: https://build.opensuse.org/package/show/science/imagej?expand=0&rev=1
This commit is contained in:
Dmitry Roshchin 2012-12-23 17:36:56 +00:00 committed by Git OBS Bridge
commit 0a5408925f
9 changed files with 304 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
_service Normal file
View File

@ -0,0 +1,3 @@
<services>
<service name="download_files"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d4c92ad0b15ecb3401e4425a14986e395b2436425430c4b26722170b03cdea9
size 1400116

140
imagej.changes Normal file
View File

@ -0,0 +1,140 @@
-------------------------------------------------------------------
Fri Sep 14 06:53:45 UTC 2012 - lumnis@opensuse.org
- startup script fix (in spec file)
-------------------------------------------------------------------
Thu Sep 13 15:28:52 UTC 2012 - dmitry@roshchin.org
- Various spec file cleanups
-------------------------------------------------------------------
Wed Sep 12 15:32:07 UTC 2012 - lumnis@opensuse.org
- vers update 1.47c
* Added a "Source" (display source code of selected command) button to Plugins>Utilities>Find Commands.
* Dorai Iyer added a "Bar" option to the arrow tool.
* Bill Mohler modified the ROI Manager to use a JList instead of a List, which makes loading and sorting the large (>10,000) ROI sets faster.
* Added an "Append results" checkbox to the ROI Manager's "Multi Measure" command.
* When opening images, the transfer rate in MB/sec is displayed in the status bar.
* Thanks to Sébastien Tosi, opening TIFF files using File>Import>URL is faster and requires less memory.
* Thanks to Jan Eglinger, fixed a bug that caused incorrect recording of commands implemented in JavaScript when the recorder was in "JavaScript" mode.
* Thanks to Sébastien Tosi, fixed a bug that caused File>Import>URL to not correctly read TIFF files larger than 2GB.
* Fixed a bug in the Analyze>Tools>Synchronize Windows command that caused it to not work as expected when changing the channel of composite color images.
* Thanks to Christoph Deil, fixed a bug in Plugins>Utilities>Find Commands that caused esc and ctrl-w key presses to not close the window after "Show full information" was enabled.
* Thanks to Christoph Deil, fixed bugs in the "Save changes?" dialog that caused it to not work as expected after the focus was changed (by tabbing) to the "Don't Save" or "Cancel" buttons.
1.47b 12 August 2012
* Added the Image>Stacks>Statistics command.
* Thanks to Michael Schmid, the built in brush, pencil and overlay brush tools draw using the background color when alt key is down, are constrained to draw horizontally when shift is down, are resized when shift&control are down (shift&cmd on Macs), and "pick up" the foreground color when control is down (cmd on Macs).
* Added a "16 bit range" choice to the Edit>Options>Appearance dialog box. This is the same as the "Unsigned 16 bit range" choice in the Brightness/Contast Adjuster's "Set" dialog.
* Thanks to Olivio Donati, File>Import>Image Sequence opens any associated ROIs that are in a file named RoiSet.zip.
* Thanks to David Knecht, added a "sum" option to Image>Transform>Bin.
* The getHistogram() macro function no longer limits the number of bins to 256 with 8-bit and RGB images.
* Added the IJ.createHyperStack(title,width,height,channels,slices,frames,bitdepth) method, where 'bitdepth' is 8, 16, 24 (rgb), or 32 (float).
* Thanks to Qingzong Tseng, fixed a bug that caused overlays to be lost when converting composite stacks to RGB.
* Thanks to Jan Eglinger, fixed a bug that caused images created by the particle analyzer's "Show:" option to not use the calibration of the original image.
* Thanks to Guenter Giese, fixed bugs that caused the "Unsigned 16 bit range" choice in the Brightness/Contast Adjuster's "Set" dialog to not work as expected with multi-channel images.
* Thanks to Barry DeZonia, fixed a bug that caused the command recorder to not work with Image>Stacks>3D Project when processing 16 and 32 bit images.
* Thanks to William Edwards, fixed a bug that sometimes caused the median of 32-bit float images to be calculated incorrectly.
* Thanks to Michael Cammer, worked around a bug that could cause commands in the Image>Type submenu to not work as expected in non-batch-mode macros.
1.47a 17 July 2012
* Thanks to Thomas Boudier, added five new 3D filters (Median, Mean, Minimum, Maximum and Variance) to the Process>Filters submenu.
* Added the "Restore Startup Tools" command to the toolbar's >> menu.
* Thanks to Tiago Ferreira, built-in and plugin tools can be added to toolsets and the startup macros (example).
* Michael Schmid modified the Overlay Brush tool for constrained motion (vertical or horizontal) with shift and resizing with ctrl-shift (cmd-shift on Macs).
* Thomas Tongue added support for the CDELT and CTYPE headers to the FITS Reader.
* Added the getinfo("selection.color") and getValue("selection.width") macro functions.
* Thanks to Simon Roussel, fixed a bug that could cause overlays to not be displayed on virtual stacks.
* Fixed a bug that caused the brush and pencil tools to activate overlay selections.
* Michael Schmid fixed a bug that sometimes caused Preview to not work correctly with commands in the Process>Filters submenu.
* Fixed a 1.46 regression that caused the ROI Manager to generate incorrect ROI labels when the Associate 'Show All" ROIs with Slices" option was not enabled.
* Thanks to Stephan Semmler, fixed a regression that caused the ImagePlus.getNDimensions() method to sometimes return the wrong value.
* Thanks to Glen MacDonald, fixed a 1.46 regression that caused the setOption("Show All",boolean) macro function to not work.
-------------------------------------------------------------------
Fri Jun 1 10:32:47 UTC 2012 - lumnis@opensuse.org
- version update 1.46o 18 May 2012
* Set the stroke width to 0 in the Edit>Selection>Properties,
Image>Overlay>Overlay Options and ROI ManagerProperties dialogs
to have selections drawn using a width of one pixel
regardless of the image magnification.
* Fixed a bug that could cause selections being moved to not be
displayed correctly when the "Use ROI names as labels" option in
the ROI Manager was enabled.
* Fixed a bug that caused Analyze>Plot Profile to fail with line
selections with widths less than 1.0.
* Thanks to Franklin Shaffer, fixed a bug that sometimes a caused a
stack overflow error when importing large image sequences.
* Thanks to Tiago Ferreira, fixed a 1.46n regression that caused overlay
items to be removed when toggling the ROI Manager "Show All" checkbox.
- changes in 1.46n 11 May 2012
* In "Show All" mode, the ROI Manager now uses an overlay to
display the selections.
* Added the More>>Labels... command to the ROI Manager, as a
shortcut to Image>Overlay>Labels.
* Add a "Show plot" checkbox to the Analyze>Calibrate dialog box.
* File>Save As>XY Coordinates now correctly saves subpixel resolution
selections, and it works with more kinds of selections.
* Tiago Ferreira added a list of valid factors to the
Image>Stacks>Tools>GroupedZProjector dialog.
* Made the IJ.runPlugIn(String,String,String) method public.
* Added the IJ.getFullVersion() method.
* Thanks to Burri Olivier, fixed a bug that caused Image>Adjust>Threshold,
when the "Stack histogram" option was enabled, to use the histogram of
all channels instead of only the current channel.
* Tiago Ferreira fixed a bug that caused stacks binned with
Image>Stacks>Tools>GroupedZProjector to loose spatial calibration.
* Thanks to Burri Olivier, fixed a bug that caused incorrect auto stack
thresholds when "Limit to threshold was enabled in Analyze>Set Measurements.
* Thanks to Thomas Boudier and Michael Schmid, fixed a bug that caused
the Analyze>Summarize command to not work correctly on reopened results tables.
* Thanks to Jim Passmore, fixed a bug that caused NonBlockingDialogs to
not handle the yes/no/cancel option.
* Thanks to Norbert Vischer, fixed a bug that caused Image>Show Info to
incorrectly display the selection location when the image origin was not (0,0).
-------------------------------------------------------------------
Wed May 2 13:10:47 UTC 2012 - lumnis@opensuse.org
- vers update 1.46m
* ROIs in an overlay can be activated by alt-clicking, control-clicking or long-pressing.
* Thanks to Gabriel Landini, the Brush and Pencil tools installed from the toolbar's >> menu can be resized by shift-dragging.
* The icons for drawing tools installed from the toolbar's >> menu reflect the foreground color and are updated when the foreground color changes.
* Commands in the Edit>Selection submenu that modify the selection now support Undo and Redo and transfer color and line width properties.
* Fiji saves and loads custom tool configurations.
* Thanks to Ved Sharma, removed the restriction in Image>Stacks>Tools>Insert that the destination must be a stack.
* Thanks to Richie Mort, fixed a bug that could cause the contents of multiple custom results tables created by plugins to be invalid.
-------------------------------------------------------------------
Thu Mar 29 11:21:24 UTC 2012 - lumnis@opensuse.org
- vers update 1.46j
-------------------------------------------------------------------
Wed Feb 22 07:21:24 UTC 2012 - lumnis@opensuse.org
- vers update 1.45g
-------------------------------------------------------------------
Mon Feb 13 12:21:24 UTC 2012 - lumnis@opensuse.org
- vers update 1.45f
- ant build target set to : build
-------------------------------------------------------------------
Mon Sep 5 13:21:24 UTC 2011 - lumnis@opensuse.org
- vers update 1.45m
-------------------------------------------------------------------
Fri Jul 22 08:33:01 UTC 2011 - lumnis@opensuse.org
- vers update 1.45l
-------------------------------------------------------------------
Fri Jun 10 10:14:00 UTC 2011 - lumnis@opensuse.org
- vers update 1.45i
-------------------------------------------------------------------
Thu May 5 11:31:51 UTC 2011 - lumnis@opensuse.org
- update vers 1.45
Fri Jan 14 09:00:00 UTC 2010 - lumnis@opensuse.org
- copy from home:martin_ginkel
- updated version 1.44
- package cleanup e.g. changelog

13
imagej.desktop Normal file
View File

@ -0,0 +1,13 @@
[Desktop Entry]
Name=ImageJ
GenericName="ImageJ public domain Java image processing program"
GenericName[DE]="Wissenschaftliches Bildbearbeitungsprogramm"
Type=Application
Comment=Image Processing
Comment[DE]=Bildverarbeitung
Exec=imagej
TryExec=imagej
Icon=imagej
Terminal=false
Categories=Graphics;2DGraphics;
X-SuSE-translation=true

25
imagej.in Normal file
View File

@ -0,0 +1,25 @@
#!/bin/sh
#set -x
JAVA_HOME=@JAVA_HOME@
call=$0
if [ "`uname -s`" = "Linux" ]; then
awk=awk
else
awk=nawk
fi
if ls -l $call|grep -q ^l; then
# Symlink
call=`ls -l $call|$awk '{sub(/^.*-> /,"");print}'`
if [ -z "`echo $call|grep '^/'`" ]; then
#relative Symlink
call="`dirname $0`/$call"
fi
exec $call "$@"
else
# real file
dir=`dirname $call`
fi
export PATH=${JAVA_HOME}/bin:$PATH
exec java -Xmx512m -cp ${dir}/ij.jar:${JAVA_HOME}/lib/tools.jar ij.ImageJ -ijpath ${dir} "$@"

3
imagej.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5be66ee6ea571de4349261582f8f474a9de1e9d0e53b8113172e03b7b48f6f0f
size 323

93
imagej.spec Normal file
View File

@ -0,0 +1,93 @@
#
# spec file for package ImageJ
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%define SrcVersion 147c
Name: imagej
Version: 1.47
Release: 0
License: SUSE-Public-Domain
Summary: Public domain Java image processing program
Url: http://rsbweb.nih.gov/ij/
Group: Productivity/Graphics/Convertors
Source: http://rsbweb.nih.gov/ij/download/src/ij%{SrcVersion}-src.zip
Source1: %{name}.in
Source2: %{name}.desktop
Source3: %{name}.png
BuildRequires: ant
#BuildRequires: convert
BuildRequires: java-devel
BuildRequires: unzip
BuildRequires: update-desktop-files
Requires: java >= 1.6.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
ImageJ is a public domain Java image processing program inspired by NIH Image for the Macintosh. It runs, either as an online applet or as a downloadable application, on any computer with a Java 1.4 or later virtual machine. Downloadable distributions are available for Windows, Mac OS, Mac OS X and Linux.
It can display, edit, analyze, process, save and print 8-bit, 16-bit and 32-bit images. It can read many image formats including TIFF, GIF, JPEG, BMP, DICOM, FITS and "raw". It supports "stacks", a series of images that share a single window. It is multithreaded, so time-consuming operations such as image file reading can be performed in parallel with other operations.
It can calculate area and pixel value statistics of user-defined selections. It can measure distances and angles. It can create density histograms and line profile plots. It supports standard image processing functions such as contrast manipulation, sharpening, smoothing, edge detection and median filtering.
It does geometric transformations such as scaling, rotation and flips. Image can be zoomed up to 32:1 and down to 1:32. All analysis and processing functions are available at any magnification factor. The program supports any number of windows (images) simultaneously, limited only by available memory.
Spatial calibration is available to provide real world dimensional measurements in units such as millimeters. Density or gray scale calibration is also available.
ImageJ was designed with an open architecture that provides extensibility via Java plugins. Custom acquisition, analysis and processing plugins can be developed using ImageJ's built in editor and Java compiler. User-written plugins make it possible to solve almost any image processing or analysis problem.
%prep
%setup -n source
%build
%ant build
%install
install -d -m 755 %{buildroot}%{_datadir}/%{name}
install -m 755 ij.jar %{buildroot}%{_datadir}/%{name}/%{name}.jar
# startscript
cat > %{name} << 'EOF'
#!/bin/sh
#
# imagej startscript
#
# Source functions library
echo Starting %{name} version %{version} ...
echo with options : ${@}
java -jar %{_datadir}/%{name}/imagej.jar ${@}
EOF
install -d -m 755 %{buildroot}%{_bindir}
install -m 755 %{name} %{buildroot}%{_bindir}/
# Icon
#convert build/microscope.gif build/%{name}.png
#install -D -p -m 644 build/%{name}.png %{buildroot}%{_datadir}/pixmaps/
install -D -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
# Desktop menu entry
install -d -m 755 %{buildroot}%{_datadir}/applications
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
%suse_update_desktop_file %{name}
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/%{name}/*.jar
#%{_datadir}/%{name}/lib/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog