IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#747 closed defect (fixed)

psImageCountPixelMask had counting errors for region tests

Reported by: eugene Owned by: David.Robbins@…
Priority: high Milestone:
Component: imageops Version: 0.11.0
Severity: normal Keywords:
Cc:

Description

I fixed a variety of errors related to end-post interpretation of the psRegion
values. specifically, given an image with col0,row0 and numCols,numRows, a
region is valid if the upper limit is <= col0 + numCols. similarly, the value
of col1 should be col0 + numCols, not col0 + numCols - 1.

When I provided this code in rel10_ifa, I had used the psRegionForImage function
to rationalize the input region for the image. That was stripped out and
replaced with an idiosyncratic set of tests. I worry that these tests are not
all correct or consistent, which is why I used the rationalizing function. I
have added the fix to CVS HEAD

Change History (1)

comment:1 by Paul Price, 20 years ago

Resolution: fixed
Status: newclosed

Fixed by EAM.

Note: See TracTickets for help on using tickets.