Coder Social home page Coder Social logo

Expose more private functions about imageproc HOT 4 CLOSED

nan-mu avatar nan-mu commented on August 30, 2024
Expose more private functions

from imageproc.

Comments (4)

nan-mu avatar nan-mu commented on August 30, 2024 1

Great to see your reply. This problem has been with me for a while. I can sort it out later and should submit a PR this week.

from imageproc.

theotherphil avatar theotherphil commented on August 30, 2024

Sure, which functions do you want to be exposed?

from imageproc.

nan-mu avatar nan-mu commented on August 30, 2024

Now it seems like I only want to make hough::intersection_points public.

diff --git a/src/hough.rs b/src/hough.rs
index ce1a663..e731ab9 100644
--- a/src/hough.rs
+++ b/src/hough.rs
@@ -130,7 +130,7 @@ where
 /// or `None` if the line and image bounding box are disjoint. The x value of an intersection
 /// point lies within the closed interval [0, image_width] and the y value within the closed
 /// interval [0, image_height].
-fn intersection_points(
+pub fn intersection_points(
     line: PolarLine,
     image_width: u32,
     image_height: u32,

from imageproc.

theotherphil avatar theotherphil commented on August 30, 2024

Ok, great - if you create a PR for this I’ll merge it. Thanks.

from imageproc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.