119 Commits
Author SHA1 Message Date
bmad4ever 4599c58459 Merge pull request #11 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2025-03-17 14:50:15 +00:00
snomiao 9f6fb3290a chore(publish): update GitHub Actions workflow for node publishing
- Add permissions for writing issues
- Update action version to v1 for publish-node-action
- Add condition to run job only for specific repository owner
2025-01-20 21:29:27 +00:00
bmad4ever b29ed2bd3b Specify commit hash in external repo dependency
By pointing the specific commit, updating bmquilting repo won't change the comfyui_quilting behavior.
I already found & corrected a bug that changes the nodes behavior in bmquilting dev branch, so this change ensures users can have a stable experience.
Additionally, if I want to make more radical changes in the future, I don't risk breaking all the node versions that rely on the bmquilting repo.
2024-10-18 20:41:00 +01:00
Bruno Madeira cee706c881 attempt to install pyastar2d on first installation 2024-09-05 21:40:52 +01:00
bmad4ever c91b3241a2 Merge pull request #9 from bmad4ever/dev
Core implementation is now a package, available in another repo.
2024-09-05 21:27:00 +01:00
Bruno Madeira d76b7aa3c6 add install.py 2024-09-05 21:16:03 +01:00
Bruno Madeira 39b4b2c958 update uninstall.py 2024-09-05 21:15:50 +01:00
Bruno Madeira 0432f54d5f add uninstall.py 2024-09-05 21:00:40 +01:00
Bruno Madeira a15419ef9a update project to use python package instead 2024-09-05 20:58:48 +01:00
bmad4ever bb11a441c6 Merge pull request #8 from bmad4ever/feature-make-seamsless
Minor fix & change
2024-08-26 23:11:18 +01:00
Bruno Madeira deb3087144 update pyproject.toml - set version 2.1.1
* minor due to seed removal from SP nodes
* patch due to bug fix & documentation update
2024-08-26 23:08:04 +01:00
Bruno Madeira 75633f82f0 update README.md - clarify potential point of confusion when using lookup textures. 2024-08-26 23:05:31 +01:00
Bruno Madeira 7f728e17be fix LatentMakeSeamlessSB; remove seed from arguments; update SP workflows; rename some workflows.
reasoning behind seed removal in SP nodes: the cases where seed changes output are so rare that will just confuse the users and occupy unnecessary space in the workflow.
2024-08-26 22:52:53 +01:00
Bruno Madeira e8298ce1a9 fix typo - workflow name should use same abbreviation as the node's name & documentation. 2024-08-26 22:05:31 +01:00
bmad4ever 48dd2ca095 Merge pull request #7 from bmad4ever/feature-make-seamsless
New features and enhancements (also new dependencies)
2024-08-26 21:04:48 +01:00
Bruno Madeira d7b9f714e3 update README.md - fix typo 2024-08-26 20:55:43 +01:00
Bruno Madeira 0decdf076e on second though this import is a potential point of failure. now it should be fine, I think. 2024-08-26 20:43:33 +01:00
Bruno Madeira 5eb57897ec update pyproject.toml - update version.
I think it is ready for merge...
2024-08-26 20:15:30 +01:00
Bruno Madeira de69fa1284 update README.md - make clear what happens w/ overlap so that edge cases don't seem confusing. 2024-08-26 20:13:24 +01:00
Bruno Madeira 5d90545f02 fixes - "extreme" overlap values resulting in no or total overlap ; and, previous commit help arg refactor missing nodes.py in the commit. 2024-08-26 19:58:20 +01:00
Bruno Madeira 509e4f1c09 update README.md - minor detail 2024-08-26 18:52:24 +01:00
Bruno Madeira 9bb520ff67 minor cleanup 2024-08-26 18:32:41 +01:00
Bruno Madeira aa6a08480b update README.md - remove false statement.
can't recall what I was thinking when I wrote this...
2024-08-25 22:09:51 +01:00
Bruno Madeira c8f742846f update README.md - update intro. the details are hidden, so list all implemented features clearly. 2024-08-25 21:08:25 +01:00
Bruno Madeira acf7fa744f update README.md - installation & pystar2d.
___________________________________________
Additional developments:
Tried to automate tolerance by analyzing the min error distribution of random samples.
After some "adjustments" to avoid large tolerances, was able to get values within a nice range. However, for some textures, the value deed not seem adequate, despite falling within an acceptable range. Thus, I will not include this implementation for now, but it might be a good idea to save it as a gist for future reference.
2024-08-25 20:43:04 +01:00
Bruno Madeira ccf63650f6 remove prints & tests from "guess block size" related scripts. 2024-08-24 23:50:55 +01:00
Bruno Madeira 790d9fc7cf update README.md - note regarding overlap value in seamless nodes. 2024-08-24 23:41:19 +01:00
Bruno Madeira a57ea324ac update README.md - typo 2024-08-24 23:17:17 +01:00
Bruno Madeira ccf6b4ede0 update README.md - share potentially useful insight regarding tolerance. 2024-08-24 23:07:04 +01:00
Bruno Madeira 03fdf76d17 bug fix (related to 2391f91dd7) - replace vestigial args in function. 2024-08-24 22:32:17 +01:00
Bruno Madeira 2391f91dd7 bug fix - remove leftover extra argument 2024-08-24 22:16:35 +01:00
Bruno Madeira d48ff81009 update README.md - rename section title 2024-08-24 22:11:10 +01:00
Bruno Madeira 3f6b439c85 update README.md - better identify linked section as the link won't open the details when clicked. 2024-08-24 22:07:51 +01:00
Bruno Madeira 164e1c5c76 update README.md - add documentation about "nice" block size estimation. 2024-08-24 21:59:47 +01:00
Bruno Madeira c9f2ba8361 update README.md - document batch behavior. 2024-08-24 17:29:28 +01:00
Bruno Madeira b395ef5bc1 update README.md - add line separators in lvl 3 headers to facilitate navigation / readability 2024-08-24 17:14:11 +01:00
Bruno Madeira 14ed52b067 update workflows (only to keep images consistent with the output, the workflows remain unchanged) 2024-08-24 17:12:35 +01:00
Bruno Madeira 19405ec763 update README.md - added documentation for blend_into_patch & parallelization diagram 2024-08-24 17:06:56 +01:00
Bruno Madeira 7c145a6806 update synthesis_subroutines.py/blur_patch_mask: add slight blur along the cut when using blend_into_patch + minor refactor 2024-08-23 07:34:23 +01:00
Bruno Madeira 05db2da649 fix corners in make_seamless.py and top block on H patch. 2024-08-23 07:26:45 +01:00
Bruno Madeira 48fb4c006f update README.md
updated some sections of the documentation and added some ToDos
2024-08-22 23:45:04 +01:00
Bruno Madeira 264aae6f39 added new workflow for seamless latent + renamed existing workflow 2024-08-21 23:12:32 +01:00
Bruno Madeira 4a6244dcc8 replace advanced seamless setup.png.
previous workflow is unnecessarily complicated, the new one is better and simpler.
2024-08-21 21:13:18 +01:00
Bruno Madeira fc173c2713 update basic workflows ( breaks documentation, to be fixed later) 2024-08-20 23:52:15 +01:00
Bruno Madeira 33023ae806 refactoring + "micro" optimizations
* abstract repeated code in get_4way_min_cut_patch.
* with the exception of v0, masks are now 2 dimensional arrays.
* re-use already allocated memory when possible.
2024-08-20 16:44:48 +01:00
Bruno Madeira 82e67a2c4a fix issues w/ v0
* fix horizontal patching
* fix tolerance equal to zero
2024-08-20 00:24:50 +01:00
Bruno Madeira 881b5c0577 added blend_into_patch option + refactoring
________________________________
notes:
* patch_blending_vignette cache is cleared post node execution
* new GenParams cleans up args in function, and allows easier adjustments to args if the need arises.
* v0 uses jena2020, ignoring blend_into_patch option.
!! v0 output seemed bizarre on some tests, might have introduced a bug when refactoring...

________________________________
to think about:
* when generating cut mask, output it as single channel instead. blend_into_patch added redundant operation.
* overlap can be small with respect to the block_size, perhaps it is better to handle individual corners in get_4way_min_cut_patch?
* maybe add seed or generator to GenParams.
2024-08-19 23:57:25 +01:00
Bruno Madeira 657dd120e1 cleaning ...
* patch_search.py renamed to synthesis_subroutines.py.
* fixed number of channels when using cv.floodFill with latents in new min cut implementation.
* make_seamless.py and make_seamless2.py use same "min_cut_patch" implementation.
* quilting.py allows to use v0 implementation, but otherwise, also shares the same as seamless nodes.
* check optional lib using importlib
2024-08-19 15:56:04 +01:00
Bruno Madeira 217b71b426 update pyproject.toml - add required and optional dependencies. ; delete requirements.txt (redundant)
____________________________________________
Note:
Technically, opencv could be made optional too, but it would require extra work.
Seamless nodes would either have to be excluded or reworked.
Seems like too much work for some niche applications, not motivated to work on that for now. It would have been easier if I had thought about it apriori, but alas...
For now next planned steps are: to integrate the blend functionality; clean up the code; update the documentation; and update/add workflows.
2024-08-15 23:53:09 +01:00
bmad4ever 912371399f Merge pull request #6 from bmad4ever/main
Update pyproject.toml License
2024-08-15 23:32:54 +01:00