GNU Astronomy Utilities - Tasks: task #14318, ImgCrop does not create the output...
You are not allowed to post comments on this tracker with your current authentication level.
task #14318: ImgCrop does not create the output image when the center is blank
Submitter: | Mosè Giordano <giordano> | ||
Submitted: | Sat 21 Jan 2017 05:42:29 PM UTC | ||
Should Start On: | Fri 20 Jan 2017 11:00:00 PM UTC | Should be Finished on: | Fri 20 Jan 2017 11:00:00 PM UTC |
Category: | Crop | Priority: | 5 - Normal |
Item Group: | Enhancement | Status: | Done |
Privacy: | Public | Assigned to: | makhlaghi |
Percent Complete: | 100% | Open/Closed: | Closed |
Effort: | 0.00 |
Jump to the original submission
Sun 22 Jan 2017 03:19:37 PM UTC, comment #6: |
Mosè Giordano <giordano> |
Sun 22 Jan 2017 03:03:53 PM UTC, comment #5: Thanks, yes this is the expected behavior: when you use the `--section' option, you have not defined the crop by its center, so it makes no sense to check the center of the crop (you might have done this to do some other thing in this region, e.g., add profiles/images and etc).
|
Mohammad Akhlaghi <makhlaghi> |
Sun 22 Jan 2017 02:13:16 PM UTC, comment #4: Sorry for coming late. I didn't have a strong opinion on what could have been the best solution, my aim was just to point out that old behavior may be confusing.
results in a NaN-only file being created. Am I missing something? |
Mosè Giordano <giordano> |
Sun 22 Jan 2017 02:29:53 AM UTC, comment #3: This task has been done and pushed to master.
|
Mohammad Akhlaghi <makhlaghi> |
Sat 21 Jan 2017 07:38:19 PM UTC, comment #2: I am now working on these corrections ...
|
Mohammad Akhlaghi <makhlaghi> |
Sat 21 Jan 2017 06:09:38 PM UTC, comment #1: Thanks, you are right!
|
Mohammad Akhlaghi <makhlaghi> |
Sat 21 Jan 2017 05:42:29 PM UTC, original submission:
When an image is cropped and the center of the resulting image would have a blank pixel, the output file is not created (unless one uses "--checkcenter=N" with N high enough, or "--zeroisnotblank" when the original pixels are zeros). This is somewhat confusing at first and the output message of the program doesn't clearly explain the reason what happened.
|
Mosè Giordano <giordano> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-01-22 | makhlaghi | Status | In Progress | Done | |
Percent Complete | 10% | 100% | |||
Open/Closed | Open | Closed | |||
2017-01-21 | makhlaghi | Item Group | None | Enhancement | |
Status | None | In Progress | |||
Percent Complete | 0% | 10% | |||
Assigned to | None | makhlaghi |
Powered by Savane 3.13-02a9.
Corresponding source code
Ok ok, I misread the commit message: I thought that the center is not checked by default in section mode, instead it isn't checked at all. Anyway, good job!