我试图获得CIImage的值,但不可能看到它的位置......
当我打印CIImage时,我可以看到信息:
(我在IRLScannerViewController的self.cameraView.lastCorrectedUIImage中打印此值。)
<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]
我想,至少可以访问perspectiveCorrection ......