taskGNU Astronomy Utilities - Tasks: task #13869, Type of output and operations...


You are not allowed to post comments on this tracker with your current authentication level.

task #13869: Type of output and operations based on inputs in ImageArithmetic

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Wed 27 Jan 2016 07:00:09 AM UTC
Should Start On:  Tue 26 Jan 2016 03:00:00 PM UTC Should be Finished on:  Tue 26 Jan 2016 03:00:00 PM UTC
Category:  Arithmetic Priority:  5 - Normal
Item Group:  Enhancement Status:  None
Privacy:  Public Percent Complete:  10%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Fri 26 Aug 2016 05:49:44 PM UTC, comment #1: 

From commit 62c3bd26, the type of Arithmetic's output is now determined with configuration files or command-line options. So the new `--type' option is now a mandatory option.

But this does not necessarily complete this task, it would be great if `--type' was optional and the output type could be determined based on the input types, so for example when all the input images have an integer type, the output would also be integer automatically.

I am marking the task as 10% complete since some of the type setting infrastructure has been prepared during the above settings (through the `p->type' variable replacing the `p->obitpix'). But work still remains to complete this task.

Mohammad Akhlaghi <makhlaghi>
Project Administrator
Wed 27 Jan 2016 07:00:09 AM UTC, original submission:  

In its first implementation, ImageArithmetic will do all operations in double precision floating point and will keep the output as double precision if at least one of the input files has that type. Otherwise the output will be in single precision floating point.

The next step is to ensure that unless it is necessary the types of the inputs do not change, so for example when all the inputs are integer type, the output remains an integer and all the operations are done on integer arrays. This has some parallels with task #13868.

Mohammad Akhlaghi <makhlaghi>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-26 makhlaghi Percent Complete0% 10%

    Back to the top

    Powered by Savane 3.11