Example #1
0
 public static unsafe Spread <int> GetValues(InfraredImage image, Spread <Vector2> pixels)
 {
     using (var buffer = image.frame.LockImageBuffer())
     {
         return(PipetUtils.GetValues(buffer, builder, image.Info.Width, image.Info.Height, pixels).ToSpread());
     }
 }
Example #2
0
 public static Spread <int> ToInfraredPipetValues(this InfraredImage image, Spread <Vector2> pixels) => InfraredPipet.GetValues(image, pixels);