Opened 13 years ago
Closed 13 years ago
#115 closed defect (fixed)
stat section can only use pixels in image subsection
Reported by: | MatthewWhiting | Owned by: | MatthewWhiting |
---|---|---|---|
Priority: | normal | Milestone: | Release-2.0 |
Component: | Input | Version: | 1.1.11 |
Severity: | normal | Keywords: | |
Cc: |
Description
If the statsec option is used when a subsection of the image is being read, and part of the statsec lies outside the image region, then those pixels will *not* be included in the stats calculation.
In particular, if the two sections are disjoint, then there will be no pixels used in the stats calculation!
Need a way of reading just the pixels in the stats section first to find the stats.
Change History (2)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|---|
Version: | 1.1.10 → 1.1.11 |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Implemented changes in [818]. There is a new function in the Section class that returns the intersection of a Section with another. We use this to trim the statsec to just those pixels that overlap with the image section.
This works well, so closing ticket.