Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

This program converts LJPEG files of DDSM to PNG images.

Notifications You must be signed in to change notification settings

yodhcn/DDSM-LJPEG-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDSM-LJPEG-Converter

This repository is created for converting Mammography of Digital Database for Screening Mammography (DDSM) form LJPEG to more ordinary format.

中文使用说明见: https://blog.csdn.net/liuxinghan1998/article/details/91493334

Initial Requirements

  • Windows

  • Cygwin

Install Cygwin on Windows

There are 4 steps you need to pay attention to.

Sample

ATTENTION 1: Choose to install for “Just Me”.

Search components with the search box.

Sample

ATTENTION 2: Choose to install ImageMagick.

Sample

ATTENTION 3: Choose to install ruby.

Sample

ATTENTION 4: Choose to install rubygems.

Usage

1. Initialize your home directory.

Start a Cygwin session by double-clicking the Cygwin icon on your desktop.

Initially, your session will start in your “home” directory, denoted by “~” in Cygwin.

(This corresponds to the Windows directory "C:\cygwin64\home\YourUserName "

where is your Windows username.)

Sample

2. Copy the DDSM-LJPEG-Converter folder into your Cygwin home directory.

(i.e., C:\cygwin64\home<Your User Name>\DDSM-LJPEG-Converter)

Sample

3. Copy your LJPEG pictures folder into the DDSM-LJPEG-Converter directory.

The LJPEG pictures folder can be a Nested Folder, but there are 2 points you need to pay attention to.

  • ATTENTION 1: Don't modify .LJPEG filenames and .ics filenames.
  • ATTENTION 2: Ensure that .LJPEG files are in the same directory as their corresponding .ics file.

Sample

4. Change directory to the DDSM-LJPEG-Converter directory.

Change directory to the newly created DDSM-LJPEG-Converter directory

by typing the following command into the terminal and then pressing return:

cd DDSM-LJPEG-Converter

Sample

5. Run the ruby script.

./LJPEG-to-png

Sample

Sample

Sample

About

This program converts LJPEG files of DDSM to PNG images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages