Author Topic: RC1 1.8 LHE doesn't seem to work  (Read 5035 times)

Offline Ignacio

  • PixInsight Old Hand
  • ****
  • Posts: 375
    • PampaSkies
RC1 1.8 LHE doesn't seem to work
« on: 2012 December 24 10:09:07 »
Tried it on a 64-bit image, and on previews seems to apply only to changing bands. On the full image, nothing that I note happens.

Ignacio

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: RC1 1.8 LHE doesn't seem to work
« Reply #1 on: 2012 December 24 10:17:12 »
Hi

Tried it on win 7 64bit  and works just fine for me :)

Harry
Harry Page

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: RC1 1.8 LHE doesn't seem to work
« Reply #2 on: 2012 December 24 10:49:50 »
Hi Ignacio

I can confirm this bug. I can reproduce it easily on Linux, and looking at the cause of the problem, it's clear that it must happen on all platforms. There are two workarounds:

1. Disable parallel processing for modules before applying the LocalHistogramEqualization tool. You can do this very easily from the Process Console with this command:

      parallel -m-

After LHE you can re-enable parallel processing with:

      parallel -m+

2. Use PI 1.7 until we release the final 1.8.0 version on January, which of course will fix all of these threading-related problems.

Harry, try LHE on a real-time preview and you should see the bug in action. Please let me know if otherwise.

Definitely, I should have detected this problem, and other similar ones, before releasing version 1.8. I am very sorry for the inconvenience.
« Last Edit: 2012 December 24 11:18:48 by Juan Conejero »
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: RC1 1.8 LHE doesn't seem to work
« Reply #3 on: 2012 December 24 10:50:51 »
hi juan, as i'm sure you've seen the bug affects lots of modules - Deconvolution and StarMask as well.

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: RC1 1.8 LHE doesn't seem to work
« Reply #4 on: 2012 December 24 10:55:49 »
Hi

Sorry to say works perfectley :)

Harry
Harry Page

Offline Ignacio

  • PixInsight Old Hand
  • ****
  • Posts: 375
    • PampaSkies
Re: RC1 1.8 LHE doesn't seem to work
« Reply #5 on: 2012 December 24 11:02:12 »
Not to worry, Juan. An early release candidate always accelerates the whole debugging process, which is good.

Happy Holidays,
Ignacio

Offline Ignacio

  • PixInsight Old Hand
  • ****
  • Posts: 375
    • PampaSkies
Re: RC1 1.8 LHE doesn't seem to work
« Reply #6 on: 2012 December 24 11:11:44 »
One more thing, the "parallel -p-" doesn't seem to work, but the "parallel -d" does, correcting the LHE problem.

Ignacio

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: RC1 1.8 LHE doesn't seem to work
« Reply #7 on: 2012 December 24 11:17:48 »
Hi Ignacio,

I appreciate your understanding and support, but this is an unforgivable error on my part. I should have tested these tools after some last-hour "improvements" I did before the 1.8.0 RC1 release. I was too impatient to release, and that's a beginner's error that I cannot afford.

Happy holidays to you too!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: RC1 1.8 LHE doesn't seem to work
« Reply #8 on: 2012 December 24 11:19:50 »
Quote
One more thing, the "parallel -p-" doesn't seem to work

Oh, it's -m- and -m+, sorry. I have fixed the typo in my answer above. With 'parallel -d' you are disabling parallel processing for the whole platform.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: RC1 1.8 LHE doesn't seem to work
« Reply #9 on: 2012 December 24 11:24:24 »
Harry,

Sorry to say works perfectley :)

Please check that you have parallel processing enabled. Enter:

      parallel -q

on the Process Console window, and check if it says 'true' to everything. If it does, then I don't understand how LHE is working for you on PI 1.8 :)
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: RC1 1.8 LHE doesn't seem to work
« Reply #10 on: 2012 December 24 11:47:26 »
Hi

I have managed to get it to fail by adjusting the sliders a lot , but does work most times

Just to confirm it works perfectley on the image :)

Harry
Harry Page

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: RC1 1.8 LHE doesn't seem to work
« Reply #11 on: 2012 December 26 03:14:29 »
Hi,

This bug is now fixed. LHE works perfectly with 1.8 RC1. I'll release an update for all platforms next Friday (along with updates for other tools that are not working with RC1).

Thank you for your patience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: RC1 1.8 LHE doesn't seem to work
« Reply #12 on: 2012 December 29 03:15:42 »
This bug is now fixed by update 20121229-3-module, which we have released today. LHE now works without problems with all the processors available. Also take a look at the new real-time previewing functionality of this tool.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/