private static extern IntPtr CvStarGetFeatureDetector(ref MCvStarDetectorParams detector);
 public static extern IntPtr cvGetStarKeypoints(
    IntPtr img,
    IntPtr storage,
    MCvStarDetectorParams param);
 /// <summary>
 /// Get the Star detector parameters
 /// </summary>
 /// <returns></returns>
 public MCvStarDetectorParams GetStarDetectorParameters()
 {
     MCvStarDetectorParams p = new MCvStarDetectorParams();
      p.MaxSize = MaxSize;
      p.ResponseThreshold = ResponseThreshold;
      p.LineThresholdProjected = LineThresholdProjected;
      p.LineThresholdBinarized = LineThresholdBinarized;
      p.SuppressNonmaxSize = SuppressNonmaxSize;
      return p;
 }