objective c - How to get the Topleft, TopRight coordinates (corners) of a CIImage in iOS (Obj-C) -
i try value of topleft of ciimage, impossible see is...
when print ciimage, can see informations :
(i print value in self.cameraview.lastcorrecteduiimage in irlscannerviewcontroller).
<ciimage: 0x170009440 extent [0 0 768 502]> crop [0 0 767.499 501.021] extent=[0 0 767.499 501.021] warpkernel _perspectivecorrection(a1=[0.320876 -0.610103 0.683767],a2=[1.48175 0.21446 0.259627],a3=[0.183574 -0.0464235 1],rect=[0 0 767.499 501.021]) extent=[-112.259 -138.573 1060.3 864.268] color_matrix r=(0.24225 0.815556 0.082194 0) g=(0.24225 0.815556 0.082194 0) b=(0.24225 0.815556 0.082194 0) a=(0 0 0 1) bias=(-0.07 -0.07 -0.07 0) extent=[0 0 750 1000] affine [1 0 0 -1 0 1000] extent=[0 0 750 1000] colormatch "quicktime 'nclc' video (1,1,6)"-to-workingspace extent=[0 0 750 1000] iosurface 0x170008d70 bgra8 extent=[0 0 750 1000]
i like, @ least, access perspectivecorrection...
Comments
Post a Comment