However, Galactus also has the power to transform--Norrin Radd into the Silver Surfer, an earth girl named Frankie into Nova, and the transformations he did of his other heralds as well.
On another note, I believe it was Loki who cast a spell that transformed Thor into a frog. I don't think that one was Odin's doing.
As to who is truly stronger, in the older Marvel books, Odin was depicted as being nearly limitless--he could warp reality, defeat death, destroy any opponent brought against him, and, if the Odin Sword was ever pulled, presumably he would be the cause of the destruction of everything.
Then, in newer storylines, Odin's powers began to be downplayed. He was shown as being less than the equal of the Celestials; and Thanos, at his regular power level, not in the transcendent god state, was able to hold his own against Odin in a fight.
It seemed to me that Galactus, by contrast, kept growing more powerful in newer stories, and I was often left with the impression he was able to defeat all other cosmic entities in the Marvel universe with perhaps the exceptions of Thanos (at the transcendent level) and the Beyonder.
I suppose then, who would win might also depend on which versions of Odin and Galactus faced each other. If it was the old Odin from the late '60s and early '70s vs. the Galactus of that time period, I'd give the edge to Odin. If it was the Odin of the '90s vs. the Galactus of the '90s - 2000s, I'd give the edge to Galactus. Perhaps how powerful either of them is depends on who's writing the story and on what decade it is.
All for the moment, Terry