code: protected void drawFeatures( float scale , int offsetX , int offsetY ,
  								 FastQueue<Point2D_F64> all,
  								 FastQueue<Point2D_F64> inliers,
  								 Homography2D_F64 currToGlobal, Graphics2D g2 ) {
  
  		Point2D_F64 distPt = new Point2D_F64();
  
  		for( int i = 0; i < all.size; i++  ) {
  			HomographyPointOps_F64.transform(currToGlobal, all.get(i), distPt);
  
  			distPt.x = offsetX + distPt.x*scale;
  			distPt.y = offsetY + distPt.y*scale;
  
  			VisualizeFeatures.drawPoint(g2, (int) distPt.x, (int) distPt.y, Color.RED);
  		}
  
  		for( int i = 0; i < inliers.size; i++  ) {
  			HomographyPointOps_F64.transform(currToGlobal,inliers.get(i),distPt);
  
  			distPt.x = offsetX + distPt.x*scale;
  			distPt.y = offsetY + distPt.y*scale;
  
  			VisualizeFeatures.drawPoint(g2, (int) distPt.x, (int) distPt.y, Color.BLUE);
  		}
  	}
docs: Draw features after applying a homography transformation.