ImageJ - Image Processing and Analysis in Java

  • 1
  • 2
  • 3

1.53 | Updated: 28 Sep 2022

Downloads:

8,000

Downloads of v 1.53:

782

Maintainer(s):

Software Author(s):

  • Wayne Rasband

  • 1
  • 2
  • 3
ImageJ - Image Processing and Analysis in Java 1.53

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install ImageJ - Image Processing and Analysis in Java, run the following command from the command line or from PowerShell:

>

To upgrade ImageJ - Image Processing and Analysis in Java, run the following command from the command line or from PowerShell:

>

To uninstall ImageJ - Image Processing and Analysis in Java, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade imagej -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade imagej -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install imagej
  win_chocolatey:
    name: imagej
    version: '1.53'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'imagej' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.53'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller imagej
{
    Name     = "imagej"
    Version  = "1.53"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'imagej':
  ensure   => '1.53',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator TheCakeIsNaOH on 08 Oct 2022.

Description

Public domain software for processing and analyzing scientific images – a.k.a. ImageJ 1.x.

Features

  • Display, edit, analyze, process, save, and print 8-bit color and grayscale, 16-bit integer, and 32-bit
    floating point images

  • Read many image file formats, including TIFF, PNG, GIF, JPEG, BMP, DICOM, and FITS, as well as raw formats

  • Supports image stacks, a series of images that share a single window, and it is multithreaded, so
    time-consuming operations can be performed in parallel on multi-CPU hardware

  • Calculate area and pixel value statistics of user-defined selections and intensity-thresholded objects

  • Measure distances and angles

  • Create density histograms and line profile plots

  • Supports standard image processing functions such as logical and arithmetical operations between images,
    contrast manipulation, convolution, Fourier analysis, sharpening, smoothing, edge detection, and median
    filtering

  • Geometric transformations such as scaling, rotation, and flips

  • Supports any number of images simultaneously, limited only by available memory

screenshot

Package Parameters

The following package parameter can be set:

  • /AddToDesktop - add a desktop shortcut for ImageJ. By default the shortcut will be added for all users
  • /AddToStartMenu - add a start menu entry for ImageJ. By default the shortcut will be added for all users

eg. choco install -y imagej --package-parameters="/AddToDesktop /AddToStartMenu"

  • /User - where the user parameter is specified any shortcuts created (/AddToDesktop, /AddToStartMenu)
    will only be added for the current user

eg. choco install -y imagej --package-parameters="/AddToDesktop /AddToStartMenu /User"

Notes

  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

legal\LICENSE.txt
ImageJ Disclaimer

ImageJ was developed at the National Institutes of Health by an employee of the
Federal Government in the course of his official duties. Pursuant to Title 17,
Section 105 of the United States Code, this software is not subject to
copyright protection and is in the public domain. ImageJ is an experimental
system. NIH assumes no responsibility whatsoever for its use by other parties,
and makes no guarantees, expressed or implied, about its quality, reliability,
or any other characteristic.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The application has been downloaded from the official distribution and can
be verified by:

1. Go to the binary distribution page

  http://wsr.imagej.net/distros/win/

and download the installer ij153-win-java8.zip using the relevant links in the
asset section of the distribution page.

Alternatively the distribution can be downloaded directly from

  http://wsr.imagej.net/distros/win/ij153-win-java8.zip

2. The archive can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash ij153-win-java8.zip
  - Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f ij153-win-java8.zip

  File:         ij153-win-java8.zip
  ChecksumType: sha256
  Checksum:     1A66D80B6D0A41E6C381AD0AC83DD92B266F939F7E39EBB096CA420737A9B72F

  Contents of file LICENSE.txt is obtained from https://imagej.nih.gov/ij/disclaimer.html
tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

$link            = 'imagej.lnk'
$desktop         = [Environment]::GetFolderPath('Desktop')
$commonDesktop   = [Environment]::GetFolderPath('CommonDesktopDirectory')
$startMenu       = [Environment]::GetFolderPath('StartMenu')
$commonStartMenu = [Environment]::GetFolderPath('CommonStartMenu')

$paths = @(
  (Join-Path $desktop $link),
  (Join-Path $commonDesktop $link),
  (Join-Path $startMenu $link),
  (Join-Path $commonStartMenu $link)
)

$paths.GetEnumerator() | ForEach-Object {
  if (Test-Path -Path $_) {
    Remove-Item $_ -ErrorAction SilentlyContinue -Force | Out-Null
  }
}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir   = (Split-Path -parent $MyInvocation.MyCommand.Definition)
$archive    = Join-Path $toolsDir 'ij153-win-java8.zip'
$installDir = Get-ToolsLocation

$packageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  FileFullPath   = $archive
  Destination    = $installDir
}

Get-ChocolateyUnzip @packageArgs

$executable = Get-ChildItem $installDir -include ImageJ.exe -recurse

$pp = Get-PackageParameters

if ($pp.AddToDesktop) {
  if ($pp.User) {
    $desktopPath = [Environment]::GetFolderPath('Desktop')
  } else {
    $desktopPath = [Environment]::GetFolderPath('CommonDesktopDirectory')
  }

  $shortcutPath = Join-Path $desktopPath 'imagej.lnk'

  Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $executable

  Write-Host("Added {0} desktop shortcut pointed at {1}" -f $shortcutPath, $executable)
}

if ($pp.AddToStartMenu) {
  if ($pp.User) {
    $startMenuPath = [Environment]::GetFolderPath('StartMenu')
  } else {
    $startMenuPath = [Environment]::GetFolderPath('CommonStartMenu')
  }

  $shortcutPath = Join-Path $startMenuPath 'imagej.lnk'

  Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $executable

  Write-Host("Added {0} start menu entry pointed at {1}" -f $shortcutPath, $executable)
}

Install-Binfile -Name 'imagej' -Path $executable -UseStart
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-Binfile -name 'imagej' -path 'imagej.exe'

Uninstall-ChocolateyZipPackage 'imagej' 'ij153-win-java8.zip'
tools\ij153-win-java8.zip
md5: 5CBF9ABFFD5577F3D8B711E0A414328F | sha1: DD0B6452D7E98D7BB8FD008CD7B751E00729080D | sha256: 1A66D80B6D0A41E6C381AD0AC83DD92B266F939F7E39EBB096CA420737A9B72F | sha512: B7C6DED97CD22A0AD8BAA1A5E447396BD80DF1D1726337FAF0410D38276358AEF6C536A8E9C4DFDFA4FEEC04C7B7C9139D7BA78FBA2BA15B44D2BD9C171C614E

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
ImageJ 1.50 5232 Friday, April 22, 2016 Approved
ImageJ 1.49 632 Thursday, November 5, 2015 Approved
ImageJ 1.45.0.1 786 Sunday, January 26, 2014 Unknown
ImageJ 1.45 543 Monday, January 9, 2012 Unknown

This package has no dependencies.

Discussion for the ImageJ - Image Processing and Analysis in Java Package

Ground Rules:

  • This discussion is only about ImageJ - Image Processing and Analysis in Java and the ImageJ - Image Processing and Analysis in Java package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or ImageJ - Image Processing and Analysis in Java, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus