Author Topic: PCL: Realtime Preview  (Read 4348 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
PCL: Realtime Preview
« on: 2015 January 26 11:38:33 »
I am looking for a good example on how to implement a realtime preview.

- I see it is implemented for instance in the Binarize process. Is this an implementation template that I should follow? Which process that is avaiable in source could I study?

- The PCL documentation says: "The Real-Time Preview system is undergoing extensive development in PixInsight. Be aware that this class will be updated and enhanced considerably in future PCL Releases". Which features should I try to avoid? Which can I rely on?

- Which classes should I study? pcl::RealTimePreview is important. ProcessInstance::*Realtime* as well. What else?

- Any additional documentation on RealTimePreview and ProcessInstance (and maybe other classes) interact would be welcome.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PCL: Realtime Preview
« Reply #1 on: 2015 January 29 08:48:06 »
Hi Georg,

Yes, Binarize has a good real time preview implementation. CurvesTransformation is another good example. Note that real-time renditions are now being generated in a background thread (RealTimeThread) when possible, which improves GUI responsiveness.

Quote
Which features should I try to avoid? Which can I rely on?

Given the immense workload that I have currently, the R-T preview will remain unchanged for a long, long time. We have many priorities before making a significant improvement to this feature. Just use CurvesTransformation as a good example for your implementation.

Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: PCL: Realtime Preview
« Reply #2 on: 2015 February 02 05:59:51 »
Thanks! Just what I need!
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)