taskGNU Astronomy Utilities - Tasks: task #13870, Function for operations on...


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

task #13870: Function for operations on specific pixels in an image

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Wed 27 Jan 2016 07:11:05 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:  Done
Privacy:  Public Assigned to:  makhlaghi
Percent Complete:  100% Open/Closed:  Closed
Effort:  0.00

Fri 26 Aug 2016 05:44:14 PM UTC, comment #3: 

Sorry, I forgot to change the status of this task to "closed"!

Mohammad Akhlaghi <makhlaghi>
Group administrator
Fri 26 Aug 2016 05:43:42 PM UTC, comment #2: 

An initial implementation of this task was completed and is now pushed to master. A test was also written for it (to separate the pixels of the detected objects from the background noise, see `tests/where.fits' after running `make check') an explanation has also been added to the book.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 25 Aug 2016 06:02:39 PM UTC, comment #1: 

Eversince commit 249a0e056 functions have been defined in Arithmetic. But it seems I had forgot to tag this task as closed.

But besides pure functions that operate on all pixels, the last example in the comments of task #13574, had a unique function called `where' (taken from Numpy's `numpy.where' function). This unique function will allow setting values for special pixels in the image, not all pixels.

I am now busy implementing this feature, it requires the definition of conditionals which have mostly been done, so I don't expect it to take too long.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Wed 27 Jan 2016 07:11:05 AM UTC, original submission:  

As explained in the comments of task #13574, it would be really useful if functions could be defined while doing pixel based arithmetic. Since that task will be closed once ImageArithmetic is working, the discussions on adding functions (which are independent of the other aspects of ImageArithmetic) will be done in this thread until they are implemented.

Mohammad Akhlaghi <makhlaghi>
Group 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.


    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-26 makhlaghi Open/ClosedOpen Closed
    2016-08-26 makhlaghi StatusPostponed Done
        Percent Complete60% 100%
    2016-08-25 makhlaghi Percent Complete0% 60%
        Assigned toNone makhlaghi
        SummaryAllow functions in ImageArithmetic Function for operations on specific pixels in an image

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code