Project

General

Profile

Actions

Feature #460

open

dcm2pnm, dcmj2pnm and dcmscale should support scaling in both direction at the same time

Added by Jörg Riesmeier almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Application
Target version:
-
Start date:
2012-11-02
Due date:
% Done:

0%

Estimated time:
Module:
dcmimage, dcmjpeg
Operating System:
Compiler:

Description

Currently, all these command line tools check for the following options as being mutually exclusive (although it is not apparent for the user since it this fact is not documented anywhere):

  +Sxf  --scale-x-factor  [f]actor: float
          scale x axis by factor, auto-compute y axis

  +Syf  --scale-y-factor  [f]actor: float
          scale y axis by factor, auto-compute x axis

  +Sxv  --scale-x-size  [n]umber: integer
          scale x axis to n pixels, auto-compute y axis

  +Syv  --scale-y-size  [n]umber: integer
          scale y axis to n pixels, auto-compute x axis

However, in case the aspect ratio is ignored (option -a), it should be possible to specify a scaling factor or a particular size in pixels independently for both axes, e.g. use "+Sxv 128 +Syv 128" to scale the input image to a fixed size.
It should also be checked whether combinations like "+Sxv 128" (pixels) and "+Syf 0.5" (scaling factor) are possible...

No data to display

Actions

Also available in: Atom PDF