Issue with traceLineDrawingFromRGB() on Mac with silicon chip #13
Replies: 11 comments 1 reply
-
Dear Dirk,
Did you manage to solve this issue?
I want to use this toolbox for a manuscript I am working on. Specifically,
I would like to compute curvatures and t-junctions.
Unfortunately, I do not have access to another operating system.
Adam
On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
***@***.***> wrote:
… Dear Adam
Thank you very much for letting us know! We are currently dealing with
similar issues for newer Windows 11 machines. We are working on a fix.
I'll
be in touch soon.
Dirk
On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
wrote:
> Hi
>
> I have been using the toolbox to compute some low-level features. Using
> the examples, I am able to calculate the contours and the medial axis.
> However, I am having difficulty running the Line drawing. Specifically,
the
> traceLineDrawingFromRGB() function.
>
> When I use the function I get an error.
> exmaple1.png (view on web)
> <
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
error1.png
> (view on web)
> <
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>
> With some investigating, I found the imPadMex file in
> MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
> containing files compiled from C++ (.cpp) and files ending with
.mexmaci64,
> .mexw64 and .mexa64 the version readable by Matlab. However, since I use
a
> Mac with a silicon chip, I require a file ending with .mexmaca64.
>
> I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using
>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
> as suggested on https://pdollar.github.io/toolbox/ but this converted
> only some files.
> .
> When I run traceLineDrawingFromRGB() my computer now finds the imPadMex
> file but another error occurs.
> error2.png (view on web)
> <
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>
> The issue seems to be that the C++ files are not optimized for a mac
with
> a silicon chip and the toolboxCompile function does not compile
properly. I
> was wondering if your group has found a solution for this issue?
>
> *Specs*
> MacBook Pro 2021, Apple M1 Pro
> macOS Sonoma 14
> Matlab R2023b update 7
> I have downloaded all add ons as specified.
>
> —
> Reply to this email directly, view it on GitHub
> <#13>, or
> unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
--
=================================
Dirk Bernhardt-Walther, Ph.D
Associate Professor, Department of Psychology
Associate Editor, Psychology of Aesthetics, Creativity, and the Arts
University of Toronto
+1-416-978-6193
***@***.***
https://www.bwlab.org/
Bluesky: @dirkbwalther.bsky.social
<https://bsky.app/profile/dirkbwalther.bsky.social>
Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
|
Beta Was this translation helpful? Give feedback.
-
Dear Adam
Sorry for the delay. Things turned out to be a bit more complicated than we
thought. We discovered that some of the 3rd party mex files are implemented
in Intel Assembler code, which caused us some headaches. We had a
breakthrough on this yesterday and are currently implementing the solution.
I am hopeful that we will have working code by the end of the week. (It's
also final exam time here, which slows things down a little.)
Thanks for your patience!
Dirk
On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
wrote:
… Dear Dirk,
Did you manage to solve this issue?
I want to use this toolbox for a manuscript I am working on. Specifically,
I would like to compute curvatures and t-junctions.
Unfortunately, I do not have access to another operating system.
Adam
On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
***@***.***> wrote:
> Dear Adam
>
> Thank you very much for letting us know! We are currently dealing with
> similar issues for newer Windows 11 machines. We are working on a fix.
> I'll
> be in touch soon.
>
> Dirk
>
>
> On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
> wrote:
>
> > Hi
> >
> > I have been using the toolbox to compute some low-level features.
Using
> > the examples, I am able to calculate the contours and the medial axis.
> > However, I am having difficulty running the Line drawing.
Specifically,
> the
> > traceLineDrawingFromRGB() function.
> >
> > When I use the function I get an error.
> > exmaple1.png (view on web)
> > <
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
> error1.png
> > (view on web)
> > <
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>
> >
> > With some investigating, I found the imPadMex file in
> > MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
> > containing files compiled from C++ (.cpp) and files ending with
> .mexmaci64,
> > .mexw64 and .mexa64 the version readable by Matlab. However, since I
use
> a
> > Mac with a silicon chip, I require a file ending with .mexmaca64.
> >
> > I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using
> >
>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>
> > as suggested on https://pdollar.github.io/toolbox/ but this converted
> > only some files.
> > .
> > When I run traceLineDrawingFromRGB() my computer now finds the
imPadMex
> > file but another error occurs.
> > error2.png (view on web)
> > <
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>
> >
> > The issue seems to be that the C++ files are not optimized for a mac
> with
> > a silicon chip and the toolboxCompile function does not compile
> properly. I
> > was wondering if your group has found a solution for this issue?
> >
> > *Specs*
> > MacBook Pro 2021, Apple M1 Pro
> > macOS Sonoma 14
> > Matlab R2023b update 7
> > I have downloaded all add ons as specified.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <#13>, or
> > unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>
> > .
> > You are receiving this because you are subscribed to this
thread.Message
> > ID: ***@***.***>
> >
>
>
> --
> =================================
> Dirk Bernhardt-Walther, Ph.D
> Associate Professor, Department of Psychology
> Associate Editor, Psychology of Aesthetics, Creativity, and the Arts
> University of Toronto
> +1-416-978-6193
> ***@***.***
> https://www.bwlab.org/
> Bluesky: @dirkbwalther.bsky.social
> <https://bsky.app/profile/dirkbwalther.bsky.social>
> Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
>
> —
> Reply to this email directly, view it on GitHub
> <
#13 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Adam
We expect to have this solved within the next few days. In the meantime, if
you have access to an older Windows machine or a Linux machine - the code
should run without problem there.
Sorry for the delay.
Dirk
On Tue, Apr 16, 2024 at 6:50 AM Dirk Bernhardt-Walther <
***@***.***> wrote:
… Dear Adam
Sorry for the delay. Things turned out to be a bit more complicated than
we thought. We discovered that some of the 3rd party mex files are
implemented in Intel Assembler code, which caused us some headaches. We had
a breakthrough on this yesterday and are currently implementing the
solution. I am hopeful that we will have working code by the end of the
week. (It's also final exam time here, which slows things down a little.)
Thanks for your patience!
Dirk
On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
wrote:
> Dear Dirk,
>
> Did you manage to solve this issue?
> I want to use this toolbox for a manuscript I am working on.
> Specifically,
> I would like to compute curvatures and t-junctions.
> Unfortunately, I do not have access to another operating system.
>
> Adam
>
>
>
> On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
> ***@***.***> wrote:
>
> > Dear Adam
> >
> > Thank you very much for letting us know! We are currently dealing with
> > similar issues for newer Windows 11 machines. We are working on a fix.
> > I'll
> > be in touch soon.
> >
> > Dirk
> >
> >
> > On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
> > wrote:
> >
> > > Hi
> > >
> > > I have been using the toolbox to compute some low-level features.
> Using
> > > the examples, I am able to calculate the contours and the medial
> axis.
> > > However, I am having difficulty running the Line drawing.
> Specifically,
> > the
> > > traceLineDrawingFromRGB() function.
> > >
> > > When I use the function I get an error.
> > > exmaple1.png (view on web)
> > > <
> >
> https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
>
> > error1.png
> > > (view on web)
> > > <
> >
> https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>
> >
> > >
> > > With some investigating, I found the imPadMex file in
> > > MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
> > > containing files compiled from C++ (.cpp) and files ending with
> > .mexmaci64,
> > > .mexw64 and .mexa64 the version readable by Matlab. However, since I
> use
> > a
> > > Mac with a silicon chip, I require a file ending with .mexmaca64.
> > >
> > > I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using
> > >
> >
> MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>
> >
> > > as suggested on https://pdollar.github.io/toolbox/ but this
> converted
> > > only some files.
> > > .
> > > When I run traceLineDrawingFromRGB() my computer now finds the
> imPadMex
> > > file but another error occurs.
> > > error2.png (view on web)
> > > <
> >
> https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>
> >
> > >
> > > The issue seems to be that the C++ files are not optimized for a mac
> > with
> > > a silicon chip and the toolboxCompile function does not compile
> > properly. I
> > > was wondering if your group has found a solution for this issue?
> > >
> > > *Specs*
> > > MacBook Pro 2021, Apple M1 Pro
> > > macOS Sonoma 14
> > > Matlab R2023b update 7
> > > I have downloaded all add ons as specified.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <#13>, or
> > > unsubscribe
> > > <
> >
> https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>
> >
> > > .
> > > You are receiving this because you are subscribed to this
> thread.Message
> > > ID: ***@***.***>
> > >
> >
> >
> > --
> > =================================
> > Dirk Bernhardt-Walther, Ph.D
> > Associate Professor, Department of Psychology
> > Associate Editor, Psychology of Aesthetics, Creativity, and the Arts
> > University of Toronto
> > +1-416-978-6193
> > ***@***.***
> > https://www.bwlab.org/
> > Bluesky: @dirkbwalther.bsky.social
> > <https://bsky.app/profile/dirkbwalther.bsky.social>
> > Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
> #13 (comment)>,
>
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
>
> > .
> > You are receiving this because you authored the thread.Message ID:
> > ***@***.***>
> >
>
>
> --
> *Adam Reynolds*, *PhD Student*
> MoMiLab Research Unit
> IMT School for Advanced Studies Lucca
> Piazza San Francesco, 19
> 55100 Lucca – Italy
>
> —
> Reply to this email directly, view it on GitHub
> <#13 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
-
Hi Dirk,
No problem. I managed to run it on a colleague's computer.
Everything seems to be working fine now. Let me know when the update is out
because I want to do some future analysis on my personal computer.
Thanks for the prompt response and for attempting to rectify the issue
quickly.
I appreciate it.
Adam
On Tue, Apr 16, 2024 at 11:36 PM DirkBWalther ***@***.***>
wrote:
… Hi Adam
We expect to have this solved within the next few days. In the meantime,
if
you have access to an older Windows machine or a Linux machine - the code
should run without problem there.
Sorry for the delay.
Dirk
On Tue, Apr 16, 2024 at 6:50 AM Dirk Bernhardt-Walther <
***@***.***> wrote:
> Dear Adam
>
> Sorry for the delay. Things turned out to be a bit more complicated than
> we thought. We discovered that some of the 3rd party mex files are
> implemented in Intel Assembler code, which caused us some headaches. We
had
> a breakthrough on this yesterday and are currently implementing the
> solution. I am hopeful that we will have working code by the end of the
> week. (It's also final exam time here, which slows things down a
little.)
>
> Thanks for your patience!
>
> Dirk
>
>
> On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
> wrote:
>
>> Dear Dirk,
>>
>> Did you manage to solve this issue?
>> I want to use this toolbox for a manuscript I am working on.
>> Specifically,
>> I would like to compute curvatures and t-junctions.
>> Unfortunately, I do not have access to another operating system.
>>
>> Adam
>>
>>
>>
>> On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
>> ***@***.***> wrote:
>>
>> > Dear Adam
>> >
>> > Thank you very much for letting us know! We are currently dealing
with
>> > similar issues for newer Windows 11 machines. We are working on a
fix.
>> > I'll
>> > be in touch soon.
>> >
>> > Dirk
>> >
>> >
>> > On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
>> > wrote:
>> >
>> > > Hi
>> > >
>> > > I have been using the toolbox to compute some low-level features.
>> Using
>> > > the examples, I am able to calculate the contours and the medial
>> axis.
>> > > However, I am having difficulty running the Line drawing.
>> Specifically,
>> > the
>> > > traceLineDrawingFromRGB() function.
>> > >
>> > > When I use the function I get an error.
>> > > exmaple1.png (view on web)
>> > > <
>> >
>>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
>>
>> > error1.png
>> > > (view on web)
>> > > <
>> >
>>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>>
>> >
>> > >
>> > > With some investigating, I found the imPadMex file in
>> > >
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
>> > > containing files compiled from C++ (.cpp) and files ending with
>> > .mexmaci64,
>> > > .mexw64 and .mexa64 the version readable by Matlab. However, since
I
>> use
>> > a
>> > > Mac with a silicon chip, I require a file ending with .mexmaca64.
>> > >
>> > > I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using
>> > >
>> >
>>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>>
>> >
>> > > as suggested on https://pdollar.github.io/toolbox/ but this
>> converted
>> > > only some files.
>> > > .
>> > > When I run traceLineDrawingFromRGB() my computer now finds the
>> imPadMex
>> > > file but another error occurs.
>> > > error2.png (view on web)
>> > > <
>> >
>>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>>
>> >
>> > >
>> > > The issue seems to be that the C++ files are not optimized for a
mac
>> > with
>> > > a silicon chip and the toolboxCompile function does not compile
>> > properly. I
>> > > was wondering if your group has found a solution for this issue?
>> > >
>> > > *Specs*
>> > > MacBook Pro 2021, Apple M1 Pro
>> > > macOS Sonoma 14
>> > > Matlab R2023b update 7
>> > > I have downloaded all add ons as specified.
>> > >
>> > > —
>> > > Reply to this email directly, view it on GitHub
>> > > <#13>, or
>> > > unsubscribe
>> > > <
>> >
>>
https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>>
>> >
>> > > .
>> > > You are receiving this because you are subscribed to this
>> thread.Message
>> > > ID: ***@***.***>
>> > >
>> >
>> >
>> > --
>> > =================================
>> > Dirk Bernhardt-Walther, Ph.D
>> > Associate Professor, Department of Psychology
>> > Associate Editor, Psychology of Aesthetics, Creativity, and the Arts
>> > University of Toronto
>> > +1-416-978-6193
>> > ***@***.***
>> > https://www.bwlab.org/
>> > Bluesky: @dirkbwalther.bsky.social
>> > <https://bsky.app/profile/dirkbwalther.bsky.social>
>> > Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
>> >
>> > —
>> > Reply to this email directly, view it on GitHub
>> > <
>>
#13 (comment)>,
>>
>> > or unsubscribe
>> > <
>>
https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
>>
>> > .
>> > You are receiving this because you authored the thread.Message ID:
>> > ***@***.***>
>> >
>>
>>
>> --
>> *Adam Reynolds*, *PhD Student*
>> MoMiLab Research Unit
>> IMT School for Advanced Studies Lucca
>> Piazza San Francesco, 19
>> 55100 Lucca – Italy
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <
#13 (comment)>,
>> or unsubscribe
>> <
https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
>> .
>> You are receiving this because you were mentioned.Message ID:
>> ***@***.***
>> com>
>>
>
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4OU3MJ4PRR7AEIV3BIW63Y5VAQ7AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMZRHA2DA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
|
Beta Was this translation helpful? Give feedback.
-
Hi Dirk,
Just a follow-up question.
I plan to compute some images and rank them according to their average
curvilinearity by rating them on a scale of angular to curvilinearity (or
two scales, one angularity scale and one curvilinearity scale).
Initially, I considered doing a weights sum average based on the pixels in
each bin. In the MLV toolbox, eight bins of curvature are equally spaced on
a logarithmic scale (0.33, 1.33, 3.09, 6.20, 11.65, 21.23, 38.06, and 67.64
degrees per pixel.). If I rank these bins and do a weight sum average based
on the pixels in each bin, a high score would imply an angular 90-degree
line and a low score would imply straight lines. If I understood the
computation correctly. Would this be something that I could qualify as a
curvilinearity scale? It seems the middle bins would be a better indication
of the curvilinearity of an image.
Is it possible to compute an average curvilinearity scale & an average
angular scale with the MLV toolbox?
How would you go about computing this?
Adam
On Thu, Apr 18, 2024 at 10:33 AM Adam Peter Frederick Reynolds <
***@***.***> wrote:
… Hi Dirk,
No problem. I managed to run it on a colleague's computer.
Everything seems to be working fine now. Let me know when the update is
out because I want to do some future analysis on my personal computer.
Thanks for the prompt response and for attempting to rectify the issue
quickly.
I appreciate it.
Adam
On Tue, Apr 16, 2024 at 11:36 PM DirkBWalther ***@***.***>
wrote:
> Hi Adam
>
> We expect to have this solved within the next few days. In the meantime,
> if
> you have access to an older Windows machine or a Linux machine - the code
> should run without problem there.
>
> Sorry for the delay.
>
> Dirk
>
>
> On Tue, Apr 16, 2024 at 6:50 AM Dirk Bernhardt-Walther <
> ***@***.***> wrote:
>
> > Dear Adam
> >
> > Sorry for the delay. Things turned out to be a bit more complicated
> than
> > we thought. We discovered that some of the 3rd party mex files are
> > implemented in Intel Assembler code, which caused us some headaches. We
> had
> > a breakthrough on this yesterday and are currently implementing the
> > solution. I am hopeful that we will have working code by the end of the
> > week. (It's also final exam time here, which slows things down a
> little.)
> >
> > Thanks for your patience!
> >
> > Dirk
> >
> >
> > On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
> > wrote:
> >
> >> Dear Dirk,
> >>
> >> Did you manage to solve this issue?
> >> I want to use this toolbox for a manuscript I am working on.
> >> Specifically,
> >> I would like to compute curvatures and t-junctions.
> >> Unfortunately, I do not have access to another operating system.
> >>
> >> Adam
> >>
> >>
> >>
> >> On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
> >> ***@***.***> wrote:
> >>
> >> > Dear Adam
> >> >
> >> > Thank you very much for letting us know! We are currently dealing
> with
> >> > similar issues for newer Windows 11 machines. We are working on a
> fix.
> >> > I'll
> >> > be in touch soon.
> >> >
> >> > Dirk
> >> >
> >> >
> >> > On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
> >> > wrote:
> >> >
> >> > > Hi
> >> > >
> >> > > I have been using the toolbox to compute some low-level features.
> >> Using
> >> > > the examples, I am able to calculate the contours and the medial
> >> axis.
> >> > > However, I am having difficulty running the Line drawing.
> >> Specifically,
> >> > the
> >> > > traceLineDrawingFromRGB() function.
> >> > >
> >> > > When I use the function I get an error.
> >> > > exmaple1.png (view on web)
> >> > > <
> >> >
> >>
> https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
>
> >>
> >> > error1.png
> >> > > (view on web)
> >> > > <
> >> >
> >>
> https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>
> >>
> >> >
> >> > >
> >> > > With some investigating, I found the imPadMex file in
> >> > >
> MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
> >> > > containing files compiled from C++ (.cpp) and files ending with
> >> > .mexmaci64,
> >> > > .mexw64 and .mexa64 the version readable by Matlab. However, since
> I
> >> use
> >> > a
> >> > > Mac with a silicon chip, I require a file ending with .mexmaca64.
> >> > >
> >> > > I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using
> >> > >
> >> >
> >>
> MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>
> >>
> >> >
> >> > > as suggested on https://pdollar.github.io/toolbox/ but this
> >> converted
> >> > > only some files.
> >> > > .
> >> > > When I run traceLineDrawingFromRGB() my computer now finds the
> >> imPadMex
> >> > > file but another error occurs.
> >> > > error2.png (view on web)
> >> > > <
> >> >
> >>
> https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>
> >>
> >> >
> >> > >
> >> > > The issue seems to be that the C++ files are not optimized for a
> mac
> >> > with
> >> > > a silicon chip and the toolboxCompile function does not compile
> >> > properly. I
> >> > > was wondering if your group has found a solution for this issue?
> >> > >
> >> > > *Specs*
> >> > > MacBook Pro 2021, Apple M1 Pro
> >> > > macOS Sonoma 14
> >> > > Matlab R2023b update 7
> >> > > I have downloaded all add ons as specified.
> >> > >
> >> > > —
> >> > > Reply to this email directly, view it on GitHub
> >> > > <#13>, or
> >> > > unsubscribe
> >> > > <
> >> >
> >>
> https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>
> >>
> >> >
> >> > > .
> >> > > You are receiving this because you are subscribed to this
> >> thread.Message
> >> > > ID: ***@***.***>
> >> > >
> >> >
> >> >
> >> > --
> >> > =================================
> >> > Dirk Bernhardt-Walther, Ph.D
> >> > Associate Professor, Department of Psychology
> >> > Associate Editor, Psychology of Aesthetics, Creativity, and the Arts
> >> > University of Toronto
> >> > +1-416-978-6193
> >> > ***@***.***
> >> > https://www.bwlab.org/
> >> > Bluesky: @dirkbwalther.bsky.social
> >> > <https://bsky.app/profile/dirkbwalther.bsky.social>
> >> > Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
> >> >
> >> > —
> >> > Reply to this email directly, view it on GitHub
> >> > <
> >>
> #13 (comment)>,
>
> >>
> >> > or unsubscribe
> >> > <
> >>
> https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
>
> >>
> >> > .
> >> > You are receiving this because you authored the thread.Message ID:
> >> > ***@***.***>
> >> >
> >>
> >>
> >> --
> >> *Adam Reynolds*, *PhD Student*
> >> MoMiLab Research Unit
> >> IMT School for Advanced Studies Lucca
> >> Piazza San Francesco, 19
> >> 55100 Lucca – Italy
> >>
> >> —
> >> Reply to this email directly, view it on GitHub
> >> <
> #13 (comment)>,
>
> >> or unsubscribe
> >> <
> https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
>
> >> .
> >> You are receiving this because you were mentioned.Message ID:
> >> ***@***.***
> >> com>
> >>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <#13 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AN4OU3MJ4PRR7AEIV3BIW63Y5VAQ7AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMZRHA2DA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***
> com>
>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
|
Beta Was this translation helpful? Give feedback.
-
Hi Adam
Excellent question. I agree with your intuition. Unfortunately, these
measures do not map well to people's subjective judgments of what's
curvilinear versus angular. We have a paper under review where we show that
the two concepts (human judgments of curviness and the mathematical
measures from the MLV Toolbox) even relate to activity in different brain
regions. I will be presenting this work at IAEA in Mallorca next month.
Will you be there?
We have an ongoing research project to find out what features people use
when they judge images as curvy. It is an annoyingly stubborn problem.
I'm sorry that I can't give you a more definitive answer.
Dirk
On Thu, Apr 18, 2024 at 12:29 AM Adamreynolds28 ***@***.***>
wrote:
… Hi Dirk,
Just a follow-up question.
I plan to compute some images and rank them according to their average
curvilinearity by rating them on a scale of angular to curvilinearity (or
two scales, one angularity scale and one curvilinearity scale).
Initially, I considered doing a weights sum average based on the pixels in
each bin. In the MLV toolbox, eight bins of curvature are equally spaced
on
a logarithmic scale (0.33, 1.33, 3.09, 6.20, 11.65, 21.23, 38.06, and
67.64
degrees per pixel.). If I rank these bins and do a weight sum average
based
on the pixels in each bin, a high score would imply an angular 90-degree
line and a low score would imply straight lines. If I understood the
computation correctly. Would this be something that I could qualify as a
curvilinearity scale? It seems the middle bins would be a better
indication
of the curvilinearity of an image.
Is it possible to compute an average curvilinearity scale & an average
angular scale with the MLV toolbox?
How would you go about computing this?
Adam
On Thu, Apr 18, 2024 at 10:33 AM Adam Peter Frederick Reynolds <
***@***.***> wrote:
> Hi Dirk,
>
> No problem. I managed to run it on a colleague's computer.
> Everything seems to be working fine now. Let me know when the update is
> out because I want to do some future analysis on my personal computer.
>
> Thanks for the prompt response and for attempting to rectify the issue
> quickly.
> I appreciate it.
>
> Adam
>
>
> On Tue, Apr 16, 2024 at 11:36 PM DirkBWalther ***@***.***>
> wrote:
>
>> Hi Adam
>>
>> We expect to have this solved within the next few days. In the
meantime,
>> if
>> you have access to an older Windows machine or a Linux machine - the
code
>> should run without problem there.
>>
>> Sorry for the delay.
>>
>> Dirk
>>
>>
>> On Tue, Apr 16, 2024 at 6:50 AM Dirk Bernhardt-Walther <
>> ***@***.***> wrote:
>>
>> > Dear Adam
>> >
>> > Sorry for the delay. Things turned out to be a bit more complicated
>> than
>> > we thought. We discovered that some of the 3rd party mex files are
>> > implemented in Intel Assembler code, which caused us some headaches.
We
>> had
>> > a breakthrough on this yesterday and are currently implementing the
>> > solution. I am hopeful that we will have working code by the end of
the
>> > week. (It's also final exam time here, which slows things down a
>> little.)
>> >
>> > Thanks for your patience!
>> >
>> > Dirk
>> >
>> >
>> > On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
>> > wrote:
>> >
>> >> Dear Dirk,
>> >>
>> >> Did you manage to solve this issue?
>> >> I want to use this toolbox for a manuscript I am working on.
>> >> Specifically,
>> >> I would like to compute curvatures and t-junctions.
>> >> Unfortunately, I do not have access to another operating system.
>> >>
>> >> Adam
>> >>
>> >>
>> >>
>> >> On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
>> >> ***@***.***> wrote:
>> >>
>> >> > Dear Adam
>> >> >
>> >> > Thank you very much for letting us know! We are currently dealing
>> with
>> >> > similar issues for newer Windows 11 machines. We are working on a
>> fix.
>> >> > I'll
>> >> > be in touch soon.
>> >> >
>> >> > Dirk
>> >> >
>> >> >
>> >> > On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
>> >> > wrote:
>> >> >
>> >> > > Hi
>> >> > >
>> >> > > I have been using the toolbox to compute some low-level
features.
>> >> Using
>> >> > > the examples, I am able to calculate the contours and the medial
>> >> axis.
>> >> > > However, I am having difficulty running the Line drawing.
>> >> Specifically,
>> >> > the
>> >> > > traceLineDrawingFromRGB() function.
>> >> > >
>> >> > > When I use the function I get an error.
>> >> > > exmaple1.png (view on web)
>> >> > > <
>> >> >
>> >>
>>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
>>
>> >>
>> >> > error1.png
>> >> > > (view on web)
>> >> > > <
>> >> >
>> >>
>>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>>
>> >>
>> >> >
>> >> > >
>> >> > > With some investigating, I found the imPadMex file in
>> >> > >
>> MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
>> >> > > containing files compiled from C++ (.cpp) and files ending with
>> >> > .mexmaci64,
>> >> > > .mexw64 and .mexa64 the version readable by Matlab. However,
since
>> I
>> >> use
>> >> > a
>> >> > > Mac with a silicon chip, I require a file ending with
.mexmaca64.
>> >> > >
>> >> > > I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using
>> >> > >
>> >> >
>> >>
>>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>>
>> >>
>> >> >
>> >> > > as suggested on https://pdollar.github.io/toolbox/ but this
>> >> converted
>> >> > > only some files.
>> >> > > .
>> >> > > When I run traceLineDrawingFromRGB() my computer now finds the
>> >> imPadMex
>> >> > > file but another error occurs.
>> >> > > error2.png (view on web)
>> >> > > <
>> >> >
>> >>
>>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>>
>> >>
>> >> >
>> >> > >
>> >> > > The issue seems to be that the C++ files are not optimized for a
>> mac
>> >> > with
>> >> > > a silicon chip and the toolboxCompile function does not compile
>> >> > properly. I
>> >> > > was wondering if your group has found a solution for this issue?
>> >> > >
>> >> > > *Specs*
>> >> > > MacBook Pro 2021, Apple M1 Pro
>> >> > > macOS Sonoma 14
>> >> > > Matlab R2023b update 7
>> >> > > I have downloaded all add ons as specified.
>> >> > >
>> >> > > —
>> >> > > Reply to this email directly, view it on GitHub
>> >> > > <#13>,
or
>> >> > > unsubscribe
>> >> > > <
>> >> >
>> >>
>>
https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>>
>> >>
>> >> >
>> >> > > .
>> >> > > You are receiving this because you are subscribed to this
>> >> thread.Message
>> >> > > ID: ***@***.***>
>> >> > >
>> >> >
>> >> >
>> >> > --
>> >> > =================================
>> >> > Dirk Bernhardt-Walther, Ph.D
>> >> > Associate Professor, Department of Psychology
>> >> > Associate Editor, Psychology of Aesthetics, Creativity, and the
Arts
>> >> > University of Toronto
>> >> > +1-416-978-6193
>> >> > ***@***.***
>> >> > https://www.bwlab.org/
>> >> > Bluesky: @dirkbwalther.bsky.social
>> >> > <https://bsky.app/profile/dirkbwalther.bsky.social>
>> >> > Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
>> >> >
>> >> > —
>> >> > Reply to this email directly, view it on GitHub
>> >> > <
>> >>
>>
#13 (comment)>,
>>
>> >>
>> >> > or unsubscribe
>> >> > <
>> >>
>>
https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
>>
>> >>
>> >> > .
>> >> > You are receiving this because you authored the thread.Message ID:
>> >> > ***@***.***>
>> >> >
>> >>
>> >>
>> >> --
>> >> *Adam Reynolds*, *PhD Student*
>> >> MoMiLab Research Unit
>> >> IMT School for Advanced Studies Lucca
>> >> Piazza San Francesco, 19
>> >> 55100 Lucca – Italy
>> >>
>> >> —
>> >> Reply to this email directly, view it on GitHub
>> >> <
>>
#13 (comment)>,
>>
>> >> or unsubscribe
>> >> <
>>
https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
>>
>> >> .
>> >> You are receiving this because you were mentioned.Message ID:
>> >> ***@***.***
>> >> com>
>> >>
>> >
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <
#13 (comment)>,
>> or unsubscribe
>> <
https://github.com/notifications/unsubscribe-auth/AN4OU3MJ4PRR7AEIV3BIW63Y5VAQ7AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMZRHA2DA>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***
>> com>
>>
>
>
> --
> *Adam Reynolds*, *PhD Student*
> MoMiLab Research Unit
> IMT School for Advanced Studies Lucca
> Piazza San Francesco, 19
> 55100 Lucca – Italy
>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJSQH2LHGHKDNQTLVWHQHDDY55DZ5AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGIZTS>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes, I will be attending IAEA, and we could chat more there. I'm excited
for your talk!
If I understand you correctly, the MLV measure of curvature would be a sum
mean of the bins as they are (0.33, 1.33, 3.09, 6.20, 11.65, 21.23, 38.06,
and 67.64 degrees per pixel.).
However, this does not map well to the subjective judgment of curvature.
On Thu, Apr 18, 2024 at 12:59 PM DirkBWalther ***@***.***>
wrote:
… Hi Adam
Excellent question. I agree with your intuition. Unfortunately, these
measures do not map well to people's subjective judgments of what's
curvilinear versus angular. We have a paper under review where we show
that
the two concepts (human judgments of curviness and the mathematical
measures from the MLV Toolbox) even relate to activity in different brain
regions. I will be presenting this work at IAEA in Mallorca next month.
Will you be there?
We have an ongoing research project to find out what features people use
when they judge images as curvy. It is an annoyingly stubborn problem.
I'm sorry that I can't give you a more definitive answer.
Dirk
On Thu, Apr 18, 2024 at 12:29 AM Adamreynolds28 ***@***.***>
wrote:
> Hi Dirk,
>
> Just a follow-up question.
> I plan to compute some images and rank them according to their average
> curvilinearity by rating them on a scale of angular to curvilinearity
(or
> two scales, one angularity scale and one curvilinearity scale).
>
> Initially, I considered doing a weights sum average based on the pixels
in
> each bin. In the MLV toolbox, eight bins of curvature are equally spaced
> on
> a logarithmic scale (0.33, 1.33, 3.09, 6.20, 11.65, 21.23, 38.06, and
> 67.64
> degrees per pixel.). If I rank these bins and do a weight sum average
> based
> on the pixels in each bin, a high score would imply an angular 90-degree
> line and a low score would imply straight lines. If I understood the
> computation correctly. Would this be something that I could qualify as a
> curvilinearity scale? It seems the middle bins would be a better
> indication
> of the curvilinearity of an image.
>
> Is it possible to compute an average curvilinearity scale & an average
> angular scale with the MLV toolbox?
> How would you go about computing this?
>
> Adam
>
>
>
>
>
>
>
>
>
> On Thu, Apr 18, 2024 at 10:33 AM Adam Peter Frederick Reynolds <
> ***@***.***> wrote:
>
> > Hi Dirk,
> >
> > No problem. I managed to run it on a colleague's computer.
> > Everything seems to be working fine now. Let me know when the update
is
> > out because I want to do some future analysis on my personal computer.
> >
> > Thanks for the prompt response and for attempting to rectify the issue
> > quickly.
> > I appreciate it.
> >
> > Adam
> >
> >
> > On Tue, Apr 16, 2024 at 11:36 PM DirkBWalther ***@***.***>
> > wrote:
> >
> >> Hi Adam
> >>
> >> We expect to have this solved within the next few days. In the
> meantime,
> >> if
> >> you have access to an older Windows machine or a Linux machine - the
> code
> >> should run without problem there.
> >>
> >> Sorry for the delay.
> >>
> >> Dirk
> >>
> >>
> >> On Tue, Apr 16, 2024 at 6:50 AM Dirk Bernhardt-Walther <
> >> ***@***.***> wrote:
> >>
> >> > Dear Adam
> >> >
> >> > Sorry for the delay. Things turned out to be a bit more complicated
> >> than
> >> > we thought. We discovered that some of the 3rd party mex files are
> >> > implemented in Intel Assembler code, which caused us some
headaches.
> We
> >> had
> >> > a breakthrough on this yesterday and are currently implementing the
> >> > solution. I am hopeful that we will have working code by the end of
> the
> >> > week. (It's also final exam time here, which slows things down a
> >> little.)
> >> >
> >> > Thanks for your patience!
> >> >
> >> > Dirk
> >> >
> >> >
> >> > On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
> >> > wrote:
> >> >
> >> >> Dear Dirk,
> >> >>
> >> >> Did you manage to solve this issue?
> >> >> I want to use this toolbox for a manuscript I am working on.
> >> >> Specifically,
> >> >> I would like to compute curvatures and t-junctions.
> >> >> Unfortunately, I do not have access to another operating system.
> >> >>
> >> >> Adam
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
> >> >> ***@***.***> wrote:
> >> >>
> >> >> > Dear Adam
> >> >> >
> >> >> > Thank you very much for letting us know! We are currently
dealing
> >> with
> >> >> > similar issues for newer Windows 11 machines. We are working on
a
> >> fix.
> >> >> > I'll
> >> >> > be in touch soon.
> >> >> >
> >> >> > Dirk
> >> >> >
> >> >> >
> >> >> > On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
> >> >> > wrote:
> >> >> >
> >> >> > > Hi
> >> >> > >
> >> >> > > I have been using the toolbox to compute some low-level
> features.
> >> >> Using
> >> >> > > the examples, I am able to calculate the contours and the
medial
> >> >> axis.
> >> >> > > However, I am having difficulty running the Line drawing.
> >> >> Specifically,
> >> >> > the
> >> >> > > traceLineDrawingFromRGB() function.
> >> >> > >
> >> >> > > When I use the function I get an error.
> >> >> > > exmaple1.png (view on web)
> >> >> > > <
> >> >> >
> >> >>
> >>
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
>
> >>
> >> >>
> >> >> > error1.png
> >> >> > > (view on web)
> >> >> > > <
> >> >> >
> >> >>
> >>
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>
> >>
> >> >>
> >> >> >
> >> >> > >
> >> >> > > With some investigating, I found the imPadMex file in
> >> >> > >
> >> MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
> >> >> > > containing files compiled from C++ (.cpp) and files ending
with
> >> >> > .mexmaci64,
> >> >> > > .mexw64 and .mexa64 the version readable by Matlab. However,
> since
> >> I
> >> >> use
> >> >> > a
> >> >> > > Mac with a silicon chip, I require a file ending with
> .mexmaca64.
> >> >> > >
> >> >> > > I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using
> >> >> > >
> >> >> >
> >> >>
> >>
>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>
> >>
> >> >>
> >> >> >
> >> >> > > as suggested on https://pdollar.github.io/toolbox/ but this
> >> >> converted
> >> >> > > only some files.
> >> >> > > .
> >> >> > > When I run traceLineDrawingFromRGB() my computer now finds the
> >> >> imPadMex
> >> >> > > file but another error occurs.
> >> >> > > error2.png (view on web)
> >> >> > > <
> >> >> >
> >> >>
> >>
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>
> >>
> >> >>
> >> >> >
> >> >> > >
> >> >> > > The issue seems to be that the C++ files are not optimized for
a
> >> mac
> >> >> > with
> >> >> > > a silicon chip and the toolboxCompile function does not
compile
> >> >> > properly. I
> >> >> > > was wondering if your group has found a solution for this
issue?
> >> >> > >
> >> >> > > *Specs*
> >> >> > > MacBook Pro 2021, Apple M1 Pro
> >> >> > > macOS Sonoma 14
> >> >> > > Matlab R2023b update 7
> >> >> > > I have downloaded all add ons as specified.
> >> >> > >
> >> >> > > —
> >> >> > > Reply to this email directly, view it on GitHub
> >> >> > > <#13>,
> or
> >> >> > > unsubscribe
> >> >> > > <
> >> >> >
> >> >>
> >>
>
https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>
> >>
> >> >>
> >> >> >
> >> >> > > .
> >> >> > > You are receiving this because you are subscribed to this
> >> >> thread.Message
> >> >> > > ID: ***@***.***>
> >> >> > >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > =================================
> >> >> > Dirk Bernhardt-Walther, Ph.D
> >> >> > Associate Professor, Department of Psychology
> >> >> > Associate Editor, Psychology of Aesthetics, Creativity, and the
> Arts
> >> >> > University of Toronto
> >> >> > +1-416-978-6193
> >> >> > ***@***.***
> >> >> > https://www.bwlab.org/
> >> >> > Bluesky: @dirkbwalther.bsky.social
> >> >> > <https://bsky.app/profile/dirkbwalther.bsky.social>
> >> >> > Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
> >> >> >
> >> >> > —
> >> >> > Reply to this email directly, view it on GitHub
> >> >> > <
> >> >>
> >>
>
#13 (comment)>,
>
> >>
> >> >>
> >> >> > or unsubscribe
> >> >> > <
> >> >>
> >>
>
https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
>
> >>
> >> >>
> >> >> > .
> >> >> > You are receiving this because you authored the thread.Message
ID:
> >> >> > ***@***.***>
> >> >> >
> >> >>
> >> >>
> >> >> --
> >> >> *Adam Reynolds*, *PhD Student*
> >> >> MoMiLab Research Unit
> >> >> IMT School for Advanced Studies Lucca
> >> >> Piazza San Francesco, 19
> >> >> 55100 Lucca – Italy
> >> >>
> >> >> —
> >> >> Reply to this email directly, view it on GitHub
> >> >> <
> >>
>
#13 (comment)>,
>
> >>
> >> >> or unsubscribe
> >> >> <
> >>
>
https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
>
> >>
> >> >> .
> >> >> You are receiving this because you were mentioned.Message ID:
> >> >> ***@***.***
> >> >> com>
> >> >>
> >> >
> >>
> >> —
> >> Reply to this email directly, view it on GitHub
> >> <
>
#13 (comment)>,
>
> >> or unsubscribe
> >> <
>
https://github.com/notifications/unsubscribe-auth/AN4OU3MJ4PRR7AEIV3BIW63Y5VAQ7AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMZRHA2DA>
>
> >> .
> >> You are receiving this because you authored the thread.Message ID:
> >> ***@***.***
> >> com>
> >>
> >
> >
> > --
> > *Adam Reynolds*, *PhD Student*
> > MoMiLab Research Unit
> > IMT School for Advanced Studies Lucca
> > Piazza San Francesco, 19
> > 55100 Lucca – Italy
> >
>
>
> --
> *Adam Reynolds*, *PhD Student*
> MoMiLab Research Unit
> IMT School for Advanced Studies Lucca
> Piazza San Francesco, 19
> 55100 Lucca – Italy
>
> —
> Reply to this email directly, view it on GitHub
> <
#13 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AJSQH2LHGHKDNQTLVWHQHDDY55DZ5AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGIZTS>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4OU3LF62JHTJ5ZRQYIB5LY55HLZAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGM2TS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
|
Beta Was this translation helpful? Give feedback.
-
Hmm, there is a function in the toolbox to compute average curvature. That
would be better suited:
https://htmlpreview.github.io/?https://raw.githubusercontent.com/bwlabToronto/MLV_toolbox/main/doc/MLVcode/averageProperty.html
But yes, it does not map well onto subjective measures.
See you in Mallorca!
Dirk
On Thu, Apr 18, 2024 at 1:13 AM Adamreynolds28 ***@***.***>
wrote:
… Yes, I will be attending IAEA, and we could chat more there. I'm excited
for your talk!
If I understand you correctly, the MLV measure of curvature would be a sum
mean of the bins as they are (0.33, 1.33, 3.09, 6.20, 11.65, 21.23, 38.06,
and 67.64 degrees per pixel.).
However, this does not map well to the subjective judgment of curvature.
On Thu, Apr 18, 2024 at 12:59 PM DirkBWalther ***@***.***>
wrote:
> Hi Adam
>
> Excellent question. I agree with your intuition. Unfortunately, these
> measures do not map well to people's subjective judgments of what's
> curvilinear versus angular. We have a paper under review where we show
> that
> the two concepts (human judgments of curviness and the mathematical
> measures from the MLV Toolbox) even relate to activity in different
brain
> regions. I will be presenting this work at IAEA in Mallorca next month.
> Will you be there?
>
> We have an ongoing research project to find out what features people use
> when they judge images as curvy. It is an annoyingly stubborn problem.
>
> I'm sorry that I can't give you a more definitive answer.
>
> Dirk
>
>
> On Thu, Apr 18, 2024 at 12:29 AM Adamreynolds28 ***@***.***>
> wrote:
>
> > Hi Dirk,
> >
> > Just a follow-up question.
> > I plan to compute some images and rank them according to their average
> > curvilinearity by rating them on a scale of angular to curvilinearity
> (or
> > two scales, one angularity scale and one curvilinearity scale).
> >
> > Initially, I considered doing a weights sum average based on the
pixels
> in
> > each bin. In the MLV toolbox, eight bins of curvature are equally
spaced
> > on
> > a logarithmic scale (0.33, 1.33, 3.09, 6.20, 11.65, 21.23, 38.06, and
> > 67.64
> > degrees per pixel.). If I rank these bins and do a weight sum average
> > based
> > on the pixels in each bin, a high score would imply an angular
90-degree
> > line and a low score would imply straight lines. If I understood the
> > computation correctly. Would this be something that I could qualify as
a
> > curvilinearity scale? It seems the middle bins would be a better
> > indication
> > of the curvilinearity of an image.
> >
> > Is it possible to compute an average curvilinearity scale & an average
> > angular scale with the MLV toolbox?
> > How would you go about computing this?
> >
> > Adam
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Apr 18, 2024 at 10:33 AM Adam Peter Frederick Reynolds <
> > ***@***.***> wrote:
> >
> > > Hi Dirk,
> > >
> > > No problem. I managed to run it on a colleague's computer.
> > > Everything seems to be working fine now. Let me know when the update
> is
> > > out because I want to do some future analysis on my personal
computer.
> > >
> > > Thanks for the prompt response and for attempting to rectify the
issue
> > > quickly.
> > > I appreciate it.
> > >
> > > Adam
> > >
> > >
> > > On Tue, Apr 16, 2024 at 11:36 PM DirkBWalther ***@***.***>
> > > wrote:
> > >
> > >> Hi Adam
> > >>
> > >> We expect to have this solved within the next few days. In the
> > meantime,
> > >> if
> > >> you have access to an older Windows machine or a Linux machine -
the
> > code
> > >> should run without problem there.
> > >>
> > >> Sorry for the delay.
> > >>
> > >> Dirk
> > >>
> > >>
> > >> On Tue, Apr 16, 2024 at 6:50 AM Dirk Bernhardt-Walther <
> > >> ***@***.***> wrote:
> > >>
> > >> > Dear Adam
> > >> >
> > >> > Sorry for the delay. Things turned out to be a bit more
complicated
> > >> than
> > >> > we thought. We discovered that some of the 3rd party mex files
are
> > >> > implemented in Intel Assembler code, which caused us some
> headaches.
> > We
> > >> had
> > >> > a breakthrough on this yesterday and are currently implementing
the
> > >> > solution. I am hopeful that we will have working code by the end
of
> > the
> > >> > week. (It's also final exam time here, which slows things down a
> > >> little.)
> > >> >
> > >> > Thanks for your patience!
> > >> >
> > >> > Dirk
> > >> >
> > >> >
> > >> > On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
> > >> > wrote:
> > >> >
> > >> >> Dear Dirk,
> > >> >>
> > >> >> Did you manage to solve this issue?
> > >> >> I want to use this toolbox for a manuscript I am working on.
> > >> >> Specifically,
> > >> >> I would like to compute curvatures and t-junctions.
> > >> >> Unfortunately, I do not have access to another operating system.
> > >> >>
> > >> >> Adam
> > >> >>
> > >> >>
> > >> >>
> > >> >> On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
> > >> >> ***@***.***> wrote:
> > >> >>
> > >> >> > Dear Adam
> > >> >> >
> > >> >> > Thank you very much for letting us know! We are currently
> dealing
> > >> with
> > >> >> > similar issues for newer Windows 11 machines. We are working
on
> a
> > >> fix.
> > >> >> > I'll
> > >> >> > be in touch soon.
> > >> >> >
> > >> >> > Dirk
> > >> >> >
> > >> >> >
> > >> >> > On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
> > >> >> > wrote:
> > >> >> >
> > >> >> > > Hi
> > >> >> > >
> > >> >> > > I have been using the toolbox to compute some low-level
> > features.
> > >> >> Using
> > >> >> > > the examples, I am able to calculate the contours and the
> medial
> > >> >> axis.
> > >> >> > > However, I am having difficulty running the Line drawing.
> > >> >> Specifically,
> > >> >> > the
> > >> >> > > traceLineDrawingFromRGB() function.
> > >> >> > >
> > >> >> > > When I use the function I get an error.
> > >> >> > > exmaple1.png (view on web)
> > >> >> > > <
> > >> >> >
> > >> >>
> > >>
> >
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
>
> >
> > >>
> > >> >>
> > >> >> > error1.png
> > >> >> > > (view on web)
> > >> >> > > <
> > >> >> >
> > >> >>
> > >>
> >
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>
> >
> > >>
> > >> >>
> > >> >> >
> > >> >> > >
> > >> >> > > With some investigating, I found the imPadMex file in
> > >> >> > >
> > >>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
> > >> >> > > containing files compiled from C++ (.cpp) and files ending
> with
> > >> >> > .mexmaci64,
> > >> >> > > .mexw64 and .mexa64 the version readable by Matlab. However,
> > since
> > >> I
> > >> >> use
> > >> >> > a
> > >> >> > > Mac with a silicon chip, I require a file ending with
> > .mexmaca64.
> > >> >> > >
> > >> >> > > I managed to convert imPadMex.cpp to imPadMex.mexmaca64
using
> > >> >> > >
> > >> >> >
> > >> >>
> > >>
> >
>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>
> >
> > >>
> > >> >>
> > >> >> >
> > >> >> > > as suggested on https://pdollar.github.io/toolbox/ but this
> > >> >> converted
> > >> >> > > only some files.
> > >> >> > > .
> > >> >> > > When I run traceLineDrawingFromRGB() my computer now finds
the
> > >> >> imPadMex
> > >> >> > > file but another error occurs.
> > >> >> > > error2.png (view on web)
> > >> >> > > <
> > >> >> >
> > >> >>
> > >>
> >
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>
> >
> > >>
> > >> >>
> > >> >> >
> > >> >> > >
> > >> >> > > The issue seems to be that the C++ files are not optimized
for
> a
> > >> mac
> > >> >> > with
> > >> >> > > a silicon chip and the toolboxCompile function does not
> compile
> > >> >> > properly. I
> > >> >> > > was wondering if your group has found a solution for this
> issue?
> > >> >> > >
> > >> >> > > *Specs*
> > >> >> > > MacBook Pro 2021, Apple M1 Pro
> > >> >> > > macOS Sonoma 14
> > >> >> > > Matlab R2023b update 7
> > >> >> > > I have downloaded all add ons as specified.
> > >> >> > >
> > >> >> > > —
> > >> >> > > Reply to this email directly, view it on GitHub
> > >> >> > > <#13>,
> > or
> > >> >> > > unsubscribe
> > >> >> > > <
> > >> >> >
> > >> >>
> > >>
> >
>
https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>
> >
> > >>
> > >> >>
> > >> >> >
> > >> >> > > .
> > >> >> > > You are receiving this because you are subscribed to this
> > >> >> thread.Message
> > >> >> > > ID: ***@***.***>
> > >> >> > >
> > >> >> >
> > >> >> >
> > >> >> > --
> > >> >> > =================================
> > >> >> > Dirk Bernhardt-Walther, Ph.D
> > >> >> > Associate Professor, Department of Psychology
> > >> >> > Associate Editor, Psychology of Aesthetics, Creativity, and
the
> > Arts
> > >> >> > University of Toronto
> > >> >> > +1-416-978-6193
> > >> >> > ***@***.***
> > >> >> > https://www.bwlab.org/
> > >> >> > Bluesky: @dirkbwalther.bsky.social
> > >> >> > <https://bsky.app/profile/dirkbwalther.bsky.social>
> > >> >> > Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
> > >> >> >
> > >> >> > —
> > >> >> > Reply to this email directly, view it on GitHub
> > >> >> > <
> > >> >>
> > >>
> >
>
#13 (comment)>,
>
> >
> > >>
> > >> >>
> > >> >> > or unsubscribe
> > >> >> > <
> > >> >>
> > >>
> >
>
https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
>
> >
> > >>
> > >> >>
> > >> >> > .
> > >> >> > You are receiving this because you authored the thread.Message
> ID:
> > >> >> > ***@***.***>
> > >> >> >
> > >> >>
> > >> >>
> > >> >> --
> > >> >> *Adam Reynolds*, *PhD Student*
> > >> >> MoMiLab Research Unit
> > >> >> IMT School for Advanced Studies Lucca
> > >> >> Piazza San Francesco, 19
> > >> >> 55100 Lucca – Italy
> > >> >>
> > >> >> —
> > >> >> Reply to this email directly, view it on GitHub
> > >> >> <
> > >>
> >
>
#13 (comment)>,
>
> >
> > >>
> > >> >> or unsubscribe
> > >> >> <
> > >>
> >
>
https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
>
> >
> > >>
> > >> >> .
> > >> >> You are receiving this because you were mentioned.Message ID:
> > >> >> ***@***.***
> > >> >> com>
> > >> >>
> > >> >
> > >>
> > >> —
> > >> Reply to this email directly, view it on GitHub
> > >> <
> >
>
#13 (comment)>,
>
> >
> > >> or unsubscribe
> > >> <
> >
>
https://github.com/notifications/unsubscribe-auth/AN4OU3MJ4PRR7AEIV3BIW63Y5VAQ7AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMZRHA2DA>
>
> >
> > >> .
> > >> You are receiving this because you authored the thread.Message ID:
> > >> ***@***.***
> > >> com>
> > >>
> > >
> > >
> > > --
> > > *Adam Reynolds*, *PhD Student*
> > > MoMiLab Research Unit
> > > IMT School for Advanced Studies Lucca
> > > Piazza San Francesco, 19
> > > 55100 Lucca – Italy
> > >
> >
> >
> > --
> > *Adam Reynolds*, *PhD Student*
> > MoMiLab Research Unit
> > IMT School for Advanced Studies Lucca
> > Piazza San Francesco, 19
> > 55100 Lucca – Italy
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#13 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AJSQH2LHGHKDNQTLVWHQHDDY55DZ5AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGIZTS>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#13 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AN4OU3LF62JHTJ5ZRQYIB5LY55HLZAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGM2TS>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJSQH2PDZAH7JSQV5SQCML3Y55JAPAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGQ2DC>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Great, thanks for all the help.
See you in IAEA!
On Thu, Apr 18, 2024 at 1:18 PM DirkBWalther ***@***.***>
wrote:
… Hmm, there is a function in the toolbox to compute average curvature. That
would be better suited:
https://htmlpreview.github.io/?https://raw.githubusercontent.com/bwlabToronto/MLV_toolbox/main/doc/MLVcode/averageProperty.html
But yes, it does not map well onto subjective measures.
See you in Mallorca!
Dirk
On Thu, Apr 18, 2024 at 1:13 AM Adamreynolds28 ***@***.***>
wrote:
> Yes, I will be attending IAEA, and we could chat more there. I'm excited
> for your talk!
>
> If I understand you correctly, the MLV measure of curvature would be a
sum
> mean of the bins as they are (0.33, 1.33, 3.09, 6.20, 11.65, 21.23,
38.06,
> and 67.64 degrees per pixel.).
> However, this does not map well to the subjective judgment of curvature.
>
>
>
>
>
> On Thu, Apr 18, 2024 at 12:59 PM DirkBWalther ***@***.***>
> wrote:
>
> > Hi Adam
> >
> > Excellent question. I agree with your intuition. Unfortunately, these
> > measures do not map well to people's subjective judgments of what's
> > curvilinear versus angular. We have a paper under review where we show
> > that
> > the two concepts (human judgments of curviness and the mathematical
> > measures from the MLV Toolbox) even relate to activity in different
> brain
> > regions. I will be presenting this work at IAEA in Mallorca next
month.
> > Will you be there?
> >
> > We have an ongoing research project to find out what features people
use
> > when they judge images as curvy. It is an annoyingly stubborn problem.
> >
> > I'm sorry that I can't give you a more definitive answer.
> >
> > Dirk
> >
> >
> > On Thu, Apr 18, 2024 at 12:29 AM Adamreynolds28 ***@***.***>
> > wrote:
> >
> > > Hi Dirk,
> > >
> > > Just a follow-up question.
> > > I plan to compute some images and rank them according to their
average
> > > curvilinearity by rating them on a scale of angular to
curvilinearity
> > (or
> > > two scales, one angularity scale and one curvilinearity scale).
> > >
> > > Initially, I considered doing a weights sum average based on the
> pixels
> > in
> > > each bin. In the MLV toolbox, eight bins of curvature are equally
> spaced
> > > on
> > > a logarithmic scale (0.33, 1.33, 3.09, 6.20, 11.65, 21.23, 38.06,
and
> > > 67.64
> > > degrees per pixel.). If I rank these bins and do a weight sum
average
> > > based
> > > on the pixels in each bin, a high score would imply an angular
> 90-degree
> > > line and a low score would imply straight lines. If I understood the
> > > computation correctly. Would this be something that I could qualify
as
> a
> > > curvilinearity scale? It seems the middle bins would be a better
> > > indication
> > > of the curvilinearity of an image.
> > >
> > > Is it possible to compute an average curvilinearity scale & an
average
> > > angular scale with the MLV toolbox?
> > > How would you go about computing this?
> > >
> > > Adam
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Apr 18, 2024 at 10:33 AM Adam Peter Frederick Reynolds <
> > > ***@***.***> wrote:
> > >
> > > > Hi Dirk,
> > > >
> > > > No problem. I managed to run it on a colleague's computer.
> > > > Everything seems to be working fine now. Let me know when the
update
> > is
> > > > out because I want to do some future analysis on my personal
> computer.
> > > >
> > > > Thanks for the prompt response and for attempting to rectify the
> issue
> > > > quickly.
> > > > I appreciate it.
> > > >
> > > > Adam
> > > >
> > > >
> > > > On Tue, Apr 16, 2024 at 11:36 PM DirkBWalther ***@***.***>
> > > > wrote:
> > > >
> > > >> Hi Adam
> > > >>
> > > >> We expect to have this solved within the next few days. In the
> > > meantime,
> > > >> if
> > > >> you have access to an older Windows machine or a Linux machine -
> the
> > > code
> > > >> should run without problem there.
> > > >>
> > > >> Sorry for the delay.
> > > >>
> > > >> Dirk
> > > >>
> > > >>
> > > >> On Tue, Apr 16, 2024 at 6:50 AM Dirk Bernhardt-Walther <
> > > >> ***@***.***> wrote:
> > > >>
> > > >> > Dear Adam
> > > >> >
> > > >> > Sorry for the delay. Things turned out to be a bit more
> complicated
> > > >> than
> > > >> > we thought. We discovered that some of the 3rd party mex files
> are
> > > >> > implemented in Intel Assembler code, which caused us some
> > headaches.
> > > We
> > > >> had
> > > >> > a breakthrough on this yesterday and are currently implementing
> the
> > > >> > solution. I am hopeful that we will have working code by the
end
> of
> > > the
> > > >> > week. (It's also final exam time here, which slows things down
a
> > > >> little.)
> > > >> >
> > > >> > Thanks for your patience!
> > > >> >
> > > >> > Dirk
> > > >> >
> > > >> >
> > > >> > On Tue, Apr 16, 2024 at 2:05 AM Adamreynolds28 ***@***.***>
> > > >> > wrote:
> > > >> >
> > > >> >> Dear Dirk,
> > > >> >>
> > > >> >> Did you manage to solve this issue?
> > > >> >> I want to use this toolbox for a manuscript I am working on.
> > > >> >> Specifically,
> > > >> >> I would like to compute curvatures and t-junctions.
> > > >> >> Unfortunately, I do not have access to another operating
system.
> > > >> >>
> > > >> >> Adam
> > > >> >>
> > > >> >>
> > > >> >>
> > > >> >> On Wed, Mar 6, 2024 at 2:52 AM Bernhardt-Walther Lab <
> > > >> >> ***@***.***> wrote:
> > > >> >>
> > > >> >> > Dear Adam
> > > >> >> >
> > > >> >> > Thank you very much for letting us know! We are currently
> > dealing
> > > >> with
> > > >> >> > similar issues for newer Windows 11 machines. We are working
> on
> > a
> > > >> fix.
> > > >> >> > I'll
> > > >> >> > be in touch soon.
> > > >> >> >
> > > >> >> > Dirk
> > > >> >> >
> > > >> >> >
> > > >> >> > On Tue, Mar 5, 2024 at 1:05 PM Adamreynolds28 ***@***.***>
> > > >> >> > wrote:
> > > >> >> >
> > > >> >> > > Hi
> > > >> >> > >
> > > >> >> > > I have been using the toolbox to compute some low-level
> > > features.
> > > >> >> Using
> > > >> >> > > the examples, I am able to calculate the contours and the
> > medial
> > > >> >> axis.
> > > >> >> > > However, I am having difficulty running the Line drawing.
> > > >> >> Specifically,
> > > >> >> > the
> > > >> >> > > traceLineDrawingFromRGB() function.
> > > >> >> > >
> > > >> >> > > When I use the function I get an error.
> > > >> >> > > exmaple1.png (view on web)
> > > >> >> > > <
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/e767bf22-f2b4-45fa-9825-c03cf12de9ba>
>
> >
> > >
> > > >>
> > > >> >>
> > > >> >> > error1.png
> > > >> >> > > (view on web)
> > > >> >> > > <
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/d9072d80-339f-45c2-b3ae-d4f760f3be92>
>
> >
> > >
> > > >>
> > > >> >>
> > > >> >> >
> > > >> >> > >
> > > >> >> > > With some investigating, I found the imPadMex file in
> > > >> >> > >
> > > >>
> MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private
> > > >> >> > > containing files compiled from C++ (.cpp) and files ending
> > with
> > > >> >> > .mexmaci64,
> > > >> >> > > .mexw64 and .mexa64 the version readable by Matlab.
However,
> > > since
> > > >> I
> > > >> >> use
> > > >> >> > a
> > > >> >> > > Mac with a silicon chip, I require a file ending with
> > > .mexmaca64.
> > > >> >> > >
> > > >> >> > > I managed to convert imPadMex.cpp to imPadMex.mexmaca64
> using
> > > >> >> > >
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
>
MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile
>
> >
> > >
> > > >>
> > > >> >>
> > > >> >> >
> > > >> >> > > as suggested on https://pdollar.github.io/toolbox/ but
this
> > > >> >> converted
> > > >> >> > > only some files.
> > > >> >> > > .
> > > >> >> > > When I run traceLineDrawingFromRGB() my computer now finds
> the
> > > >> >> imPadMex
> > > >> >> > > file but another error occurs.
> > > >> >> > > error2.png (view on web)
> > > >> >> > > <
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
>
https://github.com/bwlabToronto/MLV_toolbox/assets/58255981/2a1f9a7a-dc8f-4381-9ae6-32717ed3724a>
>
> >
> > >
> > > >>
> > > >> >>
> > > >> >> >
> > > >> >> > >
> > > >> >> > > The issue seems to be that the C++ files are not optimized
> for
> > a
> > > >> mac
> > > >> >> > with
> > > >> >> > > a silicon chip and the toolboxCompile function does not
> > compile
> > > >> >> > properly. I
> > > >> >> > > was wondering if your group has found a solution for this
> > issue?
> > > >> >> > >
> > > >> >> > > *Specs*
> > > >> >> > > MacBook Pro 2021, Apple M1 Pro
> > > >> >> > > macOS Sonoma 14
> > > >> >> > > Matlab R2023b update 7
> > > >> >> > > I have downloaded all add ons as specified.
> > > >> >> > >
> > > >> >> > > —
> > > >> >> > > Reply to this email directly, view it on GitHub
> > > >> >> > > <
#13>,
>
> > > or
> > > >> >> > > unsubscribe
> > > >> >> > > <
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
>
https://github.com/notifications/unsubscribe-auth/ARDFDDME2I3EUXRWTIAKAT3YWYCMTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZDOMJUHA>
>
> >
> > >
> > > >>
> > > >> >>
> > > >> >> >
> > > >> >> > > .
> > > >> >> > > You are receiving this because you are subscribed to this
> > > >> >> thread.Message
> > > >> >> > > ID: ***@***.***>
> > > >> >> > >
> > > >> >> >
> > > >> >> >
> > > >> >> > --
> > > >> >> > =================================
> > > >> >> > Dirk Bernhardt-Walther, Ph.D
> > > >> >> > Associate Professor, Department of Psychology
> > > >> >> > Associate Editor, Psychology of Aesthetics, Creativity, and
> the
> > > Arts
> > > >> >> > University of Toronto
> > > >> >> > +1-416-978-6193
> > > >> >> > ***@***.***
> > > >> >> > https://www.bwlab.org/
> > > >> >> > Bluesky: @dirkbwalther.bsky.social
> > > >> >> > <https://bsky.app/profile/dirkbwalther.bsky.social>
> > > >> >> > Twitter: @DirkBWalther <https://twitter.com/DirkBWalther>
> > > >> >> >
> > > >> >> > —
> > > >> >> > Reply to this email directly, view it on GitHub
> > > >> >> > <
> > > >> >>
> > > >>
> > >
> >
>
#13 (comment)>,
>
> >
> > >
> > > >>
> > > >> >>
> > > >> >> > or unsubscribe
> > > >> >> > <
> > > >> >>
> > > >>
> > >
> >
>
https://github.com/notifications/unsubscribe-auth/AN4OU3MNI5VEDYAIR4F77WTYWYIABAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUGM4DK>
>
> >
> > >
> > > >>
> > > >> >>
> > > >> >> > .
> > > >> >> > You are receiving this because you authored the
thread.Message
> > ID:
> > > >> >> > ***@***.***>
> > > >> >> >
> > > >> >>
> > > >> >>
> > > >> >> --
> > > >> >> *Adam Reynolds*, *PhD Student*
> > > >> >> MoMiLab Research Unit
> > > >> >> IMT School for Advanced Studies Lucca
> > > >> >> Piazza San Francesco, 19
> > > >> >> 55100 Lucca – Italy
> > > >> >>
> > > >> >> —
> > > >> >> Reply to this email directly, view it on GitHub
> > > >> >> <
> > > >>
> > >
> >
>
#13 (comment)>,
>
> >
> > >
> > > >>
> > > >> >> or unsubscribe
> > > >> >> <
> > > >>
> > >
> >
>
https://github.com/notifications/unsubscribe-auth/AJSQH2NQKQ6UDBME2FLYKPLY5S5SFAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRVG44DK>
>
> >
> > >
> > > >>
> > > >> >> .
> > > >> >> You are receiving this because you were mentioned.Message ID:
> > > >> >> ***@***.***
> > > >> >> com>
> > > >> >>
> > > >> >
> > > >>
> > > >> —
> > > >> Reply to this email directly, view it on GitHub
> > > >> <
> > >
> >
>
#13 (comment)>,
>
> >
> > >
> > > >> or unsubscribe
> > > >> <
> > >
> >
>
https://github.com/notifications/unsubscribe-auth/AN4OU3MJ4PRR7AEIV3BIW63Y5VAQ7AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMZRHA2DA>
>
> >
> > >
> > > >> .
> > > >> You are receiving this because you authored the thread.Message
ID:
> > > >> ***@***.***
> > > >> com>
> > > >>
> > > >
> > > >
> > > > --
> > > > *Adam Reynolds*, *PhD Student*
> > > > MoMiLab Research Unit
> > > > IMT School for Advanced Studies Lucca
> > > > Piazza San Francesco, 19
> > > > 55100 Lucca – Italy
> > > >
> > >
> > >
> > > --
> > > *Adam Reynolds*, *PhD Student*
> > > MoMiLab Research Unit
> > > IMT School for Advanced Studies Lucca
> > > Piazza San Francesco, 19
> > > 55100 Lucca – Italy
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <
> >
>
#13 (comment)>,
>
> >
> > > or unsubscribe
> > > <
> >
>
https://github.com/notifications/unsubscribe-auth/AJSQH2LHGHKDNQTLVWHQHDDY55DZ5AVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGIZTS>
>
> >
> > > .
> > > You are receiving this because you were mentioned.Message ID:
> > > ***@***.***>
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#13 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AN4OU3LF62JHTJ5ZRQYIB5LY55HLZAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGM2TS>
>
> > .
> > You are receiving this because you authored the thread.Message ID:
> > ***@***.***>
> >
>
>
> --
> *Adam Reynolds*, *PhD Student*
> MoMiLab Research Unit
> IMT School for Advanced Studies Lucca
> Piazza San Francesco, 19
> 55100 Lucca – Italy
>
> —
> Reply to this email directly, view it on GitHub
> <
#13 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AJSQH2PDZAH7JSQV5SQCML3Y55JAPAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGQ2DC>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4OU3NIH2W3OX5NFRXSPNLY55JSTAVCNFSM6AAAAABEHTSXUWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNJQGQ3DG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Adam Reynolds*, *PhD Student*
MoMiLab Research Unit
IMT School for Advanced Studies Lucca
Piazza San Francesco, 19
55100 Lucca – Italy
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi
I have been using the toolbox to compute some low-level features. Using the examples, I am able to calculate the contours and the medial axis. However, I am having difficulty running the Line drawing. Specifically, the traceLineDrawingFromRGB() function.
When I use the function I get an error.
With some investigating, I found the imPadMex file in MLV_toolbox-main/MLVcode/edges-master/toolbox-master/channels/private containing files compiled from C++ (.cpp) and files ending with .mexmaci64, .mexw64 and .mexa64 the version readable by Matlab. However, since I use a Mac with a silicon chip, I require a file ending with .mexmaca64.
I managed to convert imPadMex.cpp to imPadMex.mexmaca64 using MLV_toolbox-main/MLVcode/edges-master/toolbox-master/external/toolboxCompile as suggested on https://pdollar.github.io/toolbox/ but this converted only some files.
.
When I run traceLineDrawingFromRGB() my computer now finds the imPadMex file but another error occurs.
The issue seems to be that the C++ files are not optimized for a mac with a silicon chip and the toolboxCompile function does not compile properly. I was wondering if your group has found a solution for this issue?
Specs
MacBook Pro 2021, Apple M1 Pro
macOS Sonoma 14
Matlab R2023b update 7
I have downloaded all add ons as specified.
Beta Was this translation helpful? Give feedback.
All reactions